v1

package
v0.1.419 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 212

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 AWSFlavourListKind = "AWSFlavourList"

AWSFlavourListKind is the name of the type used to represent list of objects of type 'AWS_flavour'.

View Source
const AWSFlavourListLinkKind = "AWSFlavourListLink"

AWSFlavourListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_flavour'.

View Source
const AWSFlavourListNilKind = "AWSFlavourListNil"

AWSFlavourNilKind is the name of the type used to nil lists of objects of type 'AWS_flavour'.

View Source
const AWSInfrastructureAccessRoleGrantKind = "AWSInfrastructureAccessRoleGrant"

AWSInfrastructureAccessRoleGrantKind is the name of the type used to represent objects of type 'AWS_infrastructure_access_role_grant'.

View Source
const AWSInfrastructureAccessRoleGrantLinkKind = "AWSInfrastructureAccessRoleGrantLink"

AWSInfrastructureAccessRoleGrantLinkKind is the name of the type used to represent links to objects of type 'AWS_infrastructure_access_role_grant'.

View Source
const AWSInfrastructureAccessRoleGrantListKind = "AWSInfrastructureAccessRoleGrantList"

AWSInfrastructureAccessRoleGrantListKind is the name of the type used to represent list of objects of type 'AWS_infrastructure_access_role_grant'.

View Source
const AWSInfrastructureAccessRoleGrantListLinkKind = "AWSInfrastructureAccessRoleGrantListLink"

AWSInfrastructureAccessRoleGrantListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_infrastructure_access_role_grant'.

View Source
const AWSInfrastructureAccessRoleGrantListNilKind = "AWSInfrastructureAccessRoleGrantListNil"

AWSInfrastructureAccessRoleGrantNilKind is the name of the type used to nil lists of objects of type 'AWS_infrastructure_access_role_grant'.

View Source
const AWSInfrastructureAccessRoleGrantNilKind = "AWSInfrastructureAccessRoleGrantNil"

AWSInfrastructureAccessRoleGrantNilKind is the name of the type used to nil references to objects of type 'AWS_infrastructure_access_role_grant'.

View Source
const AWSInfrastructureAccessRoleKind = "AWSInfrastructureAccessRole"

AWSInfrastructureAccessRoleKind is the name of the type used to represent objects of type 'AWS_infrastructure_access_role'.

View Source
const AWSInfrastructureAccessRoleLinkKind = "AWSInfrastructureAccessRoleLink"

AWSInfrastructureAccessRoleLinkKind is the name of the type used to represent links to objects of type 'AWS_infrastructure_access_role'.

View Source
const AWSInfrastructureAccessRoleListKind = "AWSInfrastructureAccessRoleList"

AWSInfrastructureAccessRoleListKind is the name of the type used to represent list of objects of type 'AWS_infrastructure_access_role'.

View Source
const AWSInfrastructureAccessRoleListLinkKind = "AWSInfrastructureAccessRoleListLink"

AWSInfrastructureAccessRoleListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_infrastructure_access_role'.

View Source
const AWSInfrastructureAccessRoleListNilKind = "AWSInfrastructureAccessRoleListNil"

AWSInfrastructureAccessRoleNilKind is the name of the type used to nil lists of objects of type 'AWS_infrastructure_access_role'.

View Source
const AWSInfrastructureAccessRoleNilKind = "AWSInfrastructureAccessRoleNil"

AWSInfrastructureAccessRoleNilKind is the name of the type used to nil references to objects of type 'AWS_infrastructure_access_role'.

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 AWSMachinePoolKind = "AWSMachinePool"

AWSMachinePoolKind is the name of the type used to represent objects of type 'AWS_machine_pool'.

View Source
const AWSMachinePoolLinkKind = "AWSMachinePoolLink"

AWSMachinePoolLinkKind is the name of the type used to represent links to objects of type 'AWS_machine_pool'.

View Source
const AWSMachinePoolListKind = "AWSMachinePoolList"

AWSMachinePoolListKind is the name of the type used to represent list of objects of type 'AWS_machine_pool'.

View Source
const AWSMachinePoolListLinkKind = "AWSMachinePoolListLink"

AWSMachinePoolListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_machine_pool'.

View Source
const AWSMachinePoolListNilKind = "AWSMachinePoolListNil"

AWSMachinePoolNilKind is the name of the type used to nil lists of objects of type 'AWS_machine_pool'.

View Source
const AWSMachinePoolNilKind = "AWSMachinePoolNil"

AWSMachinePoolNilKind is the name of the type used to nil references to objects of type 'AWS_machine_pool'.

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 AWSSTSAccountRoleListKind = "AWSSTSAccountRoleList"

AWSSTSAccountRoleListKind is the name of the type used to represent list of objects of type 'AWSSTS_account_role'.

View Source
const AWSSTSAccountRoleListLinkKind = "AWSSTSAccountRoleListLink"

AWSSTSAccountRoleListLinkKind is the name of the type used to represent links to list of objects of type 'AWSSTS_account_role'.

View Source
const AWSSTSAccountRoleListNilKind = "AWSSTSAccountRoleListNil"

AWSSTSAccountRoleNilKind is the name of the type used to nil lists of objects of type 'AWSSTS_account_role'.

View Source
const AWSSTSPolicyListKind = "AWSSTSPolicyList"

AWSSTSPolicyListKind is the name of the type used to represent list of objects of type 'AWSSTS_policy'.

View Source
const AWSSTSPolicyListLinkKind = "AWSSTSPolicyListLink"

AWSSTSPolicyListLinkKind is the name of the type used to represent links to list of objects of type 'AWSSTS_policy'.

View Source
const AWSSTSPolicyListNilKind = "AWSSTSPolicyListNil"

AWSSTSPolicyNilKind is the name of the type used to nil lists of objects of type 'AWSSTS_policy'.

View Source
const AWSSTSRoleListKind = "AWSSTSRoleList"

AWSSTSRoleListKind is the name of the type used to represent list of objects of type 'AWSSTS_role'.

View Source
const AWSSTSRoleListLinkKind = "AWSSTSRoleListLink"

AWSSTSRoleListLinkKind is the name of the type used to represent links to list of objects of type 'AWSSTS_role'.

View Source
const AWSSTSRoleListNilKind = "AWSSTSRoleListNil"

AWSSTSRoleNilKind is the name of the type used to nil lists of objects of type 'AWSSTS_role'.

View Source
const AWSSpotMarketOptionsKind = "AWSSpotMarketOptions"

AWSSpotMarketOptionsKind is the name of the type used to represent objects of type 'AWS_spot_market_options'.

View Source
const AWSSpotMarketOptionsLinkKind = "AWSSpotMarketOptionsLink"

AWSSpotMarketOptionsLinkKind is the name of the type used to represent links to objects of type 'AWS_spot_market_options'.

View Source
const AWSSpotMarketOptionsListKind = "AWSSpotMarketOptionsList"

AWSSpotMarketOptionsListKind is the name of the type used to represent list of objects of type 'AWS_spot_market_options'.

View Source
const AWSSpotMarketOptionsListLinkKind = "AWSSpotMarketOptionsListLink"

AWSSpotMarketOptionsListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_spot_market_options'.

View Source
const AWSSpotMarketOptionsListNilKind = "AWSSpotMarketOptionsListNil"

AWSSpotMarketOptionsNilKind is the name of the type used to nil lists of objects of type 'AWS_spot_market_options'.

View Source
const AWSSpotMarketOptionsNilKind = "AWSSpotMarketOptionsNil"

AWSSpotMarketOptionsNilKind is the name of the type used to nil references to objects of type 'AWS_spot_market_options'.

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 AddOnConfigKind = "AddOnConfig"

AddOnConfigKind is the name of the type used to represent objects of type 'add_on_config'.

View Source
const AddOnConfigLinkKind = "AddOnConfigLink"

AddOnConfigLinkKind is the name of the type used to represent links to objects of type 'add_on_config'.

View Source
const AddOnConfigListKind = "AddOnConfigList"

AddOnConfigListKind is the name of the type used to represent list of objects of type 'add_on_config'.

View Source
const AddOnConfigListLinkKind = "AddOnConfigListLink"

AddOnConfigListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_config'.

View Source
const AddOnConfigListNilKind = "AddOnConfigListNil"

AddOnConfigNilKind is the name of the type used to nil lists of objects of type 'add_on_config'.

View Source
const AddOnConfigNilKind = "AddOnConfigNil"

AddOnConfigNilKind is the name of the type used to nil references to objects of type 'add_on_config'.

View Source
const AddOnEnvironmentVariableKind = "AddOnEnvironmentVariable"

AddOnEnvironmentVariableKind is the name of the type used to represent objects of type 'add_on_environment_variable'.

View Source
const AddOnEnvironmentVariableLinkKind = "AddOnEnvironmentVariableLink"

AddOnEnvironmentVariableLinkKind is the name of the type used to represent links to objects of type 'add_on_environment_variable'.

View Source
const AddOnEnvironmentVariableListKind = "AddOnEnvironmentVariableList"

AddOnEnvironmentVariableListKind is the name of the type used to represent list of objects of type 'add_on_environment_variable'.

View Source
const AddOnEnvironmentVariableListLinkKind = "AddOnEnvironmentVariableListLink"

AddOnEnvironmentVariableListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_environment_variable'.

View Source
const AddOnEnvironmentVariableListNilKind = "AddOnEnvironmentVariableListNil"

AddOnEnvironmentVariableNilKind is the name of the type used to nil lists of objects of type 'add_on_environment_variable'.

View Source
const AddOnEnvironmentVariableNilKind = "AddOnEnvironmentVariableNil"

AddOnEnvironmentVariableNilKind is the name of the type used to nil references to objects of type 'add_on_environment_variable'.

View Source
const AddOnInstallationBillingKind = "AddOnInstallationBilling"

AddOnInstallationBillingKind is the name of the type used to represent objects of type 'add_on_installation_billing'.

View Source
const AddOnInstallationBillingLinkKind = "AddOnInstallationBillingLink"

AddOnInstallationBillingLinkKind is the name of the type used to represent links to objects of type 'add_on_installation_billing'.

View Source
const AddOnInstallationBillingListKind = "AddOnInstallationBillingList"

AddOnInstallationBillingListKind is the name of the type used to represent list of objects of type 'add_on_installation_billing'.

View Source
const AddOnInstallationBillingListLinkKind = "AddOnInstallationBillingListLink"

AddOnInstallationBillingListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_installation_billing'.

View Source
const AddOnInstallationBillingListNilKind = "AddOnInstallationBillingListNil"

AddOnInstallationBillingNilKind is the name of the type used to nil lists of objects of type 'add_on_installation_billing'.

View Source
const AddOnInstallationBillingNilKind = "AddOnInstallationBillingNil"

AddOnInstallationBillingNilKind is the name of the type used to nil references to objects of type 'add_on_installation_billing'.

View Source
const AddOnInstallationKind = "AddOnInstallation"

AddOnInstallationKind is the name of the type used to represent objects of type 'add_on_installation'.

View Source
const AddOnInstallationLinkKind = "AddOnInstallationLink"

AddOnInstallationLinkKind is the name of the type used to represent links to objects of type 'add_on_installation'.

View Source
const AddOnInstallationListKind = "AddOnInstallationList"

AddOnInstallationListKind is the name of the type used to represent list of objects of type 'add_on_installation'.

View Source
const AddOnInstallationListLinkKind = "AddOnInstallationListLink"

AddOnInstallationListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_installation'.

View Source
const AddOnInstallationListNilKind = "AddOnInstallationListNil"

AddOnInstallationNilKind is the name of the type used to nil lists of objects of type 'add_on_installation'.

View Source
const AddOnInstallationNilKind = "AddOnInstallationNil"

AddOnInstallationNilKind is the name of the type used to nil references to objects of type 'add_on_installation'.

View Source
const AddOnInstallationParameterKind = "AddOnInstallationParameter"

AddOnInstallationParameterKind is the name of the type used to represent objects of type 'add_on_installation_parameter'.

View Source
const AddOnInstallationParameterLinkKind = "AddOnInstallationParameterLink"

AddOnInstallationParameterLinkKind is the name of the type used to represent links to objects of type 'add_on_installation_parameter'.

View Source
const AddOnInstallationParameterListKind = "AddOnInstallationParameterList"

AddOnInstallationParameterListKind is the name of the type used to represent list of objects of type 'add_on_installation_parameter'.

View Source
const AddOnInstallationParameterListLinkKind = "AddOnInstallationParameterListLink"

AddOnInstallationParameterListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_installation_parameter'.

View Source
const AddOnInstallationParameterListNilKind = "AddOnInstallationParameterListNil"

AddOnInstallationParameterNilKind is the name of the type used to nil lists of objects of type 'add_on_installation_parameter'.

View Source
const AddOnInstallationParameterNilKind = "AddOnInstallationParameterNil"

AddOnInstallationParameterNilKind is the name of the type used to nil references to objects of type 'add_on_installation_parameter'.

View Source
const AddOnKind = "AddOn"

AddOnKind is the name of the type used to represent objects of type 'add_on'.

View Source
const AddOnLinkKind = "AddOnLink"

AddOnLinkKind is the name of the type used to represent links to objects of type 'add_on'.

View Source
const AddOnListKind = "AddOnList"

AddOnListKind is the name of the type used to represent list of objects of type 'add_on'.

View Source
const AddOnListLinkKind = "AddOnListLink"

AddOnListLinkKind is the name of the type used to represent links to list of objects of type 'add_on'.

View Source
const AddOnListNilKind = "AddOnListNil"

AddOnNilKind is the name of the type used to nil lists of objects of type 'add_on'.

View Source
const AddOnNamespaceKind = "AddOnNamespace"

AddOnNamespaceKind is the name of the type used to represent objects of type 'add_on_namespace'.

View Source
const AddOnNamespaceLinkKind = "AddOnNamespaceLink"

AddOnNamespaceLinkKind is the name of the type used to represent links to objects of type 'add_on_namespace'.

View Source
const AddOnNamespaceListKind = "AddOnNamespaceList"

AddOnNamespaceListKind is the name of the type used to represent list of objects of type 'add_on_namespace'.

View Source
const AddOnNamespaceListLinkKind = "AddOnNamespaceListLink"

AddOnNamespaceListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_namespace'.

View Source
const AddOnNamespaceListNilKind = "AddOnNamespaceListNil"

AddOnNamespaceNilKind is the name of the type used to nil lists of objects of type 'add_on_namespace'.

View Source
const AddOnNamespaceNilKind = "AddOnNamespaceNil"

AddOnNamespaceNilKind is the name of the type used to nil references to objects of type 'add_on_namespace'.

View Source
const AddOnNilKind = "AddOnNil"

AddOnNilKind is the name of the type used to nil references to objects of type 'add_on'.

View Source
const AddOnParameterKind = "AddOnParameter"

AddOnParameterKind is the name of the type used to represent objects of type 'add_on_parameter'.

View Source
const AddOnParameterLinkKind = "AddOnParameterLink"

AddOnParameterLinkKind is the name of the type used to represent links to objects of type 'add_on_parameter'.

View Source
const AddOnParameterListKind = "AddOnParameterList"

AddOnParameterListKind is the name of the type used to represent list of objects of type 'add_on_parameter'.

View Source
const AddOnParameterListLinkKind = "AddOnParameterListLink"

AddOnParameterListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_parameter'.

View Source
const AddOnParameterListNilKind = "AddOnParameterListNil"

AddOnParameterNilKind is the name of the type used to nil lists of objects of type 'add_on_parameter'.

View Source
const AddOnParameterNilKind = "AddOnParameterNil"

AddOnParameterNilKind is the name of the type used to nil references to objects of type 'add_on_parameter'.

View Source
const AddOnParameterOptionListKind = "AddOnParameterOptionList"

AddOnParameterOptionListKind is the name of the type used to represent list of objects of type 'add_on_parameter_option'.

View Source
const AddOnParameterOptionListLinkKind = "AddOnParameterOptionListLink"

AddOnParameterOptionListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_parameter_option'.

View Source
const AddOnParameterOptionListNilKind = "AddOnParameterOptionListNil"

AddOnParameterOptionNilKind is the name of the type used to nil lists of objects of type 'add_on_parameter_option'.

View Source
const AddOnRequirementListKind = "AddOnRequirementList"

AddOnRequirementListKind is the name of the type used to represent list of objects of type 'add_on_requirement'.

View Source
const AddOnRequirementListLinkKind = "AddOnRequirementListLink"

AddOnRequirementListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_requirement'.

View Source
const AddOnRequirementListNilKind = "AddOnRequirementListNil"

AddOnRequirementNilKind is the name of the type used to nil lists of objects of type 'add_on_requirement'.

View Source
const AddOnRequirementStatusListKind = "AddOnRequirementStatusList"

AddOnRequirementStatusListKind is the name of the type used to represent list of objects of type 'add_on_requirement_status'.

View Source
const AddOnRequirementStatusListLinkKind = "AddOnRequirementStatusListLink"

AddOnRequirementStatusListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_requirement_status'.

View Source
const AddOnRequirementStatusListNilKind = "AddOnRequirementStatusListNil"

AddOnRequirementStatusNilKind is the name of the type used to nil lists of objects of type 'add_on_requirement_status'.

View Source
const AddOnSecretPropagationListKind = "AddOnSecretPropagationList"

AddOnSecretPropagationListKind is the name of the type used to represent list of objects of type 'add_on_secret_propagation'.

View Source
const AddOnSecretPropagationListLinkKind = "AddOnSecretPropagationListLink"

AddOnSecretPropagationListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_secret_propagation'.

View Source
const AddOnSecretPropagationListNilKind = "AddOnSecretPropagationListNil"

AddOnSecretPropagationNilKind is the name of the type used to nil lists of objects of type 'add_on_secret_propagation'.

View Source
const AddOnSubOperatorListKind = "AddOnSubOperatorList"

AddOnSubOperatorListKind is the name of the type used to represent list of objects of type 'add_on_sub_operator'.

View Source
const AddOnSubOperatorListLinkKind = "AddOnSubOperatorListLink"

AddOnSubOperatorListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_sub_operator'.

View Source
const AddOnSubOperatorListNilKind = "AddOnSubOperatorListNil"

AddOnSubOperatorNilKind is the name of the type used to nil lists of objects of type 'add_on_sub_operator'.

View Source
const AddOnVersionKind = "AddOnVersion"

AddOnVersionKind is the name of the type used to represent objects of type 'add_on_version'.

View Source
const AddOnVersionLinkKind = "AddOnVersionLink"

AddOnVersionLinkKind is the name of the type used to represent links to objects of type 'add_on_version'.

View Source
const AddOnVersionListKind = "AddOnVersionList"

AddOnVersionListKind is the name of the type used to represent list of objects of type 'add_on_version'.

View Source
const AddOnVersionListLinkKind = "AddOnVersionListLink"

AddOnVersionListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_version'.

View Source
const AddOnVersionListNilKind = "AddOnVersionListNil"

AddOnVersionNilKind is the name of the type used to nil lists of objects of type 'add_on_version'.

View Source
const AddOnVersionNilKind = "AddOnVersionNil"

AddOnVersionNilKind is the name of the type used to nil references to objects of type 'add_on_version'.

View Source
const AdditionalCatalogSourceListKind = "AdditionalCatalogSourceList"

AdditionalCatalogSourceListKind is the name of the type used to represent list of objects of type 'additional_catalog_source'.

View Source
const AdditionalCatalogSourceListLinkKind = "AdditionalCatalogSourceListLink"

AdditionalCatalogSourceListLinkKind is the name of the type used to represent links to list of objects of type 'additional_catalog_source'.

View Source
const AdditionalCatalogSourceListNilKind = "AdditionalCatalogSourceListNil"

AdditionalCatalogSourceNilKind is the name of the type used to nil lists of objects of type 'additional_catalog_source'.

View Source
const AddonUpgradePolicyKind = "AddonUpgradePolicy"

AddonUpgradePolicyKind is the name of the type used to represent objects of type 'addon_upgrade_policy'.

View Source
const AddonUpgradePolicyLinkKind = "AddonUpgradePolicyLink"

AddonUpgradePolicyLinkKind is the name of the type used to represent links to objects of type 'addon_upgrade_policy'.

View Source
const AddonUpgradePolicyListKind = "AddonUpgradePolicyList"

AddonUpgradePolicyListKind is the name of the type used to represent list of objects of type 'addon_upgrade_policy'.

View Source
const AddonUpgradePolicyListLinkKind = "AddonUpgradePolicyListLink"

AddonUpgradePolicyListLinkKind is the name of the type used to represent links to list of objects of type 'addon_upgrade_policy'.

View Source
const AddonUpgradePolicyListNilKind = "AddonUpgradePolicyListNil"

AddonUpgradePolicyNilKind is the name of the type used to nil lists of objects of type 'addon_upgrade_policy'.

View Source
const AddonUpgradePolicyNilKind = "AddonUpgradePolicyNil"

AddonUpgradePolicyNilKind is the name of the type used to nil references to objects of type 'addon_upgrade_policy'.

View Source
const AddonUpgradePolicyStateKind = "AddonUpgradePolicyState"

AddonUpgradePolicyStateKind is the name of the type used to represent objects of type 'addon_upgrade_policy_state'.

View Source
const AddonUpgradePolicyStateLinkKind = "AddonUpgradePolicyStateLink"

AddonUpgradePolicyStateLinkKind is the name of the type used to represent links to objects of type 'addon_upgrade_policy_state'.

View Source
const AddonUpgradePolicyStateListKind = "AddonUpgradePolicyStateList"

AddonUpgradePolicyStateListKind is the name of the type used to represent list of objects of type 'addon_upgrade_policy_state'.

View Source
const AddonUpgradePolicyStateListLinkKind = "AddonUpgradePolicyStateListLink"

AddonUpgradePolicyStateListLinkKind is the name of the type used to represent links to list of objects of type 'addon_upgrade_policy_state'.

View Source
const AddonUpgradePolicyStateListNilKind = "AddonUpgradePolicyStateListNil"

AddonUpgradePolicyStateNilKind is the name of the type used to nil lists of objects of type 'addon_upgrade_policy_state'.

View Source
const AddonUpgradePolicyStateNilKind = "AddonUpgradePolicyStateNil"

AddonUpgradePolicyStateNilKind is the name of the type used to nil references to objects of type 'addon_upgrade_policy_state'.

View Source
const AdminCredentialsListKind = "AdminCredentialsList"

AdminCredentialsListKind is the name of the type used to represent list of objects of type 'admin_credentials'.

View Source
const AdminCredentialsListLinkKind = "AdminCredentialsListLink"

AdminCredentialsListLinkKind is the name of the type used to represent links to list of objects of type 'admin_credentials'.

View Source
const AdminCredentialsListNilKind = "AdminCredentialsListNil"

AdminCredentialsNilKind is the name of the type used to nil lists of objects of type 'admin_credentials'.

View Source
const AlertInfoListKind = "AlertInfoList"

AlertInfoListKind is the name of the type used to represent list of objects of type 'alert_info'.

View Source
const AlertInfoListLinkKind = "AlertInfoListLink"

AlertInfoListLinkKind is the name of the type used to represent links to list of objects of type 'alert_info'.

View Source
const AlertInfoListNilKind = "AlertInfoListNil"

AlertInfoNilKind is the name of the type used to nil lists of objects of type 'alert_info'.

View Source
const AlertsInfoListKind = "AlertsInfoList"

AlertsInfoListKind is the name of the type used to represent list of objects of type 'alerts_info'.

View Source
const AlertsInfoListLinkKind = "AlertsInfoListLink"

AlertsInfoListLinkKind is the name of the type used to represent links to list of objects of type 'alerts_info'.

View Source
const AlertsInfoListNilKind = "AlertsInfoListNil"

AlertsInfoNilKind is the name of the type used to nil lists of objects of type 'alerts_info'.

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 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 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 BillingModelItemKind = "BillingModelItem"

BillingModelItemKind is the name of the type used to represent objects of type 'billing_model_item'.

View Source
const BillingModelItemLinkKind = "BillingModelItemLink"

BillingModelItemLinkKind is the name of the type used to represent links to objects of type 'billing_model_item'.

View Source
const BillingModelItemListKind = "BillingModelItemList"

BillingModelItemListKind is the name of the type used to represent list of objects of type 'billing_model_item'.

View Source
const BillingModelItemListLinkKind = "BillingModelItemListLink"

BillingModelItemListLinkKind is the name of the type used to represent links to list of objects of type 'billing_model_item'.

View Source
const BillingModelItemListNilKind = "BillingModelItemListNil"

BillingModelItemNilKind is the name of the type used to nil lists of objects of type 'billing_model_item'.

View Source
const BillingModelItemNilKind = "BillingModelItemNil"

BillingModelItemNilKind is the name of the type used to nil references to objects of type 'billing_model_item'.

View Source
const BreakGlassCredentialKind = "BreakGlassCredential"

BreakGlassCredentialKind is the name of the type used to represent objects of type 'break_glass_credential'.

View Source
const BreakGlassCredentialLinkKind = "BreakGlassCredentialLink"

BreakGlassCredentialLinkKind is the name of the type used to represent links to objects of type 'break_glass_credential'.

View Source
const BreakGlassCredentialListKind = "BreakGlassCredentialList"

BreakGlassCredentialListKind is the name of the type used to represent list of objects of type 'break_glass_credential'.

View Source
const BreakGlassCredentialListLinkKind = "BreakGlassCredentialListLink"

BreakGlassCredentialListLinkKind is the name of the type used to represent links to list of objects of type 'break_glass_credential'.

View Source
const BreakGlassCredentialListNilKind = "BreakGlassCredentialListNil"

BreakGlassCredentialNilKind is the name of the type used to nil lists of objects of type 'break_glass_credential'.

View Source
const BreakGlassCredentialNilKind = "BreakGlassCredentialNil"

BreakGlassCredentialNilKind is the name of the type used to nil references to objects of type 'break_glass_credential'.

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 CPUTotalNodeRoleOSMetricNodeListKind = "CPUTotalNodeRoleOSMetricNodeList"

CPUTotalNodeRoleOSMetricNodeListKind is the name of the type used to represent list of objects of type 'CPU_total_node_role_OS_metric_node'.

View Source
const CPUTotalNodeRoleOSMetricNodeListLinkKind = "CPUTotalNodeRoleOSMetricNodeListLink"

CPUTotalNodeRoleOSMetricNodeListLinkKind is the name of the type used to represent links to list of objects of type 'CPU_total_node_role_OS_metric_node'.

View Source
const CPUTotalNodeRoleOSMetricNodeListNilKind = "CPUTotalNodeRoleOSMetricNodeListNil"

CPUTotalNodeRoleOSMetricNodeNilKind is the name of the type used to nil lists of objects of type 'CPU_total_node_role_OS_metric_node'.

View Source
const CPUTotalsNodeRoleOSMetricNodeListKind = "CPUTotalsNodeRoleOSMetricNodeList"

CPUTotalsNodeRoleOSMetricNodeListKind is the name of the type used to represent list of objects of type 'CPU_totals_node_role_OS_metric_node'.

View Source
const CPUTotalsNodeRoleOSMetricNodeListLinkKind = "CPUTotalsNodeRoleOSMetricNodeListLink"

CPUTotalsNodeRoleOSMetricNodeListLinkKind is the name of the type used to represent links to list of objects of type 'CPU_totals_node_role_OS_metric_node'.

View Source
const CPUTotalsNodeRoleOSMetricNodeListNilKind = "CPUTotalsNodeRoleOSMetricNodeListNil"

CPUTotalsNodeRoleOSMetricNodeNilKind is the name of the type used to nil lists of objects of type 'CPU_totals_node_role_OS_metric_node'.

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 CloudProviderDataListKind = "CloudProviderDataList"

CloudProviderDataListKind is the name of the type used to represent list of objects of type 'cloud_provider_data'.

View Source
const CloudProviderDataListLinkKind = "CloudProviderDataListLink"

CloudProviderDataListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_provider_data'.

View Source
const CloudProviderDataListNilKind = "CloudProviderDataListNil"

CloudProviderDataNilKind is the name of the type used to nil lists of objects of type 'cloud_provider_data'.

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 CloudVPCListKind = "CloudVPCList"

CloudVPCListKind is the name of the type used to represent list of objects of type 'cloud_VPC'.

View Source
const CloudVPCListLinkKind = "CloudVPCListLink"

CloudVPCListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_VPC'.

View Source
const CloudVPCListNilKind = "CloudVPCListNil"

CloudVPCNilKind is the name of the type used to nil lists of objects of type 'cloud_VPC'.

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 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 ClusterCredentialsKind = "ClusterCredentials"

ClusterCredentialsKind is the name of the type used to represent objects of type 'cluster_credentials'.

View Source
const ClusterCredentialsLinkKind = "ClusterCredentialsLink"

ClusterCredentialsLinkKind is the name of the type used to represent links to objects of type 'cluster_credentials'.

View Source
const ClusterCredentialsListKind = "ClusterCredentialsList"

ClusterCredentialsListKind is the name of the type used to represent list of objects of type 'cluster_credentials'.

View Source
const ClusterCredentialsListLinkKind = "ClusterCredentialsListLink"

ClusterCredentialsListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_credentials'.

View Source
const ClusterCredentialsListNilKind = "ClusterCredentialsListNil"

ClusterCredentialsNilKind is the name of the type used to nil lists of objects of type 'cluster_credentials'.

View Source
const ClusterCredentialsNilKind = "ClusterCredentialsNil"

ClusterCredentialsNilKind is the name of the type used to nil references to objects of type 'cluster_credentials'.

View Source
const ClusterDeploymentKind = "ClusterDeployment"

ClusterDeploymentKind is the name of the type used to represent objects of type 'cluster_deployment'.

View Source
const ClusterDeploymentLinkKind = "ClusterDeploymentLink"

ClusterDeploymentLinkKind is the name of the type used to represent links to objects of type 'cluster_deployment'.

View Source
const ClusterDeploymentListKind = "ClusterDeploymentList"

ClusterDeploymentListKind is the name of the type used to represent list of objects of type 'cluster_deployment'.

View Source
const ClusterDeploymentListLinkKind = "ClusterDeploymentListLink"

ClusterDeploymentListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_deployment'.

View Source
const ClusterDeploymentListNilKind = "ClusterDeploymentListNil"

ClusterDeploymentNilKind is the name of the type used to nil lists of objects of type 'cluster_deployment'.

View Source
const ClusterDeploymentNilKind = "ClusterDeploymentNil"

ClusterDeploymentNilKind is the name of the type used to nil references to objects of type 'cluster_deployment'.

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 ClusterLinkListKind = "ClusterLinkList"

ClusterLinkListKind is the name of the type used to represent list of objects of type 'cluster_link'.

View Source
const ClusterLinkListLinkKind = "ClusterLinkListLink"

ClusterLinkListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_link'.

View Source
const ClusterLinkListNilKind = "ClusterLinkListNil"

ClusterLinkNilKind is the name of the type used to nil lists of objects of type 'cluster_link'.

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 ClusterOperatorInfoListKind = "ClusterOperatorInfoList"

ClusterOperatorInfoListKind is the name of the type used to represent list of objects of type 'cluster_operator_info'.

View Source
const ClusterOperatorInfoListLinkKind = "ClusterOperatorInfoListLink"

ClusterOperatorInfoListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_operator_info'.

View Source
const ClusterOperatorInfoListNilKind = "ClusterOperatorInfoListNil"

ClusterOperatorInfoNilKind is the name of the type used to nil lists of objects of type 'cluster_operator_info'.

View Source
const ClusterOperatorsInfoListKind = "ClusterOperatorsInfoList"

ClusterOperatorsInfoListKind is the name of the type used to represent list of objects of type 'cluster_operators_info'.

View Source
const ClusterOperatorsInfoListLinkKind = "ClusterOperatorsInfoListLink"

ClusterOperatorsInfoListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_operators_info'.

View Source
const ClusterOperatorsInfoListNilKind = "ClusterOperatorsInfoListNil"

ClusterOperatorsInfoNilKind is the name of the type used to nil lists of objects of type 'cluster_operators_info'.

View Source
const ClusterRegistrationListKind = "ClusterRegistrationList"

ClusterRegistrationListKind is the name of the type used to represent list of objects of type 'cluster_registration'.

View Source
const ClusterRegistrationListLinkKind = "ClusterRegistrationListLink"

ClusterRegistrationListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_registration'.

View Source
const ClusterRegistrationListNilKind = "ClusterRegistrationListNil"

ClusterRegistrationNilKind is the name of the type used to nil lists of objects of type 'cluster_registration'.

View Source
const ClusterResourcesKind = "ClusterResources"

ClusterResourcesKind is the name of the type used to represent objects of type 'cluster_resources'.

View Source
const ClusterResourcesLinkKind = "ClusterResourcesLink"

ClusterResourcesLinkKind is the name of the type used to represent links to objects of type 'cluster_resources'.

View Source
const ClusterResourcesListKind = "ClusterResourcesList"

ClusterResourcesListKind is the name of the type used to represent list of objects of type 'cluster_resources'.

View Source
const ClusterResourcesListLinkKind = "ClusterResourcesListLink"

ClusterResourcesListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_resources'.

View Source
const ClusterResourcesListNilKind = "ClusterResourcesListNil"

ClusterResourcesNilKind is the name of the type used to nil lists of objects of type 'cluster_resources'.

View Source
const ClusterResourcesNilKind = "ClusterResourcesNil"

ClusterResourcesNilKind is the name of the type used to nil references to objects of type 'cluster_resources'.

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 ComponentRouteKind = "ComponentRoute"

ComponentRouteKind is the name of the type used to represent objects of type 'component_route'.

View Source
const ComponentRouteLinkKind = "ComponentRouteLink"

ComponentRouteLinkKind is the name of the type used to represent links to objects of type 'component_route'.

View Source
const ComponentRouteListKind = "ComponentRouteList"

ComponentRouteListKind is the name of the type used to represent list of objects of type 'component_route'.

View Source
const ComponentRouteListLinkKind = "ComponentRouteListLink"

ComponentRouteListLinkKind is the name of the type used to represent links to list of objects of type 'component_route'.

View Source
const ComponentRouteListNilKind = "ComponentRouteListNil"

ComponentRouteNilKind is the name of the type used to nil lists of objects of type 'component_route'.

View Source
const ComponentRouteNilKind = "ComponentRouteNil"

ComponentRouteNilKind is the name of the type used to nil references to objects of type 'component_route'.

View Source
const ControlPlaneUpgradePolicyKind = "ControlPlaneUpgradePolicy"

ControlPlaneUpgradePolicyKind is the name of the type used to represent objects of type 'control_plane_upgrade_policy'.

View Source
const ControlPlaneUpgradePolicyLinkKind = "ControlPlaneUpgradePolicyLink"

ControlPlaneUpgradePolicyLinkKind is the name of the type used to represent links to objects of type 'control_plane_upgrade_policy'.

View Source
const ControlPlaneUpgradePolicyListKind = "ControlPlaneUpgradePolicyList"

ControlPlaneUpgradePolicyListKind is the name of the type used to represent list of objects of type 'control_plane_upgrade_policy'.

View Source
const ControlPlaneUpgradePolicyListLinkKind = "ControlPlaneUpgradePolicyListLink"

ControlPlaneUpgradePolicyListLinkKind is the name of the type used to represent links to list of objects of type 'control_plane_upgrade_policy'.

View Source
const ControlPlaneUpgradePolicyListNilKind = "ControlPlaneUpgradePolicyListNil"

ControlPlaneUpgradePolicyNilKind is the name of the type used to nil lists of objects of type 'control_plane_upgrade_policy'.

View Source
const ControlPlaneUpgradePolicyNilKind = "ControlPlaneUpgradePolicyNil"

ControlPlaneUpgradePolicyNilKind is the name of the type used to nil references to objects of type 'control_plane_upgrade_policy'.

View Source
const CredentialRequestListKind = "CredentialRequestList"

CredentialRequestListKind is the name of the type used to represent list of objects of type 'credential_request'.

View Source
const CredentialRequestListLinkKind = "CredentialRequestListLink"

CredentialRequestListLinkKind is the name of the type used to represent links to list of objects of type 'credential_request'.

View Source
const CredentialRequestListNilKind = "CredentialRequestListNil"

CredentialRequestNilKind is the name of the type used to nil lists of objects of type 'credential_request'.

View Source
const DNSDomainKind = "DNSDomain"

DNSDomainKind is the name of the type used to represent objects of type 'DNS_domain'.

View Source
const DNSDomainLinkKind = "DNSDomainLink"

DNSDomainLinkKind is the name of the type used to represent links to objects of type 'DNS_domain'.

View Source
const DNSDomainListKind = "DNSDomainList"

DNSDomainListKind is the name of the type used to represent list of objects of type 'DNS_domain'.

View Source
const DNSDomainListLinkKind = "DNSDomainListLink"

DNSDomainListLinkKind is the name of the type used to represent links to list of objects of type 'DNS_domain'.

View Source
const DNSDomainListNilKind = "DNSDomainListNil"

DNSDomainNilKind is the name of the type used to nil lists of objects of type 'DNS_domain'.

View Source
const DNSDomainNilKind = "DNSDomainNil"

DNSDomainNilKind is the name of the type used to nil references to objects of type 'DNS_domain'.

View Source
const DNSListKind = "DNSList"

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

View Source
const DNSListLinkKind = "DNSListLink"

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

View Source
const DNSListNilKind = "DNSListNil"

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

View Source
const DeleteProtectionListKind = "DeleteProtectionList"

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

View Source
const DeleteProtectionListLinkKind = "DeleteProtectionListLink"

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

View Source
const DeleteProtectionListNilKind = "DeleteProtectionListNil"

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

View Source
const (
	// Can't create cluster, the given external identifier is already in use.
	DuplicatedExternalIDError = 1001
)
View Source
const EncryptionKeyKind = "EncryptionKey"

EncryptionKeyKind is the name of the type used to represent objects of type 'encryption_key'.

View Source
const EncryptionKeyLinkKind = "EncryptionKeyLink"

EncryptionKeyLinkKind is the name of the type used to represent links to objects of type 'encryption_key'.

View Source
const EncryptionKeyListKind = "EncryptionKeyList"

EncryptionKeyListKind is the name of the type used to represent list of objects of type 'encryption_key'.

View Source
const EncryptionKeyListLinkKind = "EncryptionKeyListLink"

EncryptionKeyListLinkKind is the name of the type used to represent links to list of objects of type 'encryption_key'.

View Source
const EncryptionKeyListNilKind = "EncryptionKeyListNil"

EncryptionKeyNilKind is the name of the type used to nil lists of objects of type 'encryption_key'.

View Source
const EncryptionKeyNilKind = "EncryptionKeyNil"

EncryptionKeyNilKind is the name of the type used to nil references to objects of type 'encryption_key'.

View Source
const EnvironmentListKind = "EnvironmentList"

EnvironmentListKind is the name of the type used to represent list of objects of type 'environment'.

View Source
const EnvironmentListLinkKind = "EnvironmentListLink"

EnvironmentListLinkKind is the name of the type used to represent links to list of objects of type 'environment'.

View Source
const EnvironmentListNilKind = "EnvironmentListNil"

EnvironmentNilKind is the name of the type used to nil lists of objects of type 'environment'.

View Source
const EventListKind = "EventList"

EventListKind is the name of the type used to represent list of objects of type 'event'.

View Source
const EventListLinkKind = "EventListLink"

EventListLinkKind is the name of the type used to represent links to list of objects of type 'event'.

View Source
const EventListNilKind = "EventListNil"

EventNilKind is the name of the type used to nil lists of objects of type 'event'.

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 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 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 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 FlavourKind = "Flavour"

FlavourKind is the name of the type used to represent objects of type 'flavour'.

View Source
const FlavourLinkKind = "FlavourLink"

FlavourLinkKind is the name of the type used to represent links to objects of type 'flavour'.

View Source
const FlavourListKind = "FlavourList"

FlavourListKind is the name of the type used to represent list of objects of type 'flavour'.

View Source
const FlavourListLinkKind = "FlavourListLink"

FlavourListLinkKind is the name of the type used to represent links to list of objects of type 'flavour'.

View Source
const FlavourListNilKind = "FlavourListNil"

FlavourNilKind is the name of the type used to nil lists of objects of type 'flavour'.

View Source
const FlavourNilKind = "FlavourNil"

FlavourNilKind is the name of the type used to nil references to objects of type 'flavour'.

View Source
const FlavourNodesListKind = "FlavourNodesList"

FlavourNodesListKind is the name of the type used to represent list of objects of type 'flavour_nodes'.

View Source
const FlavourNodesListLinkKind = "FlavourNodesListLink"

FlavourNodesListLinkKind is the name of the type used to represent links to list of objects of type 'flavour_nodes'.

View Source
const FlavourNodesListNilKind = "FlavourNodesListNil"

FlavourNodesNilKind is the name of the type used to nil lists of objects of type 'flavour_nodes'.

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 GCPFlavourListKind = "GCPFlavourList"

GCPFlavourListKind is the name of the type used to represent list of objects of type 'GCP_flavour'.

View Source
const GCPFlavourListLinkKind = "GCPFlavourListLink"

GCPFlavourListLinkKind is the name of the type used to represent links to list of objects of type 'GCP_flavour'.

View Source
const GCPFlavourListNilKind = "GCPFlavourListNil"

GCPFlavourNilKind is the name of the type used to nil lists of objects of type 'GCP_flavour'.

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 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 GithubIdentityProviderListKind = "GithubIdentityProviderList"

GithubIdentityProviderListKind is the name of the type used to represent list of objects of type 'github_identity_provider'.

View Source
const GithubIdentityProviderListLinkKind = "GithubIdentityProviderListLink"

GithubIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'github_identity_provider'.

View Source
const GithubIdentityProviderListNilKind = "GithubIdentityProviderListNil"

GithubIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'github_identity_provider'.

View Source
const GitlabIdentityProviderListKind = "GitlabIdentityProviderList"

GitlabIdentityProviderListKind is the name of the type used to represent list of objects of type 'gitlab_identity_provider'.

View Source
const GitlabIdentityProviderListLinkKind = "GitlabIdentityProviderListLink"

GitlabIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'gitlab_identity_provider'.

View Source
const GitlabIdentityProviderListNilKind = "GitlabIdentityProviderListNil"

GitlabIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'gitlab_identity_provider'.

View Source
const GoogleIdentityProviderListKind = "GoogleIdentityProviderList"

GoogleIdentityProviderListKind is the name of the type used to represent list of objects of type 'google_identity_provider'.

View Source
const GoogleIdentityProviderListLinkKind = "GoogleIdentityProviderListLink"

GoogleIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'google_identity_provider'.

View Source
const GoogleIdentityProviderListNilKind = "GoogleIdentityProviderListNil"

GoogleIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'google_identity_provider'.

View Source
const GroupKind = "Group"

GroupKind is the name of the type used to represent objects of type 'group'.

View Source
const GroupLinkKind = "GroupLink"

GroupLinkKind is the name of the type used to represent links to objects of type 'group'.

View Source
const GroupListKind = "GroupList"

GroupListKind is the name of the type used to represent list of objects of type 'group'.

View Source
const GroupListLinkKind = "GroupListLink"

GroupListLinkKind is the name of the type used to represent links to list of objects of type 'group'.

View Source
const GroupListNilKind = "GroupListNil"

GroupNilKind is the name of the type used to nil lists of objects of type 'group'.

View Source
const GroupNilKind = "GroupNil"

GroupNilKind is the name of the type used to nil references to objects of type 'group'.

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 HTPasswdUserListKind = "HTPasswdUserList"

HTPasswdUserListKind is the name of the type used to represent list of objects of type 'HT_passwd_user'.

View Source
const HTPasswdUserListLinkKind = "HTPasswdUserListLink"

HTPasswdUserListLinkKind is the name of the type used to represent links to list of objects of type 'HT_passwd_user'.

View Source
const HTPasswdUserListNilKind = "HTPasswdUserListNil"

HTPasswdUserNilKind is the name of the type used to nil lists of objects of type 'HT_passwd_user'.

View Source
const HypershiftConfigListKind = "HypershiftConfigList"

HypershiftConfigListKind is the name of the type used to represent list of objects of type 'hypershift_config'.

View Source
const HypershiftConfigListLinkKind = "HypershiftConfigListLink"

HypershiftConfigListLinkKind is the name of the type used to represent links to list of objects of type 'hypershift_config'.

View Source
const HypershiftConfigListNilKind = "HypershiftConfigListNil"

HypershiftConfigNilKind is the name of the type used to nil lists of objects of type 'hypershift_config'.

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 IdentityProviderKind = "IdentityProvider"

IdentityProviderKind is the name of the type used to represent objects of type 'identity_provider'.

View Source
const IdentityProviderLinkKind = "IdentityProviderLink"

IdentityProviderLinkKind is the name of the type used to represent links to objects of type 'identity_provider'.

View Source
const IdentityProviderListKind = "IdentityProviderList"

IdentityProviderListKind is the name of the type used to represent list of objects of type 'identity_provider'.

View Source
const IdentityProviderListLinkKind = "IdentityProviderListLink"

IdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'identity_provider'.

View Source
const IdentityProviderListNilKind = "IdentityProviderListNil"

IdentityProviderNilKind is the name of the type used to nil lists of objects of type 'identity_provider'.

View Source
const IdentityProviderNilKind = "IdentityProviderNil"

IdentityProviderNilKind is the name of the type used to nil references to objects of type 'identity_provider'.

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 IngressKind = "Ingress"

IngressKind is the name of the type used to represent objects of type 'ingress'.

View Source
const IngressLinkKind = "IngressLink"

IngressLinkKind is the name of the type used to represent links to objects of type 'ingress'.

View Source
const IngressListKind = "IngressList"

IngressListKind is the name of the type used to represent list of objects of type 'ingress'.

View Source
const IngressListLinkKind = "IngressListLink"

IngressListLinkKind is the name of the type used to represent links to list of objects of type 'ingress'.

View Source
const IngressListNilKind = "IngressListNil"

IngressNilKind is the name of the type used to nil lists of objects of type 'ingress'.

View Source
const IngressNilKind = "IngressNil"

IngressNilKind is the name of the type used to nil references to objects of type 'ingress'.

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 KeyRingKind = "KeyRing"

KeyRingKind is the name of the type used to represent objects of type 'key_ring'.

View Source
const KeyRingLinkKind = "KeyRingLink"

KeyRingLinkKind is the name of the type used to represent links to objects of type 'key_ring'.

View Source
const KeyRingListKind = "KeyRingList"

KeyRingListKind is the name of the type used to represent list of objects of type 'key_ring'.

View Source
const KeyRingListLinkKind = "KeyRingListLink"

KeyRingListLinkKind is the name of the type used to represent links to list of objects of type 'key_ring'.

View Source
const KeyRingListNilKind = "KeyRingListNil"

KeyRingNilKind is the name of the type used to nil lists of objects of type 'key_ring'.

View Source
const KeyRingNilKind = "KeyRingNil"

KeyRingNilKind is the name of the type used to nil references to objects of type 'key_ring'.

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 LDAPAttributesListKind = "LDAPAttributesList"

LDAPAttributesListKind is the name of the type used to represent list of objects of type 'LDAP_attributes'.

View Source
const LDAPAttributesListLinkKind = "LDAPAttributesListLink"

LDAPAttributesListLinkKind is the name of the type used to represent links to list of objects of type 'LDAP_attributes'.

View Source
const LDAPAttributesListNilKind = "LDAPAttributesListNil"

LDAPAttributesNilKind is the name of the type used to nil lists of objects of type 'LDAP_attributes'.

View Source
const LDAPIdentityProviderListKind = "LDAPIdentityProviderList"

LDAPIdentityProviderListKind is the name of the type used to represent list of objects of type 'LDAP_identity_provider'.

View Source
const LDAPIdentityProviderListLinkKind = "LDAPIdentityProviderListLink"

LDAPIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'LDAP_identity_provider'.

View Source
const LDAPIdentityProviderListNilKind = "LDAPIdentityProviderListNil"

LDAPIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'LDAP_identity_provider'.

View Source
const LabelKind = "Label"

LabelKind is the name of the type used to represent objects of type 'label'.

View Source
const LabelLinkKind = "LabelLink"

LabelLinkKind is the name of the type used to represent links to objects of type 'label'.

View Source
const LabelListKind = "LabelList"

LabelListKind is the name of the type used to represent list of objects of type 'label'.

View Source
const LabelListLinkKind = "LabelListLink"

LabelListLinkKind is the name of the type used to represent links to list of objects of type 'label'.

View Source
const LabelListNilKind = "LabelListNil"

LabelNilKind is the name of the type used to nil lists of objects of type 'label'.

View Source
const LabelNilKind = "LabelNil"

LabelNilKind is the name of the type used to nil references to objects of type 'label'.

View Source
const LimitedSupportReasonKind = "LimitedSupportReason"

LimitedSupportReasonKind is the name of the type used to represent objects of type 'limited_support_reason'.

View Source
const LimitedSupportReasonLinkKind = "LimitedSupportReasonLink"

LimitedSupportReasonLinkKind is the name of the type used to represent links to objects of type 'limited_support_reason'.

View Source
const LimitedSupportReasonListKind = "LimitedSupportReasonList"

LimitedSupportReasonListKind is the name of the type used to represent list of objects of type 'limited_support_reason'.

View Source
const LimitedSupportReasonListLinkKind = "LimitedSupportReasonListLink"

LimitedSupportReasonListLinkKind is the name of the type used to represent links to list of objects of type 'limited_support_reason'.

View Source
const LimitedSupportReasonListNilKind = "LimitedSupportReasonListNil"

LimitedSupportReasonNilKind is the name of the type used to nil lists of objects of type 'limited_support_reason'.

View Source
const LimitedSupportReasonNilKind = "LimitedSupportReasonNil"

LimitedSupportReasonNilKind is the name of the type used to nil references to objects of type 'limited_support_reason'.

View Source
const LimitedSupportReasonTemplateKind = "LimitedSupportReasonTemplate"

LimitedSupportReasonTemplateKind is the name of the type used to represent objects of type 'limited_support_reason_template'.

View Source
const LimitedSupportReasonTemplateLinkKind = "LimitedSupportReasonTemplateLink"

LimitedSupportReasonTemplateLinkKind is the name of the type used to represent links to objects of type 'limited_support_reason_template'.

View Source
const LimitedSupportReasonTemplateListKind = "LimitedSupportReasonTemplateList"

LimitedSupportReasonTemplateListKind is the name of the type used to represent list of objects of type 'limited_support_reason_template'.

View Source
const LimitedSupportReasonTemplateListLinkKind = "LimitedSupportReasonTemplateListLink"

LimitedSupportReasonTemplateListLinkKind is the name of the type used to represent links to list of objects of type 'limited_support_reason_template'.

View Source
const LimitedSupportReasonTemplateListNilKind = "LimitedSupportReasonTemplateListNil"

LimitedSupportReasonTemplateNilKind is the name of the type used to nil lists of objects of type 'limited_support_reason_template'.

View Source
const LimitedSupportReasonTemplateNilKind = "LimitedSupportReasonTemplateNil"

LimitedSupportReasonTemplateNilKind is the name of the type used to nil references to objects of type 'limited_support_reason_template'.

View Source
const LogKind = "Log"

LogKind is the name of the type used to represent objects of type 'log'.

View Source
const LogLinkKind = "LogLink"

LogLinkKind is the name of the type used to represent links to objects of type 'log'.

View Source
const LogListKind = "LogList"

LogListKind is the name of the type used to represent list of objects of type 'log'.

View Source
const LogListLinkKind = "LogListLink"

LogListLinkKind is the name of the type used to represent links to list of objects of type 'log'.

View Source
const LogListNilKind = "LogListNil"

LogNilKind is the name of the type used to nil lists of objects of type 'log'.

View Source
const LogNilKind = "LogNil"

LogNilKind is the name of the type used to nil references to objects of type 'log'.

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 MachinePoolKind = "MachinePool"

MachinePoolKind is the name of the type used to represent objects of type 'machine_pool'.

View Source
const MachinePoolLinkKind = "MachinePoolLink"

MachinePoolLinkKind is the name of the type used to represent links to objects of type 'machine_pool'.

View Source
const MachinePoolListKind = "MachinePoolList"

MachinePoolListKind is the name of the type used to represent list of objects of type 'machine_pool'.

View Source
const MachinePoolListLinkKind = "MachinePoolListLink"

MachinePoolListLinkKind is the name of the type used to represent links to list of objects of type 'machine_pool'.

View Source
const MachinePoolListNilKind = "MachinePoolListNil"

MachinePoolNilKind is the name of the type used to nil lists of objects of type 'machine_pool'.

View Source
const MachinePoolNilKind = "MachinePoolNil"

MachinePoolNilKind is the name of the type used to nil references to objects of type 'machine_pool'.

View Source
const MachinePoolSecurityGroupFilterListKind = "MachinePoolSecurityGroupFilterList"

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

View Source
const MachinePoolSecurityGroupFilterListLinkKind = "MachinePoolSecurityGroupFilterListLink"

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

View Source
const MachinePoolSecurityGroupFilterListNilKind = "MachinePoolSecurityGroupFilterListNil"

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

View Source
const MachineTypeKind = "MachineType"

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

View Source
const MachineTypeLinkKind = "MachineTypeLink"

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

View Source
const MachineTypeListKind = "MachineTypeList"

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

View Source
const MachineTypeListLinkKind = "MachineTypeListLink"

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

View Source
const MachineTypeListNilKind = "MachineTypeListNil"

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

View Source
const MachineTypeNilKind = "MachineTypeNil"

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

View Source
const ManagedServiceListKind = "ManagedServiceList"

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

View Source
const ManagedServiceListLinkKind = "ManagedServiceListLink"

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

View Source
const ManagedServiceListNilKind = "ManagedServiceListNil"

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

View Source
const ManifestKind = "Manifest"

ManifestKind is the name of the type used to represent objects of type 'manifest'.

View Source
const ManifestLinkKind = "ManifestLink"

ManifestLinkKind is the name of the type used to represent links to objects of type 'manifest'.

View Source
const ManifestListKind = "ManifestList"

ManifestListKind is the name of the type used to represent list of objects of type 'manifest'.

View Source
const ManifestListLinkKind = "ManifestListLink"

ManifestListLinkKind is the name of the type used to represent links to list of objects of type 'manifest'.

View Source
const ManifestListNilKind = "ManifestListNil"

ManifestNilKind is the name of the type used to nil lists of objects of type 'manifest'.

View Source
const ManifestNilKind = "ManifestNil"

ManifestNilKind is the name of the type used to nil references to objects of type 'manifest'.

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 NetworkVerificationListKind = "NetworkVerificationList"

NetworkVerificationListKind is the name of the type used to represent list of objects of type 'network_verification'.

View Source
const NetworkVerificationListLinkKind = "NetworkVerificationListLink"

NetworkVerificationListLinkKind is the name of the type used to represent links to list of objects of type 'network_verification'.

View Source
const NetworkVerificationListNilKind = "NetworkVerificationListNil"

NetworkVerificationNilKind is the name of the type used to nil lists of objects of type 'network_verification'.

View Source
const NodeInfoListKind = "NodeInfoList"

NodeInfoListKind is the name of the type used to represent list of objects of type 'node_info'.

View Source
const NodeInfoListLinkKind = "NodeInfoListLink"

NodeInfoListLinkKind is the name of the type used to represent links to list of objects of type 'node_info'.

View Source
const NodeInfoListNilKind = "NodeInfoListNil"

NodeInfoNilKind is the name of the type used to nil lists of objects of type 'node_info'.

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 NodePoolNilKind = "NodePoolNil"

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

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 NodePoolUpgradePolicyKind = "NodePoolUpgradePolicy"

NodePoolUpgradePolicyKind is the name of the type used to represent objects of type 'node_pool_upgrade_policy'.

View Source
const NodePoolUpgradePolicyLinkKind = "NodePoolUpgradePolicyLink"

NodePoolUpgradePolicyLinkKind is the name of the type used to represent links to objects of type 'node_pool_upgrade_policy'.

View Source
const NodePoolUpgradePolicyListKind = "NodePoolUpgradePolicyList"

NodePoolUpgradePolicyListKind is the name of the type used to represent list of objects of type 'node_pool_upgrade_policy'.

View Source
const NodePoolUpgradePolicyListLinkKind = "NodePoolUpgradePolicyListLink"

NodePoolUpgradePolicyListLinkKind is the name of the type used to represent links to list of objects of type 'node_pool_upgrade_policy'.

View Source
const NodePoolUpgradePolicyListNilKind = "NodePoolUpgradePolicyListNil"

NodePoolUpgradePolicyNilKind is the name of the type used to nil lists of objects of type 'node_pool_upgrade_policy'.

View Source
const NodePoolUpgradePolicyNilKind = "NodePoolUpgradePolicyNil"

NodePoolUpgradePolicyNilKind is the name of the type used to nil references to objects of type 'node_pool_upgrade_policy'.

View Source
const NodesInfoListKind = "NodesInfoList"

NodesInfoListKind is the name of the type used to represent list of objects of type 'nodes_info'.

View Source
const NodesInfoListLinkKind = "NodesInfoListLink"

NodesInfoListLinkKind is the name of the type used to represent links to list of objects of type 'nodes_info'.

View Source
const NodesInfoListNilKind = "NodesInfoListNil"

NodesInfoNilKind is the name of the type used to nil lists of objects of type 'nodes_info'.

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 OpenIDClaimsListKind = "OpenIDClaimsList"

OpenIDClaimsListKind is the name of the type used to represent list of objects of type 'open_ID_claims'.

View Source
const OpenIDClaimsListLinkKind = "OpenIDClaimsListLink"

OpenIDClaimsListLinkKind is the name of the type used to represent links to list of objects of type 'open_ID_claims'.

View Source
const OpenIDClaimsListNilKind = "OpenIDClaimsListNil"

OpenIDClaimsNilKind is the name of the type used to nil lists of objects of type 'open_ID_claims'.

View Source
const OpenIDIdentityProviderListKind = "OpenIDIdentityProviderList"

OpenIDIdentityProviderListKind is the name of the type used to represent list of objects of type 'open_ID_identity_provider'.

View Source
const OpenIDIdentityProviderListLinkKind = "OpenIDIdentityProviderListLink"

OpenIDIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'open_ID_identity_provider'.

View Source
const OpenIDIdentityProviderListNilKind = "OpenIDIdentityProviderListNil"

OpenIDIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'open_ID_identity_provider'.

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 OrganizationLinkListKind = "OrganizationLinkList"

OrganizationLinkListKind is the name of the type used to represent list of objects of type 'organization_link'.

View Source
const OrganizationLinkListLinkKind = "OrganizationLinkListLink"

OrganizationLinkListLinkKind is the name of the type used to represent links to list of objects of type 'organization_link'.

View Source
const OrganizationLinkListNilKind = "OrganizationLinkListNil"

OrganizationLinkNilKind is the name of the type used to nil lists of objects of type 'organization_link'.

View Source
const PendingDeleteClusterKind = "PendingDeleteCluster"

PendingDeleteClusterKind is the name of the type used to represent objects of type 'pending_delete_cluster'.

View Source
const PendingDeleteClusterLinkKind = "PendingDeleteClusterLink"

PendingDeleteClusterLinkKind is the name of the type used to represent links to objects of type 'pending_delete_cluster'.

View Source
const PendingDeleteClusterListKind = "PendingDeleteClusterList"

PendingDeleteClusterListKind is the name of the type used to represent list of objects of type 'pending_delete_cluster'.

View Source
const PendingDeleteClusterListLinkKind = "PendingDeleteClusterListLink"

PendingDeleteClusterListLinkKind is the name of the type used to represent links to list of objects of type 'pending_delete_cluster'.

View Source
const PendingDeleteClusterListNilKind = "PendingDeleteClusterListNil"

PendingDeleteClusterNilKind is the name of the type used to nil lists of objects of type 'pending_delete_cluster'.

View Source
const PendingDeleteClusterNilKind = "PendingDeleteClusterNil"

PendingDeleteClusterNilKind is the name of the type used to nil references to objects of type 'pending_delete_cluster'.

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 PrivateLinkConfigurationListKind = "PrivateLinkConfigurationList"

PrivateLinkConfigurationListKind is the name of the type used to represent list of objects of type 'private_link_configuration'.

View Source
const PrivateLinkConfigurationListLinkKind = "PrivateLinkConfigurationListLink"

PrivateLinkConfigurationListLinkKind is the name of the type used to represent links to list of objects of type 'private_link_configuration'.

View Source
const PrivateLinkConfigurationListNilKind = "PrivateLinkConfigurationListNil"

PrivateLinkConfigurationNilKind is the name of the type used to nil lists of objects of type 'private_link_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 PrivateLinkPrincipalsKind = "PrivateLinkPrincipals"

PrivateLinkPrincipalsKind is the name of the type used to represent objects of type 'private_link_principals'.

View Source
const PrivateLinkPrincipalsLinkKind = "PrivateLinkPrincipalsLink"

PrivateLinkPrincipalsLinkKind is the name of the type used to represent links to objects of type 'private_link_principals'.

View Source
const PrivateLinkPrincipalsListKind = "PrivateLinkPrincipalsList"

PrivateLinkPrincipalsListKind is the name of the type used to represent list of objects of type 'private_link_principals'.

View Source
const PrivateLinkPrincipalsListLinkKind = "PrivateLinkPrincipalsListLink"

PrivateLinkPrincipalsListLinkKind is the name of the type used to represent links to list of objects of type 'private_link_principals'.

View Source
const PrivateLinkPrincipalsListNilKind = "PrivateLinkPrincipalsListNil"

PrivateLinkPrincipalsNilKind is the name of the type used to nil lists of objects of type 'private_link_principals'.

View Source
const PrivateLinkPrincipalsNilKind = "PrivateLinkPrincipalsNil"

PrivateLinkPrincipalsNilKind is the name of the type used to nil references to objects of type 'private_link_principals'.

View Source
const ProductKind = "Product"

ProductKind is the name of the type used to represent objects of type 'product'.

View Source
const ProductLinkKind = "ProductLink"

ProductLinkKind is the name of the type used to represent links to objects of type 'product'.

View Source
const ProductListKind = "ProductList"

ProductListKind is the name of the type used to represent list of objects of type 'product'.

View Source
const ProductListLinkKind = "ProductListLink"

ProductListLinkKind is the name of the type used to represent links to list of objects of type 'product'.

View Source
const ProductListNilKind = "ProductListNil"

ProductNilKind is the name of the type used to nil lists of objects of type 'product'.

View Source
const ProductMinimalVersionKind = "ProductMinimalVersion"

ProductMinimalVersionKind is the name of the type used to represent objects of type 'product_minimal_version'.

View Source
const ProductMinimalVersionLinkKind = "ProductMinimalVersionLink"

ProductMinimalVersionLinkKind is the name of the type used to represent links to objects of type 'product_minimal_version'.

View Source
const ProductMinimalVersionListKind = "ProductMinimalVersionList"

ProductMinimalVersionListKind is the name of the type used to represent list of objects of type 'product_minimal_version'.

View Source
const ProductMinimalVersionListLinkKind = "ProductMinimalVersionListLink"

ProductMinimalVersionListLinkKind is the name of the type used to represent links to list of objects of type 'product_minimal_version'.

View Source
const ProductMinimalVersionListNilKind = "ProductMinimalVersionListNil"

ProductMinimalVersionNilKind is the name of the type used to nil lists of objects of type 'product_minimal_version'.

View Source
const ProductMinimalVersionNilKind = "ProductMinimalVersionNil"

ProductMinimalVersionNilKind is the name of the type used to nil references to objects of type 'product_minimal_version'.

View Source
const ProductNilKind = "ProductNil"

ProductNilKind is the name of the type used to nil references to objects of type 'product'.

View Source
const ProductTechnologyPreviewKind = "ProductTechnologyPreview"

ProductTechnologyPreviewKind is the name of the type used to represent objects of type 'product_technology_preview'.

View Source
const ProductTechnologyPreviewLinkKind = "ProductTechnologyPreviewLink"

ProductTechnologyPreviewLinkKind is the name of the type used to represent links to objects of type 'product_technology_preview'.

View Source
const ProductTechnologyPreviewListKind = "ProductTechnologyPreviewList"

ProductTechnologyPreviewListKind is the name of the type used to represent list of objects of type 'product_technology_preview'.

View Source
const ProductTechnologyPreviewListLinkKind = "ProductTechnologyPreviewListLink"

ProductTechnologyPreviewListLinkKind is the name of the type used to represent links to list of objects of type 'product_technology_preview'.

View Source
const ProductTechnologyPreviewListNilKind = "ProductTechnologyPreviewListNil"

ProductTechnologyPreviewNilKind is the name of the type used to nil lists of objects of type 'product_technology_preview'.

View Source
const ProductTechnologyPreviewNilKind = "ProductTechnologyPreviewNil"

ProductTechnologyPreviewNilKind is the name of the type used to nil references to objects of type 'product_technology_preview'.

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 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 RolePolicyBindingListKind = "RolePolicyBindingList"

RolePolicyBindingListKind is the name of the type used to represent list of objects of type 'role_policy_binding'.

View Source
const RolePolicyBindingListLinkKind = "RolePolicyBindingListLink"

RolePolicyBindingListLinkKind is the name of the type used to represent links to list of objects of type 'role_policy_binding'.

View Source
const RolePolicyBindingListNilKind = "RolePolicyBindingListNil"

RolePolicyBindingNilKind is the name of the type used to nil lists of objects of type 'role_policy_binding'.

View Source
const RolePolicyBindingStatusListKind = "RolePolicyBindingStatusList"

RolePolicyBindingStatusListKind is the name of the type used to represent list of objects of type 'role_policy_binding_status'.

View Source
const RolePolicyBindingStatusListLinkKind = "RolePolicyBindingStatusListLink"

RolePolicyBindingStatusListLinkKind is the name of the type used to represent links to list of objects of type 'role_policy_binding_status'.

View Source
const RolePolicyBindingStatusListNilKind = "RolePolicyBindingStatusListNil"

RolePolicyBindingStatusNilKind is the name of the type used to nil lists of objects of type 'role_policy_binding_status'.

View Source
const RolePolicyListKind = "RolePolicyList"

RolePolicyListKind is the name of the type used to represent list of objects of type 'role_policy'.

View Source
const RolePolicyListLinkKind = "RolePolicyListLink"

RolePolicyListLinkKind is the name of the type used to represent links to list of objects of type 'role_policy'.

View Source
const RolePolicyListNilKind = "RolePolicyListNil"

RolePolicyNilKind is the name of the type used to nil lists of objects of type 'role_policy'.

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 STSCredentialRequestListKind = "STSCredentialRequestList"

STSCredentialRequestListKind is the name of the type used to represent list of objects of type 'STS_credential_request'.

View Source
const STSCredentialRequestListLinkKind = "STSCredentialRequestListLink"

STSCredentialRequestListLinkKind is the name of the type used to represent links to list of objects of type 'STS_credential_request'.

View Source
const STSCredentialRequestListNilKind = "STSCredentialRequestListNil"

STSCredentialRequestNilKind is the name of the type used to nil lists of objects of type 'STS_credential_request'.

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 STSOperatorListKind = "STSOperatorList"

STSOperatorListKind is the name of the type used to represent list of objects of type 'STS_operator'.

View Source
const STSOperatorListLinkKind = "STSOperatorListLink"

STSOperatorListLinkKind is the name of the type used to represent links to list of objects of type 'STS_operator'.

View Source
const STSOperatorListNilKind = "STSOperatorListNil"

STSOperatorNilKind is the name of the type used to nil lists of objects of type 'STS_operator'.

View Source
const SecurityGroupListKind = "SecurityGroupList"

SecurityGroupListKind is the name of the type used to represent list of objects of type 'security_group'.

View Source
const SecurityGroupListLinkKind = "SecurityGroupListLink"

SecurityGroupListLinkKind is the name of the type used to represent links to list of objects of type 'security_group'.

View Source
const SecurityGroupListNilKind = "SecurityGroupListNil"

SecurityGroupNilKind is the name of the type used to nil lists of objects of type 'security_group'.

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 SocketTotalNodeRoleOSMetricNodeListKind = "SocketTotalNodeRoleOSMetricNodeList"

SocketTotalNodeRoleOSMetricNodeListKind is the name of the type used to represent list of objects of type 'socket_total_node_role_OS_metric_node'.

View Source
const SocketTotalNodeRoleOSMetricNodeListLinkKind = "SocketTotalNodeRoleOSMetricNodeListLink"

SocketTotalNodeRoleOSMetricNodeListLinkKind is the name of the type used to represent links to list of objects of type 'socket_total_node_role_OS_metric_node'.

View Source
const SocketTotalNodeRoleOSMetricNodeListNilKind = "SocketTotalNodeRoleOSMetricNodeListNil"

SocketTotalNodeRoleOSMetricNodeNilKind is the name of the type used to nil lists of objects of type 'socket_total_node_role_OS_metric_node'.

View Source
const SocketTotalsNodeRoleOSMetricNodeListKind = "SocketTotalsNodeRoleOSMetricNodeList"

SocketTotalsNodeRoleOSMetricNodeListKind is the name of the type used to represent list of objects of type 'socket_totals_node_role_OS_metric_node'.

View Source
const SocketTotalsNodeRoleOSMetricNodeListLinkKind = "SocketTotalsNodeRoleOSMetricNodeListLink"

SocketTotalsNodeRoleOSMetricNodeListLinkKind is the name of the type used to represent links to list of objects of type 'socket_totals_node_role_OS_metric_node'.

View Source
const SocketTotalsNodeRoleOSMetricNodeListNilKind = "SocketTotalsNodeRoleOSMetricNodeListNil"

SocketTotalsNodeRoleOSMetricNodeNilKind is the name of the type used to nil lists of objects of type 'socket_totals_node_role_OS_metric_node'.

View Source
const StorageQuotaListKind = "StorageQuotaList"

StorageQuotaListKind is the name of the type used to represent list of objects of type 'storage_quota'.

View Source
const StorageQuotaListLinkKind = "StorageQuotaListLink"

StorageQuotaListLinkKind is the name of the type used to represent links to list of objects of type 'storage_quota'.

View Source
const StorageQuotaListNilKind = "StorageQuotaListNil"

StorageQuotaNilKind is the name of the type used to nil lists of objects of type 'storage_quota'.

View Source
const StsSupportJumpRoleListKind = "StsSupportJumpRoleList"

StsSupportJumpRoleListKind is the name of the type used to represent list of objects of type 'sts_support_jump_role'.

View Source
const StsSupportJumpRoleListLinkKind = "StsSupportJumpRoleListLink"

StsSupportJumpRoleListLinkKind is the name of the type used to represent links to list of objects of type 'sts_support_jump_role'.

View Source
const StsSupportJumpRoleListNilKind = "StsSupportJumpRoleListNil"

StsSupportJumpRoleNilKind is the name of the type used to nil lists of objects of type 'sts_support_jump_role'.

View Source
const SubnetNetworkVerificationKind = "SubnetNetworkVerification"

SubnetNetworkVerificationKind is the name of the type used to represent objects of type 'subnet_network_verification'.

View Source
const SubnetNetworkVerificationLinkKind = "SubnetNetworkVerificationLink"

SubnetNetworkVerificationLinkKind is the name of the type used to represent links to objects of type 'subnet_network_verification'.

View Source
const SubnetNetworkVerificationListKind = "SubnetNetworkVerificationList"

SubnetNetworkVerificationListKind is the name of the type used to represent list of objects of type 'subnet_network_verification'.

View Source
const SubnetNetworkVerificationListLinkKind = "SubnetNetworkVerificationListLink"

SubnetNetworkVerificationListLinkKind is the name of the type used to represent links to list of objects of type 'subnet_network_verification'.

View Source
const SubnetNetworkVerificationListNilKind = "SubnetNetworkVerificationListNil"

SubnetNetworkVerificationNilKind is the name of the type used to nil lists of objects of type 'subnet_network_verification'.

View Source
const SubnetNetworkVerificationNilKind = "SubnetNetworkVerificationNil"

SubnetNetworkVerificationNilKind is the name of the type used to nil references to objects of type 'subnet_network_verification'.

View Source
const SubnetworkListKind = "SubnetworkList"

SubnetworkListKind is the name of the type used to represent list of objects of type 'subnetwork'.

View Source
const SubnetworkListLinkKind = "SubnetworkListLink"

SubnetworkListLinkKind is the name of the type used to represent links to list of objects of type 'subnetwork'.

View Source
const SubnetworkListNilKind = "SubnetworkListNil"

SubnetworkNilKind is the name of the type used to nil lists of objects of type 'subnetwork'.

View Source
const SubscriptionKind = "Subscription"

SubscriptionKind is the name of the type used to represent objects of type 'subscription'.

View Source
const SubscriptionLinkKind = "SubscriptionLink"

SubscriptionLinkKind is the name of the type used to represent links to objects of type 'subscription'.

View Source
const SubscriptionListKind = "SubscriptionList"

SubscriptionListKind is the name of the type used to represent list of objects of type 'subscription'.

View Source
const SubscriptionListLinkKind = "SubscriptionListLink"

SubscriptionListLinkKind is the name of the type used to represent links to list of objects of type 'subscription'.

View Source
const SubscriptionListNilKind = "SubscriptionListNil"

SubscriptionNilKind is the name of the type used to nil lists of objects of type 'subscription'.

View Source
const SubscriptionNilKind = "SubscriptionNil"

SubscriptionNilKind is the name of the type used to nil references to objects of type 'subscription'.

View Source
const SyncsetKind = "Syncset"

SyncsetKind is the name of the type used to represent objects of type 'syncset'.

View Source
const SyncsetLinkKind = "SyncsetLink"

SyncsetLinkKind is the name of the type used to represent links to objects of type 'syncset'.

View Source
const SyncsetListKind = "SyncsetList"

SyncsetListKind is the name of the type used to represent list of objects of type 'syncset'.

View Source
const SyncsetListLinkKind = "SyncsetListLink"

SyncsetListLinkKind is the name of the type used to represent links to list of objects of type 'syncset'.

View Source
const SyncsetListNilKind = "SyncsetListNil"

SyncsetNilKind is the name of the type used to nil lists of objects of type 'syncset'.

View Source
const SyncsetNilKind = "SyncsetNil"

SyncsetNilKind is the name of the type used to nil references to objects of type 'syncset'.

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 TrustedIpKind = "TrustedIp"

TrustedIpKind is the name of the type used to represent objects of type 'trusted_ip'.

View Source
const TrustedIpLinkKind = "TrustedIpLink"

TrustedIpLinkKind is the name of the type used to represent links to objects of type 'trusted_ip'.

View Source
const TrustedIpListKind = "TrustedIpList"

TrustedIpListKind is the name of the type used to represent list of objects of type 'trusted_ip'.

View Source
const TrustedIpListLinkKind = "TrustedIpListLink"

TrustedIpListLinkKind is the name of the type used to represent links to list of objects of type 'trusted_ip'.

View Source
const TrustedIpListNilKind = "TrustedIpListNil"

TrustedIpNilKind is the name of the type used to nil lists of objects of type 'trusted_ip'.

View Source
const TrustedIpNilKind = "TrustedIpNil"

TrustedIpNilKind is the name of the type used to nil references to objects of type 'trusted_ip'.

View Source
const TuningConfigKind = "TuningConfig"

TuningConfigKind is the name of the type used to represent objects of type 'tuning_config'.

View Source
const TuningConfigLinkKind = "TuningConfigLink"

TuningConfigLinkKind is the name of the type used to represent links to objects of type 'tuning_config'.

View Source
const TuningConfigListKind = "TuningConfigList"

TuningConfigListKind is the name of the type used to represent list of objects of type 'tuning_config'.

View Source
const TuningConfigListLinkKind = "TuningConfigListLink"

TuningConfigListLinkKind is the name of the type used to represent links to list of objects of type 'tuning_config'.

View Source
const TuningConfigListNilKind = "TuningConfigListNil"

TuningConfigNilKind is the name of the type used to nil lists of objects of type 'tuning_config'.

View Source
const TuningConfigNilKind = "TuningConfigNil"

TuningConfigNilKind is the name of the type used to nil references to objects of type 'tuning_config'.

View Source
const UpgradePolicyKind = "UpgradePolicy"

UpgradePolicyKind is the name of the type used to represent objects of type 'upgrade_policy'.

View Source
const UpgradePolicyLinkKind = "UpgradePolicyLink"

UpgradePolicyLinkKind is the name of the type used to represent links to objects of type 'upgrade_policy'.

View Source
const UpgradePolicyListKind = "UpgradePolicyList"

UpgradePolicyListKind is the name of the type used to represent list of objects of type 'upgrade_policy'.

View Source
const UpgradePolicyListLinkKind = "UpgradePolicyListLink"

UpgradePolicyListLinkKind is the name of the type used to represent links to list of objects of type 'upgrade_policy'.

View Source
const UpgradePolicyListNilKind = "UpgradePolicyListNil"

UpgradePolicyNilKind is the name of the type used to nil lists of objects of type 'upgrade_policy'.

View Source
const UpgradePolicyNilKind = "UpgradePolicyNil"

UpgradePolicyNilKind is the name of the type used to nil references to objects of type 'upgrade_policy'.

View Source
const UpgradePolicyStateKind = "UpgradePolicyState"

UpgradePolicyStateKind is the name of the type used to represent objects of type 'upgrade_policy_state'.

View Source
const UpgradePolicyStateLinkKind = "UpgradePolicyStateLink"

UpgradePolicyStateLinkKind is the name of the type used to represent links to objects of type 'upgrade_policy_state'.

View Source
const UpgradePolicyStateListKind = "UpgradePolicyStateList"

UpgradePolicyStateListKind is the name of the type used to represent list of objects of type 'upgrade_policy_state'.

View Source
const UpgradePolicyStateListLinkKind = "UpgradePolicyStateListLink"

UpgradePolicyStateListLinkKind is the name of the type used to represent links to list of objects of type 'upgrade_policy_state'.

View Source
const UpgradePolicyStateListNilKind = "UpgradePolicyStateListNil"

UpgradePolicyStateNilKind is the name of the type used to nil lists of objects of type 'upgrade_policy_state'.

View Source
const UpgradePolicyStateNilKind = "UpgradePolicyStateNil"

UpgradePolicyStateNilKind is the name of the type used to nil references to objects of type 'upgrade_policy_state'.

View Source
const UserKind = "User"

UserKind is the name of the type used to represent objects of type 'user'.

View Source
const UserLinkKind = "UserLink"

UserLinkKind is the name of the type used to represent links to objects of type 'user'.

View Source
const UserListKind = "UserList"

UserListKind is the name of the type used to represent list of objects of type 'user'.

View Source
const UserListLinkKind = "UserListLink"

UserListLinkKind is the name of the type used to represent links to list of objects of type 'user'.

View Source
const UserListNilKind = "UserListNil"

UserNilKind is the name of the type used to nil lists of objects of type 'user'.

View Source
const UserNilKind = "UserNil"

UserNilKind is the name of the type used to nil references to objects of type 'user'.

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 VersionGateAgreementKind = "VersionGateAgreement"

VersionGateAgreementKind is the name of the type used to represent objects of type 'version_gate_agreement'.

View Source
const VersionGateAgreementLinkKind = "VersionGateAgreementLink"

VersionGateAgreementLinkKind is the name of the type used to represent links to objects of type 'version_gate_agreement'.

View Source
const VersionGateAgreementListKind = "VersionGateAgreementList"

VersionGateAgreementListKind is the name of the type used to represent list of objects of type 'version_gate_agreement'.

View Source
const VersionGateAgreementListLinkKind = "VersionGateAgreementListLink"

VersionGateAgreementListLinkKind is the name of the type used to represent links to list of objects of type 'version_gate_agreement'.

View Source
const VersionGateAgreementListNilKind = "VersionGateAgreementListNil"

VersionGateAgreementNilKind is the name of the type used to nil lists of objects of type 'version_gate_agreement'.

View Source
const VersionGateAgreementNilKind = "VersionGateAgreementNil"

VersionGateAgreementNilKind is the name of the type used to nil references to objects of type 'version_gate_agreement'.

View Source
const VersionGateKind = "VersionGate"

VersionGateKind is the name of the type used to represent objects of type 'version_gate'.

View Source
const VersionGateLinkKind = "VersionGateLink"

VersionGateLinkKind is the name of the type used to represent links to objects of type 'version_gate'.

View Source
const VersionGateListKind = "VersionGateList"

VersionGateListKind is the name of the type used to represent list of objects of type 'version_gate'.

View Source
const VersionGateListLinkKind = "VersionGateListLink"

VersionGateListLinkKind is the name of the type used to represent links to list of objects of type 'version_gate'.

View Source
const VersionGateListNilKind = "VersionGateListNil"

VersionGateNilKind is the name of the type used to nil lists of objects of type 'version_gate'.

View Source
const VersionGateNilKind = "VersionGateNil"

VersionGateNilKind is the name of the type used to nil references to objects of type 'version_gate'.

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 ¶

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

OpenAPI contains the OpenAPI specification of the service in JSON.

Functions ¶

func MarshalAMIOverride ¶ added in v0.1.368

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

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

func MarshalAMIOverrideList ¶ added in v0.1.368

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

func MarshalAWSFlavour(object *AWSFlavour, writer io.Writer) error

MarshalAWSFlavour writes a value of the 'AWS_flavour' type to the given writer.

func MarshalAWSFlavourList ¶

func MarshalAWSFlavourList(list []*AWSFlavour, writer io.Writer) error

MarshalAWSFlavourList writes a list of values of the 'AWS_flavour' type to the given writer.

func MarshalAWSInfrastructureAccessRole ¶

func MarshalAWSInfrastructureAccessRole(object *AWSInfrastructureAccessRole, writer io.Writer) error

MarshalAWSInfrastructureAccessRole writes a value of the 'AWS_infrastructure_access_role' type to the given writer.

func MarshalAWSInfrastructureAccessRoleGrant ¶

func MarshalAWSInfrastructureAccessRoleGrant(object *AWSInfrastructureAccessRoleGrant, writer io.Writer) error

MarshalAWSInfrastructureAccessRoleGrant writes a value of the 'AWS_infrastructure_access_role_grant' type to the given writer.

func MarshalAWSInfrastructureAccessRoleGrantList ¶

func MarshalAWSInfrastructureAccessRoleGrantList(list []*AWSInfrastructureAccessRoleGrant, writer io.Writer) error

MarshalAWSInfrastructureAccessRoleGrantList writes a list of values of the 'AWS_infrastructure_access_role_grant' type to the given writer.

func MarshalAWSInfrastructureAccessRoleGrantStateList ¶

func MarshalAWSInfrastructureAccessRoleGrantStateList(list []AWSInfrastructureAccessRoleGrantState, writer io.Writer) error

MarshalAWSInfrastructureAccessRoleGrantStateList writes a list of values of the 'AWS_infrastructure_access_role_grant_state' type to the given writer.

func MarshalAWSInfrastructureAccessRoleList ¶

func MarshalAWSInfrastructureAccessRoleList(list []*AWSInfrastructureAccessRole, writer io.Writer) error

MarshalAWSInfrastructureAccessRoleList writes a list of values of the 'AWS_infrastructure_access_role' type to the given writer.

func MarshalAWSInfrastructureAccessRoleStateList ¶

func MarshalAWSInfrastructureAccessRoleStateList(list []AWSInfrastructureAccessRoleState, writer io.Writer) error

MarshalAWSInfrastructureAccessRoleStateList writes a list of values of the 'AWS_infrastructure_access_role_state' 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 MarshalAWSMachinePool ¶ added in v0.0.329

func MarshalAWSMachinePool(object *AWSMachinePool, writer io.Writer) error

MarshalAWSMachinePool writes a value of the 'AWS_machine_pool' type to the given writer.

func MarshalAWSMachinePoolList ¶ added in v0.0.329

func MarshalAWSMachinePoolList(list []*AWSMachinePool, writer io.Writer) error

MarshalAWSMachinePoolList writes a list of values of the 'AWS_machine_pool' type to the given writer.

func MarshalAWSNodePool ¶ added in v0.0.329

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

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

func MarshalAWSNodePoolList ¶ added in v0.0.329

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 MarshalAWSSTSAccountRole ¶ added in v0.1.369

func MarshalAWSSTSAccountRole(object *AWSSTSAccountRole, writer io.Writer) error

MarshalAWSSTSAccountRole writes a value of the 'AWSSTS_account_role' type to the given writer.

func MarshalAWSSTSAccountRoleList ¶ added in v0.1.369

func MarshalAWSSTSAccountRoleList(list []*AWSSTSAccountRole, writer io.Writer) error

MarshalAWSSTSAccountRoleList writes a list of values of the 'AWSSTS_account_role' type to the given writer.

func MarshalAWSSTSPolicy ¶ added in v0.0.329

func MarshalAWSSTSPolicy(object *AWSSTSPolicy, writer io.Writer) error

MarshalAWSSTSPolicy writes a value of the 'AWSSTS_policy' type to the given writer.

func MarshalAWSSTSPolicyList ¶ added in v0.0.329

func MarshalAWSSTSPolicyList(list []*AWSSTSPolicy, writer io.Writer) error

MarshalAWSSTSPolicyList writes a list of values of the 'AWSSTS_policy' type to the given writer.

func MarshalAWSSTSRole ¶ added in v0.1.369

func MarshalAWSSTSRole(object *AWSSTSRole, writer io.Writer) error

MarshalAWSSTSRole writes a value of the 'AWSSTS_role' type to the given writer.

func MarshalAWSSTSRoleList ¶ added in v0.1.369

func MarshalAWSSTSRoleList(list []*AWSSTSRole, writer io.Writer) error

MarshalAWSSTSRoleList writes a list of values of the 'AWSSTS_role' type to the given writer.

func MarshalAWSSpotMarketOptions ¶ added in v0.0.329

func MarshalAWSSpotMarketOptions(object *AWSSpotMarketOptions, writer io.Writer) error

MarshalAWSSpotMarketOptions writes a value of the 'AWS_spot_market_options' type to the given writer.

func MarshalAWSSpotMarketOptionsList ¶ added in v0.0.329

func MarshalAWSSpotMarketOptionsList(list []*AWSSpotMarketOptions, writer io.Writer) error

MarshalAWSSpotMarketOptionsList writes a list of values of the 'AWS_spot_market_options' 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 MarshalAddOn ¶

func MarshalAddOn(object *AddOn, writer io.Writer) error

MarshalAddOn writes a value of the 'add_on' type to the given writer.

func MarshalAddOnConfig ¶ added in v0.0.329

func MarshalAddOnConfig(object *AddOnConfig, writer io.Writer) error

MarshalAddOnConfig writes a value of the 'add_on_config' type to the given writer.

func MarshalAddOnConfigList ¶ added in v0.0.329

func MarshalAddOnConfigList(list []*AddOnConfig, writer io.Writer) error

MarshalAddOnConfigList writes a list of values of the 'add_on_config' type to the given writer.

func MarshalAddOnEnvironmentVariable ¶ added in v0.0.329

func MarshalAddOnEnvironmentVariable(object *AddOnEnvironmentVariable, writer io.Writer) error

MarshalAddOnEnvironmentVariable writes a value of the 'add_on_environment_variable' type to the given writer.

func MarshalAddOnEnvironmentVariableList ¶ added in v0.0.329

func MarshalAddOnEnvironmentVariableList(list []*AddOnEnvironmentVariable, writer io.Writer) error

MarshalAddOnEnvironmentVariableList writes a list of values of the 'add_on_environment_variable' type to the given writer.

func MarshalAddOnInstallModeList ¶

func MarshalAddOnInstallModeList(list []AddOnInstallMode, writer io.Writer) error

MarshalAddOnInstallModeList writes a list of values of the 'add_on_install_mode' type to the given writer.

func MarshalAddOnInstallation ¶

func MarshalAddOnInstallation(object *AddOnInstallation, writer io.Writer) error

MarshalAddOnInstallation writes a value of the 'add_on_installation' type to the given writer.

func MarshalAddOnInstallationBilling ¶ added in v0.0.329

func MarshalAddOnInstallationBilling(object *AddOnInstallationBilling, writer io.Writer) error

MarshalAddOnInstallationBilling writes a value of the 'add_on_installation_billing' type to the given writer.

func MarshalAddOnInstallationBillingList ¶ added in v0.0.329

func MarshalAddOnInstallationBillingList(list []*AddOnInstallationBilling, writer io.Writer) error

MarshalAddOnInstallationBillingList writes a list of values of the 'add_on_installation_billing' type to the given writer.

func MarshalAddOnInstallationList ¶

func MarshalAddOnInstallationList(list []*AddOnInstallation, writer io.Writer) error

MarshalAddOnInstallationList writes a list of values of the 'add_on_installation' type to the given writer.

func MarshalAddOnInstallationParameter ¶ added in v0.0.329

func MarshalAddOnInstallationParameter(object *AddOnInstallationParameter, writer io.Writer) error

MarshalAddOnInstallationParameter writes a value of the 'add_on_installation_parameter' type to the given writer.

func MarshalAddOnInstallationParameterList ¶ added in v0.0.329

func MarshalAddOnInstallationParameterList(list []*AddOnInstallationParameter, writer io.Writer) error

MarshalAddOnInstallationParameterList writes a list of values of the 'add_on_installation_parameter' type to the given writer.

func MarshalAddOnInstallationStateList ¶

func MarshalAddOnInstallationStateList(list []AddOnInstallationState, writer io.Writer) error

MarshalAddOnInstallationStateList writes a list of values of the 'add_on_installation_state' type to the given writer.

func MarshalAddOnList ¶

func MarshalAddOnList(list []*AddOn, writer io.Writer) error

MarshalAddOnList writes a list of values of the 'add_on' type to the given writer.

func MarshalAddOnNamespace ¶ added in v0.0.329

func MarshalAddOnNamespace(object *AddOnNamespace, writer io.Writer) error

MarshalAddOnNamespace writes a value of the 'add_on_namespace' type to the given writer.

func MarshalAddOnNamespaceList ¶ added in v0.0.329

func MarshalAddOnNamespaceList(list []*AddOnNamespace, writer io.Writer) error

MarshalAddOnNamespaceList writes a list of values of the 'add_on_namespace' type to the given writer.

func MarshalAddOnParameter ¶ added in v0.0.329

func MarshalAddOnParameter(object *AddOnParameter, writer io.Writer) error

MarshalAddOnParameter writes a value of the 'add_on_parameter' type to the given writer.

func MarshalAddOnParameterList ¶ added in v0.0.329

func MarshalAddOnParameterList(list []*AddOnParameter, writer io.Writer) error

MarshalAddOnParameterList writes a list of values of the 'add_on_parameter' type to the given writer.

func MarshalAddOnParameterOption ¶ added in v0.0.329

func MarshalAddOnParameterOption(object *AddOnParameterOption, writer io.Writer) error

MarshalAddOnParameterOption writes a value of the 'add_on_parameter_option' type to the given writer.

func MarshalAddOnParameterOptionList ¶ added in v0.0.329

func MarshalAddOnParameterOptionList(list []*AddOnParameterOption, writer io.Writer) error

MarshalAddOnParameterOptionList writes a list of values of the 'add_on_parameter_option' type to the given writer.

func MarshalAddOnRequirement ¶ added in v0.0.329

func MarshalAddOnRequirement(object *AddOnRequirement, writer io.Writer) error

MarshalAddOnRequirement writes a value of the 'add_on_requirement' type to the given writer.

func MarshalAddOnRequirementList ¶ added in v0.0.329

func MarshalAddOnRequirementList(list []*AddOnRequirement, writer io.Writer) error

MarshalAddOnRequirementList writes a list of values of the 'add_on_requirement' type to the given writer.

func MarshalAddOnRequirementStatus ¶ added in v0.0.329

func MarshalAddOnRequirementStatus(object *AddOnRequirementStatus, writer io.Writer) error

MarshalAddOnRequirementStatus writes a value of the 'add_on_requirement_status' type to the given writer.

func MarshalAddOnRequirementStatusList ¶ added in v0.0.329

func MarshalAddOnRequirementStatusList(list []*AddOnRequirementStatus, writer io.Writer) error

MarshalAddOnRequirementStatusList writes a list of values of the 'add_on_requirement_status' type to the given writer.

func MarshalAddOnSecretPropagation ¶ added in v0.0.329

func MarshalAddOnSecretPropagation(object *AddOnSecretPropagation, writer io.Writer) error

MarshalAddOnSecretPropagation writes a value of the 'add_on_secret_propagation' type to the given writer.

func MarshalAddOnSecretPropagationList ¶ added in v0.0.329

func MarshalAddOnSecretPropagationList(list []*AddOnSecretPropagation, writer io.Writer) error

MarshalAddOnSecretPropagationList writes a list of values of the 'add_on_secret_propagation' type to the given writer.

func MarshalAddOnSubOperator ¶ added in v0.0.329

func MarshalAddOnSubOperator(object *AddOnSubOperator, writer io.Writer) error

MarshalAddOnSubOperator writes a value of the 'add_on_sub_operator' type to the given writer.

func MarshalAddOnSubOperatorList ¶ added in v0.0.329

func MarshalAddOnSubOperatorList(list []*AddOnSubOperator, writer io.Writer) error

MarshalAddOnSubOperatorList writes a list of values of the 'add_on_sub_operator' type to the given writer.

func MarshalAddOnVersion ¶ added in v0.0.329

func MarshalAddOnVersion(object *AddOnVersion, writer io.Writer) error

MarshalAddOnVersion writes a value of the 'add_on_version' type to the given writer.

func MarshalAddOnVersionList ¶ added in v0.0.329

func MarshalAddOnVersionList(list []*AddOnVersion, writer io.Writer) error

MarshalAddOnVersionList writes a list of values of the 'add_on_version' type to the given writer.

func MarshalAdditionalCatalogSource ¶ added in v0.0.329

func MarshalAdditionalCatalogSource(object *AdditionalCatalogSource, writer io.Writer) error

MarshalAdditionalCatalogSource writes a value of the 'additional_catalog_source' type to the given writer.

func MarshalAdditionalCatalogSourceList ¶ added in v0.0.329

func MarshalAdditionalCatalogSourceList(list []*AdditionalCatalogSource, writer io.Writer) error

MarshalAdditionalCatalogSourceList writes a list of values of the 'additional_catalog_source' type to the given writer.

func MarshalAddonUpgradePolicy ¶ added in v0.0.329

func MarshalAddonUpgradePolicy(object *AddonUpgradePolicy, writer io.Writer) error

MarshalAddonUpgradePolicy writes a value of the 'addon_upgrade_policy' type to the given writer.

func MarshalAddonUpgradePolicyList ¶ added in v0.0.329

func MarshalAddonUpgradePolicyList(list []*AddonUpgradePolicy, writer io.Writer) error

MarshalAddonUpgradePolicyList writes a list of values of the 'addon_upgrade_policy' type to the given writer.

func MarshalAddonUpgradePolicyState ¶ added in v0.0.329

func MarshalAddonUpgradePolicyState(object *AddonUpgradePolicyState, writer io.Writer) error

MarshalAddonUpgradePolicyState writes a value of the 'addon_upgrade_policy_state' type to the given writer.

func MarshalAddonUpgradePolicyStateList ¶ added in v0.0.329

func MarshalAddonUpgradePolicyStateList(list []*AddonUpgradePolicyState, writer io.Writer) error

MarshalAddonUpgradePolicyStateList writes a list of values of the 'addon_upgrade_policy_state' type to the given writer.

func MarshalAdminCredentials ¶

func MarshalAdminCredentials(object *AdminCredentials, writer io.Writer) error

MarshalAdminCredentials writes a value of the 'admin_credentials' type to the given writer.

func MarshalAdminCredentialsList ¶

func MarshalAdminCredentialsList(list []*AdminCredentials, writer io.Writer) error

MarshalAdminCredentialsList writes a list of values of the 'admin_credentials' type to the given writer.

func MarshalAlertInfo ¶

func MarshalAlertInfo(object *AlertInfo, writer io.Writer) error

MarshalAlertInfo writes a value of the 'alert_info' type to the given writer.

func MarshalAlertInfoList ¶

func MarshalAlertInfoList(list []*AlertInfo, writer io.Writer) error

MarshalAlertInfoList writes a list of values of the 'alert_info' type to the given writer.

func MarshalAlertSeverityList ¶

func MarshalAlertSeverityList(list []AlertSeverity, writer io.Writer) error

MarshalAlertSeverityList writes a list of values of the 'alert_severity' type to the given writer.

func MarshalAlertsInfo ¶

func MarshalAlertsInfo(object *AlertsInfo, writer io.Writer) error

MarshalAlertsInfo writes a value of the 'alerts_info' type to the given writer.

func MarshalAlertsInfoList ¶

func MarshalAlertsInfoList(list []*AlertsInfo, writer io.Writer) error

MarshalAlertsInfoList writes a list of values of the 'alerts_info' type to the given writer.

func MarshalAuditLog ¶ added in v0.1.336

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

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

func MarshalAuditLogList ¶ added in v0.1.336

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

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

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

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

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

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

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 MarshalAwsEtcdEncryption ¶ added in v0.0.329

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

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

func MarshalAwsEtcdEncryptionList ¶ added in v0.0.329

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

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

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

func MarshalAzureList ¶ added in v0.1.415

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

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

func MarshalBillingModelItem ¶ added in v0.1.368

func MarshalBillingModelItem(object *BillingModelItem, writer io.Writer) error

MarshalBillingModelItem writes a value of the 'billing_model_item' type to the given writer.

func MarshalBillingModelItemList ¶ added in v0.1.368

func MarshalBillingModelItemList(list []*BillingModelItem, writer io.Writer) error

MarshalBillingModelItemList writes a list of values of the 'billing_model_item' type to the given writer.

func MarshalBillingModelList ¶ added in v0.0.329

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 MarshalBreakGlassCredential ¶ added in v0.1.410

func MarshalBreakGlassCredential(object *BreakGlassCredential, writer io.Writer) error

MarshalBreakGlassCredential writes a value of the 'break_glass_credential' type to the given writer.

func MarshalBreakGlassCredentialList ¶ added in v0.1.410

func MarshalBreakGlassCredentialList(list []*BreakGlassCredential, writer io.Writer) error

MarshalBreakGlassCredentialList writes a list of values of the 'break_glass_credential' type to the given writer.

func MarshalBreakGlassCredentialStatusList ¶ added in v0.1.410

func MarshalBreakGlassCredentialStatusList(list []BreakGlassCredentialStatus, writer io.Writer) error

MarshalBreakGlassCredentialStatusList writes a list of values of the 'break_glass_credential_status' type to the given writer.

func MarshalByoOidc ¶ added in v0.0.329

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

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

func MarshalByoOidcList ¶ added in v0.0.329

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

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

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

func MarshalCCSList ¶ added in v0.0.329

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

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

func MarshalCPUTotalNodeRoleOSMetricNode ¶

func MarshalCPUTotalNodeRoleOSMetricNode(object *CPUTotalNodeRoleOSMetricNode, writer io.Writer) error

MarshalCPUTotalNodeRoleOSMetricNode writes a value of the 'CPU_total_node_role_OS_metric_node' type to the given writer.

func MarshalCPUTotalNodeRoleOSMetricNodeList ¶

func MarshalCPUTotalNodeRoleOSMetricNodeList(list []*CPUTotalNodeRoleOSMetricNode, writer io.Writer) error

MarshalCPUTotalNodeRoleOSMetricNodeList writes a list of values of the 'CPU_total_node_role_OS_metric_node' type to the given writer.

func MarshalCPUTotalsNodeRoleOSMetricNode ¶

func MarshalCPUTotalsNodeRoleOSMetricNode(object *CPUTotalsNodeRoleOSMetricNode, writer io.Writer) error

MarshalCPUTotalsNodeRoleOSMetricNode writes a value of the 'CPU_totals_node_role_OS_metric_node' type to the given writer.

func MarshalCPUTotalsNodeRoleOSMetricNodeList ¶

func MarshalCPUTotalsNodeRoleOSMetricNodeList(list []*CPUTotalsNodeRoleOSMetricNode, writer io.Writer) error

MarshalCPUTotalsNodeRoleOSMetricNodeList writes a list of values of the 'CPU_totals_node_role_OS_metric_node' type to the given writer.

func MarshalClientComponent ¶ added in v0.1.404

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

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

func MarshalClientComponentList ¶ added in v0.1.404

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 MarshalCloudProviderData ¶ added in v0.0.329

func MarshalCloudProviderData(object *CloudProviderData, writer io.Writer) error

MarshalCloudProviderData writes a value of the 'cloud_provider_data' type to the given writer.

func MarshalCloudProviderDataList ¶ added in v0.0.329

func MarshalCloudProviderDataList(list []*CloudProviderData, writer io.Writer) error

MarshalCloudProviderDataList writes a list of values of the 'cloud_provider_data' 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 MarshalCloudVPC ¶ added in v0.0.329

func MarshalCloudVPC(object *CloudVPC, writer io.Writer) error

MarshalCloudVPC writes a value of the 'cloud_VPC' type to the given writer.

func MarshalCloudVPCList ¶ added in v0.0.329

func MarshalCloudVPCList(list []*CloudVPC, writer io.Writer) error

MarshalCloudVPCList writes a list of values of the 'cloud_VPC' 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 MarshalClusterAutoscaler ¶ added in v0.1.349

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

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

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

func MarshalClusterCredentials(object *ClusterCredentials, writer io.Writer) error

MarshalClusterCredentials writes a value of the 'cluster_credentials' type to the given writer.

func MarshalClusterCredentialsList ¶

func MarshalClusterCredentialsList(list []*ClusterCredentials, writer io.Writer) error

MarshalClusterCredentialsList writes a list of values of the 'cluster_credentials' type to the given writer.

func MarshalClusterDeployment ¶ added in v0.0.329

func MarshalClusterDeployment(object *ClusterDeployment, writer io.Writer) error

MarshalClusterDeployment writes a value of the 'cluster_deployment' type to the given writer.

func MarshalClusterDeploymentList ¶ added in v0.0.329

func MarshalClusterDeploymentList(list []*ClusterDeployment, writer io.Writer) error

MarshalClusterDeploymentList writes a list of values of the 'cluster_deployment' 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 MarshalClusterLink(object *ClusterLink, writer io.Writer) error

MarshalClusterLink writes a value of the 'cluster_link' type to the given writer.

func MarshalClusterLinkList(list []*ClusterLink, writer io.Writer) error

MarshalClusterLinkList writes a list of values of the 'cluster_link' 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 MarshalClusterOperatorInfo ¶

func MarshalClusterOperatorInfo(object *ClusterOperatorInfo, writer io.Writer) error

MarshalClusterOperatorInfo writes a value of the 'cluster_operator_info' type to the given writer.

func MarshalClusterOperatorInfoList ¶

func MarshalClusterOperatorInfoList(list []*ClusterOperatorInfo, writer io.Writer) error

MarshalClusterOperatorInfoList writes a list of values of the 'cluster_operator_info' type to the given writer.

func MarshalClusterOperatorStateList ¶

func MarshalClusterOperatorStateList(list []ClusterOperatorState, writer io.Writer) error

MarshalClusterOperatorStateList writes a list of values of the 'cluster_operator_state' type to the given writer.

func MarshalClusterOperatorsInfo ¶

func MarshalClusterOperatorsInfo(object *ClusterOperatorsInfo, writer io.Writer) error

MarshalClusterOperatorsInfo writes a value of the 'cluster_operators_info' type to the given writer.

func MarshalClusterOperatorsInfoList ¶

func MarshalClusterOperatorsInfoList(list []*ClusterOperatorsInfo, writer io.Writer) error

MarshalClusterOperatorsInfoList writes a list of values of the 'cluster_operators_info' type to the given writer.

func MarshalClusterRegistration ¶

func MarshalClusterRegistration(object *ClusterRegistration, writer io.Writer) error

MarshalClusterRegistration writes a value of the 'cluster_registration' type to the given writer.

func MarshalClusterRegistrationList ¶

func MarshalClusterRegistrationList(list []*ClusterRegistration, writer io.Writer) error

MarshalClusterRegistrationList writes a list of values of the 'cluster_registration' type to the given writer.

func MarshalClusterResources ¶ added in v0.0.329

func MarshalClusterResources(object *ClusterResources, writer io.Writer) error

MarshalClusterResources writes a value of the 'cluster_resources' type to the given writer.

func MarshalClusterResourcesList ¶ added in v0.0.329

func MarshalClusterResourcesList(list []*ClusterResources, writer io.Writer) error

MarshalClusterResourcesList writes a list of values of the 'cluster_resources' 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 MarshalComponentRoute ¶ added in v0.1.407

func MarshalComponentRoute(object *ComponentRoute, writer io.Writer) error

MarshalComponentRoute writes a value of the 'component_route' type to the given writer.

func MarshalComponentRouteList ¶ added in v0.1.407

func MarshalComponentRouteList(list []*ComponentRoute, writer io.Writer) error

MarshalComponentRouteList writes a list of values of the 'component_route' type to the given writer.

func MarshalComponentRouteTypeList ¶ added in v0.1.407

func MarshalComponentRouteTypeList(list []ComponentRouteType, writer io.Writer) error

MarshalComponentRouteTypeList writes a list of values of the 'component_route_type' type to the given writer.

func MarshalControlPlaneUpgradePolicy ¶ added in v0.0.329

func MarshalControlPlaneUpgradePolicy(object *ControlPlaneUpgradePolicy, writer io.Writer) error

MarshalControlPlaneUpgradePolicy writes a value of the 'control_plane_upgrade_policy' type to the given writer.

func MarshalControlPlaneUpgradePolicyList ¶ added in v0.0.329

func MarshalControlPlaneUpgradePolicyList(list []*ControlPlaneUpgradePolicy, writer io.Writer) error

MarshalControlPlaneUpgradePolicyList writes a list of values of the 'control_plane_upgrade_policy' type to the given writer.

func MarshalCredentialRequest ¶ added in v0.0.329

func MarshalCredentialRequest(object *CredentialRequest, writer io.Writer) error

MarshalCredentialRequest writes a value of the 'credential_request' type to the given writer.

func MarshalCredentialRequestList ¶ added in v0.0.329

func MarshalCredentialRequestList(list []*CredentialRequest, writer io.Writer) error

MarshalCredentialRequestList writes a list of values of the 'credential_request' 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 MarshalDNSDomain ¶ added in v0.1.342

func MarshalDNSDomain(object *DNSDomain, writer io.Writer) error

MarshalDNSDomain writes a value of the 'DNS_domain' type to the given writer.

func MarshalDNSDomainList ¶ added in v0.1.342

func MarshalDNSDomainList(list []*DNSDomain, writer io.Writer) error

MarshalDNSDomainList writes a list of values of the 'DNS_domain' type to the given writer.

func MarshalDNSList ¶

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

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

func MarshalDateList ¶

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

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

func MarshalDeleteProtection ¶ added in v0.0.329

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

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

func MarshalDeleteProtectionList ¶ added in v0.0.329

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

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

func MarshalDetectionTypeList ¶ added in v0.0.329

func MarshalDetectionTypeList(list []DetectionType, writer io.Writer) error

MarshalDetectionTypeList writes a list of values of the 'detection_type' type to the given writer.

func MarshalEc2MetadataHttpTokensList ¶ added in v0.1.341

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 MarshalEncryptionKey ¶ added in v0.0.329

func MarshalEncryptionKey(object *EncryptionKey, writer io.Writer) error

MarshalEncryptionKey writes a value of the 'encryption_key' type to the given writer.

func MarshalEncryptionKeyList ¶ added in v0.0.329

func MarshalEncryptionKeyList(list []*EncryptionKey, writer io.Writer) error

MarshalEncryptionKeyList writes a list of values of the 'encryption_key' type to the given writer.

func MarshalEnvironment ¶ added in v0.0.329

func MarshalEnvironment(object *Environment, writer io.Writer) error

MarshalEnvironment writes a value of the 'environment' type to the given writer.

func MarshalEnvironmentList ¶ added in v0.0.329

func MarshalEnvironmentList(list []*Environment, writer io.Writer) error

MarshalEnvironmentList writes a list of values of the 'environment' type to the given writer.

func MarshalEvent ¶ added in v0.0.329

func MarshalEvent(object *Event, writer io.Writer) error

MarshalEvent writes a value of the 'event' type to the given writer.

func MarshalEventList ¶ added in v0.0.329

func MarshalEventList(list []*Event, writer io.Writer) error

MarshalEventList writes a list of values of the 'event' type to the given writer.

func MarshalExternalAuth ¶ added in v0.1.404

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

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

func MarshalExternalAuthClaim ¶ added in v0.1.404

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

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

func MarshalExternalAuthClaimList ¶ added in v0.1.404

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

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

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 MarshalExternalAuthConfig ¶ added in v0.1.396

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

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

func MarshalExternalAuthConfigList ¶ added in v0.1.396

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 MarshalExternalAuthList ¶ added in v0.1.404

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

MarshalExternalAuthList writes a list of values of the 'external_auth' 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 MarshalFlavour ¶

func MarshalFlavour(object *Flavour, writer io.Writer) error

MarshalFlavour writes a value of the 'flavour' type to the given writer.

func MarshalFlavourList ¶

func MarshalFlavourList(list []*Flavour, writer io.Writer) error

MarshalFlavourList writes a list of values of the 'flavour' type to the given writer.

func MarshalFlavourNodes ¶

func MarshalFlavourNodes(object *FlavourNodes, writer io.Writer) error

MarshalFlavourNodes writes a value of the 'flavour_nodes' type to the given writer.

func MarshalFlavourNodesList ¶

func MarshalFlavourNodesList(list []*FlavourNodes, writer io.Writer) error

MarshalFlavourNodesList writes a list of values of the 'flavour_nodes' 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 ¶ added in v0.0.329

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

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

func MarshalGCPEncryptionKey ¶ added in v0.0.329

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

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

func MarshalGCPEncryptionKeyList ¶ added in v0.0.329

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

func MarshalGCPFlavour(object *GCPFlavour, writer io.Writer) error

MarshalGCPFlavour writes a value of the 'GCP_flavour' type to the given writer.

func MarshalGCPFlavourList ¶

func MarshalGCPFlavourList(list []*GCPFlavour, writer io.Writer) error

MarshalGCPFlavourList writes a list of values of the 'GCP_flavour' type to the given writer.

func MarshalGCPImageOverride ¶ added in v0.1.368

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

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

func MarshalGCPImageOverrideList ¶ added in v0.1.368

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

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

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

func MarshalGCPNetwork ¶ added in v0.0.329

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

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

func MarshalGCPNetworkList ¶ added in v0.0.329

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

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

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

func MarshalGCPVolumeList ¶ added in v0.0.329

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

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

func MarshalGcpSecurity ¶ added in v0.1.383

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

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

func MarshalGcpSecurityList ¶ added in v0.1.383

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

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

func MarshalGithubIdentityProvider ¶

func MarshalGithubIdentityProvider(object *GithubIdentityProvider, writer io.Writer) error

MarshalGithubIdentityProvider writes a value of the 'github_identity_provider' type to the given writer.

func MarshalGithubIdentityProviderList ¶

func MarshalGithubIdentityProviderList(list []*GithubIdentityProvider, writer io.Writer) error

MarshalGithubIdentityProviderList writes a list of values of the 'github_identity_provider' type to the given writer.

func MarshalGitlabIdentityProvider ¶

func MarshalGitlabIdentityProvider(object *GitlabIdentityProvider, writer io.Writer) error

MarshalGitlabIdentityProvider writes a value of the 'gitlab_identity_provider' type to the given writer.

func MarshalGitlabIdentityProviderList ¶

func MarshalGitlabIdentityProviderList(list []*GitlabIdentityProvider, writer io.Writer) error

MarshalGitlabIdentityProviderList writes a list of values of the 'gitlab_identity_provider' type to the given writer.

func MarshalGoogleIdentityProvider ¶

func MarshalGoogleIdentityProvider(object *GoogleIdentityProvider, writer io.Writer) error

MarshalGoogleIdentityProvider writes a value of the 'google_identity_provider' type to the given writer.

func MarshalGoogleIdentityProviderList ¶

func MarshalGoogleIdentityProviderList(list []*GoogleIdentityProvider, writer io.Writer) error

MarshalGoogleIdentityProviderList writes a list of values of the 'google_identity_provider' type to the given writer.

func MarshalGroup ¶

func MarshalGroup(object *Group, writer io.Writer) error

MarshalGroup writes a value of the 'group' type to the given writer.

func MarshalGroupList ¶

func MarshalGroupList(list []*Group, writer io.Writer) error

MarshalGroupList writes a list of values of the 'group' type to the given writer.

func MarshalGroupsClaim ¶ added in v0.1.404

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

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

func MarshalGroupsClaimList ¶ added in v0.1.404

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

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

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 MarshalHTPasswdUser ¶ added in v0.0.329

func MarshalHTPasswdUser(object *HTPasswdUser, writer io.Writer) error

MarshalHTPasswdUser writes a value of the 'HT_passwd_user' type to the given writer.

func MarshalHTPasswdUserList ¶ added in v0.0.329

func MarshalHTPasswdUserList(list []*HTPasswdUser, writer io.Writer) error

MarshalHTPasswdUserList writes a list of values of the 'HT_passwd_user' type to the given writer.

func MarshalHypershift ¶ added in v0.0.329

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

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

func MarshalHypershiftConfig ¶ added in v0.0.329

func MarshalHypershiftConfig(object *HypershiftConfig, writer io.Writer) error

MarshalHypershiftConfig writes a value of the 'hypershift_config' type to the given writer.

func MarshalHypershiftConfigList ¶ added in v0.0.329

func MarshalHypershiftConfigList(list []*HypershiftConfig, writer io.Writer) error

MarshalHypershiftConfigList writes a list of values of the 'hypershift_config' type to the given writer.

func MarshalHypershiftList ¶ added in v0.0.329

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

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

func MarshalIdentityProvider ¶

func MarshalIdentityProvider(object *IdentityProvider, writer io.Writer) error

MarshalIdentityProvider writes a value of the 'identity_provider' type to the given writer.

func MarshalIdentityProviderList ¶

func MarshalIdentityProviderList(list []*IdentityProvider, writer io.Writer) error

MarshalIdentityProviderList writes a list of values of the 'identity_provider' type to the given writer.

func MarshalIdentityProviderMappingMethodList ¶

func MarshalIdentityProviderMappingMethodList(list []IdentityProviderMappingMethod, writer io.Writer) error

MarshalIdentityProviderMappingMethodList writes a list of values of the 'identity_provider_mapping_method' type to the given writer.

func MarshalIdentityProviderTypeList ¶

func MarshalIdentityProviderTypeList(list []IdentityProviderType, writer io.Writer) error

MarshalIdentityProviderTypeList writes a list of values of the 'identity_provider_type' type to the given writer.

func MarshalImageOverrides ¶ added in v0.1.368

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

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

func MarshalImageOverridesList ¶ added in v0.1.368

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

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

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

func MarshalInflightCheckList ¶ added in v0.0.329

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

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

func MarshalIngress(object *Ingress, writer io.Writer) error

MarshalIngress writes a value of the 'ingress' type to the given writer.

func MarshalIngressList ¶

func MarshalIngressList(list []*Ingress, writer io.Writer) error

MarshalIngressList writes a list of values of the 'ingress' type to the given writer.

func MarshalInstanceIAMRoles ¶ added in v0.0.329

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

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

func MarshalInstanceIAMRolesList ¶ added in v0.0.329

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 MarshalKeyRing ¶ added in v0.0.329

func MarshalKeyRing(object *KeyRing, writer io.Writer) error

MarshalKeyRing writes a value of the 'key_ring' type to the given writer.

func MarshalKeyRingList ¶ added in v0.0.329

func MarshalKeyRingList(list []*KeyRing, writer io.Writer) error

MarshalKeyRingList writes a list of values of the 'key_ring' type to the given writer.

func MarshalKubeletConfig ¶ added in v0.1.381

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

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

func MarshalKubeletConfigList ¶ added in v0.1.381

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

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

func MarshalLDAPAttributes ¶

func MarshalLDAPAttributes(object *LDAPAttributes, writer io.Writer) error

MarshalLDAPAttributes writes a value of the 'LDAP_attributes' type to the given writer.

func MarshalLDAPAttributesList ¶

func MarshalLDAPAttributesList(list []*LDAPAttributes, writer io.Writer) error

MarshalLDAPAttributesList writes a list of values of the 'LDAP_attributes' type to the given writer.

func MarshalLDAPIdentityProvider ¶

func MarshalLDAPIdentityProvider(object *LDAPIdentityProvider, writer io.Writer) error

MarshalLDAPIdentityProvider writes a value of the 'LDAP_identity_provider' type to the given writer.

func MarshalLDAPIdentityProviderList ¶

func MarshalLDAPIdentityProviderList(list []*LDAPIdentityProvider, writer io.Writer) error

MarshalLDAPIdentityProviderList writes a list of values of the 'LDAP_identity_provider' type to the given writer.

func MarshalLabel ¶

func MarshalLabel(object *Label, writer io.Writer) error

MarshalLabel writes a value of the 'label' type to the given writer.

func MarshalLabelList ¶

func MarshalLabelList(list []*Label, writer io.Writer) error

MarshalLabelList writes a list of values of the 'label' type to the given writer.

func MarshalLimitedSupportReason ¶ added in v0.0.329

func MarshalLimitedSupportReason(object *LimitedSupportReason, writer io.Writer) error

MarshalLimitedSupportReason writes a value of the 'limited_support_reason' type to the given writer.

func MarshalLimitedSupportReasonList ¶ added in v0.0.329

func MarshalLimitedSupportReasonList(list []*LimitedSupportReason, writer io.Writer) error

MarshalLimitedSupportReasonList writes a list of values of the 'limited_support_reason' type to the given writer.

func MarshalLimitedSupportReasonTemplate ¶ added in v0.0.329

func MarshalLimitedSupportReasonTemplate(object *LimitedSupportReasonTemplate, writer io.Writer) error

MarshalLimitedSupportReasonTemplate writes a value of the 'limited_support_reason_template' type to the given writer.

func MarshalLimitedSupportReasonTemplateList ¶ added in v0.0.329

func MarshalLimitedSupportReasonTemplateList(list []*LimitedSupportReasonTemplate, writer io.Writer) error

MarshalLimitedSupportReasonTemplateList writes a list of values of the 'limited_support_reason_template' 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 MarshalLoadBalancerFlavorList ¶ added in v0.1.346

func MarshalLoadBalancerFlavorList(list []LoadBalancerFlavor, writer io.Writer) error

MarshalLoadBalancerFlavorList writes a list of values of the 'load_balancer_flavor' type to the given writer.

func MarshalLog ¶

func MarshalLog(object *Log, writer io.Writer) error

MarshalLog writes a value of the 'log' type to the given writer.

func MarshalLogList ¶

func MarshalLogList(list []*Log, writer io.Writer) error

MarshalLogList writes a list of values of the 'log' 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 MarshalMachinePool ¶ added in v0.0.329

func MarshalMachinePool(object *MachinePool, writer io.Writer) error

MarshalMachinePool writes a value of the 'machine_pool' type to the given writer.

func MarshalMachinePoolAutoscaling ¶ added in v0.0.329

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

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

func MarshalMachinePoolAutoscalingList ¶ added in v0.0.329

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 MarshalMachinePoolList ¶ added in v0.0.329

func MarshalMachinePoolList(list []*MachinePool, writer io.Writer) error

MarshalMachinePoolList writes a list of values of the 'machine_pool' type to the given writer.

func MarshalMachinePoolSecurityGroupFilter ¶ added in v0.0.329

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

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

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

func MarshalMachineType ¶

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

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

func MarshalMachineTypeCategoryList ¶

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

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

func MarshalMachineTypeList ¶

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

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

func MarshalMachineTypeSizeList ¶

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

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

func MarshalManagedService ¶ added in v0.0.329

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

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

func MarshalManagedServiceList ¶ added in v0.0.329

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

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

func MarshalManifest ¶ added in v0.0.329

func MarshalManifest(object *Manifest, writer io.Writer) error

MarshalManifest writes a value of the 'manifest' type to the given writer.

func MarshalManifestList ¶ added in v0.0.329

func MarshalManifestList(list []*Manifest, writer io.Writer) error

MarshalManifestList writes a list of values of the 'manifest' 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 MarshalNamespaceOwnershipPolicyList ¶ added in v0.1.352

func MarshalNamespaceOwnershipPolicyList(list []NamespaceOwnershipPolicy, writer io.Writer) error

MarshalNamespaceOwnershipPolicyList writes a list of values of the 'namespace_ownership_policy' type to the given writer.

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 MarshalNetworkVerification ¶ added in v0.1.348

func MarshalNetworkVerification(object *NetworkVerification, writer io.Writer) error

MarshalNetworkVerification writes a value of the 'network_verification' type to the given writer.

func MarshalNetworkVerificationList ¶ added in v0.1.348

func MarshalNetworkVerificationList(list []*NetworkVerification, writer io.Writer) error

MarshalNetworkVerificationList writes a list of values of the 'network_verification' type to the given writer.

func MarshalNodeInfo ¶

func MarshalNodeInfo(object *NodeInfo, writer io.Writer) error

MarshalNodeInfo writes a value of the 'node_info' type to the given writer.

func MarshalNodeInfoList ¶

func MarshalNodeInfoList(list []*NodeInfo, writer io.Writer) error

MarshalNodeInfoList writes a list of values of the 'node_info' type to the given writer.

func MarshalNodePool ¶ added in v0.0.329

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

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

func MarshalNodePoolAutoscaling ¶ added in v0.0.329

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

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

func MarshalNodePoolAutoscalingList ¶ added in v0.0.329

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

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

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

func MarshalNodePoolStatus ¶ added in v0.0.329

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

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

func MarshalNodePoolStatusList ¶ added in v0.0.329

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 MarshalNodePoolUpgradePolicy ¶ added in v0.1.341

func MarshalNodePoolUpgradePolicy(object *NodePoolUpgradePolicy, writer io.Writer) error

MarshalNodePoolUpgradePolicy writes a value of the 'node_pool_upgrade_policy' type to the given writer.

func MarshalNodePoolUpgradePolicyList ¶ added in v0.1.341

func MarshalNodePoolUpgradePolicyList(list []*NodePoolUpgradePolicy, writer io.Writer) error

MarshalNodePoolUpgradePolicyList writes a list of values of the 'node_pool_upgrade_policy' type to the given writer.

func MarshalNodeTypeList ¶

func MarshalNodeTypeList(list []NodeType, writer io.Writer) error

MarshalNodeTypeList writes a list of values of the 'node_type' type to the given writer.

func MarshalNodesInfo ¶

func MarshalNodesInfo(object *NodesInfo, writer io.Writer) error

MarshalNodesInfo writes a value of the 'nodes_info' type to the given writer.

func MarshalNodesInfoList ¶

func MarshalNodesInfoList(list []*NodesInfo, writer io.Writer) error

MarshalNodesInfoList writes a list of values of the 'nodes_info' type to the given writer.

func MarshalOidcConfig ¶ added in v0.0.329

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

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

func MarshalOidcConfigList ¶ added in v0.0.329

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

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

func MarshalOpenIDClaims ¶

func MarshalOpenIDClaims(object *OpenIDClaims, writer io.Writer) error

MarshalOpenIDClaims writes a value of the 'open_ID_claims' type to the given writer.

func MarshalOpenIDClaimsList ¶

func MarshalOpenIDClaimsList(list []*OpenIDClaims, writer io.Writer) error

MarshalOpenIDClaimsList writes a list of values of the 'open_ID_claims' type to the given writer.

func MarshalOpenIDIdentityProvider ¶

func MarshalOpenIDIdentityProvider(object *OpenIDIdentityProvider, writer io.Writer) error

MarshalOpenIDIdentityProvider writes a value of the 'open_ID_identity_provider' type to the given writer.

func MarshalOpenIDIdentityProviderList ¶

func MarshalOpenIDIdentityProviderList(list []*OpenIDIdentityProvider, writer io.Writer) error

MarshalOpenIDIdentityProviderList writes a list of values of the 'open_ID_identity_provider' type to the given writer.

func MarshalOperatorIAMRole ¶ added in v0.0.329

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

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

func MarshalOperatorIAMRoleList ¶ added in v0.0.329

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 MarshalOrganizationLink(object *OrganizationLink, writer io.Writer) error

MarshalOrganizationLink writes a value of the 'organization_link' type to the given writer.

func MarshalOrganizationLinkList(list []*OrganizationLink, writer io.Writer) error

MarshalOrganizationLinkList writes a list of values of the 'organization_link' type to the given writer.

func MarshalPendingDeleteCluster ¶ added in v0.1.333

func MarshalPendingDeleteCluster(object *PendingDeleteCluster, writer io.Writer) error

MarshalPendingDeleteCluster writes a value of the 'pending_delete_cluster' type to the given writer.

func MarshalPendingDeleteClusterList ¶ added in v0.1.333

func MarshalPendingDeleteClusterList(list []*PendingDeleteCluster, writer io.Writer) error

MarshalPendingDeleteClusterList writes a list of values of the 'pending_delete_cluster' type to the given writer.

func MarshalPlatformList ¶ added in v0.1.387

func MarshalPlatformList(list []Platform, writer io.Writer) error

MarshalPlatformList writes a list of values of the 'platform' type to the given writer.

func MarshalPrivateLinkClusterConfiguration ¶ added in v0.0.329

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

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 MarshalPrivateLinkConfiguration ¶ added in v0.0.329

func MarshalPrivateLinkConfiguration(object *PrivateLinkConfiguration, writer io.Writer) error

MarshalPrivateLinkConfiguration writes a value of the 'private_link_configuration' type to the given writer.

func MarshalPrivateLinkConfigurationList ¶ added in v0.0.329

func MarshalPrivateLinkConfigurationList(list []*PrivateLinkConfiguration, writer io.Writer) error

MarshalPrivateLinkConfigurationList writes a list of values of the 'private_link_configuration' type to the given writer.

func MarshalPrivateLinkPrincipal ¶ added in v0.0.329

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

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

func MarshalPrivateLinkPrincipalList ¶ added in v0.0.329

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 MarshalPrivateLinkPrincipals ¶ added in v0.0.329

func MarshalPrivateLinkPrincipals(object *PrivateLinkPrincipals, writer io.Writer) error

MarshalPrivateLinkPrincipals writes a value of the 'private_link_principals' type to the given writer.

func MarshalPrivateLinkPrincipalsList ¶ added in v0.0.329

func MarshalPrivateLinkPrincipalsList(list []*PrivateLinkPrincipals, writer io.Writer) error

MarshalPrivateLinkPrincipalsList writes a list of values of the 'private_link_principals' type to the given writer.

func MarshalProduct ¶

func MarshalProduct(object *Product, writer io.Writer) error

MarshalProduct writes a value of the 'product' type to the given writer.

func MarshalProductList ¶

func MarshalProductList(list []*Product, writer io.Writer) error

MarshalProductList writes a list of values of the 'product' type to the given writer.

func MarshalProductMinimalVersion ¶ added in v0.1.385

func MarshalProductMinimalVersion(object *ProductMinimalVersion, writer io.Writer) error

MarshalProductMinimalVersion writes a value of the 'product_minimal_version' type to the given writer.

func MarshalProductMinimalVersionList ¶ added in v0.1.385

func MarshalProductMinimalVersionList(list []*ProductMinimalVersion, writer io.Writer) error

MarshalProductMinimalVersionList writes a list of values of the 'product_minimal_version' type to the given writer.

func MarshalProductTechnologyPreview ¶ added in v0.1.385

func MarshalProductTechnologyPreview(object *ProductTechnologyPreview, writer io.Writer) error

MarshalProductTechnologyPreview writes a value of the 'product_technology_preview' type to the given writer.

func MarshalProductTechnologyPreviewList ¶ added in v0.1.385

func MarshalProductTechnologyPreviewList(list []*ProductTechnologyPreview, writer io.Writer) error

MarshalProductTechnologyPreviewList writes a list of values of the 'product_technology_preview' 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 ¶ added in v0.1.368

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

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

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

func MarshalProxyList ¶ added in v0.0.329

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

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

func MarshalResourceRange ¶ added in v0.1.349

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

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

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

func MarshalRolePolicy ¶ added in v0.1.417

func MarshalRolePolicy(object *RolePolicy, writer io.Writer) error

MarshalRolePolicy writes a value of the 'role_policy' type to the given writer.

func MarshalRolePolicyBinding ¶ added in v0.1.417

func MarshalRolePolicyBinding(object *RolePolicyBinding, writer io.Writer) error

MarshalRolePolicyBinding writes a value of the 'role_policy_binding' type to the given writer.

func MarshalRolePolicyBindingList ¶ added in v0.1.417

func MarshalRolePolicyBindingList(list []*RolePolicyBinding, writer io.Writer) error

MarshalRolePolicyBindingList writes a list of values of the 'role_policy_binding' type to the given writer.

func MarshalRolePolicyBindingStatus ¶ added in v0.1.417

func MarshalRolePolicyBindingStatus(object *RolePolicyBindingStatus, writer io.Writer) error

MarshalRolePolicyBindingStatus writes a value of the 'role_policy_binding_status' type to the given writer.

func MarshalRolePolicyBindingStatusList ¶ added in v0.1.417

func MarshalRolePolicyBindingStatusList(list []*RolePolicyBindingStatus, writer io.Writer) error

MarshalRolePolicyBindingStatusList writes a list of values of the 'role_policy_binding_status' type to the given writer.

func MarshalRolePolicyList ¶ added in v0.1.417

func MarshalRolePolicyList(list []*RolePolicy, writer io.Writer) error

MarshalRolePolicyList writes a list of values of the 'role_policy' type to the given writer.

func MarshalRootVolume ¶ added in v0.1.347

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

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

func MarshalRootVolumeList ¶ added in v0.1.347

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

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

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

func MarshalSTSCredentialRequest ¶ added in v0.0.329

func MarshalSTSCredentialRequest(object *STSCredentialRequest, writer io.Writer) error

MarshalSTSCredentialRequest writes a value of the 'STS_credential_request' type to the given writer.

func MarshalSTSCredentialRequestList ¶ added in v0.0.329

func MarshalSTSCredentialRequestList(list []*STSCredentialRequest, writer io.Writer) error

MarshalSTSCredentialRequestList writes a list of values of the 'STS_credential_request' type to the given writer.

func MarshalSTSList ¶ added in v0.0.329

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

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

func MarshalSTSOperator ¶ added in v0.0.329

func MarshalSTSOperator(object *STSOperator, writer io.Writer) error

MarshalSTSOperator writes a value of the 'STS_operator' type to the given writer.

func MarshalSTSOperatorList ¶ added in v0.0.329

func MarshalSTSOperatorList(list []*STSOperator, writer io.Writer) error

MarshalSTSOperatorList writes a list of values of the 'STS_operator' type to the given writer.

func MarshalScheduleTypeList ¶ added in v0.1.357

func MarshalScheduleTypeList(list []ScheduleType, writer io.Writer) error

MarshalScheduleTypeList writes a list of values of the 'schedule_type' type to the given writer.

func MarshalSecurityGroup ¶ added in v0.1.370

func MarshalSecurityGroup(object *SecurityGroup, writer io.Writer) error

MarshalSecurityGroup writes a value of the 'security_group' type to the given writer.

func MarshalSecurityGroupList ¶ added in v0.1.370

func MarshalSecurityGroupList(list []*SecurityGroup, writer io.Writer) error

MarshalSecurityGroupList writes a list of values of the 'security_group' 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 MarshalSocketTotalNodeRoleOSMetricNode ¶

func MarshalSocketTotalNodeRoleOSMetricNode(object *SocketTotalNodeRoleOSMetricNode, writer io.Writer) error

MarshalSocketTotalNodeRoleOSMetricNode writes a value of the 'socket_total_node_role_OS_metric_node' type to the given writer.

func MarshalSocketTotalNodeRoleOSMetricNodeList ¶

func MarshalSocketTotalNodeRoleOSMetricNodeList(list []*SocketTotalNodeRoleOSMetricNode, writer io.Writer) error

MarshalSocketTotalNodeRoleOSMetricNodeList writes a list of values of the 'socket_total_node_role_OS_metric_node' type to the given writer.

func MarshalSocketTotalsNodeRoleOSMetricNode ¶

func MarshalSocketTotalsNodeRoleOSMetricNode(object *SocketTotalsNodeRoleOSMetricNode, writer io.Writer) error

MarshalSocketTotalsNodeRoleOSMetricNode writes a value of the 'socket_totals_node_role_OS_metric_node' type to the given writer.

func MarshalSocketTotalsNodeRoleOSMetricNodeList ¶

func MarshalSocketTotalsNodeRoleOSMetricNodeList(list []*SocketTotalsNodeRoleOSMetricNode, writer io.Writer) error

MarshalSocketTotalsNodeRoleOSMetricNodeList writes a list of values of the 'socket_totals_node_role_OS_metric_node' type to the given writer.

func MarshalStorageQuota ¶ added in v0.1.415

func MarshalStorageQuota(object *StorageQuota, writer io.Writer) error

MarshalStorageQuota writes a value of the 'storage_quota' type to the given writer.

func MarshalStorageQuotaList ¶ added in v0.1.415

func MarshalStorageQuotaList(list []*StorageQuota, writer io.Writer) error

MarshalStorageQuotaList writes a list of values of the 'storage_quota' 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 MarshalStsSupportJumpRole ¶ added in v0.1.356

func MarshalStsSupportJumpRole(object *StsSupportJumpRole, writer io.Writer) error

MarshalStsSupportJumpRole writes a value of the 'sts_support_jump_role' type to the given writer.

func MarshalStsSupportJumpRoleList ¶ added in v0.1.356

func MarshalStsSupportJumpRoleList(list []*StsSupportJumpRole, writer io.Writer) error

MarshalStsSupportJumpRoleList writes a list of values of the 'sts_support_jump_role' type to the given writer.

func MarshalSubnetNetworkVerification ¶ added in v0.1.348

func MarshalSubnetNetworkVerification(object *SubnetNetworkVerification, writer io.Writer) error

MarshalSubnetNetworkVerification writes a value of the 'subnet_network_verification' type to the given writer.

func MarshalSubnetNetworkVerificationList ¶ added in v0.1.348

func MarshalSubnetNetworkVerificationList(list []*SubnetNetworkVerification, writer io.Writer) error

MarshalSubnetNetworkVerificationList writes a list of values of the 'subnet_network_verification' type to the given writer.

func MarshalSubnetwork ¶ added in v0.0.329

func MarshalSubnetwork(object *Subnetwork, writer io.Writer) error

MarshalSubnetwork writes a value of the 'subnetwork' type to the given writer.

func MarshalSubnetworkList ¶ added in v0.0.329

func MarshalSubnetworkList(list []*Subnetwork, writer io.Writer) error

MarshalSubnetworkList writes a list of values of the 'subnetwork' type to the given writer.

func MarshalSubscription ¶

func MarshalSubscription(object *Subscription, writer io.Writer) error

MarshalSubscription writes a value of the 'subscription' type to the given writer.

func MarshalSubscriptionList ¶

func MarshalSubscriptionList(list []*Subscription, writer io.Writer) error

MarshalSubscriptionList writes a list of values of the 'subscription' type to the given writer.

func MarshalSyncset ¶

func MarshalSyncset(object *Syncset, writer io.Writer) error

MarshalSyncset writes a value of the 'syncset' type to the given writer.

func MarshalSyncsetList ¶

func MarshalSyncsetList(list []*Syncset, writer io.Writer) error

MarshalSyncsetList writes a list of values of the 'syncset' type to the given writer.

func MarshalTaint ¶ added in v0.0.329

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

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

func MarshalTaintList ¶ added in v0.0.329

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

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

func MarshalTokenClaimMappings ¶ added in v0.1.404

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

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

func MarshalTokenClaimMappingsList ¶ added in v0.1.404

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

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

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

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

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

func MarshalTokenIssuerList ¶ added in v0.1.404

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

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

func MarshalTrustedIp ¶ added in v0.1.368

func MarshalTrustedIp(object *TrustedIp, writer io.Writer) error

MarshalTrustedIp writes a value of the 'trusted_ip' type to the given writer.

func MarshalTrustedIpList ¶ added in v0.1.368

func MarshalTrustedIpList(list []*TrustedIp, writer io.Writer) error

MarshalTrustedIpList writes a list of values of the 'trusted_ip' type to the given writer.

func MarshalTuningConfig ¶ added in v0.1.334

func MarshalTuningConfig(object *TuningConfig, writer io.Writer) error

MarshalTuningConfig writes a value of the 'tuning_config' type to the given writer.

func MarshalTuningConfigList ¶ added in v0.1.334

func MarshalTuningConfigList(list []*TuningConfig, writer io.Writer) error

MarshalTuningConfigList writes a list of values of the 'tuning_config' type to the given writer.

func MarshalUpgradePolicy ¶ added in v0.0.329

func MarshalUpgradePolicy(object *UpgradePolicy, writer io.Writer) error

MarshalUpgradePolicy writes a value of the 'upgrade_policy' type to the given writer.

func MarshalUpgradePolicyList ¶ added in v0.0.329

func MarshalUpgradePolicyList(list []*UpgradePolicy, writer io.Writer) error

MarshalUpgradePolicyList writes a list of values of the 'upgrade_policy' type to the given writer.

func MarshalUpgradePolicyState ¶ added in v0.0.329

func MarshalUpgradePolicyState(object *UpgradePolicyState, writer io.Writer) error

MarshalUpgradePolicyState writes a value of the 'upgrade_policy_state' type to the given writer.

func MarshalUpgradePolicyStateList ¶ added in v0.0.329

func MarshalUpgradePolicyStateList(list []*UpgradePolicyState, writer io.Writer) error

MarshalUpgradePolicyStateList writes a list of values of the 'upgrade_policy_state' type to the given writer.

func MarshalUpgradePolicyStateValueList ¶ added in v0.0.329

func MarshalUpgradePolicyStateValueList(list []UpgradePolicyStateValue, writer io.Writer) error

MarshalUpgradePolicyStateValueList writes a list of values of the 'upgrade_policy_state_value' type to the given writer.

func MarshalUpgradeTypeList ¶ added in v0.1.357

func MarshalUpgradeTypeList(list []UpgradeType, writer io.Writer) error

MarshalUpgradeTypeList writes a list of values of the 'upgrade_type' type to the given writer.

func MarshalUser ¶

func MarshalUser(object *User, writer io.Writer) error

MarshalUser writes a value of the 'user' type to the given writer.

func MarshalUserList ¶

func MarshalUserList(list []*User, writer io.Writer) error

MarshalUserList writes a list of values of the 'user' type to the given writer.

func MarshalUsernameClaim ¶ added in v0.1.404

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

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

func MarshalUsernameClaimList ¶ added in v0.1.404

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 MarshalVersionGate ¶ added in v0.0.329

func MarshalVersionGate(object *VersionGate, writer io.Writer) error

MarshalVersionGate writes a value of the 'version_gate' type to the given writer.

func MarshalVersionGateAgreement ¶ added in v0.0.329

func MarshalVersionGateAgreement(object *VersionGateAgreement, writer io.Writer) error

MarshalVersionGateAgreement writes a value of the 'version_gate_agreement' type to the given writer.

func MarshalVersionGateAgreementList ¶ added in v0.0.329

func MarshalVersionGateAgreementList(list []*VersionGateAgreement, writer io.Writer) error

MarshalVersionGateAgreementList writes a list of values of the 'version_gate_agreement' type to the given writer.

func MarshalVersionGateList ¶ added in v0.0.329

func MarshalVersionGateList(list []*VersionGate, writer io.Writer) error

MarshalVersionGateList writes a list of values of the 'version_gate' 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 MarshalWildcardPolicyList ¶ added in v0.1.352

func MarshalWildcardPolicyList(list []WildcardPolicy, writer io.Writer) error

MarshalWildcardPolicyList writes a list of values of the 'wildcard_policy' type to the given writer.

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.

Types ¶

type AMIOverride ¶ added in v0.1.368

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 UnmarshalAMIOverride ¶ added in v0.1.368

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

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

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

func (o *AMIOverride) Empty() bool

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

func (*AMIOverride) GetAMI ¶ added in v0.1.368

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

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

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

func (o *AMIOverride) GetProduct() (value *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 ¶ added in v0.1.368

func (o *AMIOverride) GetRegion() (value *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 ¶ added in v0.1.368

func (o *AMIOverride) HREF() string

HREF returns the link to the object.

func (*AMIOverride) ID ¶ added in v0.1.368

func (o *AMIOverride) ID() string

ID returns the identifier of the object.

func (*AMIOverride) Kind ¶ added in v0.1.368

func (o *AMIOverride) Kind() string

Kind returns the name of the type of the object.

func (o *AMIOverride) Link() bool

Link returns true iif this is a link.

func (*AMIOverride) Product ¶ added in v0.1.368

func (o *AMIOverride) Product() *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 ¶ added in v0.1.368

func (o *AMIOverride) Region() *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 ¶ added in v0.1.368

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

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

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

func NewAMIOverride ¶ added in v0.1.368

func NewAMIOverride() *AMIOverrideBuilder

NewAMIOverride creates a new builder of 'AMI_override' objects.

func (*AMIOverrideBuilder) AMI ¶ added in v0.1.368

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

func (*AMIOverrideBuilder) Build ¶ added in v0.1.368

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

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

func (*AMIOverrideBuilder) Copy ¶ added in v0.1.368

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

func (*AMIOverrideBuilder) Empty ¶ added in v0.1.368

func (b *AMIOverrideBuilder) Empty() bool

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

func (*AMIOverrideBuilder) HREF ¶ added in v0.1.368

HREF sets the link to the object.

func (*AMIOverrideBuilder) ID ¶ added in v0.1.368

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

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

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

Description of a region of a cloud provider.

type AMIOverrideList ¶ added in v0.1.368

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

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

func (*AMIOverrideList) Each ¶ added in v0.1.368

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

func (l *AMIOverrideList) Empty() bool

Empty returns true if the list is empty.

func (*AMIOverrideList) Get ¶ added in v0.1.368

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

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

func (l *AMIOverrideList) HREF() string

HREF returns the link to the list.

func (*AMIOverrideList) Kind ¶ added in v0.1.368

func (l *AMIOverrideList) Kind() string

Kind returns the name of the type of the object.

func (*AMIOverrideList) Len ¶ added in v0.1.368

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

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) Slice ¶ added in v0.1.368

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

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

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

func NewAMIOverrideList ¶ added in v0.1.368

func NewAMIOverrideList() *AMIOverrideListBuilder

NewAMIOverrideList creates a new builder of 'AMI_override' objects.

func (*AMIOverrideListBuilder) Build ¶ added in v0.1.368

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

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

func (*AMIOverrideListBuilder) Empty ¶ added in v0.1.368

func (b *AMIOverrideListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AMIOverrideListBuilder) Items ¶ added in v0.1.368

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 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) AdditionalComputeSecurityGroupIds ¶ added in v0.1.370

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

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

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

func (o *AWS) AuditLog() *AuditLog

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

Audit log forwarding configuration

func (*AWS) BillingAccountID ¶ added in v0.1.335

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

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

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) GetAdditionalComputeSecurityGroupIds ¶ added in v0.1.370

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

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

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

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

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

Audit log forwarding configuration

func (*AWS) GetBillingAccountID ¶ added in v0.1.335

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

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

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) GetKMSKeyArn ¶ added in v0.0.329

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

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

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

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

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

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

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) KMSKeyArn ¶ added in v0.0.329

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

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

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

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

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

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

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

type AWSBuilder ¶

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

AWSBuilder contains the data and logic needed to build 'AWS' objects.

_Amazon Web Services_ specific settings of a cluster.

func NewAWS ¶

func NewAWS() *AWSBuilder

NewAWS creates a new builder of 'AWS' objects.

func (*AWSBuilder) AccessKeyID ¶

func (b *AWSBuilder) AccessKeyID(value string) *AWSBuilder

AccessKeyID sets the value of the 'access_key_ID' attribute to the given value.

func (*AWSBuilder) AccountID ¶

func (b *AWSBuilder) AccountID(value string) *AWSBuilder

AccountID sets the value of the 'account_ID' attribute to the given value.

func (*AWSBuilder) AdditionalComputeSecurityGroupIds ¶ added in v0.1.370

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

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

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

func (b *AWSBuilder) AuditLog(value *AuditLogBuilder) *AWSBuilder

AuditLog sets the value of the 'audit_log' attribute to the given value.

Contains the necessary attributes to support audit log forwarding

func (*AWSBuilder) BillingAccountID ¶ added in v0.1.335

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

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

func (b *AWSBuilder) Empty() bool

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

func (*AWSBuilder) EtcdEncryption ¶ added in v0.0.329

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) KMSKeyArn ¶ added in v0.0.329

func (b *AWSBuilder) KMSKeyArn(value string) *AWSBuilder

KMSKeyArn sets the value of the 'KMS_key_arn' attribute to the given value.

func (*AWSBuilder) PrivateHostedZoneID ¶ added in v0.1.360

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

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

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

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

func (b *AWSBuilder) SubnetIDs(values ...string) *AWSBuilder

SubnetIDs sets the value of the 'subnet_IDs' attribute to the given values.

func (*AWSBuilder) Tags ¶ added in v0.0.329

func (b *AWSBuilder) Tags(value map[string]string) *AWSBuilder

Tags sets the value of the 'tags' attribute to the given value.

type AWSClient ¶ added in v0.0.329

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

AWSClient is the client of the 'AWS' resource.

Manages AWS specific parts for a specific cluster.

func NewAWSClient ¶ added in v0.0.329

func NewAWSClient(transport http.RoundTripper, path string) *AWSClient

NewAWSClient creates a new client for the 'AWS' resource using the given transport to send the requests and receive the responses.

func (*AWSClient) PrivateLinkConfiguration ¶ added in v0.0.329

func (c *AWSClient) PrivateLinkConfiguration() *PrivateLinkConfigurationClient

PrivateLinkConfiguration returns the target 'private_link_configuration' resource.

func (*AWSClient) RolePolicyBindings ¶ added in v0.1.417

func (c *AWSClient) RolePolicyBindings() *RolePolicyBindingsClient

RolePolicyBindings returns the target 'role_policy_bindings' resource.

type AWSFlavour ¶

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

AWSFlavour represents the values of the 'AWS_flavour' type.

Specification for different classes of nodes inside a flavour.

func UnmarshalAWSFlavour ¶

func UnmarshalAWSFlavour(source interface{}) (object *AWSFlavour, err error)

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

func UnmarshalAWSFlavourList ¶

func UnmarshalAWSFlavourList(source interface{}) (items []*AWSFlavour, err error)

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

func (*AWSFlavour) ComputeInstanceType ¶

func (o *AWSFlavour) ComputeInstanceType() string

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

AWS default instance type for the worker volume.

User can be overridden specifying in the cluster itself a type for compute node.

func (*AWSFlavour) Empty ¶

func (o *AWSFlavour) Empty() bool

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

func (*AWSFlavour) GetComputeInstanceType ¶

func (o *AWSFlavour) GetComputeInstanceType() (value string, ok bool)

GetComputeInstanceType returns the value of the 'compute_instance_type' attribute and a flag indicating if the attribute has a value.

AWS default instance type for the worker volume.

User can be overridden specifying in the cluster itself a type for compute node.

func (*AWSFlavour) GetInfraInstanceType ¶

func (o *AWSFlavour) GetInfraInstanceType() (value string, ok bool)

GetInfraInstanceType returns the value of the 'infra_instance_type' attribute and a flag indicating if the attribute has a value.

AWS default instance type for the infra volume.

func (*AWSFlavour) GetInfraVolume ¶

func (o *AWSFlavour) GetInfraVolume() (value *AWSVolume, ok bool)

GetInfraVolume returns the value of the 'infra_volume' attribute and a flag indicating if the attribute has a value.

Infra volume specification.

func (*AWSFlavour) GetMasterInstanceType ¶

func (o *AWSFlavour) GetMasterInstanceType() (value string, ok bool)

GetMasterInstanceType returns the value of the 'master_instance_type' attribute and a flag indicating if the attribute has a value.

AWS default instance type for the master volume.

func (*AWSFlavour) GetMasterVolume ¶

func (o *AWSFlavour) GetMasterVolume() (value *AWSVolume, ok bool)

GetMasterVolume returns the value of the 'master_volume' attribute and a flag indicating if the attribute has a value.

Master volume specification.

func (*AWSFlavour) GetWorkerVolume ¶

func (o *AWSFlavour) GetWorkerVolume() (value *AWSVolume, ok bool)

GetWorkerVolume returns the value of the 'worker_volume' attribute and a flag indicating if the attribute has a value.

Worker volume specification.

func (*AWSFlavour) InfraInstanceType ¶

func (o *AWSFlavour) InfraInstanceType() string

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

AWS default instance type for the infra volume.

func (*AWSFlavour) InfraVolume ¶

func (o *AWSFlavour) InfraVolume() *AWSVolume

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

Infra volume specification.

func (*AWSFlavour) MasterInstanceType ¶

func (o *AWSFlavour) MasterInstanceType() string

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

AWS default instance type for the master volume.

func (*AWSFlavour) MasterVolume ¶

func (o *AWSFlavour) MasterVolume() *AWSVolume

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

Master volume specification.

func (*AWSFlavour) WorkerVolume ¶

func (o *AWSFlavour) WorkerVolume() *AWSVolume

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

Worker volume specification.

type AWSFlavourBuilder ¶

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

AWSFlavourBuilder contains the data and logic needed to build 'AWS_flavour' objects.

Specification for different classes of nodes inside a flavour.

func NewAWSFlavour ¶

func NewAWSFlavour() *AWSFlavourBuilder

NewAWSFlavour creates a new builder of 'AWS_flavour' objects.

func (*AWSFlavourBuilder) Build ¶

func (b *AWSFlavourBuilder) Build() (object *AWSFlavour, err error)

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

func (*AWSFlavourBuilder) ComputeInstanceType ¶

func (b *AWSFlavourBuilder) ComputeInstanceType(value string) *AWSFlavourBuilder

ComputeInstanceType sets the value of the 'compute_instance_type' attribute to the given value.

func (*AWSFlavourBuilder) Copy ¶

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

func (*AWSFlavourBuilder) Empty ¶ added in v0.0.329

func (b *AWSFlavourBuilder) Empty() bool

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

func (*AWSFlavourBuilder) InfraInstanceType ¶

func (b *AWSFlavourBuilder) InfraInstanceType(value string) *AWSFlavourBuilder

InfraInstanceType sets the value of the 'infra_instance_type' attribute to the given value.

func (*AWSFlavourBuilder) InfraVolume ¶

func (b *AWSFlavourBuilder) InfraVolume(value *AWSVolumeBuilder) *AWSFlavourBuilder

InfraVolume sets the value of the 'infra_volume' attribute to the given value.

Holds settings for an AWS storage volume.

func (*AWSFlavourBuilder) MasterInstanceType ¶

func (b *AWSFlavourBuilder) MasterInstanceType(value string) *AWSFlavourBuilder

MasterInstanceType sets the value of the 'master_instance_type' attribute to the given value.

func (*AWSFlavourBuilder) MasterVolume ¶

func (b *AWSFlavourBuilder) MasterVolume(value *AWSVolumeBuilder) *AWSFlavourBuilder

MasterVolume sets the value of the 'master_volume' attribute to the given value.

Holds settings for an AWS storage volume.

func (*AWSFlavourBuilder) WorkerVolume ¶

func (b *AWSFlavourBuilder) WorkerVolume(value *AWSVolumeBuilder) *AWSFlavourBuilder

WorkerVolume sets the value of the 'worker_volume' attribute to the given value.

Holds settings for an AWS storage volume.

type AWSFlavourList ¶

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

AWSFlavourList is a list of values of the 'AWS_flavour' type.

func (*AWSFlavourList) Each ¶

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

func (l *AWSFlavourList) Empty() bool

Empty returns true if the list is empty.

func (*AWSFlavourList) Get ¶

func (l *AWSFlavourList) Get(i int) *AWSFlavour

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

func (*AWSFlavourList) Len ¶

func (l *AWSFlavourList) Len() int

Len returns the length of the list.

func (*AWSFlavourList) Range ¶

func (l *AWSFlavourList) Range(f func(index int, item *AWSFlavour) 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 (*AWSFlavourList) Slice ¶

func (l *AWSFlavourList) Slice() []*AWSFlavour

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

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

AWSFlavourListBuilder contains the data and logic needed to build 'AWS_flavour' objects.

func NewAWSFlavourList ¶

func NewAWSFlavourList() *AWSFlavourListBuilder

NewAWSFlavourList creates a new builder of 'AWS_flavour' objects.

func (*AWSFlavourListBuilder) Build ¶

func (b *AWSFlavourListBuilder) Build() (list *AWSFlavourList, err error)

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

func (*AWSFlavourListBuilder) Copy ¶

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

func (*AWSFlavourListBuilder) Empty ¶ added in v0.0.329

func (b *AWSFlavourListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSFlavourListBuilder) Items ¶

Items sets the items of the list.

type AWSInfrastructureAccessRole ¶

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

AWSInfrastructureAccessRole represents the values of the 'AWS_infrastructure_access_role' type.

A set of acces permissions for AWS resources

func UnmarshalAWSInfrastructureAccessRole ¶

func UnmarshalAWSInfrastructureAccessRole(source interface{}) (object *AWSInfrastructureAccessRole, err error)

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

func UnmarshalAWSInfrastructureAccessRoleList ¶

func UnmarshalAWSInfrastructureAccessRoleList(source interface{}) (items []*AWSInfrastructureAccessRole, err error)

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

func (*AWSInfrastructureAccessRole) Description ¶

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

Description of the role.

func (*AWSInfrastructureAccessRole) DisplayName ¶

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

Human friendly identifier of the role, for example `Read only`.

func (*AWSInfrastructureAccessRole) Empty ¶

func (o *AWSInfrastructureAccessRole) Empty() bool

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

func (*AWSInfrastructureAccessRole) GetDescription ¶

func (o *AWSInfrastructureAccessRole) GetDescription() (value string, ok bool)

GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.

Description of the role.

func (*AWSInfrastructureAccessRole) GetDisplayName ¶

func (o *AWSInfrastructureAccessRole) GetDisplayName() (value string, ok bool)

GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.

Human friendly identifier of the role, for example `Read only`.

func (*AWSInfrastructureAccessRole) GetHREF ¶

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

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

func (*AWSInfrastructureAccessRole) GetID ¶

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

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

func (*AWSInfrastructureAccessRole) GetState ¶

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

State of the role.

func (*AWSInfrastructureAccessRole) HREF ¶

HREF returns the link to the object.

func (*AWSInfrastructureAccessRole) ID ¶

ID returns the identifier of the object.

func (*AWSInfrastructureAccessRole) Kind ¶

Kind returns the name of the type of the object.

Link returns true iif this is a link.

func (*AWSInfrastructureAccessRole) 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 of the role.

type AWSInfrastructureAccessRoleBuilder ¶

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

AWSInfrastructureAccessRoleBuilder contains the data and logic needed to build 'AWS_infrastructure_access_role' objects.

A set of acces permissions for AWS resources

func NewAWSInfrastructureAccessRole ¶

func NewAWSInfrastructureAccessRole() *AWSInfrastructureAccessRoleBuilder

NewAWSInfrastructureAccessRole creates a new builder of 'AWS_infrastructure_access_role' objects.

func (*AWSInfrastructureAccessRoleBuilder) Build ¶

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

func (*AWSInfrastructureAccessRoleBuilder) Copy ¶

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

func (*AWSInfrastructureAccessRoleBuilder) Description ¶

Description sets the value of the 'description' attribute to the given value.

func (*AWSInfrastructureAccessRoleBuilder) DisplayName ¶

DisplayName sets the value of the 'display_name' attribute to the given value.

func (*AWSInfrastructureAccessRoleBuilder) Empty ¶ added in v0.0.329

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

func (*AWSInfrastructureAccessRoleBuilder) HREF ¶

HREF sets the link to the object.

func (*AWSInfrastructureAccessRoleBuilder) ID ¶

ID sets the identifier of the object.

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

func (*AWSInfrastructureAccessRoleBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

State of an AWS infrastructure access role.

type AWSInfrastructureAccessRoleClient ¶

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

AWSInfrastructureAccessRoleClient is the client of the 'AWS_infrastructure_access_role' resource.

Manages a specific aws infrastructure access role.

func NewAWSInfrastructureAccessRoleClient ¶

func NewAWSInfrastructureAccessRoleClient(transport http.RoundTripper, path string) *AWSInfrastructureAccessRoleClient

NewAWSInfrastructureAccessRoleClient creates a new client for the 'AWS_infrastructure_access_role' resource using the given transport to send the requests and receive the responses.

func (*AWSInfrastructureAccessRoleClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the details of the aws infrastructure access role.

func (*AWSInfrastructureAccessRoleClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type AWSInfrastructureAccessRoleGetRequest ¶

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

AWSInfrastructureAccessRoleGetRequest is the request for the 'get' method.

func (*AWSInfrastructureAccessRoleGetRequest) Header ¶

Header adds a request header.

func (*AWSInfrastructureAccessRoleGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AWSInfrastructureAccessRoleGetRequest) Parameter ¶

Parameter adds a query parameter.

func (*AWSInfrastructureAccessRoleGetRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AWSInfrastructureAccessRoleGetRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type AWSInfrastructureAccessRoleGetResponse ¶

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

AWSInfrastructureAccessRoleGetResponse is the response for the 'get' method.

func (*AWSInfrastructureAccessRoleGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*AWSInfrastructureAccessRoleGetResponse) Error ¶

Error returns the response error.

func (*AWSInfrastructureAccessRoleGetResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AWSInfrastructureAccessRoleGetResponse) Header ¶

Header returns header of the response.

func (*AWSInfrastructureAccessRoleGetResponse) Status ¶

Status returns the response status code.

type AWSInfrastructureAccessRoleGrant ¶

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

AWSInfrastructureAccessRoleGrant represents the values of the 'AWS_infrastructure_access_role_grant' type.

Representation of an AWS infrastructure access role grant.

func UnmarshalAWSInfrastructureAccessRoleGrant ¶

func UnmarshalAWSInfrastructureAccessRoleGrant(source interface{}) (object *AWSInfrastructureAccessRoleGrant, err error)

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

func UnmarshalAWSInfrastructureAccessRoleGrantList ¶

func UnmarshalAWSInfrastructureAccessRoleGrantList(source interface{}) (items []*AWSInfrastructureAccessRoleGrant, err error)

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

func (*AWSInfrastructureAccessRoleGrant) ConsoleURL ¶

func (o *AWSInfrastructureAccessRoleGrant) ConsoleURL() string

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

URL to switch to the role in AWS console.

func (*AWSInfrastructureAccessRoleGrant) Empty ¶

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

func (*AWSInfrastructureAccessRoleGrant) GetConsoleURL ¶

func (o *AWSInfrastructureAccessRoleGrant) GetConsoleURL() (value string, ok bool)

GetConsoleURL returns the value of the 'console_URL' attribute and a flag indicating if the attribute has a value.

URL to switch to the role in AWS console.

func (*AWSInfrastructureAccessRoleGrant) GetHREF ¶

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

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

func (*AWSInfrastructureAccessRoleGrant) GetID ¶

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

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

func (*AWSInfrastructureAccessRoleGrant) GetRole ¶

GetRole returns the value of the 'role' attribute and a flag indicating if the attribute has a value.

Link to AWS infrastructure access role. Grant must use a 'valid' role.

func (*AWSInfrastructureAccessRoleGrant) GetState ¶

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

State of the grant.

func (*AWSInfrastructureAccessRoleGrant) GetStateDescription ¶

func (o *AWSInfrastructureAccessRoleGrant) GetStateDescription() (value string, ok bool)

GetStateDescription returns the value of the 'state_description' attribute and a flag indicating if the attribute has a value.

Description of the state. Will be empty unless state is 'Failed'.

func (*AWSInfrastructureAccessRoleGrant) GetUserARN ¶

func (o *AWSInfrastructureAccessRoleGrant) GetUserARN() (value string, ok bool)

GetUserARN returns the value of the 'user_ARN' attribute and a flag indicating if the attribute has a value.

The user AWS IAM ARN we want to grant the role.

func (*AWSInfrastructureAccessRoleGrant) HREF ¶

HREF returns the link to the object.

func (*AWSInfrastructureAccessRoleGrant) ID ¶

ID returns the identifier of the object.

func (*AWSInfrastructureAccessRoleGrant) Kind ¶

Kind returns the name of the type of the object.

Link returns true iif this is a link.

func (*AWSInfrastructureAccessRoleGrant) Role ¶

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

Link to AWS infrastructure access role. Grant must use a 'valid' role.

func (*AWSInfrastructureAccessRoleGrant) 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 of the grant.

func (*AWSInfrastructureAccessRoleGrant) StateDescription ¶

func (o *AWSInfrastructureAccessRoleGrant) StateDescription() string

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

Description of the state. Will be empty unless state is 'Failed'.

func (*AWSInfrastructureAccessRoleGrant) UserARN ¶

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

The user AWS IAM ARN we want to grant the role.

type AWSInfrastructureAccessRoleGrantBuilder ¶

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

AWSInfrastructureAccessRoleGrantBuilder contains the data and logic needed to build 'AWS_infrastructure_access_role_grant' objects.

Representation of an AWS infrastructure access role grant.

func NewAWSInfrastructureAccessRoleGrant ¶

func NewAWSInfrastructureAccessRoleGrant() *AWSInfrastructureAccessRoleGrantBuilder

NewAWSInfrastructureAccessRoleGrant creates a new builder of 'AWS_infrastructure_access_role_grant' objects.

func (*AWSInfrastructureAccessRoleGrantBuilder) Build ¶

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

func (*AWSInfrastructureAccessRoleGrantBuilder) ConsoleURL ¶

ConsoleURL sets the value of the 'console_URL' attribute to the given value.

func (*AWSInfrastructureAccessRoleGrantBuilder) Copy ¶

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

func (*AWSInfrastructureAccessRoleGrantBuilder) Empty ¶ added in v0.0.329

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

func (*AWSInfrastructureAccessRoleGrantBuilder) HREF ¶

HREF sets the link to the object.

func (*AWSInfrastructureAccessRoleGrantBuilder) ID ¶

ID sets the identifier of the object.

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

func (*AWSInfrastructureAccessRoleGrantBuilder) Role ¶

Role sets the value of the 'role' attribute to the given value.

A set of acces permissions for AWS resources

func (*AWSInfrastructureAccessRoleGrantBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

State of an AWS infrastructure access role grant.

func (*AWSInfrastructureAccessRoleGrantBuilder) StateDescription ¶

StateDescription sets the value of the 'state_description' attribute to the given value.

func (*AWSInfrastructureAccessRoleGrantBuilder) UserARN ¶

UserARN sets the value of the 'user_ARN' attribute to the given value.

type AWSInfrastructureAccessRoleGrantClient ¶

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

AWSInfrastructureAccessRoleGrantClient is the client of the 'AWS_infrastructure_access_role_grant' resource.

Manages a specific AWS infrastructure access role grant.

func NewAWSInfrastructureAccessRoleGrantClient ¶

func NewAWSInfrastructureAccessRoleGrantClient(transport http.RoundTripper, path string) *AWSInfrastructureAccessRoleGrantClient

NewAWSInfrastructureAccessRoleGrantClient creates a new client for the 'AWS_infrastructure_access_role_grant' resource using the given transport to send the requests and receive the responses.

func (*AWSInfrastructureAccessRoleGrantClient) Delete ¶

Delete creates a request for the 'delete' method.

Deletes the AWS infrastructure access role grant.

func (*AWSInfrastructureAccessRoleGrantClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the details of the AWS infrastructure access role grant.

func (*AWSInfrastructureAccessRoleGrantClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type AWSInfrastructureAccessRoleGrantDeleteRequest ¶

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

AWSInfrastructureAccessRoleGrantDeleteRequest is the request for the 'delete' method.

func (*AWSInfrastructureAccessRoleGrantDeleteRequest) Header ¶

Header adds a request header.

func (*AWSInfrastructureAccessRoleGrantDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AWSInfrastructureAccessRoleGrantDeleteRequest) Parameter ¶

Parameter adds a query parameter.

func (*AWSInfrastructureAccessRoleGrantDeleteRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AWSInfrastructureAccessRoleGrantDeleteRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type AWSInfrastructureAccessRoleGrantDeleteResponse ¶

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

AWSInfrastructureAccessRoleGrantDeleteResponse is the response for the 'delete' method.

func (*AWSInfrastructureAccessRoleGrantDeleteResponse) Error ¶

Error returns the response error.

func (*AWSInfrastructureAccessRoleGrantDeleteResponse) Header ¶

Header returns header of the response.

func (*AWSInfrastructureAccessRoleGrantDeleteResponse) Status ¶

Status returns the response status code.

type AWSInfrastructureAccessRoleGrantGetRequest ¶

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

AWSInfrastructureAccessRoleGrantGetRequest is the request for the 'get' method.

func (*AWSInfrastructureAccessRoleGrantGetRequest) Header ¶

Header adds a request header.

func (*AWSInfrastructureAccessRoleGrantGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AWSInfrastructureAccessRoleGrantGetRequest) Parameter ¶

Parameter adds a query parameter.

func (*AWSInfrastructureAccessRoleGrantGetRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AWSInfrastructureAccessRoleGrantGetRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type AWSInfrastructureAccessRoleGrantGetResponse ¶

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

AWSInfrastructureAccessRoleGrantGetResponse is the response for the 'get' method.

func (*AWSInfrastructureAccessRoleGrantGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*AWSInfrastructureAccessRoleGrantGetResponse) Error ¶

Error returns the response error.

func (*AWSInfrastructureAccessRoleGrantGetResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AWSInfrastructureAccessRoleGrantGetResponse) Header ¶

Header returns header of the response.

func (*AWSInfrastructureAccessRoleGrantGetResponse) Status ¶

Status returns the response status code.

type AWSInfrastructureAccessRoleGrantList ¶

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

AWSInfrastructureAccessRoleGrantList is a list of values of the 'AWS_infrastructure_access_role_grant' type.

func (*AWSInfrastructureAccessRoleGrantList) 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 (*AWSInfrastructureAccessRoleGrantList) Empty ¶

Empty returns true if the list is empty.

func (*AWSInfrastructureAccessRoleGrantList) Get ¶

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

func (*AWSInfrastructureAccessRoleGrantList) GetHREF ¶

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

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

func (*AWSInfrastructureAccessRoleGrantList) HREF ¶

HREF returns the link to the list.

func (*AWSInfrastructureAccessRoleGrantList) Kind ¶

Kind returns the name of the type of the object.

func (*AWSInfrastructureAccessRoleGrantList) Len ¶

Len returns the length of the list.

Link returns true iif this is a link.

func (*AWSInfrastructureAccessRoleGrantList) 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 (*AWSInfrastructureAccessRoleGrantList) 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 AWSInfrastructureAccessRoleGrantListBuilder ¶

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

AWSInfrastructureAccessRoleGrantListBuilder contains the data and logic needed to build 'AWS_infrastructure_access_role_grant' objects.

func NewAWSInfrastructureAccessRoleGrantList ¶

func NewAWSInfrastructureAccessRoleGrantList() *AWSInfrastructureAccessRoleGrantListBuilder

NewAWSInfrastructureAccessRoleGrantList creates a new builder of 'AWS_infrastructure_access_role_grant' objects.

func (*AWSInfrastructureAccessRoleGrantListBuilder) Build ¶

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

func (*AWSInfrastructureAccessRoleGrantListBuilder) Copy ¶

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

func (*AWSInfrastructureAccessRoleGrantListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AWSInfrastructureAccessRoleGrantListBuilder) Items ¶

Items sets the items of the list.

type AWSInfrastructureAccessRoleGrantPollRequest ¶

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

AWSInfrastructureAccessRoleGrantPollRequest is the request for the Poll method.

func (*AWSInfrastructureAccessRoleGrantPollRequest) Header ¶

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AWSInfrastructureAccessRoleGrantPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AWSInfrastructureAccessRoleGrantPollRequest) Parameter ¶

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AWSInfrastructureAccessRoleGrantPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AWSInfrastructureAccessRoleGrantPollRequest) StartContext ¶

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AWSInfrastructureAccessRoleGrantPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AWSInfrastructureAccessRoleGrantPollResponse ¶

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

AWSInfrastructureAccessRoleGrantPollResponse is the response for the Poll method.

func (*AWSInfrastructureAccessRoleGrantPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*AWSInfrastructureAccessRoleGrantPollResponse) Error ¶

Error returns the response error.

func (*AWSInfrastructureAccessRoleGrantPollResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AWSInfrastructureAccessRoleGrantPollResponse) Header ¶

Header returns header of the response.

func (*AWSInfrastructureAccessRoleGrantPollResponse) Status ¶

Status returns the response status code.

type AWSInfrastructureAccessRoleGrantState ¶

type AWSInfrastructureAccessRoleGrantState string

AWSInfrastructureAccessRoleGrantState represents the values of the 'AWS_infrastructure_access_role_grant_state' enumerated type.

const (
	// The access role grant is in the process of being deleted.
	AWSInfrastructureAccessRoleGrantStateDeleting AWSInfrastructureAccessRoleGrantState = "deleting"
	// The attempt to grant access role to user ARN failed.
	AWSInfrastructureAccessRoleGrantStateFailed AWSInfrastructureAccessRoleGrantState = "failed"
	// The access role grant in pending.
	AWSInfrastructureAccessRoleGrantStatePending AWSInfrastructureAccessRoleGrantState = "pending"
	// Access role has been granted to user.
	AWSInfrastructureAccessRoleGrantStateReady AWSInfrastructureAccessRoleGrantState = "ready"
	// This ia a special state intended for the user know
	// that the access role grant has been removed by SRE.
	// The user can delete this grant from the DB.
	AWSInfrastructureAccessRoleGrantStateRemoved AWSInfrastructureAccessRoleGrantState = "removed"
)

func UnmarshalAWSInfrastructureAccessRoleGrantStateList ¶

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

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

type AWSInfrastructureAccessRoleGrantsAddRequest ¶

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

AWSInfrastructureAccessRoleGrantsAddRequest is the request for the 'add' method.

func (*AWSInfrastructureAccessRoleGrantsAddRequest) Body ¶

Body sets the value of the 'body' parameter.

Description of the AWS infrastructure access role grant.

func (*AWSInfrastructureAccessRoleGrantsAddRequest) Header ¶

Header adds a request header.

func (*AWSInfrastructureAccessRoleGrantsAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AWSInfrastructureAccessRoleGrantsAddRequest) Parameter ¶

Parameter adds a query parameter.

func (*AWSInfrastructureAccessRoleGrantsAddRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AWSInfrastructureAccessRoleGrantsAddRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type AWSInfrastructureAccessRoleGrantsAddResponse ¶

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

AWSInfrastructureAccessRoleGrantsAddResponse is the response for the 'add' method.

func (*AWSInfrastructureAccessRoleGrantsAddResponse) Body ¶

Body returns the value of the 'body' parameter.

Description of the AWS infrastructure access role grant.

func (*AWSInfrastructureAccessRoleGrantsAddResponse) Error ¶

Error returns the response error.

func (*AWSInfrastructureAccessRoleGrantsAddResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the AWS infrastructure access role grant.

func (*AWSInfrastructureAccessRoleGrantsAddResponse) Header ¶

Header returns header of the response.

func (*AWSInfrastructureAccessRoleGrantsAddResponse) Status ¶

Status returns the response status code.

type AWSInfrastructureAccessRoleGrantsClient ¶

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

AWSInfrastructureAccessRoleGrantsClient is the client of the 'AWS_infrastructure_access_role_grants' resource.

Manages the collection of AWS infrastructure access role grants.

func NewAWSInfrastructureAccessRoleGrantsClient ¶

func NewAWSInfrastructureAccessRoleGrantsClient(transport http.RoundTripper, path string) *AWSInfrastructureAccessRoleGrantsClient

NewAWSInfrastructureAccessRoleGrantsClient creates a new client for the 'AWS_infrastructure_access_role_grants' resource using the given transport to send the requests and receive the responses.

func (*AWSInfrastructureAccessRoleGrantsClient) AWSInfrastructureAccessRoleGrant ¶

AWSInfrastructureAccessRoleGrant returns the target 'AWS_infrastructure_access_role_grant' resource for the given identifier.

Returns a reference to the service that manages a specific AWS infrastructure access role grant.

func (*AWSInfrastructureAccessRoleGrantsClient) Add ¶

Add creates a request for the 'add' method.

Create a new AWS infrastructure access role grant and add it to the collection of AWS infrastructure access role grants on the cluster.

func (*AWSInfrastructureAccessRoleGrantsClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of AWS infrastructure access role grants.

type AWSInfrastructureAccessRoleGrantsListRequest ¶

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

AWSInfrastructureAccessRoleGrantsListRequest is the request for the 'list' method.

func (*AWSInfrastructureAccessRoleGrantsListRequest) Header ¶

Header adds a request header.

func (*AWSInfrastructureAccessRoleGrantsListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AWSInfrastructureAccessRoleGrantsListRequest) Order ¶

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the AWS infrastructure access role grant instead of the names of the columns of a table. For example, in order to sort the AWS infrastructure access role grants descending by user ARN the value should be:

```sql user_arn desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AWSInfrastructureAccessRoleGrantsListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AWSInfrastructureAccessRoleGrantsListRequest) Parameter ¶

Parameter adds a query parameter.

func (*AWSInfrastructureAccessRoleGrantsListRequest) Search ¶

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the AWS infrastructure access role grant instead of the names of the columns of a table. For example, in order to retrieve all the AWS infrastructure access role grants with a user ARN starting with `user` the value should be:

```sql user_arn like '%user' ```

If the parameter isn't provided, or if the value is empty, then all the AWS infrastructure access role grants that the user has permission to see will be returned.

func (*AWSInfrastructureAccessRoleGrantsListRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AWSInfrastructureAccessRoleGrantsListRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

func (*AWSInfrastructureAccessRoleGrantsListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AWSInfrastructureAccessRoleGrantsListResponse ¶

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

AWSInfrastructureAccessRoleGrantsListResponse is the response for the 'list' method.

func (*AWSInfrastructureAccessRoleGrantsListResponse) Error ¶

Error returns the response error.

func (*AWSInfrastructureAccessRoleGrantsListResponse) GetItems ¶

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of AWS infrastructure access role grants.

func (*AWSInfrastructureAccessRoleGrantsListResponse) GetPage ¶

func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AWSInfrastructureAccessRoleGrantsListResponse) GetSize ¶

func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AWSInfrastructureAccessRoleGrantsListResponse) GetTotal ¶

func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AWSInfrastructureAccessRoleGrantsListResponse) Header ¶

Header returns header of the response.

func (*AWSInfrastructureAccessRoleGrantsListResponse) Items ¶

Items returns the value of the 'items' parameter.

Retrieved list of AWS infrastructure access role grants.

func (*AWSInfrastructureAccessRoleGrantsListResponse) Page ¶

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AWSInfrastructureAccessRoleGrantsListResponse) Size ¶

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AWSInfrastructureAccessRoleGrantsListResponse) Status ¶

Status returns the response status code.

func (*AWSInfrastructureAccessRoleGrantsListResponse) Total ¶

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type AWSInfrastructureAccessRoleList ¶

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

AWSInfrastructureAccessRoleList is a list of values of the 'AWS_infrastructure_access_role' type.

func (*AWSInfrastructureAccessRoleList) 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 (*AWSInfrastructureAccessRoleList) Empty ¶

Empty returns true if the list is empty.

func (*AWSInfrastructureAccessRoleList) Get ¶

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

func (*AWSInfrastructureAccessRoleList) GetHREF ¶

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

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

func (*AWSInfrastructureAccessRoleList) HREF ¶

HREF returns the link to the list.

func (*AWSInfrastructureAccessRoleList) Kind ¶

Kind returns the name of the type of the object.

func (*AWSInfrastructureAccessRoleList) Len ¶

Len returns the length of the list.

Link returns true iif this is a link.

func (*AWSInfrastructureAccessRoleList) 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 (*AWSInfrastructureAccessRoleList) 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 AWSInfrastructureAccessRoleListBuilder ¶

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

AWSInfrastructureAccessRoleListBuilder contains the data and logic needed to build 'AWS_infrastructure_access_role' objects.

func NewAWSInfrastructureAccessRoleList ¶

func NewAWSInfrastructureAccessRoleList() *AWSInfrastructureAccessRoleListBuilder

NewAWSInfrastructureAccessRoleList creates a new builder of 'AWS_infrastructure_access_role' objects.

func (*AWSInfrastructureAccessRoleListBuilder) Build ¶

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

func (*AWSInfrastructureAccessRoleListBuilder) Copy ¶

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

func (*AWSInfrastructureAccessRoleListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AWSInfrastructureAccessRoleListBuilder) Items ¶

Items sets the items of the list.

type AWSInfrastructureAccessRolePollRequest ¶

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

AWSInfrastructureAccessRolePollRequest is the request for the Poll method.

func (*AWSInfrastructureAccessRolePollRequest) Header ¶

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AWSInfrastructureAccessRolePollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AWSInfrastructureAccessRolePollRequest) Parameter ¶

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AWSInfrastructureAccessRolePollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AWSInfrastructureAccessRolePollRequest) StartContext ¶

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AWSInfrastructureAccessRolePollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AWSInfrastructureAccessRolePollResponse ¶

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

AWSInfrastructureAccessRolePollResponse is the response for the Poll method.

func (*AWSInfrastructureAccessRolePollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*AWSInfrastructureAccessRolePollResponse) Error ¶

Error returns the response error.

func (*AWSInfrastructureAccessRolePollResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AWSInfrastructureAccessRolePollResponse) Header ¶

Header returns header of the response.

func (*AWSInfrastructureAccessRolePollResponse) Status ¶

Status returns the response status code.

type AWSInfrastructureAccessRoleState ¶

type AWSInfrastructureAccessRoleState string

AWSInfrastructureAccessRoleState represents the values of the 'AWS_infrastructure_access_role_state' enumerated type.

const (
	// Role definition is invalid. Role can't be used.
	AWSInfrastructureAccessRoleStateInvalid AWSInfrastructureAccessRoleState = "invalid"
	// This is a special state intended for the user know
	// that the access role has been removed by SRE,
	// but there are still grants referencing it.
	// Role can't be used in a new grant.
	AWSInfrastructureAccessRoleStateRemoved AWSInfrastructureAccessRoleState = "removed"
	// Access role is valid an can be used.
	// Only valid roles can be used in a role grant.
	AWSInfrastructureAccessRoleStateValid AWSInfrastructureAccessRoleState = "valid"
)

func UnmarshalAWSInfrastructureAccessRoleStateList ¶

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

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

type AWSInfrastructureAccessRolesClient ¶

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

AWSInfrastructureAccessRolesClient is the client of the 'AWS_infrastructure_access_roles' resource.

Manages the collection of aws infrastructure access roles.

func NewAWSInfrastructureAccessRolesClient ¶

func NewAWSInfrastructureAccessRolesClient(transport http.RoundTripper, path string) *AWSInfrastructureAccessRolesClient

NewAWSInfrastructureAccessRolesClient creates a new client for the 'AWS_infrastructure_access_roles' resource using the given transport to send the requests and receive the responses.

func (*AWSInfrastructureAccessRolesClient) AWSInfrastructureAccessRole ¶

AWSInfrastructureAccessRole returns the target 'AWS_infrastructure_access_role' resource for the given identifier.

Reference to the resource that manages a specific role.

func (*AWSInfrastructureAccessRolesClient) List ¶

List creates a request for the 'list' method.

type AWSInfrastructureAccessRolesListRequest ¶

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

AWSInfrastructureAccessRolesListRequest is the request for the 'list' method.

func (*AWSInfrastructureAccessRolesListRequest) Header ¶

Header adds a request header.

func (*AWSInfrastructureAccessRolesListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AWSInfrastructureAccessRolesListRequest) Order ¶

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to sort the roles descending by dislay_name the value should be:

```sql display_name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AWSInfrastructureAccessRolesListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AWSInfrastructureAccessRolesListRequest) Parameter ¶

Parameter adds a query parameter.

func (*AWSInfrastructureAccessRolesListRequest) Search ¶

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to retrieve all the role with a name starting with `my`the value should be:

```sql display_name like 'my%' ```

If the parameter isn't provided, or if the value is empty, then all the roles that the user has permission to see will be returned.

func (*AWSInfrastructureAccessRolesListRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AWSInfrastructureAccessRolesListRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

func (*AWSInfrastructureAccessRolesListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AWSInfrastructureAccessRolesListResponse ¶

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

AWSInfrastructureAccessRolesListResponse is the response for the 'list' method.

func (*AWSInfrastructureAccessRolesListResponse) Error ¶

Error returns the response error.

func (*AWSInfrastructureAccessRolesListResponse) GetItems ¶

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of roles.

func (*AWSInfrastructureAccessRolesListResponse) GetPage ¶

func (r *AWSInfrastructureAccessRolesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AWSInfrastructureAccessRolesListResponse) GetSize ¶

func (r *AWSInfrastructureAccessRolesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AWSInfrastructureAccessRolesListResponse) GetTotal ¶

func (r *AWSInfrastructureAccessRolesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AWSInfrastructureAccessRolesListResponse) Header ¶

Header returns header of the response.

func (*AWSInfrastructureAccessRolesListResponse) Items ¶

Items returns the value of the 'items' parameter.

Retrieved list of roles.

func (*AWSInfrastructureAccessRolesListResponse) Page ¶

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AWSInfrastructureAccessRolesListResponse) Size ¶

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AWSInfrastructureAccessRolesListResponse) Status ¶

Status returns the response status code.

func (*AWSInfrastructureAccessRolesListResponse) Total ¶

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type AWSInquiriesClient ¶ added in v0.0.329

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

AWSInquiriesClient is the client of the 'AWS_inquiries' resource.

Manages the collection of aws inquiries.

func NewAWSInquiriesClient ¶ added in v0.0.329

func NewAWSInquiriesClient(transport http.RoundTripper, path string) *AWSInquiriesClient

NewAWSInquiriesClient creates a new client for the 'AWS_inquiries' resource using the given transport to send the requests and receive the responses.

func (*AWSInquiriesClient) MachineTypes ¶ added in v0.0.329

MachineTypes returns the target 'AWS_region_machine_types_inquiry' resource.

Reference to the resource that manages aws machine types by regions.

func (*AWSInquiriesClient) Regions ¶ added in v0.0.329

Regions returns the target 'available_regions_inquiry' resource.

Reference to the resource that manages a collection of regions.

func (*AWSInquiriesClient) STSAccountRoles ¶ added in v0.1.369

STSAccountRoles returns the target 'AWSSTS_account_roles_inquiry' resource.

Reference to the resource that manages aws sts roles.

func (*AWSInquiriesClient) STSCredentialRequests ¶ added in v0.0.329

func (c *AWSInquiriesClient) STSCredentialRequests() *STSCredentialRequestsInquiryClient

STSCredentialRequests returns the target 'STS_credential_requests_inquiry' resource.

Reference to the resource that manages sts cred request.

func (*AWSInquiriesClient) STSPolicies ¶ added in v0.0.329

STSPolicies returns the target 'AWSSTS_policies_inquiry' resource.

Reference to the resource that manages aws sts policies.

func (*AWSInquiriesClient) ValidateCredentials ¶ added in v0.1.391

func (c *AWSInquiriesClient) ValidateCredentials() *AwsValidateCredentialsClient

ValidateCredentials returns the target 'aws_validate_credentials' resource.

Reference to the resource that manages creds validation.

func (*AWSInquiriesClient) Vpcs ¶ added in v0.0.329

Vpcs returns the target 'vpcs_inquiry' resource.

Reference to the resource that manages a collection of vpcs.

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

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 AWSMachinePool ¶ added in v0.0.329

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

AWSMachinePool represents the values of the 'AWS_machine_pool' type.

Representation of aws machine pool specific parameters.

func UnmarshalAWSMachinePool ¶ added in v0.0.329

func UnmarshalAWSMachinePool(source interface{}) (object *AWSMachinePool, err error)

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

func UnmarshalAWSMachinePoolList ¶ added in v0.0.329

func UnmarshalAWSMachinePoolList(source interface{}) (items []*AWSMachinePool, err error)

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

func (*AWSMachinePool) AdditionalSecurityGroupIds ¶ added in v0.1.370

func (o *AWSMachinePool) 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 machine pool. Note that machine pools can only be worker node at the time.

func (*AWSMachinePool) AvailabilityZoneTypes ¶ added in v0.1.395

func (o *AWSMachinePool) 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 (*AWSMachinePool) Empty ¶ added in v0.0.329

func (o *AWSMachinePool) Empty() bool

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

func (*AWSMachinePool) GetAdditionalSecurityGroupIds ¶ added in v0.1.370

func (o *AWSMachinePool) 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 machine pool. Note that machine pools can only be worker node at the time.

func (*AWSMachinePool) GetAvailabilityZoneTypes ¶ added in v0.1.395

func (o *AWSMachinePool) 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 (*AWSMachinePool) GetHREF ¶ added in v0.0.329

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

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

func (*AWSMachinePool) GetID ¶ added in v0.0.329

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

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

func (*AWSMachinePool) GetSpotMarketOptions ¶ added in v0.0.329

func (o *AWSMachinePool) GetSpotMarketOptions() (value *AWSSpotMarketOptions, ok bool)

GetSpotMarketOptions returns the value of the 'spot_market_options' attribute and a flag indicating if the attribute has a value.

Use spot instances on this machine pool to reduce cost.

func (*AWSMachinePool) GetSubnetOutposts ¶ added in v0.1.395

func (o *AWSMachinePool) 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 (*AWSMachinePool) GetTags ¶ added in v0.1.418

func (o *AWSMachinePool) 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 machine pool provisioner will add as AWS 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 (*AWSMachinePool) HREF ¶ added in v0.0.329

func (o *AWSMachinePool) HREF() string

HREF returns the link to the object.

func (*AWSMachinePool) ID ¶ added in v0.0.329

func (o *AWSMachinePool) ID() string

ID returns the identifier of the object.

func (*AWSMachinePool) Kind ¶ added in v0.0.329

func (o *AWSMachinePool) Kind() string

Kind returns the name of the type of the object.

func (o *AWSMachinePool) Link() bool

Link returns true iif this is a link.

func (*AWSMachinePool) SpotMarketOptions ¶ added in v0.0.329

func (o *AWSMachinePool) SpotMarketOptions() *AWSSpotMarketOptions

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

Use spot instances on this machine pool to reduce cost.

func (*AWSMachinePool) SubnetOutposts ¶ added in v0.1.395

func (o *AWSMachinePool) 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 (*AWSMachinePool) Tags ¶ added in v0.1.418

func (o *AWSMachinePool) 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 machine pool provisioner will add as AWS 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 AWSMachinePoolBuilder ¶ added in v0.0.329

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

AWSMachinePoolBuilder contains the data and logic needed to build 'AWS_machine_pool' objects.

Representation of aws machine pool specific parameters.

func NewAWSMachinePool ¶ added in v0.0.329

func NewAWSMachinePool() *AWSMachinePoolBuilder

NewAWSMachinePool creates a new builder of 'AWS_machine_pool' objects.

func (*AWSMachinePoolBuilder) AdditionalSecurityGroupIds ¶ added in v0.1.370

func (b *AWSMachinePoolBuilder) AdditionalSecurityGroupIds(values ...string) *AWSMachinePoolBuilder

AdditionalSecurityGroupIds sets the value of the 'additional_security_group_ids' attribute to the given values.

func (*AWSMachinePoolBuilder) AvailabilityZoneTypes ¶ added in v0.1.395

func (b *AWSMachinePoolBuilder) AvailabilityZoneTypes(value map[string]string) *AWSMachinePoolBuilder

AvailabilityZoneTypes sets the value of the 'availability_zone_types' attribute to the given value.

func (*AWSMachinePoolBuilder) Build ¶ added in v0.0.329

func (b *AWSMachinePoolBuilder) Build() (object *AWSMachinePool, err error)

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

func (*AWSMachinePoolBuilder) Copy ¶ added in v0.0.329

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

func (*AWSMachinePoolBuilder) Empty ¶ added in v0.0.329

func (b *AWSMachinePoolBuilder) Empty() bool

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

func (*AWSMachinePoolBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AWSMachinePoolBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

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

func (*AWSMachinePoolBuilder) SpotMarketOptions ¶ added in v0.0.329

SpotMarketOptions sets the value of the 'spot_market_options' attribute to the given value.

Spot market options for AWS machine pool.

func (*AWSMachinePoolBuilder) SubnetOutposts ¶ added in v0.1.395

func (b *AWSMachinePoolBuilder) SubnetOutposts(value map[string]string) *AWSMachinePoolBuilder

SubnetOutposts sets the value of the 'subnet_outposts' attribute to the given value.

func (*AWSMachinePoolBuilder) Tags ¶ added in v0.1.418

Tags sets the value of the 'tags' attribute to the given value.

type AWSMachinePoolList ¶ added in v0.0.329

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

AWSMachinePoolList is a list of values of the 'AWS_machine_pool' type.

func (*AWSMachinePoolList) Each ¶ added in v0.0.329

func (l *AWSMachinePoolList) Each(f func(item *AWSMachinePool) 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 (*AWSMachinePoolList) Empty ¶ added in v0.0.329

func (l *AWSMachinePoolList) Empty() bool

Empty returns true if the list is empty.

func (*AWSMachinePoolList) Get ¶ added in v0.0.329

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

func (*AWSMachinePoolList) GetHREF ¶ added in v0.0.329

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

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

func (*AWSMachinePoolList) HREF ¶ added in v0.0.329

func (l *AWSMachinePoolList) HREF() string

HREF returns the link to the list.

func (*AWSMachinePoolList) Kind ¶ added in v0.0.329

func (l *AWSMachinePoolList) Kind() string

Kind returns the name of the type of the object.

func (*AWSMachinePoolList) Len ¶ added in v0.0.329

func (l *AWSMachinePoolList) Len() int

Len returns the length of the list.

func (l *AWSMachinePoolList) Link() bool

Link returns true iif this is a link.

func (*AWSMachinePoolList) Range ¶ added in v0.0.329

func (l *AWSMachinePoolList) Range(f func(index int, item *AWSMachinePool) 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 (*AWSMachinePoolList) Slice ¶ added in v0.0.329

func (l *AWSMachinePoolList) Slice() []*AWSMachinePool

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 AWSMachinePoolListBuilder ¶ added in v0.0.329

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

AWSMachinePoolListBuilder contains the data and logic needed to build 'AWS_machine_pool' objects.

func NewAWSMachinePoolList ¶ added in v0.0.329

func NewAWSMachinePoolList() *AWSMachinePoolListBuilder

NewAWSMachinePoolList creates a new builder of 'AWS_machine_pool' objects.

func (*AWSMachinePoolListBuilder) Build ¶ added in v0.0.329

func (b *AWSMachinePoolListBuilder) Build() (list *AWSMachinePoolList, err error)

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

func (*AWSMachinePoolListBuilder) Copy ¶ added in v0.0.329

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

func (*AWSMachinePoolListBuilder) Empty ¶ added in v0.0.329

func (b *AWSMachinePoolListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSMachinePoolListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AWSNodePool ¶ added in v0.0.329

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 UnmarshalAWSNodePool ¶ added in v0.0.329

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

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

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

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) Empty ¶ added in v0.0.329

func (o *AWSNodePool) Empty() bool

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

func (*AWSNodePool) GetAdditionalSecurityGroupIds ¶ added in v0.1.402

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

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) GetHREF ¶ added in v0.0.329

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

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

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

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) GetSubnetOutposts ¶ added in v0.1.395

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

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

func (o *AWSNodePool) HREF() string

HREF returns the link to the object.

func (*AWSNodePool) ID ¶ added in v0.0.329

func (o *AWSNodePool) ID() string

ID returns the identifier of the object.

func (*AWSNodePool) InstanceProfile ¶ added in v0.0.329

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

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

func (o *AWSNodePool) Kind() string

Kind returns the name of the type of the object.

func (o *AWSNodePool) Link() bool

Link returns true iif this is a link.

func (*AWSNodePool) SubnetOutposts ¶ added in v0.1.395

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

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

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

AWSNodePoolBuilder contains the data and logic needed to build 'AWS_node_pool' objects.

Representation of aws node pool specific parameters.

func NewAWSNodePool ¶ added in v0.0.329

func NewAWSNodePool() *AWSNodePoolBuilder

NewAWSNodePool creates a new builder of 'AWS_node_pool' objects.

func (*AWSNodePoolBuilder) AdditionalSecurityGroupIds ¶ added in v0.1.402

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

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

func (b *AWSNodePoolBuilder) Build() (object *AWSNodePool, err error)

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

func (*AWSNodePoolBuilder) Copy ¶ added in v0.0.329

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

func (*AWSNodePoolBuilder) Empty ¶ added in v0.0.329

func (b *AWSNodePoolBuilder) Empty() bool

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

func (*AWSNodePoolBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AWSNodePoolBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

func (*AWSNodePoolBuilder) InstanceProfile ¶ added in v0.0.329

func (b *AWSNodePoolBuilder) InstanceProfile(value string) *AWSNodePoolBuilder

InstanceProfile sets the value of the 'instance_profile' attribute to the given value.

func (*AWSNodePoolBuilder) InstanceType ¶ added in v0.0.329

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) SubnetOutposts ¶ added in v0.1.395

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

func (b *AWSNodePoolBuilder) Tags(value map[string]string) *AWSNodePoolBuilder

Tags sets the value of the 'tags' attribute to the given value.

type AWSNodePoolList ¶ added in v0.0.329

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

AWSNodePoolList is a list of values of the 'AWS_node_pool' type.

func (*AWSNodePoolList) Each ¶ added in v0.0.329

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

func (l *AWSNodePoolList) Empty() bool

Empty returns true if the list is empty.

func (*AWSNodePoolList) Get ¶ added in v0.0.329

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

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

func (l *AWSNodePoolList) HREF() string

HREF returns the link to the list.

func (*AWSNodePoolList) Kind ¶ added in v0.0.329

func (l *AWSNodePoolList) Kind() string

Kind returns the name of the type of the object.

func (*AWSNodePoolList) Len ¶ added in v0.0.329

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

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) Slice ¶ added in v0.0.329

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

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

AWSNodePoolListBuilder contains the data and logic needed to build 'AWS_node_pool' objects.

func NewAWSNodePoolList ¶ added in v0.0.329

func NewAWSNodePoolList() *AWSNodePoolListBuilder

NewAWSNodePoolList creates a new builder of 'AWS_node_pool' objects.

func (*AWSNodePoolListBuilder) Build ¶ added in v0.0.329

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

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

func (*AWSNodePoolListBuilder) Empty ¶ added in v0.0.329

func (b *AWSNodePoolListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSNodePoolListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AWSRegionMachineTypesInquiryClient ¶ added in v0.0.329

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

AWSRegionMachineTypesInquiryClient is the client of the 'AWS_region_machine_types_inquiry' resource.

Manages machine types in region inquiry.

func NewAWSRegionMachineTypesInquiryClient ¶ added in v0.0.329

func NewAWSRegionMachineTypesInquiryClient(transport http.RoundTripper, path string) *AWSRegionMachineTypesInquiryClient

NewAWSRegionMachineTypesInquiryClient creates a new client for the 'AWS_region_machine_types_inquiry' resource using the given transport to send the requests and receive the responses.

func (*AWSRegionMachineTypesInquiryClient) Search ¶ added in v0.0.329

Search creates a request for the 'search' method.

Retrieves the list of machine types in the provided region.

type AWSRegionMachineTypesInquirySearchRequest ¶ added in v0.0.329

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

AWSRegionMachineTypesInquirySearchRequest is the request for the 'search' method.

func (*AWSRegionMachineTypesInquirySearchRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Cloud provider data needed for the inquiry

func (*AWSRegionMachineTypesInquirySearchRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*AWSRegionMachineTypesInquirySearchRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AWSRegionMachineTypesInquirySearchRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AWSRegionMachineTypesInquirySearchRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*AWSRegionMachineTypesInquirySearchRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AWSRegionMachineTypesInquirySearchRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*AWSRegionMachineTypesInquirySearchRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AWSRegionMachineTypesInquirySearchResponse ¶ added in v0.0.329

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

AWSRegionMachineTypesInquirySearchResponse is the response for the 'search' method.

func (*AWSRegionMachineTypesInquirySearchResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AWSRegionMachineTypesInquirySearchResponse) GetItems ¶ added in v0.0.329

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of machine types.

func (*AWSRegionMachineTypesInquirySearchResponse) GetPage ¶ added in v0.0.329

func (r *AWSRegionMachineTypesInquirySearchResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AWSRegionMachineTypesInquirySearchResponse) GetSize ¶ added in v0.0.329

func (r *AWSRegionMachineTypesInquirySearchResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AWSRegionMachineTypesInquirySearchResponse) GetTotal ¶ added in v0.0.329

func (r *AWSRegionMachineTypesInquirySearchResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AWSRegionMachineTypesInquirySearchResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AWSRegionMachineTypesInquirySearchResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of machine types.

func (*AWSRegionMachineTypesInquirySearchResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AWSRegionMachineTypesInquirySearchResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AWSRegionMachineTypesInquirySearchResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*AWSRegionMachineTypesInquirySearchResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type AWSSTSAccountRole ¶ added in v0.1.369

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

AWSSTSAccountRole represents the values of the 'AWSSTS_account_role' type.

Representation of an sts account role for a rosa cluster

func UnmarshalAWSSTSAccountRole ¶ added in v0.1.369

func UnmarshalAWSSTSAccountRole(source interface{}) (object *AWSSTSAccountRole, err error)

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

func UnmarshalAWSSTSAccountRoleList ¶ added in v0.1.369

func UnmarshalAWSSTSAccountRoleList(source interface{}) (items []*AWSSTSAccountRole, err error)

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

func (*AWSSTSAccountRole) Empty ¶ added in v0.1.369

func (o *AWSSTSAccountRole) Empty() bool

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

func (*AWSSTSAccountRole) GetItems ¶ added in v0.1.369

func (o *AWSSTSAccountRole) GetItems() (value []*AWSSTSRole, ok bool)

GetItems returns the value of the 'items' attribute and a flag indicating if the attribute has a value.

The list of STS Roles for this Account Role

func (*AWSSTSAccountRole) GetPrefix ¶ added in v0.1.369

func (o *AWSSTSAccountRole) GetPrefix() (value string, ok bool)

GetPrefix returns the value of the 'prefix' attribute and a flag indicating if the attribute has a value.

The Prefix for this Account Role

func (*AWSSTSAccountRole) Items ¶ added in v0.1.369

func (o *AWSSTSAccountRole) Items() []*AWSSTSRole

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

The list of STS Roles for this Account Role

func (*AWSSTSAccountRole) Prefix ¶ added in v0.1.369

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

The Prefix for this Account Role

type AWSSTSAccountRoleBuilder ¶ added in v0.1.369

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

AWSSTSAccountRoleBuilder contains the data and logic needed to build 'AWSSTS_account_role' objects.

Representation of an sts account role for a rosa cluster

func NewAWSSTSAccountRole ¶ added in v0.1.369

func NewAWSSTSAccountRole() *AWSSTSAccountRoleBuilder

NewAWSSTSAccountRole creates a new builder of 'AWSSTS_account_role' objects.

func (*AWSSTSAccountRoleBuilder) Build ¶ added in v0.1.369

func (b *AWSSTSAccountRoleBuilder) Build() (object *AWSSTSAccountRole, err error)

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

func (*AWSSTSAccountRoleBuilder) Copy ¶ added in v0.1.369

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

func (*AWSSTSAccountRoleBuilder) Empty ¶ added in v0.1.369

func (b *AWSSTSAccountRoleBuilder) Empty() bool

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

func (*AWSSTSAccountRoleBuilder) Items ¶ added in v0.1.369

Items sets the value of the 'items' attribute to the given values.

func (*AWSSTSAccountRoleBuilder) Prefix ¶ added in v0.1.369

Prefix sets the value of the 'prefix' attribute to the given value.

type AWSSTSAccountRoleList ¶ added in v0.1.369

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

AWSSTSAccountRoleList is a list of values of the 'AWSSTS_account_role' type.

func (*AWSSTSAccountRoleList) Each ¶ added in v0.1.369

func (l *AWSSTSAccountRoleList) Each(f func(item *AWSSTSAccountRole) 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 (*AWSSTSAccountRoleList) Empty ¶ added in v0.1.369

func (l *AWSSTSAccountRoleList) Empty() bool

Empty returns true if the list is empty.

func (*AWSSTSAccountRoleList) Get ¶ added in v0.1.369

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

func (*AWSSTSAccountRoleList) Len ¶ added in v0.1.369

func (l *AWSSTSAccountRoleList) Len() int

Len returns the length of the list.

func (*AWSSTSAccountRoleList) Range ¶ added in v0.1.369

func (l *AWSSTSAccountRoleList) Range(f func(index int, item *AWSSTSAccountRole) 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 (*AWSSTSAccountRoleList) Slice ¶ added in v0.1.369

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 AWSSTSAccountRoleListBuilder ¶ added in v0.1.369

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

AWSSTSAccountRoleListBuilder contains the data and logic needed to build 'AWSSTS_account_role' objects.

func NewAWSSTSAccountRoleList ¶ added in v0.1.369

func NewAWSSTSAccountRoleList() *AWSSTSAccountRoleListBuilder

NewAWSSTSAccountRoleList creates a new builder of 'AWSSTS_account_role' objects.

func (*AWSSTSAccountRoleListBuilder) Build ¶ added in v0.1.369

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

func (*AWSSTSAccountRoleListBuilder) Copy ¶ added in v0.1.369

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

func (*AWSSTSAccountRoleListBuilder) Empty ¶ added in v0.1.369

Empty returns true if the list is empty.

func (*AWSSTSAccountRoleListBuilder) Items ¶ added in v0.1.369

Items sets the items of the list.

type AWSSTSAccountRolesInquiryClient ¶ added in v0.1.369

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

AWSSTSAccountRolesInquiryClient is the client of the 'AWSSTS_account_roles_inquiry' resource.

Manages STS Roles

func NewAWSSTSAccountRolesInquiryClient ¶ added in v0.1.369

func NewAWSSTSAccountRolesInquiryClient(transport http.RoundTripper, path string) *AWSSTSAccountRolesInquiryClient

NewAWSSTSAccountRolesInquiryClient creates a new client for the 'AWSSTS_account_roles_inquiry' resource using the given transport to send the requests and receive the responses.

func (*AWSSTSAccountRolesInquiryClient) Search ¶ added in v0.1.369

Search creates a request for the 'search' method.

type AWSSTSAccountRolesInquirySearchRequest ¶ added in v0.1.369

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

AWSSTSAccountRolesInquirySearchRequest is the request for the 'search' method.

func (*AWSSTSAccountRolesInquirySearchRequest) Body ¶ added in v0.1.369

Body sets the value of the 'body' parameter.

AWS Account Details required for the inquiry

func (*AWSSTSAccountRolesInquirySearchRequest) Header ¶ added in v0.1.369

Header adds a request header.

func (*AWSSTSAccountRolesInquirySearchRequest) Impersonate ¶ added in v0.1.369

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AWSSTSAccountRolesInquirySearchRequest) Page ¶ added in v0.1.369

Page sets the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*AWSSTSAccountRolesInquirySearchRequest) Parameter ¶ added in v0.1.369

Parameter adds a query parameter.

func (*AWSSTSAccountRolesInquirySearchRequest) Send ¶ added in v0.1.369

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AWSSTSAccountRolesInquirySearchRequest) SendContext ¶ added in v0.1.369

SendContext sends this request, waits for the response, and returns it.

func (*AWSSTSAccountRolesInquirySearchRequest) Size ¶ added in v0.1.369

Size sets the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of be the total number of STS account roles.

type AWSSTSAccountRolesInquirySearchResponse ¶ added in v0.1.369

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

AWSSTSAccountRolesInquirySearchResponse is the response for the 'search' method.

func (*AWSSTSAccountRolesInquirySearchResponse) AwsAccountId ¶ added in v0.1.369

AwsAccountId returns the value of the 'aws_account_id' parameter.

The AWS Account Id for the STS Account Roles

func (*AWSSTSAccountRolesInquirySearchResponse) Error ¶ added in v0.1.369

Error returns the response error.

func (*AWSSTSAccountRolesInquirySearchResponse) GetAwsAccountId ¶ added in v0.1.369

func (r *AWSSTSAccountRolesInquirySearchResponse) GetAwsAccountId() (value string, ok bool)

GetAwsAccountId returns the value of the 'aws_account_id' parameter and a flag indicating if the parameter has a value.

The AWS Account Id for the STS Account Roles

func (*AWSSTSAccountRolesInquirySearchResponse) GetItems ¶ added in v0.1.369

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of STS Account Roles

func (*AWSSTSAccountRolesInquirySearchResponse) GetPage ¶ added in v0.1.369

func (r *AWSSTSAccountRolesInquirySearchResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*AWSSTSAccountRolesInquirySearchResponse) GetSize ¶ added in v0.1.369

func (r *AWSSTSAccountRolesInquirySearchResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of be the total number of STS account roles.

func (*AWSSTSAccountRolesInquirySearchResponse) GetTotal ¶ added in v0.1.369

func (r *AWSSTSAccountRolesInquirySearchResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of STS account roles

func (*AWSSTSAccountRolesInquirySearchResponse) Header ¶ added in v0.1.369

Header returns header of the response.

func (*AWSSTSAccountRolesInquirySearchResponse) Items ¶ added in v0.1.369

Items returns the value of the 'items' parameter.

Retrieved list of STS Account Roles

func (*AWSSTSAccountRolesInquirySearchResponse) Page ¶ added in v0.1.369

Page returns the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*AWSSTSAccountRolesInquirySearchResponse) Size ¶ added in v0.1.369

Size returns the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of be the total number of STS account roles.

func (*AWSSTSAccountRolesInquirySearchResponse) Status ¶ added in v0.1.369

Status returns the response status code.

func (*AWSSTSAccountRolesInquirySearchResponse) Total ¶ added in v0.1.369

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of STS account roles

type AWSSTSPoliciesInquiryClient ¶ added in v0.0.329

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

AWSSTSPoliciesInquiryClient is the client of the 'AWSSTS_policies_inquiry' resource.

Manages STS policies

func NewAWSSTSPoliciesInquiryClient ¶ added in v0.0.329

func NewAWSSTSPoliciesInquiryClient(transport http.RoundTripper, path string) *AWSSTSPoliciesInquiryClient

NewAWSSTSPoliciesInquiryClient creates a new client for the 'AWSSTS_policies_inquiry' resource using the given transport to send the requests and receive the responses.

func (*AWSSTSPoliciesInquiryClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of policies.

type AWSSTSPoliciesInquiryListRequest ¶ added in v0.0.329

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

AWSSTSPoliciesInquiryListRequest is the request for the 'list' method.

func (*AWSSTSPoliciesInquiryListRequest) Header ¶ added in v0.0.329

func (r *AWSSTSPoliciesInquiryListRequest) Header(name string, value interface{}) *AWSSTSPoliciesInquiryListRequest

Header adds a request header.

func (*AWSSTSPoliciesInquiryListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AWSSTSPoliciesInquiryListRequest) Order ¶ added in v0.0.329

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the awsstspolicies instead of the names of the columns of a table. For example, in order to sort the policies descending by operator type identifier the value should be:

```sql orderBy id desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AWSSTSPoliciesInquiryListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AWSSTSPoliciesInquiryListRequest) Parameter ¶ added in v0.0.329

func (r *AWSSTSPoliciesInquiryListRequest) Parameter(name string, value interface{}) *AWSSTSPoliciesInquiryListRequest

Parameter adds a query parameter.

func (*AWSSTSPoliciesInquiryListRequest) Search ¶ added in v0.0.329

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the awsstspolicies instead of the names of the columns of a table. For example, in order to retrieve all the policies of type `operatorrole` should be:

```sql policy_type like 'OperatorRole%' ```

If the parameter isn't provided, or if the value is empty, then all the policies will be returned.

func (*AWSSTSPoliciesInquiryListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AWSSTSPoliciesInquiryListRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*AWSSTSPoliciesInquiryListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AWSSTSPoliciesInquiryListResponse ¶ added in v0.0.329

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

AWSSTSPoliciesInquiryListResponse is the response for the 'list' method.

func (*AWSSTSPoliciesInquiryListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AWSSTSPoliciesInquiryListResponse) GetItems ¶ added in v0.0.329

func (r *AWSSTSPoliciesInquiryListResponse) GetItems() (value *AWSSTSPolicyList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of policies.

func (*AWSSTSPoliciesInquiryListResponse) GetPage ¶ added in v0.0.329

func (r *AWSSTSPoliciesInquiryListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AWSSTSPoliciesInquiryListResponse) GetSize ¶ added in v0.0.329

func (r *AWSSTSPoliciesInquiryListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AWSSTSPoliciesInquiryListResponse) GetTotal ¶ added in v0.0.329

func (r *AWSSTSPoliciesInquiryListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AWSSTSPoliciesInquiryListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AWSSTSPoliciesInquiryListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of policies.

func (*AWSSTSPoliciesInquiryListResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AWSSTSPoliciesInquiryListResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AWSSTSPoliciesInquiryListResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*AWSSTSPoliciesInquiryListResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type AWSSTSPolicy ¶ added in v0.0.329

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

AWSSTSPolicy represents the values of the 'AWSSTS_policy' type.

Representation of an sts policies for rosa cluster

func UnmarshalAWSSTSPolicy ¶ added in v0.0.329

func UnmarshalAWSSTSPolicy(source interface{}) (object *AWSSTSPolicy, err error)

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

func UnmarshalAWSSTSPolicyList ¶ added in v0.0.329

func UnmarshalAWSSTSPolicyList(source interface{}) (items []*AWSSTSPolicy, err error)

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

func (*AWSSTSPolicy) ARN ¶ added in v0.0.329

func (o *AWSSTSPolicy) ARN() string

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

The ARN of the managed policy

func (*AWSSTSPolicy) Details ¶ added in v0.0.329

func (o *AWSSTSPolicy) Details() string

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

Policy Details

func (*AWSSTSPolicy) Empty ¶ added in v0.0.329

func (o *AWSSTSPolicy) Empty() bool

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

func (*AWSSTSPolicy) GetARN ¶ added in v0.0.329

func (o *AWSSTSPolicy) GetARN() (value string, ok bool)

GetARN returns the value of the 'ARN' attribute and a flag indicating if the attribute has a value.

The ARN of the managed policy

func (*AWSSTSPolicy) GetDetails ¶ added in v0.0.329

func (o *AWSSTSPolicy) GetDetails() (value string, ok bool)

GetDetails returns the value of the 'details' attribute and a flag indicating if the attribute has a value.

Policy Details

func (*AWSSTSPolicy) GetID ¶ added in v0.0.329

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

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

Policy ID

func (*AWSSTSPolicy) GetType ¶ added in v0.0.329

func (o *AWSSTSPolicy) 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 policy operator/account role

func (*AWSSTSPolicy) ID ¶ added in v0.0.329

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

Policy ID

func (*AWSSTSPolicy) Type ¶ added in v0.0.329

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

Type of policy operator/account role

type AWSSTSPolicyBuilder ¶ added in v0.0.329

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

AWSSTSPolicyBuilder contains the data and logic needed to build 'AWSSTS_policy' objects.

Representation of an sts policies for rosa cluster

func NewAWSSTSPolicy ¶ added in v0.0.329

func NewAWSSTSPolicy() *AWSSTSPolicyBuilder

NewAWSSTSPolicy creates a new builder of 'AWSSTS_policy' objects.

func (*AWSSTSPolicyBuilder) ARN ¶ added in v0.0.329

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

func (*AWSSTSPolicyBuilder) Build ¶ added in v0.0.329

func (b *AWSSTSPolicyBuilder) Build() (object *AWSSTSPolicy, err error)

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

func (*AWSSTSPolicyBuilder) Copy ¶ added in v0.0.329

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

func (*AWSSTSPolicyBuilder) Details ¶ added in v0.0.329

func (b *AWSSTSPolicyBuilder) Details(value string) *AWSSTSPolicyBuilder

Details sets the value of the 'details' attribute to the given value.

func (*AWSSTSPolicyBuilder) Empty ¶ added in v0.0.329

func (b *AWSSTSPolicyBuilder) Empty() bool

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

func (*AWSSTSPolicyBuilder) ID ¶ added in v0.0.329

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

func (*AWSSTSPolicyBuilder) Type ¶ added in v0.0.329

Type sets the value of the 'type' attribute to the given value.

type AWSSTSPolicyList ¶ added in v0.0.329

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

AWSSTSPolicyList is a list of values of the 'AWSSTS_policy' type.

func (*AWSSTSPolicyList) Each ¶ added in v0.0.329

func (l *AWSSTSPolicyList) Each(f func(item *AWSSTSPolicy) 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 (*AWSSTSPolicyList) Empty ¶ added in v0.0.329

func (l *AWSSTSPolicyList) Empty() bool

Empty returns true if the list is empty.

func (*AWSSTSPolicyList) Get ¶ added in v0.0.329

func (l *AWSSTSPolicyList) Get(i int) *AWSSTSPolicy

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

func (*AWSSTSPolicyList) Len ¶ added in v0.0.329

func (l *AWSSTSPolicyList) Len() int

Len returns the length of the list.

func (*AWSSTSPolicyList) Range ¶ added in v0.0.329

func (l *AWSSTSPolicyList) Range(f func(index int, item *AWSSTSPolicy) 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 (*AWSSTSPolicyList) Slice ¶ added in v0.0.329

func (l *AWSSTSPolicyList) Slice() []*AWSSTSPolicy

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 AWSSTSPolicyListBuilder ¶ added in v0.0.329

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

AWSSTSPolicyListBuilder contains the data and logic needed to build 'AWSSTS_policy' objects.

func NewAWSSTSPolicyList ¶ added in v0.0.329

func NewAWSSTSPolicyList() *AWSSTSPolicyListBuilder

NewAWSSTSPolicyList creates a new builder of 'AWSSTS_policy' objects.

func (*AWSSTSPolicyListBuilder) Build ¶ added in v0.0.329

func (b *AWSSTSPolicyListBuilder) Build() (list *AWSSTSPolicyList, err error)

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

func (*AWSSTSPolicyListBuilder) Copy ¶ added in v0.0.329

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

func (*AWSSTSPolicyListBuilder) Empty ¶ added in v0.0.329

func (b *AWSSTSPolicyListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSSTSPolicyListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AWSSTSRole ¶ added in v0.1.369

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

AWSSTSRole represents the values of the 'AWSSTS_role' type.

Representation of an sts role for a rosa cluster

func UnmarshalAWSSTSRole ¶ added in v0.1.369

func UnmarshalAWSSTSRole(source interface{}) (object *AWSSTSRole, err error)

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

func UnmarshalAWSSTSRoleList ¶ added in v0.1.369

func UnmarshalAWSSTSRoleList(source interface{}) (items []*AWSSTSRole, err error)

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

func (*AWSSTSRole) Empty ¶ added in v0.1.369

func (o *AWSSTSRole) Empty() bool

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

func (*AWSSTSRole) GetHcpManagedPolicies ¶ added in v0.1.369

func (o *AWSSTSRole) GetHcpManagedPolicies() (value bool, ok bool)

GetHcpManagedPolicies returns the value of the 'hcp_managed_policies' attribute and a flag indicating if the attribute has a value.

Does this Role have HCP Managed Policies?

func (*AWSSTSRole) GetIsAdmin ¶ added in v0.1.369

func (o *AWSSTSRole) GetIsAdmin() (value bool, ok bool)

GetIsAdmin returns the value of the 'is_admin' attribute and a flag indicating if the attribute has a value.

Does this role have Admin permission?

func (*AWSSTSRole) GetManagedPolicies ¶ added in v0.1.369

func (o *AWSSTSRole) GetManagedPolicies() (value bool, ok bool)

GetManagedPolicies returns the value of the 'managed_policies' attribute and a flag indicating if the attribute has a value.

Does this Role have Managed Policies?

func (*AWSSTSRole) GetRoleARN ¶ added in v0.1.369

func (o *AWSSTSRole) 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 for this Role

func (*AWSSTSRole) GetRoleType ¶ added in v0.1.369

func (o *AWSSTSRole) GetRoleType() (value string, ok bool)

GetRoleType returns the value of the 'role_type' attribute and a flag indicating if the attribute has a value.

The type of this Role

func (*AWSSTSRole) GetRoleVersion ¶ added in v0.1.369

func (o *AWSSTSRole) GetRoleVersion() (value string, ok bool)

GetRoleVersion returns the value of the 'role_version' attribute and a flag indicating if the attribute has a value.

The Openshift Version for this Role

func (*AWSSTSRole) HcpManagedPolicies ¶ added in v0.1.369

func (o *AWSSTSRole) HcpManagedPolicies() bool

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

Does this Role have HCP Managed Policies?

func (*AWSSTSRole) IsAdmin ¶ added in v0.1.369

func (o *AWSSTSRole) IsAdmin() bool

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

Does this role have Admin permission?

func (*AWSSTSRole) ManagedPolicies ¶ added in v0.1.369

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

Does this Role have Managed Policies?

func (*AWSSTSRole) RoleARN ¶ added in v0.1.369

func (o *AWSSTSRole) 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 for this Role

func (*AWSSTSRole) RoleType ¶ added in v0.1.369

func (o *AWSSTSRole) RoleType() string

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

The type of this Role

func (*AWSSTSRole) RoleVersion ¶ added in v0.1.369

func (o *AWSSTSRole) RoleVersion() string

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

The Openshift Version for this Role

type AWSSTSRoleBuilder ¶ added in v0.1.369

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

AWSSTSRoleBuilder contains the data and logic needed to build 'AWSSTS_role' objects.

Representation of an sts role for a rosa cluster

func NewAWSSTSRole ¶ added in v0.1.369

func NewAWSSTSRole() *AWSSTSRoleBuilder

NewAWSSTSRole creates a new builder of 'AWSSTS_role' objects.

func (*AWSSTSRoleBuilder) Build ¶ added in v0.1.369

func (b *AWSSTSRoleBuilder) Build() (object *AWSSTSRole, err error)

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

func (*AWSSTSRoleBuilder) Copy ¶ added in v0.1.369

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

func (*AWSSTSRoleBuilder) Empty ¶ added in v0.1.369

func (b *AWSSTSRoleBuilder) Empty() bool

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

func (*AWSSTSRoleBuilder) HcpManagedPolicies ¶ added in v0.1.369

func (b *AWSSTSRoleBuilder) HcpManagedPolicies(value bool) *AWSSTSRoleBuilder

HcpManagedPolicies sets the value of the 'hcp_managed_policies' attribute to the given value.

func (*AWSSTSRoleBuilder) IsAdmin ¶ added in v0.1.369

func (b *AWSSTSRoleBuilder) IsAdmin(value bool) *AWSSTSRoleBuilder

IsAdmin sets the value of the 'is_admin' attribute to the given value.

func (*AWSSTSRoleBuilder) ManagedPolicies ¶ added in v0.1.369

func (b *AWSSTSRoleBuilder) ManagedPolicies(value bool) *AWSSTSRoleBuilder

ManagedPolicies sets the value of the 'managed_policies' attribute to the given value.

func (*AWSSTSRoleBuilder) RoleARN ¶ added in v0.1.369

func (b *AWSSTSRoleBuilder) RoleARN(value string) *AWSSTSRoleBuilder

RoleARN sets the value of the 'role_ARN' attribute to the given value.

func (*AWSSTSRoleBuilder) RoleType ¶ added in v0.1.369

func (b *AWSSTSRoleBuilder) RoleType(value string) *AWSSTSRoleBuilder

RoleType sets the value of the 'role_type' attribute to the given value.

func (*AWSSTSRoleBuilder) RoleVersion ¶ added in v0.1.369

func (b *AWSSTSRoleBuilder) RoleVersion(value string) *AWSSTSRoleBuilder

RoleVersion sets the value of the 'role_version' attribute to the given value.

type AWSSTSRoleList ¶ added in v0.1.369

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

AWSSTSRoleList is a list of values of the 'AWSSTS_role' type.

func (*AWSSTSRoleList) Each ¶ added in v0.1.369

func (l *AWSSTSRoleList) Each(f func(item *AWSSTSRole) 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 (*AWSSTSRoleList) Empty ¶ added in v0.1.369

func (l *AWSSTSRoleList) Empty() bool

Empty returns true if the list is empty.

func (*AWSSTSRoleList) Get ¶ added in v0.1.369

func (l *AWSSTSRoleList) Get(i int) *AWSSTSRole

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

func (*AWSSTSRoleList) Len ¶ added in v0.1.369

func (l *AWSSTSRoleList) Len() int

Len returns the length of the list.

func (*AWSSTSRoleList) Range ¶ added in v0.1.369

func (l *AWSSTSRoleList) Range(f func(index int, item *AWSSTSRole) 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 (*AWSSTSRoleList) Slice ¶ added in v0.1.369

func (l *AWSSTSRoleList) Slice() []*AWSSTSRole

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 AWSSTSRoleListBuilder ¶ added in v0.1.369

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

AWSSTSRoleListBuilder contains the data and logic needed to build 'AWSSTS_role' objects.

func NewAWSSTSRoleList ¶ added in v0.1.369

func NewAWSSTSRoleList() *AWSSTSRoleListBuilder

NewAWSSTSRoleList creates a new builder of 'AWSSTS_role' objects.

func (*AWSSTSRoleListBuilder) Build ¶ added in v0.1.369

func (b *AWSSTSRoleListBuilder) Build() (list *AWSSTSRoleList, err error)

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

func (*AWSSTSRoleListBuilder) Copy ¶ added in v0.1.369

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

func (*AWSSTSRoleListBuilder) Empty ¶ added in v0.1.369

func (b *AWSSTSRoleListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSSTSRoleListBuilder) Items ¶ added in v0.1.369

Items sets the items of the list.

type AWSSpotMarketOptions ¶ added in v0.0.329

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

AWSSpotMarketOptions represents the values of the 'AWS_spot_market_options' type.

Spot market options for AWS machine pool.

func UnmarshalAWSSpotMarketOptions ¶ added in v0.0.329

func UnmarshalAWSSpotMarketOptions(source interface{}) (object *AWSSpotMarketOptions, err error)

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

func UnmarshalAWSSpotMarketOptionsList ¶ added in v0.0.329

func UnmarshalAWSSpotMarketOptionsList(source interface{}) (items []*AWSSpotMarketOptions, err error)

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

func (*AWSSpotMarketOptions) Empty ¶ added in v0.0.329

func (o *AWSSpotMarketOptions) Empty() bool

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

func (*AWSSpotMarketOptions) GetHREF ¶ added in v0.0.329

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

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

func (*AWSSpotMarketOptions) GetID ¶ added in v0.0.329

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

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

func (*AWSSpotMarketOptions) GetMaxPrice ¶ added in v0.0.329

func (o *AWSSpotMarketOptions) GetMaxPrice() (value float64, ok bool)

GetMaxPrice returns the value of the 'max_price' attribute and a flag indicating if the attribute has a value.

The max price for spot instance. Optional. If not set, use the on-demand price.

func (*AWSSpotMarketOptions) HREF ¶ added in v0.0.329

func (o *AWSSpotMarketOptions) HREF() string

HREF returns the link to the object.

func (*AWSSpotMarketOptions) ID ¶ added in v0.0.329

func (o *AWSSpotMarketOptions) ID() string

ID returns the identifier of the object.

func (*AWSSpotMarketOptions) Kind ¶ added in v0.0.329

func (o *AWSSpotMarketOptions) Kind() string

Kind returns the name of the type of the object.

func (o *AWSSpotMarketOptions) Link() bool

Link returns true iif this is a link.

func (*AWSSpotMarketOptions) MaxPrice ¶ added in v0.0.329

func (o *AWSSpotMarketOptions) MaxPrice() float64

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

The max price for spot instance. Optional. If not set, use the on-demand price.

type AWSSpotMarketOptionsBuilder ¶ added in v0.0.329

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

AWSSpotMarketOptionsBuilder contains the data and logic needed to build 'AWS_spot_market_options' objects.

Spot market options for AWS machine pool.

func NewAWSSpotMarketOptions ¶ added in v0.0.329

func NewAWSSpotMarketOptions() *AWSSpotMarketOptionsBuilder

NewAWSSpotMarketOptions creates a new builder of 'AWS_spot_market_options' objects.

func (*AWSSpotMarketOptionsBuilder) Build ¶ added in v0.0.329

func (b *AWSSpotMarketOptionsBuilder) Build() (object *AWSSpotMarketOptions, err error)

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

func (*AWSSpotMarketOptionsBuilder) Copy ¶ added in v0.0.329

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

func (*AWSSpotMarketOptionsBuilder) Empty ¶ added in v0.0.329

func (b *AWSSpotMarketOptionsBuilder) Empty() bool

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

func (*AWSSpotMarketOptionsBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AWSSpotMarketOptionsBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

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

func (*AWSSpotMarketOptionsBuilder) MaxPrice ¶ added in v0.0.329

MaxPrice sets the value of the 'max_price' attribute to the given value.

type AWSSpotMarketOptionsList ¶ added in v0.0.329

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

AWSSpotMarketOptionsList is a list of values of the 'AWS_spot_market_options' type.

func (*AWSSpotMarketOptionsList) Each ¶ added in v0.0.329

func (l *AWSSpotMarketOptionsList) Each(f func(item *AWSSpotMarketOptions) 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 (*AWSSpotMarketOptionsList) Empty ¶ added in v0.0.329

func (l *AWSSpotMarketOptionsList) Empty() bool

Empty returns true if the list is empty.

func (*AWSSpotMarketOptionsList) Get ¶ added in v0.0.329

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

func (*AWSSpotMarketOptionsList) GetHREF ¶ added in v0.0.329

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

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

func (*AWSSpotMarketOptionsList) HREF ¶ added in v0.0.329

func (l *AWSSpotMarketOptionsList) HREF() string

HREF returns the link to the list.

func (*AWSSpotMarketOptionsList) Kind ¶ added in v0.0.329

func (l *AWSSpotMarketOptionsList) Kind() string

Kind returns the name of the type of the object.

func (*AWSSpotMarketOptionsList) Len ¶ added in v0.0.329

func (l *AWSSpotMarketOptionsList) Len() int

Len returns the length of the list.

func (l *AWSSpotMarketOptionsList) Link() bool

Link returns true iif this is a link.

func (*AWSSpotMarketOptionsList) Range ¶ added in v0.0.329

func (l *AWSSpotMarketOptionsList) Range(f func(index int, item *AWSSpotMarketOptions) 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 (*AWSSpotMarketOptionsList) Slice ¶ added in v0.0.329

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 AWSSpotMarketOptionsListBuilder ¶ added in v0.0.329

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

AWSSpotMarketOptionsListBuilder contains the data and logic needed to build 'AWS_spot_market_options' objects.

func NewAWSSpotMarketOptionsList ¶ added in v0.0.329

func NewAWSSpotMarketOptionsList() *AWSSpotMarketOptionsListBuilder

NewAWSSpotMarketOptionsList creates a new builder of 'AWS_spot_market_options' objects.

func (*AWSSpotMarketOptionsListBuilder) Build ¶ added in v0.0.329

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

func (*AWSSpotMarketOptionsListBuilder) Copy ¶ added in v0.0.329

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

func (*AWSSpotMarketOptionsListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AWSSpotMarketOptionsListBuilder) Items ¶ added in v0.0.329

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

func UnmarshalAWSVolume(source interface{}) (object *AWSVolume, err error)

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

func UnmarshalAWSVolumeList ¶

func UnmarshalAWSVolumeList(source interface{}) (items []*AWSVolume, err error)

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

func (*AWSVolume) Empty ¶

func (o *AWSVolume) Empty() bool

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

func (*AWSVolume) GetIOPS ¶

func (o *AWSVolume) GetIOPS() (value int, ok bool)

GetIOPS returns the value of the 'IOPS' attribute and a flag indicating if the attribute has a value.

Volume provisioned IOPS.

func (*AWSVolume) GetSize ¶

func (o *AWSVolume) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' attribute and a flag indicating if the attribute has a value.

Volume size in Gib.

func (*AWSVolume) IOPS ¶

func (o *AWSVolume) IOPS() int

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

Volume provisioned IOPS.

func (*AWSVolume) Size ¶

func (o *AWSVolume) Size() int

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

Volume size in Gib.

type AWSVolumeBuilder ¶

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

AWSVolumeBuilder contains the data and logic needed to build 'AWS_volume' objects.

Holds settings for an AWS storage volume.

func NewAWSVolume ¶

func NewAWSVolume() *AWSVolumeBuilder

NewAWSVolume creates a new builder of 'AWS_volume' objects.

func (*AWSVolumeBuilder) Build ¶

func (b *AWSVolumeBuilder) Build() (object *AWSVolume, err error)

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

func (*AWSVolumeBuilder) Copy ¶

func (b *AWSVolumeBuilder) Copy(object *AWSVolume) *AWSVolumeBuilder

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

func (*AWSVolumeBuilder) Empty ¶ added in v0.0.329

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

func (b *AWSVolumeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSVolumeListBuilder) Items ¶

Items sets the items of the list.

type AddOn ¶

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

AddOn represents the values of the 'add_on' type.

Representation of an add-on that can be installed in a cluster.

func UnmarshalAddOn ¶

func UnmarshalAddOn(source interface{}) (object *AddOn, err error)

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

func UnmarshalAddOnList ¶

func UnmarshalAddOnList(source interface{}) (items []*AddOn, err error)

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

func (*AddOn) CommonAnnotations ¶ added in v0.0.329

func (o *AddOn) CommonAnnotations() map[string]string

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

Common annotations to be applied to all resources created by this addon.

func (*AddOn) CommonLabels ¶ added in v0.0.329

func (o *AddOn) CommonLabels() map[string]string

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

Common labels to be applied to all resources created by this addon.

func (*AddOn) Config ¶ added in v0.0.329

func (o *AddOn) Config() *AddOnConfig

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

Additional configs to be used by the addon once its installed in the cluster.

func (*AddOn) CredentialsRequests ¶ added in v0.0.329

func (o *AddOn) CredentialsRequests() []*CredentialRequest

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

List of credentials requests to authenticate operators to access cloud resources.

func (*AddOn) Description ¶

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

Description of the add-on.

func (o *AddOn) DocsLink() string

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

Link to documentation about the add-on.

func (*AddOn) Empty ¶

func (o *AddOn) Empty() bool

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

func (*AddOn) Enabled ¶

func (o *AddOn) 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 add-on can be added to clusters.

func (*AddOn) GetCommonAnnotations ¶ added in v0.0.329

func (o *AddOn) GetCommonAnnotations() (value map[string]string, ok bool)

GetCommonAnnotations returns the value of the 'common_annotations' attribute and a flag indicating if the attribute has a value.

Common annotations to be applied to all resources created by this addon.

func (*AddOn) GetCommonLabels ¶ added in v0.0.329

func (o *AddOn) GetCommonLabels() (value map[string]string, ok bool)

GetCommonLabels returns the value of the 'common_labels' attribute and a flag indicating if the attribute has a value.

Common labels to be applied to all resources created by this addon.

func (*AddOn) GetConfig ¶ added in v0.0.329

func (o *AddOn) GetConfig() (value *AddOnConfig, ok bool)

GetConfig returns the value of the 'config' attribute and a flag indicating if the attribute has a value.

Additional configs to be used by the addon once its installed in the cluster.

func (*AddOn) GetCredentialsRequests ¶ added in v0.0.329

func (o *AddOn) GetCredentialsRequests() (value []*CredentialRequest, ok bool)

GetCredentialsRequests returns the value of the 'credentials_requests' attribute and a flag indicating if the attribute has a value.

List of credentials requests to authenticate operators to access cloud resources.

func (*AddOn) GetDescription ¶

func (o *AddOn) GetDescription() (value string, ok bool)

GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.

Description of the add-on.

func (o *AddOn) GetDocsLink() (value string, ok bool)

GetDocsLink returns the value of the 'docs_link' attribute and a flag indicating if the attribute has a value.

Link to documentation about the add-on.

func (*AddOn) GetEnabled ¶

func (o *AddOn) 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 add-on can be added to clusters.

func (*AddOn) GetHREF ¶

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

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

func (*AddOn) GetHasExternalResources ¶ added in v0.0.329

func (o *AddOn) GetHasExternalResources() (value bool, ok bool)

GetHasExternalResources returns the value of the 'has_external_resources' attribute and a flag indicating if the attribute has a value.

Indicates if this add-on has external resources associated with it

func (*AddOn) GetHidden ¶ added in v0.0.329

func (o *AddOn) GetHidden() (value bool, ok bool)

GetHidden returns the value of the 'hidden' attribute and a flag indicating if the attribute has a value.

Indicates if this add-on is hidden.

func (*AddOn) GetID ¶

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

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

func (*AddOn) GetIcon ¶

func (o *AddOn) GetIcon() (value string, ok bool)

GetIcon returns the value of the 'icon' attribute and a flag indicating if the attribute has a value.

Base64-encoded icon representing an add-on. The icon should be in PNG format.

func (*AddOn) GetInstallMode ¶

func (o *AddOn) GetInstallMode() (value AddOnInstallMode, ok bool)

GetInstallMode returns the value of the 'install_mode' attribute and a flag indicating if the attribute has a value.

The mode in which the addon is deployed.

func (*AddOn) GetLabel ¶

func (o *AddOn) GetLabel() (value string, ok bool)

GetLabel returns the value of the 'label' attribute and a flag indicating if the attribute has a value.

Label used to attach to a cluster deployment when add-on is installed.

func (*AddOn) GetManagedService ¶ added in v0.0.329

func (o *AddOn) GetManagedService() (value bool, ok bool)

GetManagedService returns the value of the 'managed_service' attribute and a flag indicating if the attribute has a value.

Indicates if add-on is part of a managed service

func (*AddOn) GetName ¶

func (o *AddOn) 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 add-on.

func (*AddOn) GetNamespaces ¶ added in v0.0.329

func (o *AddOn) GetNamespaces() (value []*AddOnNamespace, ok bool)

GetNamespaces returns the value of the 'namespaces' attribute and a flag indicating if the attribute has a value.

Namespaces which are required by this addon.

func (*AddOn) GetOperatorName ¶

func (o *AddOn) 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 operator installed by this add-on.

func (*AddOn) GetParameters ¶ added in v0.0.329

func (o *AddOn) GetParameters() (value *AddOnParameterList, ok bool)

GetParameters returns the value of the 'parameters' attribute and a flag indicating if the attribute has a value.

List of parameters for this add-on.

func (*AddOn) GetRequirements ¶ added in v0.0.329

func (o *AddOn) GetRequirements() (value []*AddOnRequirement, ok bool)

GetRequirements returns the value of the 'requirements' attribute and a flag indicating if the attribute has a value.

List of requirements for this add-on.

func (*AddOn) GetResourceCost ¶

func (o *AddOn) GetResourceCost() (value float64, ok bool)

GetResourceCost returns the value of the 'resource_cost' attribute and a flag indicating if the attribute has a value.

Used to determine how many units of quota an add-on consumes per resource name.

func (*AddOn) GetResourceName ¶

func (o *AddOn) GetResourceName() (value string, ok bool)

GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.

Used to determine from where to reserve quota for this add-on.

func (*AddOn) GetSubOperators ¶ added in v0.0.329

func (o *AddOn) GetSubOperators() (value []*AddOnSubOperator, ok bool)

GetSubOperators returns the value of the 'sub_operators' attribute and a flag indicating if the attribute has a value.

List of sub operators for this add-on.

func (*AddOn) GetTargetNamespace ¶

func (o *AddOn) GetTargetNamespace() (value string, ok bool)

GetTargetNamespace returns the value of the 'target_namespace' attribute and a flag indicating if the attribute has a value.

The namespace in which the addon CRD exists.

func (*AddOn) GetVersion ¶ added in v0.0.329

func (o *AddOn) GetVersion() (value *AddOnVersion, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

Link to the current default version of this add-on.

func (*AddOn) HREF ¶

func (o *AddOn) HREF() string

HREF returns the link to the object.

func (*AddOn) HasExternalResources ¶ added in v0.0.329

func (o *AddOn) HasExternalResources() bool

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

Indicates if this add-on has external resources associated with it

func (*AddOn) Hidden ¶ added in v0.0.329

func (o *AddOn) Hidden() bool

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

Indicates if this add-on is hidden.

func (*AddOn) ID ¶

func (o *AddOn) ID() string

ID returns the identifier of the object.

func (*AddOn) Icon ¶

func (o *AddOn) Icon() string

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

Base64-encoded icon representing an add-on. The icon should be in PNG format.

func (*AddOn) InstallMode ¶

func (o *AddOn) InstallMode() AddOnInstallMode

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

The mode in which the addon is deployed.

func (*AddOn) Kind ¶

func (o *AddOn) Kind() string

Kind returns the name of the type of the object.

func (*AddOn) Label ¶

func (o *AddOn) Label() string

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

Label used to attach to a cluster deployment when add-on is installed.

func (o *AddOn) Link() bool

Link returns true iif this is a link.

func (*AddOn) ManagedService ¶ added in v0.0.329

func (o *AddOn) ManagedService() bool

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

Indicates if add-on is part of a managed service

func (*AddOn) Name ¶

func (o *AddOn) 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 add-on.

func (*AddOn) Namespaces ¶ added in v0.0.329

func (o *AddOn) Namespaces() []*AddOnNamespace

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

Namespaces which are required by this addon.

func (*AddOn) OperatorName ¶

func (o *AddOn) 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 operator installed by this add-on.

func (*AddOn) Parameters ¶ added in v0.0.329

func (o *AddOn) Parameters() *AddOnParameterList

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

List of parameters for this add-on.

func (*AddOn) Requirements ¶ added in v0.0.329

func (o *AddOn) Requirements() []*AddOnRequirement

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

List of requirements for this add-on.

func (*AddOn) ResourceCost ¶

func (o *AddOn) ResourceCost() float64

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

Used to determine how many units of quota an add-on consumes per resource name.

func (*AddOn) ResourceName ¶

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

Used to determine from where to reserve quota for this add-on.

func (*AddOn) SubOperators ¶ added in v0.0.329

func (o *AddOn) SubOperators() []*AddOnSubOperator

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

List of sub operators for this add-on.

func (*AddOn) TargetNamespace ¶

func (o *AddOn) TargetNamespace() string

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

The namespace in which the addon CRD exists.

func (*AddOn) Version ¶ added in v0.0.329

func (o *AddOn) Version() *AddOnVersion

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 current default version of this add-on.

type AddOnBuilder ¶

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

AddOnBuilder contains the data and logic needed to build 'add_on' objects.

Representation of an add-on that can be installed in a cluster.

func NewAddOn ¶

func NewAddOn() *AddOnBuilder

NewAddOn creates a new builder of 'add_on' objects.

func (*AddOnBuilder) Build ¶

func (b *AddOnBuilder) Build() (object *AddOn, err error)

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

func (*AddOnBuilder) CommonAnnotations ¶ added in v0.0.329

func (b *AddOnBuilder) CommonAnnotations(value map[string]string) *AddOnBuilder

CommonAnnotations sets the value of the 'common_annotations' attribute to the given value.

func (*AddOnBuilder) CommonLabels ¶ added in v0.0.329

func (b *AddOnBuilder) CommonLabels(value map[string]string) *AddOnBuilder

CommonLabels sets the value of the 'common_labels' attribute to the given value.

func (*AddOnBuilder) Config ¶ added in v0.0.329

func (b *AddOnBuilder) Config(value *AddOnConfigBuilder) *AddOnBuilder

Config sets the value of the 'config' attribute to the given value.

Representation of an add-on config. The attributes under it are to be used by the addon once its installed in the cluster.

func (*AddOnBuilder) Copy ¶

func (b *AddOnBuilder) Copy(object *AddOn) *AddOnBuilder

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

func (*AddOnBuilder) CredentialsRequests ¶ added in v0.0.329

func (b *AddOnBuilder) CredentialsRequests(values ...*CredentialRequestBuilder) *AddOnBuilder

CredentialsRequests sets the value of the 'credentials_requests' attribute to the given values.

func (*AddOnBuilder) Description ¶

func (b *AddOnBuilder) Description(value string) *AddOnBuilder

Description sets the value of the 'description' attribute to the given value.

func (b *AddOnBuilder) DocsLink(value string) *AddOnBuilder

DocsLink sets the value of the 'docs_link' attribute to the given value.

func (*AddOnBuilder) Empty ¶ added in v0.0.329

func (b *AddOnBuilder) Empty() bool

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

func (*AddOnBuilder) Enabled ¶

func (b *AddOnBuilder) Enabled(value bool) *AddOnBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddOnBuilder) HREF ¶

func (b *AddOnBuilder) HREF(value string) *AddOnBuilder

HREF sets the link to the object.

func (*AddOnBuilder) HasExternalResources ¶ added in v0.0.329

func (b *AddOnBuilder) HasExternalResources(value bool) *AddOnBuilder

HasExternalResources sets the value of the 'has_external_resources' attribute to the given value.

func (*AddOnBuilder) Hidden ¶ added in v0.0.329

func (b *AddOnBuilder) Hidden(value bool) *AddOnBuilder

Hidden sets the value of the 'hidden' attribute to the given value.

func (*AddOnBuilder) ID ¶

func (b *AddOnBuilder) ID(value string) *AddOnBuilder

ID sets the identifier of the object.

func (*AddOnBuilder) Icon ¶

func (b *AddOnBuilder) Icon(value string) *AddOnBuilder

Icon sets the value of the 'icon' attribute to the given value.

func (*AddOnBuilder) InstallMode ¶

func (b *AddOnBuilder) InstallMode(value AddOnInstallMode) *AddOnBuilder

InstallMode sets the value of the 'install_mode' attribute to the given value.

Representation of an add-on InstallMode field.

func (*AddOnBuilder) Label ¶

func (b *AddOnBuilder) Label(value string) *AddOnBuilder

Label sets the value of the 'label' attribute to the given value.

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

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

func (*AddOnBuilder) ManagedService ¶ added in v0.0.329

func (b *AddOnBuilder) ManagedService(value bool) *AddOnBuilder

ManagedService sets the value of the 'managed_service' attribute to the given value.

func (*AddOnBuilder) Name ¶

func (b *AddOnBuilder) Name(value string) *AddOnBuilder

Name sets the value of the 'name' attribute to the given value.

func (*AddOnBuilder) Namespaces ¶ added in v0.0.329

func (b *AddOnBuilder) Namespaces(values ...*AddOnNamespaceBuilder) *AddOnBuilder

Namespaces sets the value of the 'namespaces' attribute to the given values.

func (*AddOnBuilder) OperatorName ¶

func (b *AddOnBuilder) OperatorName(value string) *AddOnBuilder

OperatorName sets the value of the 'operator_name' attribute to the given value.

func (*AddOnBuilder) Parameters ¶ added in v0.0.329

func (b *AddOnBuilder) Parameters(value *AddOnParameterListBuilder) *AddOnBuilder

Parameters sets the value of the 'parameters' attribute to the given values.

func (*AddOnBuilder) Requirements ¶ added in v0.0.329

func (b *AddOnBuilder) Requirements(values ...*AddOnRequirementBuilder) *AddOnBuilder

Requirements sets the value of the 'requirements' attribute to the given values.

func (*AddOnBuilder) ResourceCost ¶

func (b *AddOnBuilder) ResourceCost(value float64) *AddOnBuilder

ResourceCost sets the value of the 'resource_cost' attribute to the given value.

func (*AddOnBuilder) ResourceName ¶

func (b *AddOnBuilder) ResourceName(value string) *AddOnBuilder

ResourceName sets the value of the 'resource_name' attribute to the given value.

func (*AddOnBuilder) SubOperators ¶ added in v0.0.329

func (b *AddOnBuilder) SubOperators(values ...*AddOnSubOperatorBuilder) *AddOnBuilder

SubOperators sets the value of the 'sub_operators' attribute to the given values.

func (*AddOnBuilder) TargetNamespace ¶

func (b *AddOnBuilder) TargetNamespace(value string) *AddOnBuilder

TargetNamespace sets the value of the 'target_namespace' attribute to the given value.

func (*AddOnBuilder) Version ¶ added in v0.0.329

func (b *AddOnBuilder) Version(value *AddOnVersionBuilder) *AddOnBuilder

Version sets the value of the 'version' attribute to the given value.

Representation of an add-on version.

type AddOnClient ¶

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

AddOnClient is the client of the 'add_on' resource.

Manages a specific add-on.

func NewAddOnClient ¶

func NewAddOnClient(transport http.RoundTripper, path string) *AddOnClient

NewAddOnClient creates a new client for the 'add_on' resource using the given transport to send the requests and receive the responses.

func (*AddOnClient) Delete ¶

func (c *AddOnClient) Delete() *AddOnDeleteRequest

Delete creates a request for the 'delete' method.

Deletes the add-on.

func (*AddOnClient) Get ¶

func (c *AddOnClient) Get() *AddOnGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the add-on.

func (*AddOnClient) Poll ¶

func (c *AddOnClient) Poll() *AddOnPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*AddOnClient) Update ¶

func (c *AddOnClient) Update() *AddOnUpdateRequest

Update creates a request for the 'update' method.

Updates the add-on.

func (*AddOnClient) Versions ¶ added in v0.0.329

func (c *AddOnClient) Versions() *AddOnVersionsClient

Versions returns the target 'add_on_versions' resource.

Reference to the resource that manages the collection of addon versions.

type AddOnConfig ¶ added in v0.0.329

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

AddOnConfig represents the values of the 'add_on_config' type.

Representation of an add-on config. The attributes under it are to be used by the addon once its installed in the cluster.

func UnmarshalAddOnConfig ¶ added in v0.0.329

func UnmarshalAddOnConfig(source interface{}) (object *AddOnConfig, err error)

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

func UnmarshalAddOnConfigList ¶ added in v0.0.329

func UnmarshalAddOnConfigList(source interface{}) (items []*AddOnConfig, err error)

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

func (*AddOnConfig) AddOnEnvironmentVariables ¶ added in v0.0.329

func (o *AddOnConfig) AddOnEnvironmentVariables() []*AddOnEnvironmentVariable

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

List of environment variables for the addon

func (*AddOnConfig) Empty ¶ added in v0.0.329

func (o *AddOnConfig) Empty() bool

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

func (*AddOnConfig) GetAddOnEnvironmentVariables ¶ added in v0.0.329

func (o *AddOnConfig) GetAddOnEnvironmentVariables() (value []*AddOnEnvironmentVariable, ok bool)

GetAddOnEnvironmentVariables returns the value of the 'add_on_environment_variables' attribute and a flag indicating if the attribute has a value.

List of environment variables for the addon

func (*AddOnConfig) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnConfig) GetID ¶ added in v0.0.329

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

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

func (*AddOnConfig) GetSecretPropagations ¶ added in v0.0.329

func (o *AddOnConfig) GetSecretPropagations() (value []*AddOnSecretPropagation, ok bool)

GetSecretPropagations returns the value of the 'secret_propagations' attribute and a flag indicating if the attribute has a value.

List of secret propagations for the addon

func (*AddOnConfig) HREF ¶ added in v0.0.329

func (o *AddOnConfig) HREF() string

HREF returns the link to the object.

func (*AddOnConfig) ID ¶ added in v0.0.329

func (o *AddOnConfig) ID() string

ID returns the identifier of the object.

func (*AddOnConfig) Kind ¶ added in v0.0.329

func (o *AddOnConfig) Kind() string

Kind returns the name of the type of the object.

func (o *AddOnConfig) Link() bool

Link returns true iif this is a link.

func (*AddOnConfig) SecretPropagations ¶ added in v0.0.329

func (o *AddOnConfig) SecretPropagations() []*AddOnSecretPropagation

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

List of secret propagations for the addon

type AddOnConfigBuilder ¶ added in v0.0.329

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

AddOnConfigBuilder contains the data and logic needed to build 'add_on_config' objects.

Representation of an add-on config. The attributes under it are to be used by the addon once its installed in the cluster.

func NewAddOnConfig ¶ added in v0.0.329

func NewAddOnConfig() *AddOnConfigBuilder

NewAddOnConfig creates a new builder of 'add_on_config' objects.

func (*AddOnConfigBuilder) AddOnEnvironmentVariables ¶ added in v0.0.329

func (b *AddOnConfigBuilder) AddOnEnvironmentVariables(values ...*AddOnEnvironmentVariableBuilder) *AddOnConfigBuilder

AddOnEnvironmentVariables sets the value of the 'add_on_environment_variables' attribute to the given values.

func (*AddOnConfigBuilder) Build ¶ added in v0.0.329

func (b *AddOnConfigBuilder) Build() (object *AddOnConfig, err error)

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

func (*AddOnConfigBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnConfigBuilder) Empty ¶ added in v0.0.329

func (b *AddOnConfigBuilder) Empty() bool

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

func (*AddOnConfigBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AddOnConfigBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

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

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

func (*AddOnConfigBuilder) SecretPropagations ¶ added in v0.0.329

func (b *AddOnConfigBuilder) SecretPropagations(values ...*AddOnSecretPropagationBuilder) *AddOnConfigBuilder

SecretPropagations sets the value of the 'secret_propagations' attribute to the given values.

type AddOnConfigList ¶ added in v0.0.329

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

AddOnConfigList is a list of values of the 'add_on_config' type.

func (*AddOnConfigList) Each ¶ added in v0.0.329

func (l *AddOnConfigList) Each(f func(item *AddOnConfig) 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 (*AddOnConfigList) Empty ¶ added in v0.0.329

func (l *AddOnConfigList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnConfigList) Get ¶ added in v0.0.329

func (l *AddOnConfigList) Get(i int) *AddOnConfig

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

func (*AddOnConfigList) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnConfigList) HREF ¶ added in v0.0.329

func (l *AddOnConfigList) HREF() string

HREF returns the link to the list.

func (*AddOnConfigList) Kind ¶ added in v0.0.329

func (l *AddOnConfigList) Kind() string

Kind returns the name of the type of the object.

func (*AddOnConfigList) Len ¶ added in v0.0.329

func (l *AddOnConfigList) Len() int

Len returns the length of the list.

func (l *AddOnConfigList) Link() bool

Link returns true iif this is a link.

func (*AddOnConfigList) Range ¶ added in v0.0.329

func (l *AddOnConfigList) Range(f func(index int, item *AddOnConfig) 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 (*AddOnConfigList) Slice ¶ added in v0.0.329

func (l *AddOnConfigList) Slice() []*AddOnConfig

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 AddOnConfigListBuilder ¶ added in v0.0.329

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

AddOnConfigListBuilder contains the data and logic needed to build 'add_on_config' objects.

func NewAddOnConfigList ¶ added in v0.0.329

func NewAddOnConfigList() *AddOnConfigListBuilder

NewAddOnConfigList creates a new builder of 'add_on_config' objects.

func (*AddOnConfigListBuilder) Build ¶ added in v0.0.329

func (b *AddOnConfigListBuilder) Build() (list *AddOnConfigList, err error)

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

func (*AddOnConfigListBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnConfigListBuilder) Empty ¶ added in v0.0.329

func (b *AddOnConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddOnConfigListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnDeleteRequest ¶

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

AddOnDeleteRequest is the request for the 'delete' method.

func (*AddOnDeleteRequest) Header ¶

func (r *AddOnDeleteRequest) Header(name string, value interface{}) *AddOnDeleteRequest

Header adds a request header.

func (*AddOnDeleteRequest) Impersonate ¶ added in v0.0.329

func (r *AddOnDeleteRequest) Impersonate(user string) *AddOnDeleteRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnDeleteRequest) Parameter ¶

func (r *AddOnDeleteRequest) Parameter(name string, value interface{}) *AddOnDeleteRequest

Parameter adds a query parameter.

func (*AddOnDeleteRequest) Send ¶

func (r *AddOnDeleteRequest) Send() (result *AddOnDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnDeleteRequest) SendContext ¶

func (r *AddOnDeleteRequest) SendContext(ctx context.Context) (result *AddOnDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddOnDeleteResponse ¶

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

AddOnDeleteResponse is the response for the 'delete' method.

func (*AddOnDeleteResponse) Error ¶

func (r *AddOnDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*AddOnDeleteResponse) Header ¶

func (r *AddOnDeleteResponse) Header() http.Header

Header returns header of the response.

func (*AddOnDeleteResponse) Status ¶

func (r *AddOnDeleteResponse) Status() int

Status returns the response status code.

type AddOnEnvironmentVariable ¶ added in v0.0.329

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

AddOnEnvironmentVariable represents the values of the 'add_on_environment_variable' type.

Representation of an add-on env object.

func UnmarshalAddOnEnvironmentVariable ¶ added in v0.0.329

func UnmarshalAddOnEnvironmentVariable(source interface{}) (object *AddOnEnvironmentVariable, err error)

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

func UnmarshalAddOnEnvironmentVariableList ¶ added in v0.0.329

func UnmarshalAddOnEnvironmentVariableList(source interface{}) (items []*AddOnEnvironmentVariable, err error)

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

func (*AddOnEnvironmentVariable) Empty ¶ added in v0.0.329

func (o *AddOnEnvironmentVariable) Empty() bool

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

func (*AddOnEnvironmentVariable) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnEnvironmentVariable) GetID ¶ added in v0.0.329

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

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

func (*AddOnEnvironmentVariable) GetName ¶ added in v0.0.329

func (o *AddOnEnvironmentVariable) 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 env object.

func (*AddOnEnvironmentVariable) GetValue ¶ added in v0.0.329

func (o *AddOnEnvironmentVariable) GetValue() (value string, ok bool)

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

Value of the env object.

func (*AddOnEnvironmentVariable) HREF ¶ added in v0.0.329

func (o *AddOnEnvironmentVariable) HREF() string

HREF returns the link to the object.

func (*AddOnEnvironmentVariable) ID ¶ added in v0.0.329

ID returns the identifier of the object.

func (*AddOnEnvironmentVariable) Kind ¶ added in v0.0.329

func (o *AddOnEnvironmentVariable) Kind() string

Kind returns the name of the type of the object.

func (o *AddOnEnvironmentVariable) Link() bool

Link returns true iif this is a link.

func (*AddOnEnvironmentVariable) Name ¶ added in v0.0.329

func (o *AddOnEnvironmentVariable) 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 env object.

func (*AddOnEnvironmentVariable) Value ¶ added in v0.0.329

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

Value of the env object.

type AddOnEnvironmentVariableBuilder ¶ added in v0.0.329

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

AddOnEnvironmentVariableBuilder contains the data and logic needed to build 'add_on_environment_variable' objects.

Representation of an add-on env object.

func NewAddOnEnvironmentVariable ¶ added in v0.0.329

func NewAddOnEnvironmentVariable() *AddOnEnvironmentVariableBuilder

NewAddOnEnvironmentVariable creates a new builder of 'add_on_environment_variable' objects.

func (*AddOnEnvironmentVariableBuilder) Build ¶ added in v0.0.329

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

func (*AddOnEnvironmentVariableBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnEnvironmentVariableBuilder) Empty ¶ added in v0.0.329

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

func (*AddOnEnvironmentVariableBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AddOnEnvironmentVariableBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

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

func (*AddOnEnvironmentVariableBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

func (*AddOnEnvironmentVariableBuilder) Value ¶ added in v0.0.329

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

type AddOnEnvironmentVariableList ¶ added in v0.0.329

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

AddOnEnvironmentVariableList is a list of values of the 'add_on_environment_variable' type.

func (*AddOnEnvironmentVariableList) Each ¶ added in v0.0.329

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

Empty returns true if the list is empty.

func (*AddOnEnvironmentVariableList) Get ¶ added in v0.0.329

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

func (*AddOnEnvironmentVariableList) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnEnvironmentVariableList) HREF ¶ added in v0.0.329

HREF returns the link to the list.

func (*AddOnEnvironmentVariableList) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

func (*AddOnEnvironmentVariableList) Len ¶ added in v0.0.329

Len returns the length of the list.

Link returns true iif this is a link.

func (*AddOnEnvironmentVariableList) Range ¶ added in v0.0.329

func (l *AddOnEnvironmentVariableList) Range(f func(index int, item *AddOnEnvironmentVariable) 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 (*AddOnEnvironmentVariableList) Slice ¶ added in v0.0.329

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 AddOnEnvironmentVariableListBuilder ¶ added in v0.0.329

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

AddOnEnvironmentVariableListBuilder contains the data and logic needed to build 'add_on_environment_variable' objects.

func NewAddOnEnvironmentVariableList ¶ added in v0.0.329

func NewAddOnEnvironmentVariableList() *AddOnEnvironmentVariableListBuilder

NewAddOnEnvironmentVariableList creates a new builder of 'add_on_environment_variable' objects.

func (*AddOnEnvironmentVariableListBuilder) Build ¶ added in v0.0.329

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

func (*AddOnEnvironmentVariableListBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnEnvironmentVariableListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AddOnEnvironmentVariableListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnGetRequest ¶

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

AddOnGetRequest is the request for the 'get' method.

func (*AddOnGetRequest) Header ¶

func (r *AddOnGetRequest) Header(name string, value interface{}) *AddOnGetRequest

Header adds a request header.

func (*AddOnGetRequest) Impersonate ¶ added in v0.0.329

func (r *AddOnGetRequest) Impersonate(user string) *AddOnGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnGetRequest) Parameter ¶

func (r *AddOnGetRequest) Parameter(name string, value interface{}) *AddOnGetRequest

Parameter adds a query parameter.

func (*AddOnGetRequest) Send ¶

func (r *AddOnGetRequest) Send() (result *AddOnGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnGetRequest) SendContext ¶

func (r *AddOnGetRequest) SendContext(ctx context.Context) (result *AddOnGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddOnGetResponse ¶

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

AddOnGetResponse is the response for the 'get' method.

func (*AddOnGetResponse) Body ¶

func (r *AddOnGetResponse) Body() *AddOn

Body returns the value of the 'body' parameter.

func (*AddOnGetResponse) Error ¶

func (r *AddOnGetResponse) Error() *errors.Error

Error returns the response error.

func (*AddOnGetResponse) GetBody ¶

func (r *AddOnGetResponse) GetBody() (value *AddOn, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddOnGetResponse) Header ¶

func (r *AddOnGetResponse) Header() http.Header

Header returns header of the response.

func (*AddOnGetResponse) Status ¶

func (r *AddOnGetResponse) Status() int

Status returns the response status code.

type AddOnInstallMode ¶

type AddOnInstallMode string

AddOnInstallMode represents the values of the 'add_on_install_mode' enumerated type.

const (
	// This mode means that the addon is deployed in all namespaces.
	// However, the addon status is retrieved from the target namespace
	AddOnInstallModeAllNamespaces AddOnInstallMode = "all_namespaces"
	// This mode means that the the addon CRD exists in a single specific namespace.
	// This namespace is reflected by the TargetNamespace addon field
	AddOnInstallModeOwnNamespace AddOnInstallMode = "own_namespace"
)

func UnmarshalAddOnInstallModeList ¶

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

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

type AddOnInstallation ¶

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

AddOnInstallation represents the values of the 'add_on_installation' type.

Representation of an add-on installation in a cluster.

func UnmarshalAddOnInstallation ¶

func UnmarshalAddOnInstallation(source interface{}) (object *AddOnInstallation, err error)

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

func UnmarshalAddOnInstallationList ¶

func UnmarshalAddOnInstallationList(source interface{}) (items []*AddOnInstallation, err error)

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

func (*AddOnInstallation) Addon ¶

func (o *AddOnInstallation) Addon() *AddOn

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

Link to add-on attached to this cluster.

func (*AddOnInstallation) AddonVersion ¶ added in v0.0.329

func (o *AddOnInstallation) AddonVersion() *AddOnVersion

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

Link to the installed version of this add-on.

func (*AddOnInstallation) Billing ¶ added in v0.0.329

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

Billing details for add-on installation resource

func (*AddOnInstallation) CreationTimestamp ¶

func (o *AddOnInstallation) 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 add-on was initially installed in the cluster.

func (*AddOnInstallation) Empty ¶

func (o *AddOnInstallation) Empty() bool

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

func (*AddOnInstallation) GetAddon ¶

func (o *AddOnInstallation) GetAddon() (value *AddOn, ok bool)

GetAddon returns the value of the 'addon' attribute and a flag indicating if the attribute has a value.

Link to add-on attached to this cluster.

func (*AddOnInstallation) GetAddonVersion ¶ added in v0.0.329

func (o *AddOnInstallation) GetAddonVersion() (value *AddOnVersion, ok bool)

GetAddonVersion returns the value of the 'addon_version' attribute and a flag indicating if the attribute has a value.

Link to the installed version of this add-on.

func (*AddOnInstallation) GetBilling ¶ added in v0.0.329

func (o *AddOnInstallation) GetBilling() (value *AddOnInstallationBilling, ok bool)

GetBilling returns the value of the 'billing' attribute and a flag indicating if the attribute has a value.

Billing details for add-on installation resource

func (*AddOnInstallation) GetCreationTimestamp ¶

func (o *AddOnInstallation) 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 add-on was initially installed in the cluster.

func (*AddOnInstallation) GetHREF ¶

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

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

func (*AddOnInstallation) GetID ¶

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

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

func (*AddOnInstallation) GetOperatorVersion ¶

func (o *AddOnInstallation) GetOperatorVersion() (value string, ok bool)

GetOperatorVersion returns the value of the 'operator_version' attribute and a flag indicating if the attribute has a value.

Version of the operator installed by the add-on.

func (*AddOnInstallation) GetParameters ¶ added in v0.0.329

func (o *AddOnInstallation) GetParameters() (value *AddOnInstallationParameterList, ok bool)

GetParameters returns the value of the 'parameters' attribute and a flag indicating if the attribute has a value.

List of add-on parameters for this add-on installation.

func (*AddOnInstallation) GetState ¶

func (o *AddOnInstallation) GetState() (value AddOnInstallationState, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

Overall state of the add-on installation.

func (*AddOnInstallation) GetStateDescription ¶

func (o *AddOnInstallation) GetStateDescription() (value string, ok bool)

GetStateDescription returns the value of the 'state_description' attribute and a flag indicating if the attribute has a value.

Reason for the current State.

func (*AddOnInstallation) GetUpdatedTimestamp ¶

func (o *AddOnInstallation) GetUpdatedTimestamp() (value time.Time, ok bool)

GetUpdatedTimestamp returns the value of the 'updated_timestamp' attribute and a flag indicating if the attribute has a value.

Date and time when the add-on installation information was last updated.

func (*AddOnInstallation) HREF ¶

func (o *AddOnInstallation) HREF() string

HREF returns the link to the object.

func (*AddOnInstallation) ID ¶

func (o *AddOnInstallation) ID() string

ID returns the identifier of the object.

func (*AddOnInstallation) Kind ¶

func (o *AddOnInstallation) Kind() string

Kind returns the name of the type of the object.

func (o *AddOnInstallation) Link() bool

Link returns true iif this is a link.

func (*AddOnInstallation) OperatorVersion ¶

func (o *AddOnInstallation) OperatorVersion() string

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

Version of the operator installed by the add-on.

func (*AddOnInstallation) Parameters ¶ added in v0.0.329

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

List of add-on parameters for this add-on installation.

func (*AddOnInstallation) State ¶

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 add-on installation.

func (*AddOnInstallation) StateDescription ¶

func (o *AddOnInstallation) StateDescription() string

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

Reason for the current State.

func (*AddOnInstallation) UpdatedTimestamp ¶

func (o *AddOnInstallation) UpdatedTimestamp() time.Time

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

Date and time when the add-on installation information was last updated.

type AddOnInstallationBilling ¶ added in v0.0.329

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

AddOnInstallationBilling represents the values of the 'add_on_installation_billing' type.

Representation of an add-on installation billing.

func UnmarshalAddOnInstallationBilling ¶ added in v0.0.329

func UnmarshalAddOnInstallationBilling(source interface{}) (object *AddOnInstallationBilling, err error)

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

func UnmarshalAddOnInstallationBillingList ¶ added in v0.0.329

func UnmarshalAddOnInstallationBillingList(source interface{}) (items []*AddOnInstallationBilling, err error)

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

func (*AddOnInstallationBilling) BillingMarketplaceAccount ¶ added in v0.0.329

func (o *AddOnInstallationBilling) BillingMarketplaceAccount() string

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

Account ID for billing market place

func (*AddOnInstallationBilling) BillingModel ¶ added in v0.0.329

func (o *AddOnInstallationBilling) 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 addon resources

func (*AddOnInstallationBilling) Empty ¶ added in v0.0.329

func (o *AddOnInstallationBilling) Empty() bool

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

func (*AddOnInstallationBilling) GetBillingMarketplaceAccount ¶ added in v0.0.329

func (o *AddOnInstallationBilling) GetBillingMarketplaceAccount() (value string, ok bool)

GetBillingMarketplaceAccount returns the value of the 'billing_marketplace_account' attribute and a flag indicating if the attribute has a value.

Account ID for billing market place

func (*AddOnInstallationBilling) GetBillingModel ¶ added in v0.0.329

func (o *AddOnInstallationBilling) 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 addon resources

func (*AddOnInstallationBilling) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnInstallationBilling) GetID ¶ added in v0.0.329

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

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

func (*AddOnInstallationBilling) HREF ¶ added in v0.0.329

func (o *AddOnInstallationBilling) HREF() string

HREF returns the link to the object.

func (*AddOnInstallationBilling) ID ¶ added in v0.0.329

ID returns the identifier of the object.

func (*AddOnInstallationBilling) Kind ¶ added in v0.0.329

func (o *AddOnInstallationBilling) Kind() string

Kind returns the name of the type of the object.

func (o *AddOnInstallationBilling) Link() bool

Link returns true iif this is a link.

type AddOnInstallationBillingBuilder ¶ added in v0.0.329

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

AddOnInstallationBillingBuilder contains the data and logic needed to build 'add_on_installation_billing' objects.

Representation of an add-on installation billing.

func NewAddOnInstallationBilling ¶ added in v0.0.329

func NewAddOnInstallationBilling() *AddOnInstallationBillingBuilder

NewAddOnInstallationBilling creates a new builder of 'add_on_installation_billing' objects.

func (*AddOnInstallationBillingBuilder) BillingMarketplaceAccount ¶ added in v0.0.329

func (b *AddOnInstallationBillingBuilder) BillingMarketplaceAccount(value string) *AddOnInstallationBillingBuilder

BillingMarketplaceAccount sets the value of the 'billing_marketplace_account' attribute to the given value.

func (*AddOnInstallationBillingBuilder) BillingModel ¶ added in v0.0.329

BillingModel sets the value of the 'billing_model' attribute to the given value.

Billing model for cluster resources.

func (*AddOnInstallationBillingBuilder) Build ¶ added in v0.0.329

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

func (*AddOnInstallationBillingBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnInstallationBillingBuilder) Empty ¶ added in v0.0.329

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

func (*AddOnInstallationBillingBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AddOnInstallationBillingBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

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

type AddOnInstallationBillingList ¶ added in v0.0.329

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

AddOnInstallationBillingList is a list of values of the 'add_on_installation_billing' type.

func (*AddOnInstallationBillingList) Each ¶ added in v0.0.329

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

Empty returns true if the list is empty.

func (*AddOnInstallationBillingList) Get ¶ added in v0.0.329

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

func (*AddOnInstallationBillingList) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnInstallationBillingList) HREF ¶ added in v0.0.329

HREF returns the link to the list.

func (*AddOnInstallationBillingList) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

func (*AddOnInstallationBillingList) Len ¶ added in v0.0.329

Len returns the length of the list.

Link returns true iif this is a link.

func (*AddOnInstallationBillingList) Range ¶ added in v0.0.329

func (l *AddOnInstallationBillingList) Range(f func(index int, item *AddOnInstallationBilling) 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 (*AddOnInstallationBillingList) Slice ¶ added in v0.0.329

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 AddOnInstallationBillingListBuilder ¶ added in v0.0.329

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

AddOnInstallationBillingListBuilder contains the data and logic needed to build 'add_on_installation_billing' objects.

func NewAddOnInstallationBillingList ¶ added in v0.0.329

func NewAddOnInstallationBillingList() *AddOnInstallationBillingListBuilder

NewAddOnInstallationBillingList creates a new builder of 'add_on_installation_billing' objects.

func (*AddOnInstallationBillingListBuilder) Build ¶ added in v0.0.329

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

func (*AddOnInstallationBillingListBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnInstallationBillingListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AddOnInstallationBillingListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnInstallationBuilder ¶

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

AddOnInstallationBuilder contains the data and logic needed to build 'add_on_installation' objects.

Representation of an add-on installation in a cluster.

func NewAddOnInstallation ¶

func NewAddOnInstallation() *AddOnInstallationBuilder

NewAddOnInstallation creates a new builder of 'add_on_installation' objects.

func (*AddOnInstallationBuilder) Addon ¶

Addon sets the value of the 'addon' attribute to the given value.

Representation of an add-on that can be installed in a cluster.

func (*AddOnInstallationBuilder) AddonVersion ¶ added in v0.0.329

AddonVersion sets the value of the 'addon_version' attribute to the given value.

Representation of an add-on version.

func (*AddOnInstallationBuilder) Billing ¶ added in v0.0.329

Billing sets the value of the 'billing' attribute to the given value.

Representation of an add-on installation billing.

func (*AddOnInstallationBuilder) Build ¶

func (b *AddOnInstallationBuilder) Build() (object *AddOnInstallation, err error)

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

func (*AddOnInstallationBuilder) Copy ¶

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

func (*AddOnInstallationBuilder) CreationTimestamp ¶

func (b *AddOnInstallationBuilder) CreationTimestamp(value time.Time) *AddOnInstallationBuilder

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*AddOnInstallationBuilder) Empty ¶ added in v0.0.329

func (b *AddOnInstallationBuilder) Empty() bool

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

func (*AddOnInstallationBuilder) HREF ¶

HREF sets the link to the object.

func (*AddOnInstallationBuilder) ID ¶

ID sets the identifier of the object.

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

func (*AddOnInstallationBuilder) OperatorVersion ¶

func (b *AddOnInstallationBuilder) OperatorVersion(value string) *AddOnInstallationBuilder

OperatorVersion sets the value of the 'operator_version' attribute to the given value.

func (*AddOnInstallationBuilder) Parameters ¶ added in v0.0.329

Parameters sets the value of the 'parameters' attribute to the given values.

func (*AddOnInstallationBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

Representation of an add-on installation State field.

func (*AddOnInstallationBuilder) StateDescription ¶

func (b *AddOnInstallationBuilder) StateDescription(value string) *AddOnInstallationBuilder

StateDescription sets the value of the 'state_description' attribute to the given value.

func (*AddOnInstallationBuilder) UpdatedTimestamp ¶

func (b *AddOnInstallationBuilder) UpdatedTimestamp(value time.Time) *AddOnInstallationBuilder

UpdatedTimestamp sets the value of the 'updated_timestamp' attribute to the given value.

type AddOnInstallationClient ¶

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

AddOnInstallationClient is the client of the 'add_on_installation' resource.

Manages a specific add-on installation.

func NewAddOnInstallationClient ¶

func NewAddOnInstallationClient(transport http.RoundTripper, path string) *AddOnInstallationClient

NewAddOnInstallationClient creates a new client for the 'add_on_installation' resource using the given transport to send the requests and receive the responses.

func (*AddOnInstallationClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Delete an add-on installation and remove it from the collection of add-on installations on the cluster.

func (*AddOnInstallationClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the details of the add-on installation.

func (*AddOnInstallationClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*AddOnInstallationClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Updates the add-on installation.

type AddOnInstallationDeleteRequest ¶ added in v0.0.329

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

AddOnInstallationDeleteRequest is the request for the 'delete' method.

func (*AddOnInstallationDeleteRequest) Header ¶ added in v0.0.329

func (r *AddOnInstallationDeleteRequest) Header(name string, value interface{}) *AddOnInstallationDeleteRequest

Header adds a request header.

func (*AddOnInstallationDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnInstallationDeleteRequest) Parameter ¶ added in v0.0.329

func (r *AddOnInstallationDeleteRequest) Parameter(name string, value interface{}) *AddOnInstallationDeleteRequest

Parameter adds a query parameter.

func (*AddOnInstallationDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnInstallationDeleteRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type AddOnInstallationDeleteResponse ¶ added in v0.0.329

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

AddOnInstallationDeleteResponse is the response for the 'delete' method.

func (*AddOnInstallationDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddOnInstallationDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddOnInstallationDeleteResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type AddOnInstallationGetRequest ¶

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

AddOnInstallationGetRequest is the request for the 'get' method.

func (*AddOnInstallationGetRequest) Header ¶

func (r *AddOnInstallationGetRequest) Header(name string, value interface{}) *AddOnInstallationGetRequest

Header adds a request header.

func (*AddOnInstallationGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnInstallationGetRequest) Parameter ¶

func (r *AddOnInstallationGetRequest) Parameter(name string, value interface{}) *AddOnInstallationGetRequest

Parameter adds a query parameter.

func (*AddOnInstallationGetRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnInstallationGetRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type AddOnInstallationGetResponse ¶

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

AddOnInstallationGetResponse is the response for the 'get' method.

func (*AddOnInstallationGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*AddOnInstallationGetResponse) Error ¶

Error returns the response error.

func (*AddOnInstallationGetResponse) GetBody ¶

func (r *AddOnInstallationGetResponse) GetBody() (value *AddOnInstallation, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddOnInstallationGetResponse) Header ¶

Header returns header of the response.

func (*AddOnInstallationGetResponse) Status ¶

func (r *AddOnInstallationGetResponse) Status() int

Status returns the response status code.

type AddOnInstallationList ¶

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

AddOnInstallationList is a list of values of the 'add_on_installation' type.

func (*AddOnInstallationList) Each ¶

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

func (l *AddOnInstallationList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnInstallationList) Get ¶

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

func (*AddOnInstallationList) GetHREF ¶

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

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

func (*AddOnInstallationList) HREF ¶

func (l *AddOnInstallationList) HREF() string

HREF returns the link to the list.

func (*AddOnInstallationList) Kind ¶

func (l *AddOnInstallationList) Kind() string

Kind returns the name of the type of the object.

func (*AddOnInstallationList) Len ¶

func (l *AddOnInstallationList) Len() int

Len returns the length of the list.

func (l *AddOnInstallationList) Link() bool

Link returns true iif this is a link.

func (*AddOnInstallationList) Range ¶

func (l *AddOnInstallationList) Range(f func(index int, item *AddOnInstallation) 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 (*AddOnInstallationList) 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 AddOnInstallationListBuilder ¶

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

AddOnInstallationListBuilder contains the data and logic needed to build 'add_on_installation' objects.

func NewAddOnInstallationList ¶

func NewAddOnInstallationList() *AddOnInstallationListBuilder

NewAddOnInstallationList creates a new builder of 'add_on_installation' objects.

func (*AddOnInstallationListBuilder) Build ¶

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

func (*AddOnInstallationListBuilder) Copy ¶

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

func (*AddOnInstallationListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AddOnInstallationListBuilder) Items ¶

Items sets the items of the list.

type AddOnInstallationParameter ¶ added in v0.0.329

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

AddOnInstallationParameter represents the values of the 'add_on_installation_parameter' type.

Representation of an add-on installation parameter.

func UnmarshalAddOnInstallationParameter ¶ added in v0.0.329

func UnmarshalAddOnInstallationParameter(source interface{}) (object *AddOnInstallationParameter, err error)

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

func UnmarshalAddOnInstallationParameterList ¶ added in v0.0.329

func UnmarshalAddOnInstallationParameterList(source interface{}) (items []*AddOnInstallationParameter, err error)

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

func (*AddOnInstallationParameter) Empty ¶ added in v0.0.329

func (o *AddOnInstallationParameter) Empty() bool

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

func (*AddOnInstallationParameter) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnInstallationParameter) GetID ¶ added in v0.0.329

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

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

func (*AddOnInstallationParameter) GetValue ¶ added in v0.0.329

func (o *AddOnInstallationParameter) GetValue() (value string, ok bool)

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

Value of the parameter.

func (*AddOnInstallationParameter) HREF ¶ added in v0.0.329

HREF returns the link to the object.

func (*AddOnInstallationParameter) ID ¶ added in v0.0.329

ID returns the identifier of the object.

func (*AddOnInstallationParameter) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

func (o *AddOnInstallationParameter) Link() bool

Link returns true iif this is a link.

func (*AddOnInstallationParameter) Value ¶ added in v0.0.329

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

Value of the parameter.

type AddOnInstallationParameterBuilder ¶ added in v0.0.329

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

AddOnInstallationParameterBuilder contains the data and logic needed to build 'add_on_installation_parameter' objects.

Representation of an add-on installation parameter.

func NewAddOnInstallationParameter ¶ added in v0.0.329

func NewAddOnInstallationParameter() *AddOnInstallationParameterBuilder

NewAddOnInstallationParameter creates a new builder of 'add_on_installation_parameter' objects.

func (*AddOnInstallationParameterBuilder) Build ¶ added in v0.0.329

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

func (*AddOnInstallationParameterBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnInstallationParameterBuilder) Empty ¶ added in v0.0.329

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

func (*AddOnInstallationParameterBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AddOnInstallationParameterBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

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

func (*AddOnInstallationParameterBuilder) Value ¶ added in v0.0.329

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

type AddOnInstallationParameterList ¶ added in v0.0.329

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

AddOnInstallationParameterList is a list of values of the 'add_on_installation_parameter' type.

func (*AddOnInstallationParameterList) Each ¶ added in v0.0.329

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

Empty returns true if the list is empty.

func (*AddOnInstallationParameterList) Get ¶ added in v0.0.329

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

func (*AddOnInstallationParameterList) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnInstallationParameterList) HREF ¶ added in v0.0.329

HREF returns the link to the list.

func (*AddOnInstallationParameterList) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

func (*AddOnInstallationParameterList) Len ¶ added in v0.0.329

Len returns the length of the list.

Link returns true iif this is a link.

func (*AddOnInstallationParameterList) Range ¶ added in v0.0.329

func (l *AddOnInstallationParameterList) Range(f func(index int, item *AddOnInstallationParameter) 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 (*AddOnInstallationParameterList) Slice ¶ added in v0.0.329

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 AddOnInstallationParameterListBuilder ¶ added in v0.0.329

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

AddOnInstallationParameterListBuilder contains the data and logic needed to build 'add_on_installation_parameter' objects.

func NewAddOnInstallationParameterList ¶ added in v0.0.329

func NewAddOnInstallationParameterList() *AddOnInstallationParameterListBuilder

NewAddOnInstallationParameterList creates a new builder of 'add_on_installation_parameter' objects.

func (*AddOnInstallationParameterListBuilder) Build ¶ added in v0.0.329

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

func (*AddOnInstallationParameterListBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnInstallationParameterListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AddOnInstallationParameterListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnInstallationPollRequest ¶

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

AddOnInstallationPollRequest is the request for the Poll method.

func (*AddOnInstallationPollRequest) Header ¶

func (r *AddOnInstallationPollRequest) Header(name string, value interface{}) *AddOnInstallationPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddOnInstallationPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddOnInstallationPollRequest) Parameter ¶

func (r *AddOnInstallationPollRequest) Parameter(name string, value interface{}) *AddOnInstallationPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddOnInstallationPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddOnInstallationPollRequest) StartContext ¶

func (r *AddOnInstallationPollRequest) StartContext(ctx context.Context) (response *AddOnInstallationPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddOnInstallationPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddOnInstallationPollResponse ¶

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

AddOnInstallationPollResponse is the response for the Poll method.

func (*AddOnInstallationPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*AddOnInstallationPollResponse) Error ¶

Error returns the response error.

func (*AddOnInstallationPollResponse) GetBody ¶

func (r *AddOnInstallationPollResponse) GetBody() (value *AddOnInstallation, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddOnInstallationPollResponse) Header ¶

Header returns header of the response.

func (*AddOnInstallationPollResponse) Status ¶

func (r *AddOnInstallationPollResponse) Status() int

Status returns the response status code.

type AddOnInstallationState ¶

type AddOnInstallationState string

AddOnInstallationState represents the values of the 'add_on_installation_state' enumerated type.

const (
	// The add-on is being deleted.
	AddOnInstallationStateDeleting AddOnInstallationState = "deleting"
	// Error during installation.
	AddOnInstallationStateFailed AddOnInstallationState = "failed"
	// The add-on is still being installed.
	AddOnInstallationStateInstalling AddOnInstallationState = "installing"
	// The add-on is in pending state.
	AddOnInstallationStatePending AddOnInstallationState = "pending"
	// The add-on is ready to be used.
	AddOnInstallationStateReady AddOnInstallationState = "ready"
)

func UnmarshalAddOnInstallationStateList ¶

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

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

type AddOnInstallationUpdateRequest ¶ added in v0.0.329

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

AddOnInstallationUpdateRequest is the request for the 'update' method.

func (*AddOnInstallationUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*AddOnInstallationUpdateRequest) Header ¶ added in v0.0.329

func (r *AddOnInstallationUpdateRequest) Header(name string, value interface{}) *AddOnInstallationUpdateRequest

Header adds a request header.

func (*AddOnInstallationUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnInstallationUpdateRequest) Parameter ¶ added in v0.0.329

func (r *AddOnInstallationUpdateRequest) Parameter(name string, value interface{}) *AddOnInstallationUpdateRequest

Parameter adds a query parameter.

func (*AddOnInstallationUpdateRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnInstallationUpdateRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type AddOnInstallationUpdateResponse ¶ added in v0.0.329

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

AddOnInstallationUpdateResponse is the response for the 'update' method.

func (*AddOnInstallationUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*AddOnInstallationUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddOnInstallationUpdateResponse) GetBody ¶ added in v0.0.329

func (r *AddOnInstallationUpdateResponse) GetBody() (value *AddOnInstallation, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddOnInstallationUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddOnInstallationUpdateResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type AddOnInstallationsAddRequest ¶

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

AddOnInstallationsAddRequest is the request for the 'add' method.

func (*AddOnInstallationsAddRequest) Body ¶

Body sets the value of the 'body' parameter.

Description of the add-on installation.

func (*AddOnInstallationsAddRequest) Header ¶

func (r *AddOnInstallationsAddRequest) Header(name string, value interface{}) *AddOnInstallationsAddRequest

Header adds a request header.

func (*AddOnInstallationsAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnInstallationsAddRequest) Parameter ¶

func (r *AddOnInstallationsAddRequest) Parameter(name string, value interface{}) *AddOnInstallationsAddRequest

Parameter adds a query parameter.

func (*AddOnInstallationsAddRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnInstallationsAddRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type AddOnInstallationsAddResponse ¶

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

AddOnInstallationsAddResponse is the response for the 'add' method.

func (*AddOnInstallationsAddResponse) Body ¶

Body returns the value of the 'body' parameter.

Description of the add-on installation.

func (*AddOnInstallationsAddResponse) Error ¶

Error returns the response error.

func (*AddOnInstallationsAddResponse) GetBody ¶

func (r *AddOnInstallationsAddResponse) GetBody() (value *AddOnInstallation, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the add-on installation.

func (*AddOnInstallationsAddResponse) Header ¶

Header returns header of the response.

func (*AddOnInstallationsAddResponse) Status ¶

func (r *AddOnInstallationsAddResponse) Status() int

Status returns the response status code.

type AddOnInstallationsClient ¶

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

AddOnInstallationsClient is the client of the 'add_on_installations' resource.

Manages the collection of add-on installations.

func NewAddOnInstallationsClient ¶

func NewAddOnInstallationsClient(transport http.RoundTripper, path string) *AddOnInstallationsClient

NewAddOnInstallationsClient creates a new client for the 'add_on_installations' resource using the given transport to send the requests and receive the responses.

func (*AddOnInstallationsClient) Add ¶

Add creates a request for the 'add' method.

Create a new add-on installation and add it to the collection of add-on installations on the cluster.

func (*AddOnInstallationsClient) Addoninstallation ¶

func (c *AddOnInstallationsClient) Addoninstallation(id string) *AddOnInstallationClient

Addoninstallation returns the target 'add_on_installation' resource for the given identifier.

Returns a reference to the service that manages a specific add-on installation.

func (*AddOnInstallationsClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of add-on installations.

type AddOnInstallationsListRequest ¶

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

AddOnInstallationsListRequest is the request for the 'list' method.

func (*AddOnInstallationsListRequest) Header ¶

func (r *AddOnInstallationsListRequest) Header(name string, value interface{}) *AddOnInstallationsListRequest

Header adds a request header.

func (*AddOnInstallationsListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnInstallationsListRequest) Order ¶

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the add-on installation instead of the names of the columns of a table. For example, in order to sort the add-on installations descending by name the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AddOnInstallationsListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddOnInstallationsListRequest) Parameter ¶

func (r *AddOnInstallationsListRequest) Parameter(name string, value interface{}) *AddOnInstallationsListRequest

Parameter adds a query parameter.

func (*AddOnInstallationsListRequest) Search ¶

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the add-on installation instead of the names of the columns of a table. For example, in order to retrieve all the add-on installations with a name starting with `my` the value should be:

```sql name like 'my%' ```

If the parameter isn't provided, or if the value is empty, then all the add-on installations that the user has permission to see will be returned.

func (*AddOnInstallationsListRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnInstallationsListRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

func (*AddOnInstallationsListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AddOnInstallationsListResponse ¶

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

AddOnInstallationsListResponse is the response for the 'list' method.

func (*AddOnInstallationsListResponse) Error ¶

Error returns the response error.

func (*AddOnInstallationsListResponse) GetItems ¶

func (r *AddOnInstallationsListResponse) GetItems() (value *AddOnInstallationList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of add-on installations.

func (*AddOnInstallationsListResponse) GetPage ¶

func (r *AddOnInstallationsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AddOnInstallationsListResponse) GetSize ¶

func (r *AddOnInstallationsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AddOnInstallationsListResponse) GetTotal ¶

func (r *AddOnInstallationsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AddOnInstallationsListResponse) Header ¶

Header returns header of the response.

func (*AddOnInstallationsListResponse) Items ¶

Items returns the value of the 'items' parameter.

Retrieved list of add-on installations.

func (*AddOnInstallationsListResponse) Page ¶

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddOnInstallationsListResponse) Size ¶

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AddOnInstallationsListResponse) Status ¶

func (r *AddOnInstallationsListResponse) Status() int

Status returns the response status code.

func (*AddOnInstallationsListResponse) Total ¶

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type AddOnList ¶

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

AddOnList is a list of values of the 'add_on' type.

func (*AddOnList) Each ¶

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

func (l *AddOnList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnList) Get ¶

func (l *AddOnList) Get(i int) *AddOn

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

func (*AddOnList) GetHREF ¶

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

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

func (*AddOnList) HREF ¶

func (l *AddOnList) HREF() string

HREF returns the link to the list.

func (*AddOnList) Kind ¶

func (l *AddOnList) Kind() string

Kind returns the name of the type of the object.

func (*AddOnList) Len ¶

func (l *AddOnList) Len() int

Len returns the length of the list.

func (l *AddOnList) Link() bool

Link returns true iif this is a link.

func (*AddOnList) Range ¶

func (l *AddOnList) Range(f func(index int, item *AddOn) 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 (*AddOnList) Slice ¶

func (l *AddOnList) Slice() []*AddOn

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

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

AddOnListBuilder contains the data and logic needed to build 'add_on' objects.

func NewAddOnList ¶

func NewAddOnList() *AddOnListBuilder

NewAddOnList creates a new builder of 'add_on' objects.

func (*AddOnListBuilder) Build ¶

func (b *AddOnListBuilder) Build() (list *AddOnList, err error)

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

func (*AddOnListBuilder) Copy ¶

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

func (*AddOnListBuilder) Empty ¶ added in v0.0.329

func (b *AddOnListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddOnListBuilder) Items ¶

func (b *AddOnListBuilder) Items(values ...*AddOnBuilder) *AddOnListBuilder

Items sets the items of the list.

type AddOnNamespace ¶ added in v0.0.329

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

AddOnNamespace represents the values of the 'add_on_namespace' type.

func UnmarshalAddOnNamespace ¶ added in v0.0.329

func UnmarshalAddOnNamespace(source interface{}) (object *AddOnNamespace, err error)

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

func UnmarshalAddOnNamespaceList ¶ added in v0.0.329

func UnmarshalAddOnNamespaceList(source interface{}) (items []*AddOnNamespace, err error)

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

func (*AddOnNamespace) Annotations ¶ added in v0.0.329

func (o *AddOnNamespace) Annotations() map[string]string

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

Annotations to be applied to this namespace.

func (*AddOnNamespace) Empty ¶ added in v0.0.329

func (o *AddOnNamespace) Empty() bool

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

func (*AddOnNamespace) GetAnnotations ¶ added in v0.0.329

func (o *AddOnNamespace) GetAnnotations() (value map[string]string, ok bool)

GetAnnotations returns the value of the 'annotations' attribute and a flag indicating if the attribute has a value.

Annotations to be applied to this namespace.

func (*AddOnNamespace) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnNamespace) GetID ¶ added in v0.0.329

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

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

func (*AddOnNamespace) GetLabels ¶ added in v0.0.329

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

Labels to be applied to this namespace.

func (*AddOnNamespace) GetName ¶ added in v0.0.329

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

func (*AddOnNamespace) HREF ¶ added in v0.0.329

func (o *AddOnNamespace) HREF() string

HREF returns the link to the object.

func (*AddOnNamespace) ID ¶ added in v0.0.329

func (o *AddOnNamespace) ID() string

ID returns the identifier of the object.

func (*AddOnNamespace) Kind ¶ added in v0.0.329

func (o *AddOnNamespace) Kind() string

Kind returns the name of the type of the object.

func (*AddOnNamespace) Labels ¶ added in v0.0.329

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

Labels to be applied to this namespace.

func (o *AddOnNamespace) Link() bool

Link returns true iif this is a link.

func (*AddOnNamespace) Name ¶ added in v0.0.329

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

type AddOnNamespaceBuilder ¶ added in v0.0.329

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

AddOnNamespaceBuilder contains the data and logic needed to build 'add_on_namespace' objects.

func NewAddOnNamespace ¶ added in v0.0.329

func NewAddOnNamespace() *AddOnNamespaceBuilder

NewAddOnNamespace creates a new builder of 'add_on_namespace' objects.

func (*AddOnNamespaceBuilder) Annotations ¶ added in v0.0.329

func (b *AddOnNamespaceBuilder) Annotations(value map[string]string) *AddOnNamespaceBuilder

Annotations sets the value of the 'annotations' attribute to the given value.

func (*AddOnNamespaceBuilder) Build ¶ added in v0.0.329

func (b *AddOnNamespaceBuilder) Build() (object *AddOnNamespace, err error)

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

func (*AddOnNamespaceBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnNamespaceBuilder) Empty ¶ added in v0.0.329

func (b *AddOnNamespaceBuilder) Empty() bool

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

func (*AddOnNamespaceBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AddOnNamespaceBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

func (*AddOnNamespaceBuilder) Labels ¶ added in v0.0.329

Labels sets the value of the 'labels' attribute to the given value.

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

func (*AddOnNamespaceBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

type AddOnNamespaceList ¶ added in v0.0.329

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

AddOnNamespaceList is a list of values of the 'add_on_namespace' type.

func (*AddOnNamespaceList) Each ¶ added in v0.0.329

func (l *AddOnNamespaceList) Each(f func(item *AddOnNamespace) 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 (*AddOnNamespaceList) Empty ¶ added in v0.0.329

func (l *AddOnNamespaceList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnNamespaceList) Get ¶ added in v0.0.329

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

func (*AddOnNamespaceList) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnNamespaceList) HREF ¶ added in v0.0.329

func (l *AddOnNamespaceList) HREF() string

HREF returns the link to the list.

func (*AddOnNamespaceList) Kind ¶ added in v0.0.329

func (l *AddOnNamespaceList) Kind() string

Kind returns the name of the type of the object.

func (*AddOnNamespaceList) Len ¶ added in v0.0.329

func (l *AddOnNamespaceList) Len() int

Len returns the length of the list.

func (l *AddOnNamespaceList) Link() bool

Link returns true iif this is a link.

func (*AddOnNamespaceList) Range ¶ added in v0.0.329

func (l *AddOnNamespaceList) Range(f func(index int, item *AddOnNamespace) 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 (*AddOnNamespaceList) Slice ¶ added in v0.0.329

func (l *AddOnNamespaceList) Slice() []*AddOnNamespace

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 AddOnNamespaceListBuilder ¶ added in v0.0.329

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

AddOnNamespaceListBuilder contains the data and logic needed to build 'add_on_namespace' objects.

func NewAddOnNamespaceList ¶ added in v0.0.329

func NewAddOnNamespaceList() *AddOnNamespaceListBuilder

NewAddOnNamespaceList creates a new builder of 'add_on_namespace' objects.

func (*AddOnNamespaceListBuilder) Build ¶ added in v0.0.329

func (b *AddOnNamespaceListBuilder) Build() (list *AddOnNamespaceList, err error)

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

func (*AddOnNamespaceListBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnNamespaceListBuilder) Empty ¶ added in v0.0.329

func (b *AddOnNamespaceListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddOnNamespaceListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnParameter ¶ added in v0.0.329

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

AddOnParameter represents the values of the 'add_on_parameter' type.

Representation of an add-on parameter.

func UnmarshalAddOnParameter ¶ added in v0.0.329

func UnmarshalAddOnParameter(source interface{}) (object *AddOnParameter, err error)

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

func UnmarshalAddOnParameterList ¶ added in v0.0.329

func UnmarshalAddOnParameterList(source interface{}) (items []*AddOnParameter, err error)

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

func (*AddOnParameter) Addon ¶ added in v0.0.329

func (o *AddOnParameter) Addon() *AddOn

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

Link to add-on.

func (*AddOnParameter) Conditions ¶ added in v0.0.329

func (o *AddOnParameter) Conditions() []*AddOnRequirement

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

Conditions in which this parameter is valid for

func (*AddOnParameter) DefaultValue ¶ added in v0.0.329

func (o *AddOnParameter) DefaultValue() string

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

Indicates the value default for the add-on parameter.

func (*AddOnParameter) Description ¶ added in v0.0.329

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

Description of the add-on parameter.

func (*AddOnParameter) Editable ¶ added in v0.0.329

func (o *AddOnParameter) Editable() bool

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

Indicates if this parameter can be edited after creation.

func (*AddOnParameter) EditableDirection ¶ added in v0.0.329

func (o *AddOnParameter) EditableDirection() string

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

Restricts if the parameter can be upscaled/downscaled Expected values are "up", "down", or "" (no restriction).

func (*AddOnParameter) Empty ¶ added in v0.0.329

func (o *AddOnParameter) Empty() bool

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

func (*AddOnParameter) Enabled ¶ added in v0.0.329

func (o *AddOnParameter) 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 parameter is enabled for the add-on.

func (*AddOnParameter) GetAddon ¶ added in v0.0.329

func (o *AddOnParameter) GetAddon() (value *AddOn, ok bool)

GetAddon returns the value of the 'addon' attribute and a flag indicating if the attribute has a value.

Link to add-on.

func (*AddOnParameter) GetConditions ¶ added in v0.0.329

func (o *AddOnParameter) GetConditions() (value []*AddOnRequirement, ok bool)

GetConditions returns the value of the 'conditions' attribute and a flag indicating if the attribute has a value.

Conditions in which this parameter is valid for

func (*AddOnParameter) GetDefaultValue ¶ added in v0.0.329

func (o *AddOnParameter) GetDefaultValue() (value string, ok bool)

GetDefaultValue returns the value of the 'default_value' attribute and a flag indicating if the attribute has a value.

Indicates the value default for the add-on parameter.

func (*AddOnParameter) GetDescription ¶ added in v0.0.329

func (o *AddOnParameter) GetDescription() (value string, ok bool)

GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.

Description of the add-on parameter.

func (*AddOnParameter) GetEditable ¶ added in v0.0.329

func (o *AddOnParameter) GetEditable() (value bool, ok bool)

GetEditable returns the value of the 'editable' attribute and a flag indicating if the attribute has a value.

Indicates if this parameter can be edited after creation.

func (*AddOnParameter) GetEditableDirection ¶ added in v0.0.329

func (o *AddOnParameter) GetEditableDirection() (value string, ok bool)

GetEditableDirection returns the value of the 'editable_direction' attribute and a flag indicating if the attribute has a value.

Restricts if the parameter can be upscaled/downscaled Expected values are "up", "down", or "" (no restriction).

func (*AddOnParameter) GetEnabled ¶ added in v0.0.329

func (o *AddOnParameter) 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 parameter is enabled for the add-on.

func (*AddOnParameter) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnParameter) GetID ¶ added in v0.0.329

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

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

func (*AddOnParameter) GetName ¶ added in v0.0.329

func (o *AddOnParameter) 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 add-on parameter.

func (*AddOnParameter) GetOptions ¶ added in v0.0.329

func (o *AddOnParameter) GetOptions() (value []*AddOnParameterOption, ok bool)

GetOptions returns the value of the 'options' attribute and a flag indicating if the attribute has a value.

List of options for the add-on parameter value.

func (*AddOnParameter) GetRequired ¶ added in v0.0.329

func (o *AddOnParameter) GetRequired() (value bool, ok bool)

GetRequired returns the value of the 'required' attribute and a flag indicating if the attribute has a value.

Indicates if this parameter is required by the add-on.

func (*AddOnParameter) GetValidation ¶ added in v0.0.329

func (o *AddOnParameter) GetValidation() (value string, ok bool)

GetValidation returns the value of the 'validation' attribute and a flag indicating if the attribute has a value.

Validation rule for the add-on parameter.

func (*AddOnParameter) GetValidationErrMsg ¶ added in v0.0.329

func (o *AddOnParameter) GetValidationErrMsg() (value string, ok bool)

GetValidationErrMsg returns the value of the 'validation_err_msg' attribute and a flag indicating if the attribute has a value.

Error message to return should the parameter be invalid.

func (*AddOnParameter) GetValueType ¶ added in v0.0.329

func (o *AddOnParameter) GetValueType() (value string, ok bool)

GetValueType returns the value of the 'value_type' attribute and a flag indicating if the attribute has a value.

Type of value of the add-on parameter.

func (*AddOnParameter) HREF ¶ added in v0.0.329

func (o *AddOnParameter) HREF() string

HREF returns the link to the object.

func (*AddOnParameter) ID ¶ added in v0.0.329

func (o *AddOnParameter) ID() string

ID returns the identifier of the object.

func (*AddOnParameter) Kind ¶ added in v0.0.329

func (o *AddOnParameter) Kind() string

Kind returns the name of the type of the object.

func (o *AddOnParameter) Link() bool

Link returns true iif this is a link.

func (*AddOnParameter) Name ¶ added in v0.0.329

func (o *AddOnParameter) 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 add-on parameter.

func (*AddOnParameter) Options ¶ added in v0.0.329

func (o *AddOnParameter) Options() []*AddOnParameterOption

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

List of options for the add-on parameter value.

func (*AddOnParameter) Required ¶ added in v0.0.329

func (o *AddOnParameter) Required() bool

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

Indicates if this parameter is required by the add-on.

func (*AddOnParameter) Validation ¶ added in v0.0.329

func (o *AddOnParameter) Validation() string

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

Validation rule for the add-on parameter.

func (*AddOnParameter) ValidationErrMsg ¶ added in v0.0.329

func (o *AddOnParameter) ValidationErrMsg() string

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

Error message to return should the parameter be invalid.

func (*AddOnParameter) ValueType ¶ added in v0.0.329

func (o *AddOnParameter) ValueType() string

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

Type of value of the add-on parameter.

type AddOnParameterBuilder ¶ added in v0.0.329

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

AddOnParameterBuilder contains the data and logic needed to build 'add_on_parameter' objects.

Representation of an add-on parameter.

func NewAddOnParameter ¶ added in v0.0.329

func NewAddOnParameter() *AddOnParameterBuilder

NewAddOnParameter creates a new builder of 'add_on_parameter' objects.

func (*AddOnParameterBuilder) Addon ¶ added in v0.0.329

Addon sets the value of the 'addon' attribute to the given value.

Representation of an add-on that can be installed in a cluster.

func (*AddOnParameterBuilder) Build ¶ added in v0.0.329

func (b *AddOnParameterBuilder) Build() (object *AddOnParameter, err error)

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

func (*AddOnParameterBuilder) Conditions ¶ added in v0.0.329

Conditions sets the value of the 'conditions' attribute to the given values.

func (*AddOnParameterBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnParameterBuilder) DefaultValue ¶ added in v0.0.329

func (b *AddOnParameterBuilder) DefaultValue(value string) *AddOnParameterBuilder

DefaultValue sets the value of the 'default_value' attribute to the given value.

func (*AddOnParameterBuilder) Description ¶ added in v0.0.329

func (b *AddOnParameterBuilder) Description(value string) *AddOnParameterBuilder

Description sets the value of the 'description' attribute to the given value.

func (*AddOnParameterBuilder) Editable ¶ added in v0.0.329

func (b *AddOnParameterBuilder) Editable(value bool) *AddOnParameterBuilder

Editable sets the value of the 'editable' attribute to the given value.

func (*AddOnParameterBuilder) EditableDirection ¶ added in v0.0.329

func (b *AddOnParameterBuilder) EditableDirection(value string) *AddOnParameterBuilder

EditableDirection sets the value of the 'editable_direction' attribute to the given value.

func (*AddOnParameterBuilder) Empty ¶ added in v0.0.329

func (b *AddOnParameterBuilder) Empty() bool

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

func (*AddOnParameterBuilder) Enabled ¶ added in v0.0.329

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddOnParameterBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AddOnParameterBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

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

func (*AddOnParameterBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

func (*AddOnParameterBuilder) Options ¶ added in v0.0.329

Options sets the value of the 'options' attribute to the given values.

func (*AddOnParameterBuilder) Required ¶ added in v0.0.329

func (b *AddOnParameterBuilder) Required(value bool) *AddOnParameterBuilder

Required sets the value of the 'required' attribute to the given value.

func (*AddOnParameterBuilder) Validation ¶ added in v0.0.329

func (b *AddOnParameterBuilder) Validation(value string) *AddOnParameterBuilder

Validation sets the value of the 'validation' attribute to the given value.

func (*AddOnParameterBuilder) ValidationErrMsg ¶ added in v0.0.329

func (b *AddOnParameterBuilder) ValidationErrMsg(value string) *AddOnParameterBuilder

ValidationErrMsg sets the value of the 'validation_err_msg' attribute to the given value.

func (*AddOnParameterBuilder) ValueType ¶ added in v0.0.329

func (b *AddOnParameterBuilder) ValueType(value string) *AddOnParameterBuilder

ValueType sets the value of the 'value_type' attribute to the given value.

type AddOnParameterList ¶ added in v0.0.329

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

AddOnParameterList is a list of values of the 'add_on_parameter' type.

func (*AddOnParameterList) Each ¶ added in v0.0.329

func (l *AddOnParameterList) Each(f func(item *AddOnParameter) 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 (*AddOnParameterList) Empty ¶ added in v0.0.329

func (l *AddOnParameterList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnParameterList) Get ¶ added in v0.0.329

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

func (*AddOnParameterList) GetHREF ¶ added in v0.0.329

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

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

func (*AddOnParameterList) HREF ¶ added in v0.0.329

func (l *AddOnParameterList) HREF() string

HREF returns the link to the list.

func (*AddOnParameterList) Kind ¶ added in v0.0.329

func (l *AddOnParameterList) Kind() string

Kind returns the name of the type of the object.

func (*AddOnParameterList) Len ¶ added in v0.0.329

func (l *AddOnParameterList) Len() int

Len returns the length of the list.

func (l *AddOnParameterList) Link() bool

Link returns true iif this is a link.

func (*AddOnParameterList) Range ¶ added in v0.0.329

func (l *AddOnParameterList) Range(f func(index int, item *AddOnParameter) 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 (*AddOnParameterList) Slice ¶ added in v0.0.329

func (l *AddOnParameterList) Slice() []*AddOnParameter

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 AddOnParameterListBuilder ¶ added in v0.0.329

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

AddOnParameterListBuilder contains the data and logic needed to build 'add_on_parameter' objects.

func NewAddOnParameterList ¶ added in v0.0.329

func NewAddOnParameterList() *AddOnParameterListBuilder

NewAddOnParameterList creates a new builder of 'add_on_parameter' objects.

func (*AddOnParameterListBuilder) Build ¶ added in v0.0.329

func (b *AddOnParameterListBuilder) Build() (list *AddOnParameterList, err error)

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

func (*AddOnParameterListBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnParameterListBuilder) Empty ¶ added in v0.0.329

func (b *AddOnParameterListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddOnParameterListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnParameterOption ¶ added in v0.0.329

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

AddOnParameterOption represents the values of the 'add_on_parameter_option' type.

Representation of an add-on parameter option.

func UnmarshalAddOnParameterOption ¶ added in v0.0.329

func UnmarshalAddOnParameterOption(source interface{}) (object *AddOnParameterOption, err error)

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

func UnmarshalAddOnParameterOptionList ¶ added in v0.0.329

func UnmarshalAddOnParameterOptionList(source interface{}) (items []*AddOnParameterOption, err error)

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

func (*AddOnParameterOption) Empty ¶ added in v0.0.329

func (o *AddOnParameterOption) Empty() bool

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

func (*AddOnParameterOption) GetName ¶ added in v0.0.329

func (o *AddOnParameterOption) 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 add-on parameter option.

func (*AddOnParameterOption) GetRank ¶ added in v0.0.329

func (o *AddOnParameterOption) GetRank() (value int, ok bool)

GetRank returns the value of the 'rank' attribute and a flag indicating if the attribute has a value.

Rank of option to be used in cases where editable direction should be restricted.

func (*AddOnParameterOption) GetRequirements ¶ added in v0.0.329

func (o *AddOnParameterOption) GetRequirements() (value []*AddOnRequirement, ok bool)

GetRequirements returns the value of the 'requirements' attribute and a flag indicating if the attribute has a value.

List of add-on requirements for this parameter option.

func (*AddOnParameterOption) GetValue ¶ added in v0.0.329

func (o *AddOnParameterOption) GetValue() (value string, ok bool)

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

Value of the add-on parameter option.

func (*AddOnParameterOption) Name ¶ added in v0.0.329

func (o *AddOnParameterOption) 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 add-on parameter option.

func (*AddOnParameterOption) Rank ¶ added in v0.0.329

func (o *AddOnParameterOption) Rank() int

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

Rank of option to be used in cases where editable direction should be restricted.

func (*AddOnParameterOption) Requirements ¶ added in v0.0.329

func (o *AddOnParameterOption) Requirements() []*AddOnRequirement

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

List of add-on requirements for this parameter option.

func (*AddOnParameterOption) Value ¶ added in v0.0.329

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

Value of the add-on parameter option.

type AddOnParameterOptionBuilder ¶ added in v0.0.329

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

AddOnParameterOptionBuilder contains the data and logic needed to build 'add_on_parameter_option' objects.

Representation of an add-on parameter option.

func NewAddOnParameterOption ¶ added in v0.0.329

func NewAddOnParameterOption() *AddOnParameterOptionBuilder

NewAddOnParameterOption creates a new builder of 'add_on_parameter_option' objects.

func (*AddOnParameterOptionBuilder) Build ¶ added in v0.0.329

func (b *AddOnParameterOptionBuilder) Build() (object *AddOnParameterOption, err error)

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

func (*AddOnParameterOptionBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnParameterOptionBuilder) Empty ¶ added in v0.0.329

func (b *AddOnParameterOptionBuilder) Empty() bool

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

func (*AddOnParameterOptionBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

func (*AddOnParameterOptionBuilder) Rank ¶ added in v0.0.329

Rank sets the value of the 'rank' attribute to the given value.

func (*AddOnParameterOptionBuilder) Requirements ¶ added in v0.0.329

Requirements sets the value of the 'requirements' attribute to the given values.

func (*AddOnParameterOptionBuilder) Value ¶ added in v0.0.329

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

type AddOnParameterOptionList ¶ added in v0.0.329

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

AddOnParameterOptionList is a list of values of the 'add_on_parameter_option' type.

func (*AddOnParameterOptionList) Each ¶ added in v0.0.329

func (l *AddOnParameterOptionList) Each(f func(item *AddOnParameterOption) 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 (*AddOnParameterOptionList) Empty ¶ added in v0.0.329

func (l *AddOnParameterOptionList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnParameterOptionList) Get ¶ added in v0.0.329

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

func (*AddOnParameterOptionList) Len ¶ added in v0.0.329

func (l *AddOnParameterOptionList) Len() int

Len returns the length of the list.

func (*AddOnParameterOptionList) Range ¶ added in v0.0.329

func (l *AddOnParameterOptionList) Range(f func(index int, item *AddOnParameterOption) 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 (*AddOnParameterOptionList) Slice ¶ added in v0.0.329

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 AddOnParameterOptionListBuilder ¶ added in v0.0.329

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

AddOnParameterOptionListBuilder contains the data and logic needed to build 'add_on_parameter_option' objects.

func NewAddOnParameterOptionList ¶ added in v0.0.329

func NewAddOnParameterOptionList() *AddOnParameterOptionListBuilder

NewAddOnParameterOptionList creates a new builder of 'add_on_parameter_option' objects.

func (*AddOnParameterOptionListBuilder) Build ¶ added in v0.0.329

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

func (*AddOnParameterOptionListBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnParameterOptionListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AddOnParameterOptionListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnPollRequest ¶

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

AddOnPollRequest is the request for the Poll method.

func (*AddOnPollRequest) Header ¶

func (r *AddOnPollRequest) Header(name string, value interface{}) *AddOnPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddOnPollRequest) Interval ¶

func (r *AddOnPollRequest) Interval(value time.Duration) *AddOnPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddOnPollRequest) Parameter ¶

func (r *AddOnPollRequest) Parameter(name string, value interface{}) *AddOnPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddOnPollRequest) Predicate ¶

func (r *AddOnPollRequest) Predicate(value func(*AddOnGetResponse) bool) *AddOnPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddOnPollRequest) StartContext ¶

func (r *AddOnPollRequest) StartContext(ctx context.Context) (response *AddOnPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddOnPollRequest) Status ¶

func (r *AddOnPollRequest) Status(value int) *AddOnPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddOnPollResponse ¶

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

AddOnPollResponse is the response for the Poll method.

func (*AddOnPollResponse) Body ¶

func (r *AddOnPollResponse) Body() *AddOn

Body returns the value of the 'body' parameter.

func (*AddOnPollResponse) Error ¶

func (r *AddOnPollResponse) Error() *errors.Error

Error returns the response error.

func (*AddOnPollResponse) GetBody ¶

func (r *AddOnPollResponse) GetBody() (value *AddOn, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddOnPollResponse) Header ¶

func (r *AddOnPollResponse) Header() http.Header

Header returns header of the response.

func (*AddOnPollResponse) Status ¶

func (r *AddOnPollResponse) Status() int

Status returns the response status code.

type AddOnRequirement ¶ added in v0.0.329

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

AddOnRequirement represents the values of the 'add_on_requirement' type.

Representation of an add-on requirement.

func UnmarshalAddOnRequirement ¶ added in v0.0.329

func UnmarshalAddOnRequirement(source interface{}) (object *AddOnRequirement, err error)

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

func UnmarshalAddOnRequirementList ¶ added in v0.0.329

func UnmarshalAddOnRequirementList(source interface{}) (items []*AddOnRequirement, err error)

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

func (*AddOnRequirement) Data ¶ added in v0.0.329

func (o *AddOnRequirement) Data() map[string]interface{}

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

Data for the add-on requirement.

func (*AddOnRequirement) Empty ¶ added in v0.0.329

func (o *AddOnRequirement) Empty() bool

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

func (*AddOnRequirement) Enabled ¶ added in v0.0.329

func (o *AddOnRequirement) 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 requirement is enabled for the add-on.

func (*AddOnRequirement) GetData ¶ added in v0.0.329

func (o *AddOnRequirement) GetData() (value map[string]interface{}, ok bool)

GetData returns the value of the 'data' attribute and a flag indicating if the attribute has a value.

Data for the add-on requirement.

func (*AddOnRequirement) GetEnabled ¶ added in v0.0.329

func (o *AddOnRequirement) 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 requirement is enabled for the add-on.

func (*AddOnRequirement) GetID ¶ added in v0.0.329

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

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

ID of the add-on requirement.

func (*AddOnRequirement) GetResource ¶ added in v0.0.329

func (o *AddOnRequirement) GetResource() (value string, ok bool)

GetResource returns the value of the 'resource' attribute and a flag indicating if the attribute has a value.

Type of resource of the add-on requirement.

func (*AddOnRequirement) GetStatus ¶ added in v0.0.329

func (o *AddOnRequirement) GetStatus() (value *AddOnRequirementStatus, ok bool)

GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.

Optional cluster specific status for the add-on.

func (*AddOnRequirement) ID ¶ added in v0.0.329

func (o *AddOnRequirement) 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 of the add-on requirement.

func (*AddOnRequirement) Resource ¶ added in v0.0.329

func (o *AddOnRequirement) Resource() string

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

Type of resource of the add-on requirement.

func (*AddOnRequirement) Status ¶ added in v0.0.329

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

Optional cluster specific status for the add-on.

type AddOnRequirementBuilder ¶ added in v0.0.329

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

AddOnRequirementBuilder contains the data and logic needed to build 'add_on_requirement' objects.

Representation of an add-on requirement.

func NewAddOnRequirement ¶ added in v0.0.329

func NewAddOnRequirement() *AddOnRequirementBuilder

NewAddOnRequirement creates a new builder of 'add_on_requirement' objects.

func (*AddOnRequirementBuilder) Build ¶ added in v0.0.329

func (b *AddOnRequirementBuilder) Build() (object *AddOnRequirement, err error)

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

func (*AddOnRequirementBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnRequirementBuilder) Data ¶ added in v0.0.329

func (b *AddOnRequirementBuilder) Data(value map[string]interface{}) *AddOnRequirementBuilder

Data sets the value of the 'data' attribute to the given value.

func (*AddOnRequirementBuilder) Empty ¶ added in v0.0.329

func (b *AddOnRequirementBuilder) Empty() bool

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

func (*AddOnRequirementBuilder) Enabled ¶ added in v0.0.329

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddOnRequirementBuilder) ID ¶ added in v0.0.329

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

func (*AddOnRequirementBuilder) Resource ¶ added in v0.0.329

Resource sets the value of the 'resource' attribute to the given value.

func (*AddOnRequirementBuilder) Status ¶ added in v0.0.329

Status sets the value of the 'status' attribute to the given value.

Representation of an add-on requirement status.

type AddOnRequirementList ¶ added in v0.0.329

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

AddOnRequirementList is a list of values of the 'add_on_requirement' type.

func (*AddOnRequirementList) Each ¶ added in v0.0.329

func (l *AddOnRequirementList) Each(f func(item *AddOnRequirement) 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 (*AddOnRequirementList) Empty ¶ added in v0.0.329

func (l *AddOnRequirementList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnRequirementList) Get ¶ added in v0.0.329

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

func (*AddOnRequirementList) Len ¶ added in v0.0.329

func (l *AddOnRequirementList) Len() int

Len returns the length of the list.

func (*AddOnRequirementList) Range ¶ added in v0.0.329

func (l *AddOnRequirementList) Range(f func(index int, item *AddOnRequirement) 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 (*AddOnRequirementList) Slice ¶ added in v0.0.329

func (l *AddOnRequirementList) Slice() []*AddOnRequirement

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 AddOnRequirementListBuilder ¶ added in v0.0.329

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

AddOnRequirementListBuilder contains the data and logic needed to build 'add_on_requirement' objects.

func NewAddOnRequirementList ¶ added in v0.0.329

func NewAddOnRequirementList() *AddOnRequirementListBuilder

NewAddOnRequirementList creates a new builder of 'add_on_requirement' objects.

func (*AddOnRequirementListBuilder) Build ¶ added in v0.0.329

func (b *AddOnRequirementListBuilder) Build() (list *AddOnRequirementList, err error)

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

func (*AddOnRequirementListBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnRequirementListBuilder) Empty ¶ added in v0.0.329

func (b *AddOnRequirementListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddOnRequirementListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnRequirementStatus ¶ added in v0.0.329

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

AddOnRequirementStatus represents the values of the 'add_on_requirement_status' type.

Representation of an add-on requirement status.

func UnmarshalAddOnRequirementStatus ¶ added in v0.0.329

func UnmarshalAddOnRequirementStatus(source interface{}) (object *AddOnRequirementStatus, err error)

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

func UnmarshalAddOnRequirementStatusList ¶ added in v0.0.329

func UnmarshalAddOnRequirementStatusList(source interface{}) (items []*AddOnRequirementStatus, err error)

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

func (*AddOnRequirementStatus) Empty ¶ added in v0.0.329

func (o *AddOnRequirementStatus) Empty() bool

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

func (*AddOnRequirementStatus) ErrorMsgs ¶ added in v0.0.329

func (o *AddOnRequirementStatus) ErrorMsgs() []string

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

Error messages detailing reasons for unfulfilled requirements.

func (*AddOnRequirementStatus) Fulfilled ¶ added in v0.0.329

func (o *AddOnRequirementStatus) Fulfilled() bool

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

Indicates if this requirement is fulfilled.

func (*AddOnRequirementStatus) GetErrorMsgs ¶ added in v0.0.329

func (o *AddOnRequirementStatus) GetErrorMsgs() (value []string, ok bool)

GetErrorMsgs returns the value of the 'error_msgs' attribute and a flag indicating if the attribute has a value.

Error messages detailing reasons for unfulfilled requirements.

func (*AddOnRequirementStatus) GetFulfilled ¶ added in v0.0.329

func (o *AddOnRequirementStatus) GetFulfilled() (value bool, ok bool)

GetFulfilled returns the value of the 'fulfilled' attribute and a flag indicating if the attribute has a value.

Indicates if this requirement is fulfilled.

type AddOnRequirementStatusBuilder ¶ added in v0.0.329

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

AddOnRequirementStatusBuilder contains the data and logic needed to build 'add_on_requirement_status' objects.

Representation of an add-on requirement status.

func NewAddOnRequirementStatus ¶ added in v0.0.329

func NewAddOnRequirementStatus() *AddOnRequirementStatusBuilder

NewAddOnRequirementStatus creates a new builder of 'add_on_requirement_status' objects.

func (*AddOnRequirementStatusBuilder) Build ¶ added in v0.0.329

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

func (*AddOnRequirementStatusBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnRequirementStatusBuilder) Empty ¶ added in v0.0.329

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

func (*AddOnRequirementStatusBuilder) ErrorMsgs ¶ added in v0.0.329

ErrorMsgs sets the value of the 'error_msgs' attribute to the given values.

func (*AddOnRequirementStatusBuilder) Fulfilled ¶ added in v0.0.329

Fulfilled sets the value of the 'fulfilled' attribute to the given value.

type AddOnRequirementStatusList ¶ added in v0.0.329

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

AddOnRequirementStatusList is a list of values of the 'add_on_requirement_status' type.

func (*AddOnRequirementStatusList) Each ¶ added in v0.0.329

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

func (l *AddOnRequirementStatusList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnRequirementStatusList) Get ¶ added in v0.0.329

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

func (*AddOnRequirementStatusList) Len ¶ added in v0.0.329

Len returns the length of the list.

func (*AddOnRequirementStatusList) Range ¶ added in v0.0.329

func (l *AddOnRequirementStatusList) Range(f func(index int, item *AddOnRequirementStatus) 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 (*AddOnRequirementStatusList) Slice ¶ added in v0.0.329

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 AddOnRequirementStatusListBuilder ¶ added in v0.0.329

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

AddOnRequirementStatusListBuilder contains the data and logic needed to build 'add_on_requirement_status' objects.

func NewAddOnRequirementStatusList ¶ added in v0.0.329

func NewAddOnRequirementStatusList() *AddOnRequirementStatusListBuilder

NewAddOnRequirementStatusList creates a new builder of 'add_on_requirement_status' objects.

func (*AddOnRequirementStatusListBuilder) Build ¶ added in v0.0.329

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

func (*AddOnRequirementStatusListBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnRequirementStatusListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AddOnRequirementStatusListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnSecretPropagation ¶ added in v0.0.329

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

AddOnSecretPropagation represents the values of the 'add_on_secret_propagation' type.

Representation of an addon secret propagation

func UnmarshalAddOnSecretPropagation ¶ added in v0.0.329

func UnmarshalAddOnSecretPropagation(source interface{}) (object *AddOnSecretPropagation, err error)

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

func UnmarshalAddOnSecretPropagationList ¶ added in v0.0.329

func UnmarshalAddOnSecretPropagationList(source interface{}) (items []*AddOnSecretPropagation, err error)

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

func (*AddOnSecretPropagation) DestinationSecret ¶ added in v0.0.329

func (o *AddOnSecretPropagation) DestinationSecret() string

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

DestinationSecret is location of the secret to be added

func (*AddOnSecretPropagation) Empty ¶ added in v0.0.329

func (o *AddOnSecretPropagation) Empty() bool

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

func (*AddOnSecretPropagation) Enabled ¶ added in v0.0.329

func (o *AddOnSecretPropagation) 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 is this secret propagation is enabled for the addon

func (*AddOnSecretPropagation) GetDestinationSecret ¶ added in v0.0.329

func (o *AddOnSecretPropagation) GetDestinationSecret() (value string, ok bool)

GetDestinationSecret returns the value of the 'destination_secret' attribute and a flag indicating if the attribute has a value.

DestinationSecret is location of the secret to be added

func (*AddOnSecretPropagation) GetEnabled ¶ added in v0.0.329

func (o *AddOnSecretPropagation) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Indicates is this secret propagation is enabled for the addon

func (*AddOnSecretPropagation) GetID ¶ added in v0.0.329

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

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

ID of the secret propagation

func (*AddOnSecretPropagation) GetSourceSecret ¶ added in v0.0.329

func (o *AddOnSecretPropagation) GetSourceSecret() (value string, ok bool)

GetSourceSecret returns the value of the 'source_secret' attribute and a flag indicating if the attribute has a value.

SourceSecret is location of the source secret

func (*AddOnSecretPropagation) ID ¶ added in v0.0.329

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

ID of the secret propagation

func (*AddOnSecretPropagation) SourceSecret ¶ added in v0.0.329

func (o *AddOnSecretPropagation) SourceSecret() string

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

SourceSecret is location of the source secret

type AddOnSecretPropagationBuilder ¶ added in v0.0.329

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

AddOnSecretPropagationBuilder contains the data and logic needed to build 'add_on_secret_propagation' objects.

Representation of an addon secret propagation

func NewAddOnSecretPropagation ¶ added in v0.0.329

func NewAddOnSecretPropagation() *AddOnSecretPropagationBuilder

NewAddOnSecretPropagation creates a new builder of 'add_on_secret_propagation' objects.

func (*AddOnSecretPropagationBuilder) Build ¶ added in v0.0.329

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

func (*AddOnSecretPropagationBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnSecretPropagationBuilder) DestinationSecret ¶ added in v0.0.329

DestinationSecret sets the value of the 'destination_secret' attribute to the given value.

func (*AddOnSecretPropagationBuilder) Empty ¶ added in v0.0.329

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

func (*AddOnSecretPropagationBuilder) Enabled ¶ added in v0.0.329

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddOnSecretPropagationBuilder) ID ¶ added in v0.0.329

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

func (*AddOnSecretPropagationBuilder) SourceSecret ¶ added in v0.0.329

SourceSecret sets the value of the 'source_secret' attribute to the given value.

type AddOnSecretPropagationList ¶ added in v0.0.329

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

AddOnSecretPropagationList is a list of values of the 'add_on_secret_propagation' type.

func (*AddOnSecretPropagationList) Each ¶ added in v0.0.329

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

func (l *AddOnSecretPropagationList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnSecretPropagationList) Get ¶ added in v0.0.329

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

func (*AddOnSecretPropagationList) Len ¶ added in v0.0.329

Len returns the length of the list.

func (*AddOnSecretPropagationList) Range ¶ added in v0.0.329

func (l *AddOnSecretPropagationList) Range(f func(index int, item *AddOnSecretPropagation) 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 (*AddOnSecretPropagationList) Slice ¶ added in v0.0.329

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 AddOnSecretPropagationListBuilder ¶ added in v0.0.329

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

AddOnSecretPropagationListBuilder contains the data and logic needed to build 'add_on_secret_propagation' objects.

func NewAddOnSecretPropagationList ¶ added in v0.0.329

func NewAddOnSecretPropagationList() *AddOnSecretPropagationListBuilder

NewAddOnSecretPropagationList creates a new builder of 'add_on_secret_propagation' objects.

func (*AddOnSecretPropagationListBuilder) Build ¶ added in v0.0.329

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

func (*AddOnSecretPropagationListBuilder) Copy ¶ added in v0.0.329

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

func (*AddOnSecretPropagationListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AddOnSecretPropagationListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnSubOperator ¶ added in v0.0.329

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

AddOnSubOperator represents the values of the 'add_on_sub_operator' type.

Representation of an add-on sub operator. A sub operator is an operator who's life cycle is controlled by the add-on umbrella operator.

func UnmarshalAddOnSubOperator ¶ added in v0.0.329

func UnmarshalAddOnSubOperator(source interface{}) (object *AddOnSubOperator, err error)

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

func UnmarshalAddOnSubOperatorList ¶ added in v0.0.329

func UnmarshalAddOnSubOperatorList(source interface{}) (items []*AddOnSubOperator, err error)

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

func (*AddOnSubOperator) Empty ¶ added in v0.0.329

func (o *AddOnSubOperator) Empty() bool

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

func (*AddOnSubOperator) Enabled ¶ added in v0.0.329

func (o *AddOnSubOperator) 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 the sub operator is enabled for the add-on

func (*AddOnSubOperator) GetEnabled ¶ added in v0.0.329

func (o *AddOnSubOperator) 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 the sub operator is enabled for the add-on

func (*AddOnSubOperator) GetOperatorName ¶ added in v0.0.329

func (o *AddOnSubOperator) GetOperatorName() (value string, ok bool)

GetOperatorName returns the value of the 'operator_name' attribute and a flag indicating if the attribute has a value.

Name of the add-on sub operator

func (*AddOnSubOperator) GetOperatorNamespace ¶ added in v0.0.329

func (o *AddOnSubOperator) GetOperatorNamespace() (value string, ok bool)

GetOperatorNamespace returns the value of the 'operator_namespace' attribute and a flag indicating if the attribute has a value.

Namespace of the add-on sub operator

func (*AddOnSubOperator) OperatorName ¶ added in v0.0.329

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

Name of the add-on sub operator

func (*AddOnSubOperator) OperatorNamespace ¶ added in v0.0.329

func (o *AddOnSubOperator) OperatorNamespace() string

OperatorNamespace returns the value of the 'operator_namespace' attribute, or the zero value of the type if the attribute doesn't have a value.

Namespace of the add-on sub operator

type AddOnSubOperatorBuilder ¶ added in v0.0.329

type AddOnSubOperatorBuilder struct {
	// contains filtered or unexported fields
}

AddOnSubOperatorBuilder contains the data and logic needed to build 'add_on_sub_operator' objects.

Representation of an add-on sub operator. A sub operator is an operator who's life cycle is controlled by the add-on umbrella operator.

func NewAddOnSubOperator ¶ added in v0.0.329

func NewAddOnSubOperator() *AddOnSubOperatorBuilder

NewAddOnSubOperator creates a new builder of 'add_on_sub_operator' objects.

func (*AddOnSubOperatorBuilder) Build ¶ added in v0.0.329

func (b *AddOnSubOperatorBuilder) Build() (object *AddOnSubOperator, err error)

Build creates a 'add_on_sub_operator' object using the configuration stored in the builder.

func (*AddOnSubOperatorBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AddOnSubOperatorBuilder) Empty ¶ added in v0.0.329

func (b *AddOnSubOperatorBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AddOnSubOperatorBuilder) Enabled ¶ added in v0.0.329

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddOnSubOperatorBuilder) OperatorName ¶ added in v0.0.329

func (b *AddOnSubOperatorBuilder) OperatorName(value string) *AddOnSubOperatorBuilder

OperatorName sets the value of the 'operator_name' attribute to the given value.

func (*AddOnSubOperatorBuilder) OperatorNamespace ¶ added in v0.0.329

func (b *AddOnSubOperatorBuilder) OperatorNamespace(value string) *AddOnSubOperatorBuilder

OperatorNamespace sets the value of the 'operator_namespace' attribute to the given value.

type AddOnSubOperatorList ¶ added in v0.0.329

type AddOnSubOperatorList struct {
	// contains filtered or unexported fields
}

AddOnSubOperatorList is a list of values of the 'add_on_sub_operator' type.

func (*AddOnSubOperatorList) Each ¶ added in v0.0.329

func (l *AddOnSubOperatorList) Each(f func(item *AddOnSubOperator) 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 (*AddOnSubOperatorList) Empty ¶ added in v0.0.329

func (l *AddOnSubOperatorList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnSubOperatorList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AddOnSubOperatorList) Len ¶ added in v0.0.329

func (l *AddOnSubOperatorList) Len() int

Len returns the length of the list.

func (*AddOnSubOperatorList) Range ¶ added in v0.0.329

func (l *AddOnSubOperatorList) Range(f func(index int, item *AddOnSubOperator) 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 (*AddOnSubOperatorList) Slice ¶ added in v0.0.329

func (l *AddOnSubOperatorList) Slice() []*AddOnSubOperator

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 AddOnSubOperatorListBuilder ¶ added in v0.0.329

type AddOnSubOperatorListBuilder struct {
	// contains filtered or unexported fields
}

AddOnSubOperatorListBuilder contains the data and logic needed to build 'add_on_sub_operator' objects.

func NewAddOnSubOperatorList ¶ added in v0.0.329

func NewAddOnSubOperatorList() *AddOnSubOperatorListBuilder

NewAddOnSubOperatorList creates a new builder of 'add_on_sub_operator' objects.

func (*AddOnSubOperatorListBuilder) Build ¶ added in v0.0.329

func (b *AddOnSubOperatorListBuilder) Build() (list *AddOnSubOperatorList, err error)

Build creates a list of 'add_on_sub_operator' objects using the configuration stored in the builder.

func (*AddOnSubOperatorListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AddOnSubOperatorListBuilder) Empty ¶ added in v0.0.329

func (b *AddOnSubOperatorListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddOnSubOperatorListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnUpdateRequest ¶

type AddOnUpdateRequest struct {
	// contains filtered or unexported fields
}

AddOnUpdateRequest is the request for the 'update' method.

func (*AddOnUpdateRequest) Body ¶

func (r *AddOnUpdateRequest) Body(value *AddOn) *AddOnUpdateRequest

Body sets the value of the 'body' parameter.

func (*AddOnUpdateRequest) Header ¶

func (r *AddOnUpdateRequest) Header(name string, value interface{}) *AddOnUpdateRequest

Header adds a request header.

func (*AddOnUpdateRequest) Impersonate ¶ added in v0.0.329

func (r *AddOnUpdateRequest) Impersonate(user string) *AddOnUpdateRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnUpdateRequest) Parameter ¶

func (r *AddOnUpdateRequest) Parameter(name string, value interface{}) *AddOnUpdateRequest

Parameter adds a query parameter.

func (*AddOnUpdateRequest) Send ¶

func (r *AddOnUpdateRequest) Send() (result *AddOnUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnUpdateRequest) SendContext ¶

func (r *AddOnUpdateRequest) SendContext(ctx context.Context) (result *AddOnUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddOnUpdateResponse ¶

type AddOnUpdateResponse struct {
	// contains filtered or unexported fields
}

AddOnUpdateResponse is the response for the 'update' method.

func (*AddOnUpdateResponse) Body ¶

func (r *AddOnUpdateResponse) Body() *AddOn

Body returns the value of the 'body' parameter.

func (*AddOnUpdateResponse) Error ¶

func (r *AddOnUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*AddOnUpdateResponse) GetBody ¶

func (r *AddOnUpdateResponse) GetBody() (value *AddOn, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddOnUpdateResponse) Header ¶

func (r *AddOnUpdateResponse) Header() http.Header

Header returns header of the response.

func (*AddOnUpdateResponse) Status ¶

func (r *AddOnUpdateResponse) Status() int

Status returns the response status code.

type AddOnVersion ¶ added in v0.0.329

type AddOnVersion struct {
	// contains filtered or unexported fields
}

AddOnVersion represents the values of the 'add_on_version' type.

Representation of an add-on version.

func UnmarshalAddOnVersion ¶ added in v0.0.329

func UnmarshalAddOnVersion(source interface{}) (object *AddOnVersion, err error)

UnmarshalAddOnVersion reads a value of the 'add_on_version' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAddOnVersionList ¶ added in v0.0.329

func UnmarshalAddOnVersionList(source interface{}) (items []*AddOnVersion, err error)

UnmarshalAddOnVersionList reads a list of values of the 'add_on_version' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AddOnVersion) AdditionalCatalogSources ¶ added in v0.0.329

func (o *AddOnVersion) AdditionalCatalogSources() []*AdditionalCatalogSource

AdditionalCatalogSources returns the value of the 'additional_catalog_sources' attribute, or the zero value of the type if the attribute doesn't have a value.

Additional catalog sources associated with this addon version

func (*AddOnVersion) AvailableUpgrades ¶ added in v0.0.329

func (o *AddOnVersion) 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 (*AddOnVersion) Channel ¶ added in v0.0.329

func (o *AddOnVersion) Channel() string

Channel returns the value of the 'channel' attribute, or the zero value of the type if the attribute doesn't have a value.

The specific addon catalog source channel of packages

func (*AddOnVersion) Config ¶ added in v0.0.329

func (o *AddOnVersion) Config() *AddOnConfig

Config returns the value of the 'config' attribute, or the zero value of the type if the attribute doesn't have a value.

Additional configs to be used by the addon once its installed in the cluster.

func (*AddOnVersion) Empty ¶ added in v0.0.329

func (o *AddOnVersion) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AddOnVersion) Enabled ¶ added in v0.0.329

func (o *AddOnVersion) 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 add-on version can be added to clusters.

func (*AddOnVersion) GetAdditionalCatalogSources ¶ added in v0.0.329

func (o *AddOnVersion) GetAdditionalCatalogSources() (value []*AdditionalCatalogSource, ok bool)

GetAdditionalCatalogSources returns the value of the 'additional_catalog_sources' attribute and a flag indicating if the attribute has a value.

Additional catalog sources associated with this addon version

func (*AddOnVersion) GetAvailableUpgrades ¶ added in v0.0.329

func (o *AddOnVersion) 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 (*AddOnVersion) GetChannel ¶ added in v0.0.329

func (o *AddOnVersion) GetChannel() (value string, ok bool)

GetChannel returns the value of the 'channel' attribute and a flag indicating if the attribute has a value.

The specific addon catalog source channel of packages

func (*AddOnVersion) GetConfig ¶ added in v0.0.329

func (o *AddOnVersion) GetConfig() (value *AddOnConfig, ok bool)

GetConfig returns the value of the 'config' attribute and a flag indicating if the attribute has a value.

Additional configs to be used by the addon once its installed in the cluster.

func (*AddOnVersion) GetEnabled ¶ added in v0.0.329

func (o *AddOnVersion) 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 add-on version can be added to clusters.

func (*AddOnVersion) GetHREF ¶ added in v0.0.329

func (o *AddOnVersion) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*AddOnVersion) GetID ¶ added in v0.0.329

func (o *AddOnVersion) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*AddOnVersion) GetPackageImage ¶ added in v0.1.401

func (o *AddOnVersion) GetPackageImage() (value string, ok bool)

GetPackageImage returns the value of the 'package_image' attribute and a flag indicating if the attribute has a value.

The package image for this addon version

func (*AddOnVersion) GetParameters ¶ added in v0.0.329

func (o *AddOnVersion) GetParameters() (value *AddOnParameterList, ok bool)

GetParameters returns the value of the 'parameters' attribute and a flag indicating if the attribute has a value.

List of parameters for this add-on version.

func (*AddOnVersion) GetPullSecretName ¶ added in v0.0.329

func (o *AddOnVersion) GetPullSecretName() (value string, ok bool)

GetPullSecretName returns the value of the 'pull_secret_name' attribute and a flag indicating if the attribute has a value.

The pull secret name used for this addon version.

func (*AddOnVersion) GetRequirements ¶ added in v0.0.329

func (o *AddOnVersion) GetRequirements() (value []*AddOnRequirement, ok bool)

GetRequirements returns the value of the 'requirements' attribute and a flag indicating if the attribute has a value.

List of requirements for this add-on version.

func (*AddOnVersion) GetSourceImage ¶ added in v0.0.329

func (o *AddOnVersion) GetSourceImage() (value string, ok bool)

GetSourceImage returns the value of the 'source_image' attribute and a flag indicating if the attribute has a value.

The catalog source image for this add-on version.

func (*AddOnVersion) GetSubOperators ¶ added in v0.0.329

func (o *AddOnVersion) GetSubOperators() (value []*AddOnSubOperator, ok bool)

GetSubOperators returns the value of the 'sub_operators' attribute and a flag indicating if the attribute has a value.

List of sub operators for this add-on version.

func (*AddOnVersion) HREF ¶ added in v0.0.329

func (o *AddOnVersion) HREF() string

HREF returns the link to the object.

func (*AddOnVersion) ID ¶ added in v0.0.329

func (o *AddOnVersion) ID() string

ID returns the identifier of the object.

func (*AddOnVersion) Kind ¶ added in v0.0.329

func (o *AddOnVersion) Kind() string

Kind returns the name of the type of the object.

func (o *AddOnVersion) Link() bool

Link returns true iif this is a link.

func (*AddOnVersion) PackageImage ¶ added in v0.1.401

func (o *AddOnVersion) PackageImage() string

PackageImage returns the value of the 'package_image' attribute, or the zero value of the type if the attribute doesn't have a value.

The package image for this addon version

func (*AddOnVersion) Parameters ¶ added in v0.0.329

func (o *AddOnVersion) Parameters() *AddOnParameterList

Parameters returns the value of the 'parameters' attribute, or the zero value of the type if the attribute doesn't have a value.

List of parameters for this add-on version.

func (*AddOnVersion) PullSecretName ¶ added in v0.0.329

func (o *AddOnVersion) PullSecretName() string

PullSecretName returns the value of the 'pull_secret_name' attribute, or the zero value of the type if the attribute doesn't have a value.

The pull secret name used for this addon version.

func (*AddOnVersion) Requirements ¶ added in v0.0.329

func (o *AddOnVersion) Requirements() []*AddOnRequirement

Requirements returns the value of the 'requirements' attribute, or the zero value of the type if the attribute doesn't have a value.

List of requirements for this add-on version.

func (*AddOnVersion) SourceImage ¶ added in v0.0.329

func (o *AddOnVersion) SourceImage() string

SourceImage returns the value of the 'source_image' attribute, or the zero value of the type if the attribute doesn't have a value.

The catalog source image for this add-on version.

func (*AddOnVersion) SubOperators ¶ added in v0.0.329

func (o *AddOnVersion) SubOperators() []*AddOnSubOperator

SubOperators returns the value of the 'sub_operators' attribute, or the zero value of the type if the attribute doesn't have a value.

List of sub operators for this add-on version.

type AddOnVersionBuilder ¶ added in v0.0.329

type AddOnVersionBuilder struct {
	// contains filtered or unexported fields
}

AddOnVersionBuilder contains the data and logic needed to build 'add_on_version' objects.

Representation of an add-on version.

func NewAddOnVersion ¶ added in v0.0.329

func NewAddOnVersion() *AddOnVersionBuilder

NewAddOnVersion creates a new builder of 'add_on_version' objects.

func (*AddOnVersionBuilder) AdditionalCatalogSources ¶ added in v0.0.329

func (b *AddOnVersionBuilder) AdditionalCatalogSources(values ...*AdditionalCatalogSourceBuilder) *AddOnVersionBuilder

AdditionalCatalogSources sets the value of the 'additional_catalog_sources' attribute to the given values.

func (*AddOnVersionBuilder) AvailableUpgrades ¶ added in v0.0.329

func (b *AddOnVersionBuilder) AvailableUpgrades(values ...string) *AddOnVersionBuilder

AvailableUpgrades sets the value of the 'available_upgrades' attribute to the given values.

func (*AddOnVersionBuilder) Build ¶ added in v0.0.329

func (b *AddOnVersionBuilder) Build() (object *AddOnVersion, err error)

Build creates a 'add_on_version' object using the configuration stored in the builder.

func (*AddOnVersionBuilder) Channel ¶ added in v0.0.329

func (b *AddOnVersionBuilder) Channel(value string) *AddOnVersionBuilder

Channel sets the value of the 'channel' attribute to the given value.

func (*AddOnVersionBuilder) Config ¶ added in v0.0.329

Config sets the value of the 'config' attribute to the given value.

Representation of an add-on config. The attributes under it are to be used by the addon once its installed in the cluster.

func (*AddOnVersionBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AddOnVersionBuilder) Empty ¶ added in v0.0.329

func (b *AddOnVersionBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AddOnVersionBuilder) Enabled ¶ added in v0.0.329

func (b *AddOnVersionBuilder) Enabled(value bool) *AddOnVersionBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddOnVersionBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AddOnVersionBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*AddOnVersionBuilder) PackageImage ¶ added in v0.1.401

func (b *AddOnVersionBuilder) PackageImage(value string) *AddOnVersionBuilder

PackageImage sets the value of the 'package_image' attribute to the given value.

func (*AddOnVersionBuilder) Parameters ¶ added in v0.0.329

Parameters sets the value of the 'parameters' attribute to the given values.

func (*AddOnVersionBuilder) PullSecretName ¶ added in v0.0.329

func (b *AddOnVersionBuilder) PullSecretName(value string) *AddOnVersionBuilder

PullSecretName sets the value of the 'pull_secret_name' attribute to the given value.

func (*AddOnVersionBuilder) Requirements ¶ added in v0.0.329

Requirements sets the value of the 'requirements' attribute to the given values.

func (*AddOnVersionBuilder) SourceImage ¶ added in v0.0.329

func (b *AddOnVersionBuilder) SourceImage(value string) *AddOnVersionBuilder

SourceImage sets the value of the 'source_image' attribute to the given value.

func (*AddOnVersionBuilder) SubOperators ¶ added in v0.0.329

SubOperators sets the value of the 'sub_operators' attribute to the given values.

type AddOnVersionClient ¶ added in v0.0.329

type AddOnVersionClient struct {
	// contains filtered or unexported fields
}

AddOnVersionClient is the client of the 'add_on_version' resource.

Manages a specific add-on version.

func NewAddOnVersionClient ¶ added in v0.0.329

func NewAddOnVersionClient(transport http.RoundTripper, path string) *AddOnVersionClient

NewAddOnVersionClient creates a new client for the 'add_on_version' resource using the given transport to send the requests and receive the responses.

func (*AddOnVersionClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the add-on version.

func (*AddOnVersionClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the add-on version.

func (*AddOnVersionClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*AddOnVersionClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Updates the add-on version.

type AddOnVersionDeleteRequest ¶ added in v0.0.329

type AddOnVersionDeleteRequest struct {
	// contains filtered or unexported fields
}

AddOnVersionDeleteRequest is the request for the 'delete' method.

func (*AddOnVersionDeleteRequest) Header ¶ added in v0.0.329

func (r *AddOnVersionDeleteRequest) Header(name string, value interface{}) *AddOnVersionDeleteRequest

Header adds a request header.

func (*AddOnVersionDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnVersionDeleteRequest) Parameter ¶ added in v0.0.329

func (r *AddOnVersionDeleteRequest) Parameter(name string, value interface{}) *AddOnVersionDeleteRequest

Parameter adds a query parameter.

func (*AddOnVersionDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnVersionDeleteRequest) SendContext ¶ added in v0.0.329

func (r *AddOnVersionDeleteRequest) SendContext(ctx context.Context) (result *AddOnVersionDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddOnVersionDeleteResponse ¶ added in v0.0.329

type AddOnVersionDeleteResponse struct {
	// contains filtered or unexported fields
}

AddOnVersionDeleteResponse is the response for the 'delete' method.

func (*AddOnVersionDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddOnVersionDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddOnVersionDeleteResponse) Status ¶ added in v0.0.329

func (r *AddOnVersionDeleteResponse) Status() int

Status returns the response status code.

type AddOnVersionGetRequest ¶ added in v0.0.329

type AddOnVersionGetRequest struct {
	// contains filtered or unexported fields
}

AddOnVersionGetRequest is the request for the 'get' method.

func (*AddOnVersionGetRequest) Header ¶ added in v0.0.329

func (r *AddOnVersionGetRequest) Header(name string, value interface{}) *AddOnVersionGetRequest

Header adds a request header.

func (*AddOnVersionGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnVersionGetRequest) Parameter ¶ added in v0.0.329

func (r *AddOnVersionGetRequest) Parameter(name string, value interface{}) *AddOnVersionGetRequest

Parameter adds a query parameter.

func (*AddOnVersionGetRequest) Send ¶ added in v0.0.329

func (r *AddOnVersionGetRequest) Send() (result *AddOnVersionGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnVersionGetRequest) SendContext ¶ added in v0.0.329

func (r *AddOnVersionGetRequest) SendContext(ctx context.Context) (result *AddOnVersionGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddOnVersionGetResponse ¶ added in v0.0.329

type AddOnVersionGetResponse struct {
	// contains filtered or unexported fields
}

AddOnVersionGetResponse is the response for the 'get' method.

func (*AddOnVersionGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*AddOnVersionGetResponse) Error ¶ added in v0.0.329

func (r *AddOnVersionGetResponse) Error() *errors.Error

Error returns the response error.

func (*AddOnVersionGetResponse) GetBody ¶ added in v0.0.329

func (r *AddOnVersionGetResponse) GetBody() (value *AddOnVersion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddOnVersionGetResponse) Header ¶ added in v0.0.329

func (r *AddOnVersionGetResponse) Header() http.Header

Header returns header of the response.

func (*AddOnVersionGetResponse) Status ¶ added in v0.0.329

func (r *AddOnVersionGetResponse) Status() int

Status returns the response status code.

type AddOnVersionList ¶ added in v0.0.329

type AddOnVersionList struct {
	// contains filtered or unexported fields
}

AddOnVersionList is a list of values of the 'add_on_version' type.

func (*AddOnVersionList) Each ¶ added in v0.0.329

func (l *AddOnVersionList) Each(f func(item *AddOnVersion) 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 (*AddOnVersionList) Empty ¶ added in v0.0.329

func (l *AddOnVersionList) Empty() bool

Empty returns true if the list is empty.

func (*AddOnVersionList) Get ¶ added in v0.0.329

func (l *AddOnVersionList) Get(i int) *AddOnVersion

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AddOnVersionList) GetHREF ¶ added in v0.0.329

func (l *AddOnVersionList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*AddOnVersionList) HREF ¶ added in v0.0.329

func (l *AddOnVersionList) HREF() string

HREF returns the link to the list.

func (*AddOnVersionList) Kind ¶ added in v0.0.329

func (l *AddOnVersionList) Kind() string

Kind returns the name of the type of the object.

func (*AddOnVersionList) Len ¶ added in v0.0.329

func (l *AddOnVersionList) Len() int

Len returns the length of the list.

func (l *AddOnVersionList) Link() bool

Link returns true iif this is a link.

func (*AddOnVersionList) Range ¶ added in v0.0.329

func (l *AddOnVersionList) Range(f func(index int, item *AddOnVersion) 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 (*AddOnVersionList) Slice ¶ added in v0.0.329

func (l *AddOnVersionList) Slice() []*AddOnVersion

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 AddOnVersionListBuilder ¶ added in v0.0.329

type AddOnVersionListBuilder struct {
	// contains filtered or unexported fields
}

AddOnVersionListBuilder contains the data and logic needed to build 'add_on_version' objects.

func NewAddOnVersionList ¶ added in v0.0.329

func NewAddOnVersionList() *AddOnVersionListBuilder

NewAddOnVersionList creates a new builder of 'add_on_version' objects.

func (*AddOnVersionListBuilder) Build ¶ added in v0.0.329

func (b *AddOnVersionListBuilder) Build() (list *AddOnVersionList, err error)

Build creates a list of 'add_on_version' objects using the configuration stored in the builder.

func (*AddOnVersionListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AddOnVersionListBuilder) Empty ¶ added in v0.0.329

func (b *AddOnVersionListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddOnVersionListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddOnVersionPollRequest ¶ added in v0.0.329

type AddOnVersionPollRequest struct {
	// contains filtered or unexported fields
}

AddOnVersionPollRequest is the request for the Poll method.

func (*AddOnVersionPollRequest) Header ¶ added in v0.0.329

func (r *AddOnVersionPollRequest) Header(name string, value interface{}) *AddOnVersionPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddOnVersionPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddOnVersionPollRequest) Parameter ¶ added in v0.0.329

func (r *AddOnVersionPollRequest) Parameter(name string, value interface{}) *AddOnVersionPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddOnVersionPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddOnVersionPollRequest) StartContext ¶ added in v0.0.329

func (r *AddOnVersionPollRequest) StartContext(ctx context.Context) (response *AddOnVersionPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddOnVersionPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddOnVersionPollResponse ¶ added in v0.0.329

type AddOnVersionPollResponse struct {
	// contains filtered or unexported fields
}

AddOnVersionPollResponse is the response for the Poll method.

func (*AddOnVersionPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*AddOnVersionPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddOnVersionPollResponse) GetBody ¶ added in v0.0.329

func (r *AddOnVersionPollResponse) GetBody() (value *AddOnVersion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddOnVersionPollResponse) Header ¶ added in v0.0.329

func (r *AddOnVersionPollResponse) Header() http.Header

Header returns header of the response.

func (*AddOnVersionPollResponse) Status ¶ added in v0.0.329

func (r *AddOnVersionPollResponse) Status() int

Status returns the response status code.

type AddOnVersionUpdateRequest ¶ added in v0.0.329

type AddOnVersionUpdateRequest struct {
	// contains filtered or unexported fields
}

AddOnVersionUpdateRequest is the request for the 'update' method.

func (*AddOnVersionUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*AddOnVersionUpdateRequest) Header ¶ added in v0.0.329

func (r *AddOnVersionUpdateRequest) Header(name string, value interface{}) *AddOnVersionUpdateRequest

Header adds a request header.

func (*AddOnVersionUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnVersionUpdateRequest) Parameter ¶ added in v0.0.329

func (r *AddOnVersionUpdateRequest) Parameter(name string, value interface{}) *AddOnVersionUpdateRequest

Parameter adds a query parameter.

func (*AddOnVersionUpdateRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnVersionUpdateRequest) SendContext ¶ added in v0.0.329

func (r *AddOnVersionUpdateRequest) SendContext(ctx context.Context) (result *AddOnVersionUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddOnVersionUpdateResponse ¶ added in v0.0.329

type AddOnVersionUpdateResponse struct {
	// contains filtered or unexported fields
}

AddOnVersionUpdateResponse is the response for the 'update' method.

func (*AddOnVersionUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*AddOnVersionUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddOnVersionUpdateResponse) GetBody ¶ added in v0.0.329

func (r *AddOnVersionUpdateResponse) GetBody() (value *AddOnVersion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddOnVersionUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddOnVersionUpdateResponse) Status ¶ added in v0.0.329

func (r *AddOnVersionUpdateResponse) Status() int

Status returns the response status code.

type AddOnVersionsAddRequest ¶ added in v0.0.329

type AddOnVersionsAddRequest struct {
	// contains filtered or unexported fields
}

AddOnVersionsAddRequest is the request for the 'add' method.

func (*AddOnVersionsAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Description of the add-on version.

func (*AddOnVersionsAddRequest) Header ¶ added in v0.0.329

func (r *AddOnVersionsAddRequest) Header(name string, value interface{}) *AddOnVersionsAddRequest

Header adds a request header.

func (*AddOnVersionsAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnVersionsAddRequest) Parameter ¶ added in v0.0.329

func (r *AddOnVersionsAddRequest) Parameter(name string, value interface{}) *AddOnVersionsAddRequest

Parameter adds a query parameter.

func (*AddOnVersionsAddRequest) Send ¶ added in v0.0.329

func (r *AddOnVersionsAddRequest) Send() (result *AddOnVersionsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnVersionsAddRequest) SendContext ¶ added in v0.0.329

func (r *AddOnVersionsAddRequest) SendContext(ctx context.Context) (result *AddOnVersionsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddOnVersionsAddResponse ¶ added in v0.0.329

type AddOnVersionsAddResponse struct {
	// contains filtered or unexported fields
}

AddOnVersionsAddResponse is the response for the 'add' method.

func (*AddOnVersionsAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Description of the add-on version.

func (*AddOnVersionsAddResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddOnVersionsAddResponse) GetBody ¶ added in v0.0.329

func (r *AddOnVersionsAddResponse) GetBody() (value *AddOnVersion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the add-on version.

func (*AddOnVersionsAddResponse) Header ¶ added in v0.0.329

func (r *AddOnVersionsAddResponse) Header() http.Header

Header returns header of the response.

func (*AddOnVersionsAddResponse) Status ¶ added in v0.0.329

func (r *AddOnVersionsAddResponse) Status() int

Status returns the response status code.

type AddOnVersionsClient ¶ added in v0.0.329

type AddOnVersionsClient struct {
	// contains filtered or unexported fields
}

AddOnVersionsClient is the client of the 'add_on_versions' resource.

Manages the collection of add-on versions.

func NewAddOnVersionsClient ¶ added in v0.0.329

func NewAddOnVersionsClient(transport http.RoundTripper, path string) *AddOnVersionsClient

NewAddOnVersionsClient creates a new client for the 'add_on_versions' resource using the given transport to send the requests and receive the responses.

func (*AddOnVersionsClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Create a new add-on version and add it to the collection of add-ons.

func (*AddOnVersionsClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of add-on versions.

func (*AddOnVersionsClient) Version ¶ added in v0.0.329

Version returns the target 'add_on_version' resource for the given identifier.

Returns a reference to the service that manages a specific add-on version.

type AddOnVersionsListRequest ¶ added in v0.0.329

type AddOnVersionsListRequest struct {
	// contains filtered or unexported fields
}

AddOnVersionsListRequest is the request for the 'list' method.

func (*AddOnVersionsListRequest) Header ¶ added in v0.0.329

func (r *AddOnVersionsListRequest) Header(name string, value interface{}) *AddOnVersionsListRequest

Header adds a request header.

func (*AddOnVersionsListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnVersionsListRequest) Order ¶ added in v0.0.329

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the add-on instead of the names of the columns of a table. For example, in order to sort the add-on versions descending by id the value should be:

```sql id desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AddOnVersionsListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddOnVersionsListRequest) Parameter ¶ added in v0.0.329

func (r *AddOnVersionsListRequest) Parameter(name string, value interface{}) *AddOnVersionsListRequest

Parameter adds a query parameter.

func (*AddOnVersionsListRequest) Search ¶ added in v0.0.329

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the add-on version instead of the names of the columns of a table. For example, in order to retrieve all the add-on versions with an id starting with `0.1` the value should be:

```sql id like '0.1.%' ```

If the parameter isn't provided, or if the value is empty, then all the add-on versions that the user has permission to see will be returned.

func (*AddOnVersionsListRequest) Send ¶ added in v0.0.329

func (r *AddOnVersionsListRequest) Send() (result *AddOnVersionsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnVersionsListRequest) SendContext ¶ added in v0.0.329

func (r *AddOnVersionsListRequest) SendContext(ctx context.Context) (result *AddOnVersionsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*AddOnVersionsListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AddOnVersionsListResponse ¶ added in v0.0.329

type AddOnVersionsListResponse struct {
	// contains filtered or unexported fields
}

AddOnVersionsListResponse is the response for the 'list' method.

func (*AddOnVersionsListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddOnVersionsListResponse) GetItems ¶ added in v0.0.329

func (r *AddOnVersionsListResponse) GetItems() (value *AddOnVersionList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of add-on versions.

func (*AddOnVersionsListResponse) GetPage ¶ added in v0.0.329

func (r *AddOnVersionsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AddOnVersionsListResponse) GetSize ¶ added in v0.0.329

func (r *AddOnVersionsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AddOnVersionsListResponse) GetTotal ¶ added in v0.0.329

func (r *AddOnVersionsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AddOnVersionsListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddOnVersionsListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of add-on versions.

func (*AddOnVersionsListResponse) Page ¶ added in v0.0.329

func (r *AddOnVersionsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddOnVersionsListResponse) Size ¶ added in v0.0.329

func (r *AddOnVersionsListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AddOnVersionsListResponse) Status ¶ added in v0.0.329

func (r *AddOnVersionsListResponse) Status() int

Status returns the response status code.

func (*AddOnVersionsListResponse) Total ¶ added in v0.0.329

func (r *AddOnVersionsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type AddOnsAddRequest ¶

type AddOnsAddRequest struct {
	// contains filtered or unexported fields
}

AddOnsAddRequest is the request for the 'add' method.

func (*AddOnsAddRequest) Body ¶

func (r *AddOnsAddRequest) Body(value *AddOn) *AddOnsAddRequest

Body sets the value of the 'body' parameter.

Description of the add-on.

func (*AddOnsAddRequest) Header ¶

func (r *AddOnsAddRequest) Header(name string, value interface{}) *AddOnsAddRequest

Header adds a request header.

func (*AddOnsAddRequest) Impersonate ¶ added in v0.0.329

func (r *AddOnsAddRequest) Impersonate(user string) *AddOnsAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnsAddRequest) Parameter ¶

func (r *AddOnsAddRequest) Parameter(name string, value interface{}) *AddOnsAddRequest

Parameter adds a query parameter.

func (*AddOnsAddRequest) Send ¶

func (r *AddOnsAddRequest) Send() (result *AddOnsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnsAddRequest) SendContext ¶

func (r *AddOnsAddRequest) SendContext(ctx context.Context) (result *AddOnsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddOnsAddResponse ¶

type AddOnsAddResponse struct {
	// contains filtered or unexported fields
}

AddOnsAddResponse is the response for the 'add' method.

func (*AddOnsAddResponse) Body ¶

func (r *AddOnsAddResponse) Body() *AddOn

Body returns the value of the 'body' parameter.

Description of the add-on.

func (*AddOnsAddResponse) Error ¶

func (r *AddOnsAddResponse) Error() *errors.Error

Error returns the response error.

func (*AddOnsAddResponse) GetBody ¶

func (r *AddOnsAddResponse) GetBody() (value *AddOn, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the add-on.

func (*AddOnsAddResponse) Header ¶

func (r *AddOnsAddResponse) Header() http.Header

Header returns header of the response.

func (*AddOnsAddResponse) Status ¶

func (r *AddOnsAddResponse) Status() int

Status returns the response status code.

type AddOnsClient ¶

type AddOnsClient struct {
	// contains filtered or unexported fields
}

AddOnsClient is the client of the 'add_ons' resource.

Manages the collection of add-ons.

func NewAddOnsClient ¶

func NewAddOnsClient(transport http.RoundTripper, path string) *AddOnsClient

NewAddOnsClient creates a new client for the 'add_ons' resource using the given transport to send the requests and receive the responses.

func (*AddOnsClient) Add ¶

func (c *AddOnsClient) Add() *AddOnsAddRequest

Add creates a request for the 'add' method.

Create a new add-on and add it to the collection of add-ons.

func (*AddOnsClient) Addon ¶

func (c *AddOnsClient) Addon(id string) *AddOnClient

Addon returns the target 'add_on' resource for the given identifier.

Returns a reference to the service that manages a specific add-on.

func (*AddOnsClient) List ¶

func (c *AddOnsClient) List() *AddOnsListRequest

List creates a request for the 'list' method.

Retrieves the list of add-ons.

type AddOnsListRequest ¶

type AddOnsListRequest struct {
	// contains filtered or unexported fields
}

AddOnsListRequest is the request for the 'list' method.

func (*AddOnsListRequest) Header ¶

func (r *AddOnsListRequest) Header(name string, value interface{}) *AddOnsListRequest

Header adds a request header.

func (*AddOnsListRequest) Impersonate ¶ added in v0.0.329

func (r *AddOnsListRequest) Impersonate(user string) *AddOnsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddOnsListRequest) Order ¶

func (r *AddOnsListRequest) Order(value string) *AddOnsListRequest

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the add-on instead of the names of the columns of a table. For example, in order to sort the add-ons descending by name the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AddOnsListRequest) Page ¶

func (r *AddOnsListRequest) Page(value int) *AddOnsListRequest

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddOnsListRequest) Parameter ¶

func (r *AddOnsListRequest) Parameter(name string, value interface{}) *AddOnsListRequest

Parameter adds a query parameter.

func (*AddOnsListRequest) Search ¶

func (r *AddOnsListRequest) Search(value string) *AddOnsListRequest

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the add-on instead of the names of the columns of a table. For example, in order to retrieve all the add-ons with a name starting with `my` the value should be:

```sql name like 'my%' ```

If the parameter isn't provided, or if the value is empty, then all the add-ons that the user has permission to see will be returned.

func (*AddOnsListRequest) Send ¶

func (r *AddOnsListRequest) Send() (result *AddOnsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddOnsListRequest) SendContext ¶

func (r *AddOnsListRequest) SendContext(ctx context.Context) (result *AddOnsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*AddOnsListRequest) Size ¶

func (r *AddOnsListRequest) Size(value int) *AddOnsListRequest

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AddOnsListResponse ¶

type AddOnsListResponse struct {
	// contains filtered or unexported fields
}

AddOnsListResponse is the response for the 'list' method.

func (*AddOnsListResponse) Error ¶

func (r *AddOnsListResponse) Error() *errors.Error

Error returns the response error.

func (*AddOnsListResponse) GetItems ¶

func (r *AddOnsListResponse) GetItems() (value *AddOnList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of add-ons.

func (*AddOnsListResponse) GetPage ¶

func (r *AddOnsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AddOnsListResponse) GetSize ¶

func (r *AddOnsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AddOnsListResponse) GetTotal ¶

func (r *AddOnsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AddOnsListResponse) Header ¶

func (r *AddOnsListResponse) Header() http.Header

Header returns header of the response.

func (*AddOnsListResponse) Items ¶

func (r *AddOnsListResponse) Items() *AddOnList

Items returns the value of the 'items' parameter.

Retrieved list of add-ons.

func (*AddOnsListResponse) Page ¶

func (r *AddOnsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddOnsListResponse) Size ¶

func (r *AddOnsListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AddOnsListResponse) Status ¶

func (r *AddOnsListResponse) Status() int

Status returns the response status code.

func (*AddOnsListResponse) Total ¶

func (r *AddOnsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type AdditionalCatalogSource ¶ added in v0.0.329

type AdditionalCatalogSource struct {
	// contains filtered or unexported fields
}

AdditionalCatalogSource represents the values of the 'additional_catalog_source' type.

Representation of an addon catalog source object used by addon versions.

func UnmarshalAdditionalCatalogSource ¶ added in v0.0.329

func UnmarshalAdditionalCatalogSource(source interface{}) (object *AdditionalCatalogSource, err error)

UnmarshalAdditionalCatalogSource reads a value of the 'additional_catalog_source' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAdditionalCatalogSourceList ¶ added in v0.0.329

func UnmarshalAdditionalCatalogSourceList(source interface{}) (items []*AdditionalCatalogSource, err error)

UnmarshalAdditionalCatalogSourceList reads a list of values of the 'additional_catalog_source' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AdditionalCatalogSource) Empty ¶ added in v0.0.329

func (o *AdditionalCatalogSource) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AdditionalCatalogSource) Enabled ¶ added in v0.0.329

func (o *AdditionalCatalogSource) 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 is this additional catalog source is enabled for the addon

func (*AdditionalCatalogSource) GetEnabled ¶ added in v0.0.329

func (o *AdditionalCatalogSource) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Indicates is this additional catalog source is enabled for the addon

func (*AdditionalCatalogSource) GetID ¶ added in v0.0.329

func (o *AdditionalCatalogSource) GetID() (value string, ok bool)

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

ID of the additional catalog source

func (*AdditionalCatalogSource) GetImage ¶ added in v0.0.329

func (o *AdditionalCatalogSource) GetImage() (value string, ok bool)

GetImage returns the value of the 'image' attribute and a flag indicating if the attribute has a value.

Image of the additional catalog source.

func (*AdditionalCatalogSource) GetName ¶ added in v0.0.329

func (o *AdditionalCatalogSource) 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 additional catalog source.

func (*AdditionalCatalogSource) ID ¶ added in v0.0.329

ID returns the value of the 'ID' attribute, or the zero value of the type if the attribute doesn't have a value.

ID of the additional catalog source

func (*AdditionalCatalogSource) Image ¶ added in v0.0.329

func (o *AdditionalCatalogSource) Image() string

Image returns the value of the 'image' attribute, or the zero value of the type if the attribute doesn't have a value.

Image of the additional catalog source.

func (*AdditionalCatalogSource) Name ¶ added in v0.0.329

func (o *AdditionalCatalogSource) 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 additional catalog source.

type AdditionalCatalogSourceBuilder ¶ added in v0.0.329

type AdditionalCatalogSourceBuilder struct {
	// contains filtered or unexported fields
}

AdditionalCatalogSourceBuilder contains the data and logic needed to build 'additional_catalog_source' objects.

Representation of an addon catalog source object used by addon versions.

func NewAdditionalCatalogSource ¶ added in v0.0.329

func NewAdditionalCatalogSource() *AdditionalCatalogSourceBuilder

NewAdditionalCatalogSource creates a new builder of 'additional_catalog_source' objects.

func (*AdditionalCatalogSourceBuilder) Build ¶ added in v0.0.329

Build creates a 'additional_catalog_source' object using the configuration stored in the builder.

func (*AdditionalCatalogSourceBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AdditionalCatalogSourceBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AdditionalCatalogSourceBuilder) Enabled ¶ added in v0.0.329

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AdditionalCatalogSourceBuilder) ID ¶ added in v0.0.329

ID sets the value of the 'ID' attribute to the given value.

func (*AdditionalCatalogSourceBuilder) Image ¶ added in v0.0.329

Image sets the value of the 'image' attribute to the given value.

func (*AdditionalCatalogSourceBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

type AdditionalCatalogSourceList ¶ added in v0.0.329

type AdditionalCatalogSourceList struct {
	// contains filtered or unexported fields
}

AdditionalCatalogSourceList is a list of values of the 'additional_catalog_source' type.

func (*AdditionalCatalogSourceList) Each ¶ added in v0.0.329

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 (*AdditionalCatalogSourceList) Empty ¶ added in v0.0.329

func (l *AdditionalCatalogSourceList) Empty() bool

Empty returns true if the list is empty.

func (*AdditionalCatalogSourceList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AdditionalCatalogSourceList) Len ¶ added in v0.0.329

Len returns the length of the list.

func (*AdditionalCatalogSourceList) Range ¶ added in v0.0.329

func (l *AdditionalCatalogSourceList) Range(f func(index int, item *AdditionalCatalogSource) 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 (*AdditionalCatalogSourceList) Slice ¶ added in v0.0.329

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 AdditionalCatalogSourceListBuilder ¶ added in v0.0.329

type AdditionalCatalogSourceListBuilder struct {
	// contains filtered or unexported fields
}

AdditionalCatalogSourceListBuilder contains the data and logic needed to build 'additional_catalog_source' objects.

func NewAdditionalCatalogSourceList ¶ added in v0.0.329

func NewAdditionalCatalogSourceList() *AdditionalCatalogSourceListBuilder

NewAdditionalCatalogSourceList creates a new builder of 'additional_catalog_source' objects.

func (*AdditionalCatalogSourceListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'additional_catalog_source' objects using the configuration stored in the builder.

func (*AdditionalCatalogSourceListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AdditionalCatalogSourceListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AdditionalCatalogSourceListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddonInquiriesClient ¶ added in v0.0.329

type AddonInquiriesClient struct {
	// contains filtered or unexported fields
}

AddonInquiriesClient is the client of the 'addon_inquiries' resource.

Manages add-on inquiries, inquiries perform validation of add-on(s) on a per cluster basis based on add-on conditions and requirements.

func NewAddonInquiriesClient ¶ added in v0.0.329

func NewAddonInquiriesClient(transport http.RoundTripper, path string) *AddonInquiriesClient

NewAddonInquiriesClient creates a new client for the 'addon_inquiries' resource using the given transport to send the requests and receive the responses.

func (*AddonInquiriesClient) AddonInquiry ¶ added in v0.0.329

func (c *AddonInquiriesClient) AddonInquiry(id string) *AddonInquiryClient

AddonInquiry returns the target 'addon_inquiry' resource for the given identifier.

func (*AddonInquiriesClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

type AddonInquiriesListRequest ¶ added in v0.0.329

type AddonInquiriesListRequest struct {
	// contains filtered or unexported fields
}

AddonInquiriesListRequest is the request for the 'list' method.

func (*AddonInquiriesListRequest) Header ¶ added in v0.0.329

func (r *AddonInquiriesListRequest) Header(name string, value interface{}) *AddonInquiriesListRequest

Header adds a request header.

func (*AddonInquiriesListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonInquiriesListRequest) Order ¶ added in v0.0.329

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the add-on instead of the names of the columns of a table. For example, in order to sort the add-ons descending by name the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AddonInquiriesListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonInquiriesListRequest) Parameter ¶ added in v0.0.329

func (r *AddonInquiriesListRequest) Parameter(name string, value interface{}) *AddonInquiriesListRequest

Parameter adds a query parameter.

func (*AddonInquiriesListRequest) Search ¶ added in v0.0.329

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the add-on instead of the names of the columns of a table. For example, in order to retrieve all the add-ons with a name starting with `my` the value should be:

```sql name like 'my%' ```

If the parameter isn't provided, or if the value is empty, then all the add-ons that the user has permission to see will be returned.

func (*AddonInquiriesListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonInquiriesListRequest) SendContext ¶ added in v0.0.329

func (r *AddonInquiriesListRequest) SendContext(ctx context.Context) (result *AddonInquiriesListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*AddonInquiriesListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AddonInquiriesListResponse ¶ added in v0.0.329

type AddonInquiriesListResponse struct {
	// contains filtered or unexported fields
}

AddonInquiriesListResponse is the response for the 'list' method.

func (*AddonInquiriesListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonInquiriesListResponse) GetItems ¶ added in v0.0.329

func (r *AddonInquiriesListResponse) GetItems() (value *AddOnList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of add-ons.

func (*AddonInquiriesListResponse) GetPage ¶ added in v0.0.329

func (r *AddonInquiriesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AddonInquiriesListResponse) GetSize ¶ added in v0.0.329

func (r *AddonInquiriesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AddonInquiriesListResponse) GetTotal ¶ added in v0.0.329

func (r *AddonInquiriesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AddonInquiriesListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddonInquiriesListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of add-ons.

func (*AddonInquiriesListResponse) Page ¶ added in v0.0.329

func (r *AddonInquiriesListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonInquiriesListResponse) Size ¶ added in v0.0.329

func (r *AddonInquiriesListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AddonInquiriesListResponse) Status ¶ added in v0.0.329

func (r *AddonInquiriesListResponse) Status() int

Status returns the response status code.

func (*AddonInquiriesListResponse) Total ¶ added in v0.0.329

func (r *AddonInquiriesListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type AddonInquiryClient ¶ added in v0.0.329

type AddonInquiryClient struct {
	// contains filtered or unexported fields
}

AddonInquiryClient is the client of the 'addon_inquiry' resource.

Manages a specific add-on inquiry

func NewAddonInquiryClient ¶ added in v0.0.329

func NewAddonInquiryClient(transport http.RoundTripper, path string) *AddonInquiryClient

NewAddonInquiryClient creates a new client for the 'addon_inquiry' resource using the given transport to send the requests and receive the responses.

func (*AddonInquiryClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

func (*AddonInquiryClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type AddonInquiryGetRequest ¶ added in v0.0.329

type AddonInquiryGetRequest struct {
	// contains filtered or unexported fields
}

AddonInquiryGetRequest is the request for the 'get' method.

func (*AddonInquiryGetRequest) Header ¶ added in v0.0.329

func (r *AddonInquiryGetRequest) Header(name string, value interface{}) *AddonInquiryGetRequest

Header adds a request header.

func (*AddonInquiryGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonInquiryGetRequest) Parameter ¶ added in v0.0.329

func (r *AddonInquiryGetRequest) Parameter(name string, value interface{}) *AddonInquiryGetRequest

Parameter adds a query parameter.

func (*AddonInquiryGetRequest) Send ¶ added in v0.0.329

func (r *AddonInquiryGetRequest) Send() (result *AddonInquiryGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonInquiryGetRequest) SendContext ¶ added in v0.0.329

func (r *AddonInquiryGetRequest) SendContext(ctx context.Context) (result *AddonInquiryGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonInquiryGetResponse ¶ added in v0.0.329

type AddonInquiryGetResponse struct {
	// contains filtered or unexported fields
}

AddonInquiryGetResponse is the response for the 'get' method.

func (*AddonInquiryGetResponse) Body ¶ added in v0.0.329

func (r *AddonInquiryGetResponse) Body() *AddOn

Body returns the value of the 'body' parameter.

func (*AddonInquiryGetResponse) Error ¶ added in v0.0.329

func (r *AddonInquiryGetResponse) Error() *errors.Error

Error returns the response error.

func (*AddonInquiryGetResponse) GetBody ¶ added in v0.0.329

func (r *AddonInquiryGetResponse) GetBody() (value *AddOn, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonInquiryGetResponse) Header ¶ added in v0.0.329

func (r *AddonInquiryGetResponse) Header() http.Header

Header returns header of the response.

func (*AddonInquiryGetResponse) Status ¶ added in v0.0.329

func (r *AddonInquiryGetResponse) Status() int

Status returns the response status code.

type AddonInquiryPollRequest ¶ added in v0.0.329

type AddonInquiryPollRequest struct {
	// contains filtered or unexported fields
}

AddonInquiryPollRequest is the request for the Poll method.

func (*AddonInquiryPollRequest) Header ¶ added in v0.0.329

func (r *AddonInquiryPollRequest) Header(name string, value interface{}) *AddonInquiryPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddonInquiryPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddonInquiryPollRequest) Parameter ¶ added in v0.0.329

func (r *AddonInquiryPollRequest) Parameter(name string, value interface{}) *AddonInquiryPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddonInquiryPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddonInquiryPollRequest) StartContext ¶ added in v0.0.329

func (r *AddonInquiryPollRequest) StartContext(ctx context.Context) (response *AddonInquiryPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddonInquiryPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddonInquiryPollResponse ¶ added in v0.0.329

type AddonInquiryPollResponse struct {
	// contains filtered or unexported fields
}

AddonInquiryPollResponse is the response for the Poll method.

func (*AddonInquiryPollResponse) Body ¶ added in v0.0.329

func (r *AddonInquiryPollResponse) Body() *AddOn

Body returns the value of the 'body' parameter.

func (*AddonInquiryPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonInquiryPollResponse) GetBody ¶ added in v0.0.329

func (r *AddonInquiryPollResponse) GetBody() (value *AddOn, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonInquiryPollResponse) Header ¶ added in v0.0.329

func (r *AddonInquiryPollResponse) Header() http.Header

Header returns header of the response.

func (*AddonInquiryPollResponse) Status ¶ added in v0.0.329

func (r *AddonInquiryPollResponse) Status() int

Status returns the response status code.

type AddonUpgradePoliciesAddRequest ¶ added in v0.0.329

type AddonUpgradePoliciesAddRequest struct {
	// contains filtered or unexported fields
}

AddonUpgradePoliciesAddRequest is the request for the 'add' method.

func (*AddonUpgradePoliciesAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Description of the upgrade policy.

func (*AddonUpgradePoliciesAddRequest) Header ¶ added in v0.0.329

func (r *AddonUpgradePoliciesAddRequest) Header(name string, value interface{}) *AddonUpgradePoliciesAddRequest

Header adds a request header.

func (*AddonUpgradePoliciesAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonUpgradePoliciesAddRequest) Parameter ¶ added in v0.0.329

func (r *AddonUpgradePoliciesAddRequest) Parameter(name string, value interface{}) *AddonUpgradePoliciesAddRequest

Parameter adds a query parameter.

func (*AddonUpgradePoliciesAddRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonUpgradePoliciesAddRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type AddonUpgradePoliciesAddResponse ¶ added in v0.0.329

type AddonUpgradePoliciesAddResponse struct {
	// contains filtered or unexported fields
}

AddonUpgradePoliciesAddResponse is the response for the 'add' method.

func (*AddonUpgradePoliciesAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Description of the upgrade policy.

func (*AddonUpgradePoliciesAddResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonUpgradePoliciesAddResponse) GetBody ¶ added in v0.0.329

func (r *AddonUpgradePoliciesAddResponse) GetBody() (value *AddonUpgradePolicy, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the upgrade policy.

func (*AddonUpgradePoliciesAddResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddonUpgradePoliciesAddResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type AddonUpgradePoliciesClient ¶ added in v0.0.329

type AddonUpgradePoliciesClient struct {
	// contains filtered or unexported fields
}

AddonUpgradePoliciesClient is the client of the 'addon_upgrade_policies' resource.

Manages the collection of addon upgrade policies of a cluster.

func NewAddonUpgradePoliciesClient ¶ added in v0.0.329

func NewAddonUpgradePoliciesClient(transport http.RoundTripper, path string) *AddonUpgradePoliciesClient

NewAddonUpgradePoliciesClient creates a new client for the 'addon_upgrade_policies' resource using the given transport to send the requests and receive the responses.

func (*AddonUpgradePoliciesClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new addon upgrade policy to the cluster.

func (*AddonUpgradePoliciesClient) AddonUpgradePolicy ¶ added in v0.0.329

func (c *AddonUpgradePoliciesClient) AddonUpgradePolicy(id string) *AddonUpgradePolicyClient

AddonUpgradePolicy returns the target 'addon_upgrade_policy' resource for the given identifier.

Reference to the service that manages an specific addon upgrade policy.

func (*AddonUpgradePoliciesClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of addon upgrade policies.

type AddonUpgradePoliciesListRequest ¶ added in v0.0.329

type AddonUpgradePoliciesListRequest struct {
	// contains filtered or unexported fields
}

AddonUpgradePoliciesListRequest is the request for the 'list' method.

func (*AddonUpgradePoliciesListRequest) Header ¶ added in v0.0.329

func (r *AddonUpgradePoliciesListRequest) Header(name string, value interface{}) *AddonUpgradePoliciesListRequest

Header adds a request header.

func (*AddonUpgradePoliciesListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonUpgradePoliciesListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonUpgradePoliciesListRequest) Parameter ¶ added in v0.0.329

func (r *AddonUpgradePoliciesListRequest) Parameter(name string, value interface{}) *AddonUpgradePoliciesListRequest

Parameter adds a query parameter.

func (*AddonUpgradePoliciesListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonUpgradePoliciesListRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*AddonUpgradePoliciesListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type AddonUpgradePoliciesListResponse ¶ added in v0.0.329

type AddonUpgradePoliciesListResponse struct {
	// contains filtered or unexported fields
}

AddonUpgradePoliciesListResponse is the response for the 'list' method.

func (*AddonUpgradePoliciesListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonUpgradePoliciesListResponse) GetItems ¶ added in v0.0.329

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of addon upgrade policy.

func (*AddonUpgradePoliciesListResponse) GetPage ¶ added in v0.0.329

func (r *AddonUpgradePoliciesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AddonUpgradePoliciesListResponse) GetSize ¶ added in v0.0.329

func (r *AddonUpgradePoliciesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*AddonUpgradePoliciesListResponse) GetTotal ¶ added in v0.0.329

func (r *AddonUpgradePoliciesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*AddonUpgradePoliciesListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddonUpgradePoliciesListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of addon upgrade policy.

func (*AddonUpgradePoliciesListResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonUpgradePoliciesListResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*AddonUpgradePoliciesListResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*AddonUpgradePoliciesListResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type AddonUpgradePolicy ¶ added in v0.0.329

type AddonUpgradePolicy struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicy represents the values of the 'addon_upgrade_policy' type.

Representation of an upgrade policy that can be set for a cluster.

func UnmarshalAddonUpgradePolicy ¶ added in v0.0.329

func UnmarshalAddonUpgradePolicy(source interface{}) (object *AddonUpgradePolicy, err error)

UnmarshalAddonUpgradePolicy reads a value of the 'addon_upgrade_policy' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAddonUpgradePolicyList ¶ added in v0.0.329

func UnmarshalAddonUpgradePolicyList(source interface{}) (items []*AddonUpgradePolicy, err error)

UnmarshalAddonUpgradePolicyList reads a list of values of the 'addon_upgrade_policy' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AddonUpgradePolicy) AddonID ¶ added in v0.0.329

func (o *AddonUpgradePolicy) AddonID() string

AddonID returns the value of the 'addon_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Addon ID this upgrade policy is defined for

func (*AddonUpgradePolicy) ClusterID ¶ added in v0.0.329

func (o *AddonUpgradePolicy) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Cluster ID this upgrade policy is defined for.

func (*AddonUpgradePolicy) Empty ¶ added in v0.0.329

func (o *AddonUpgradePolicy) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AddonUpgradePolicy) GetAddonID ¶ added in v0.0.329

func (o *AddonUpgradePolicy) GetAddonID() (value string, ok bool)

GetAddonID returns the value of the 'addon_ID' attribute and a flag indicating if the attribute has a value.

Addon ID this upgrade policy is defined for

func (*AddonUpgradePolicy) GetClusterID ¶ added in v0.0.329

func (o *AddonUpgradePolicy) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Cluster ID this upgrade policy is defined for.

func (*AddonUpgradePolicy) GetHREF ¶ added in v0.0.329

func (o *AddonUpgradePolicy) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*AddonUpgradePolicy) GetID ¶ added in v0.0.329

func (o *AddonUpgradePolicy) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*AddonUpgradePolicy) GetNextRun ¶ added in v0.0.329

func (o *AddonUpgradePolicy) GetNextRun() (value time.Time, ok bool)

GetNextRun returns the value of the 'next_run' attribute and a flag indicating if the attribute has a value.

Next time the upgrade should run.

func (*AddonUpgradePolicy) GetSchedule ¶ added in v0.0.329

func (o *AddonUpgradePolicy) GetSchedule() (value string, ok bool)

GetSchedule returns the value of the 'schedule' attribute and a flag indicating if the attribute has a value.

Schedule cron expression that defines automatic upgrade scheduling.

func (*AddonUpgradePolicy) GetScheduleType ¶ added in v0.0.329

func (o *AddonUpgradePolicy) GetScheduleType() (value string, ok bool)

GetScheduleType returns the value of the 'schedule_type' attribute and a flag indicating if the attribute has a value.

Schedule type can be either "manual" (single execution) or "automatic" (re-occurring).

func (*AddonUpgradePolicy) GetUpgradeType ¶ added in v0.0.329

func (o *AddonUpgradePolicy) GetUpgradeType() (value string, ok bool)

GetUpgradeType returns the value of the 'upgrade_type' attribute and a flag indicating if the attribute has a value.

Upgrade type specify the type of the upgrade. Must be "ADDON".

func (*AddonUpgradePolicy) GetVersion ¶ added in v0.0.329

func (o *AddonUpgradePolicy) GetVersion() (value string, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

Version is the desired upgrade version.

func (*AddonUpgradePolicy) HREF ¶ added in v0.0.329

func (o *AddonUpgradePolicy) HREF() string

HREF returns the link to the object.

func (*AddonUpgradePolicy) ID ¶ added in v0.0.329

func (o *AddonUpgradePolicy) ID() string

ID returns the identifier of the object.

func (*AddonUpgradePolicy) Kind ¶ added in v0.0.329

func (o *AddonUpgradePolicy) Kind() string

Kind returns the name of the type of the object.

func (o *AddonUpgradePolicy) Link() bool

Link returns true iif this is a link.

func (*AddonUpgradePolicy) NextRun ¶ added in v0.0.329

func (o *AddonUpgradePolicy) NextRun() time.Time

NextRun returns the value of the 'next_run' attribute, or the zero value of the type if the attribute doesn't have a value.

Next time the upgrade should run.

func (*AddonUpgradePolicy) Schedule ¶ added in v0.0.329

func (o *AddonUpgradePolicy) Schedule() string

Schedule returns the value of the 'schedule' attribute, or the zero value of the type if the attribute doesn't have a value.

Schedule cron expression that defines automatic upgrade scheduling.

func (*AddonUpgradePolicy) ScheduleType ¶ added in v0.0.329

func (o *AddonUpgradePolicy) ScheduleType() string

ScheduleType returns the value of the 'schedule_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Schedule type can be either "manual" (single execution) or "automatic" (re-occurring).

func (*AddonUpgradePolicy) UpgradeType ¶ added in v0.0.329

func (o *AddonUpgradePolicy) UpgradeType() string

UpgradeType returns the value of the 'upgrade_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Upgrade type specify the type of the upgrade. Must be "ADDON".

func (*AddonUpgradePolicy) Version ¶ added in v0.0.329

func (o *AddonUpgradePolicy) Version() string

Version returns the value of the 'version' attribute, or the zero value of the type if the attribute doesn't have a value.

Version is the desired upgrade version.

type AddonUpgradePolicyBuilder ¶ added in v0.0.329

type AddonUpgradePolicyBuilder struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyBuilder contains the data and logic needed to build 'addon_upgrade_policy' objects.

Representation of an upgrade policy that can be set for a cluster.

func NewAddonUpgradePolicy ¶ added in v0.0.329

func NewAddonUpgradePolicy() *AddonUpgradePolicyBuilder

NewAddonUpgradePolicy creates a new builder of 'addon_upgrade_policy' objects.

func (*AddonUpgradePolicyBuilder) AddonID ¶ added in v0.0.329

AddonID sets the value of the 'addon_ID' attribute to the given value.

func (*AddonUpgradePolicyBuilder) Build ¶ added in v0.0.329

func (b *AddonUpgradePolicyBuilder) Build() (object *AddonUpgradePolicy, err error)

Build creates a 'addon_upgrade_policy' object using the configuration stored in the builder.

func (*AddonUpgradePolicyBuilder) ClusterID ¶ added in v0.0.329

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*AddonUpgradePolicyBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AddonUpgradePolicyBuilder) Empty ¶ added in v0.0.329

func (b *AddonUpgradePolicyBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AddonUpgradePolicyBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AddonUpgradePolicyBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*AddonUpgradePolicyBuilder) NextRun ¶ added in v0.0.329

NextRun sets the value of the 'next_run' attribute to the given value.

func (*AddonUpgradePolicyBuilder) Schedule ¶ added in v0.0.329

Schedule sets the value of the 'schedule' attribute to the given value.

func (*AddonUpgradePolicyBuilder) ScheduleType ¶ added in v0.0.329

ScheduleType sets the value of the 'schedule_type' attribute to the given value.

func (*AddonUpgradePolicyBuilder) UpgradeType ¶ added in v0.0.329

UpgradeType sets the value of the 'upgrade_type' attribute to the given value.

func (*AddonUpgradePolicyBuilder) Version ¶ added in v0.0.329

Version sets the value of the 'version' attribute to the given value.

type AddonUpgradePolicyClient ¶ added in v0.0.329

type AddonUpgradePolicyClient struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyClient is the client of the 'addon_upgrade_policy' resource.

Manages a specific addon upgrade policy.

func NewAddonUpgradePolicyClient ¶ added in v0.0.329

func NewAddonUpgradePolicyClient(transport http.RoundTripper, path string) *AddonUpgradePolicyClient

NewAddonUpgradePolicyClient creates a new client for the 'addon_upgrade_policy' resource using the given transport to send the requests and receive the responses.

func (*AddonUpgradePolicyClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the addon upgrade policy.

func (*AddonUpgradePolicyClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the addon upgrade policy.

func (*AddonUpgradePolicyClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*AddonUpgradePolicyClient) State ¶ added in v0.0.329

State returns the target 'addon_upgrade_policy_state' resource.

Reference to the state of the addon upgrade policy.

func (*AddonUpgradePolicyClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Update the addon upgrade policy.

type AddonUpgradePolicyDeleteRequest ¶ added in v0.0.329

type AddonUpgradePolicyDeleteRequest struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyDeleteRequest is the request for the 'delete' method.

func (*AddonUpgradePolicyDeleteRequest) Header ¶ added in v0.0.329

func (r *AddonUpgradePolicyDeleteRequest) Header(name string, value interface{}) *AddonUpgradePolicyDeleteRequest

Header adds a request header.

func (*AddonUpgradePolicyDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonUpgradePolicyDeleteRequest) Parameter ¶ added in v0.0.329

func (r *AddonUpgradePolicyDeleteRequest) Parameter(name string, value interface{}) *AddonUpgradePolicyDeleteRequest

Parameter adds a query parameter.

func (*AddonUpgradePolicyDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonUpgradePolicyDeleteRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type AddonUpgradePolicyDeleteResponse ¶ added in v0.0.329

type AddonUpgradePolicyDeleteResponse struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyDeleteResponse is the response for the 'delete' method.

func (*AddonUpgradePolicyDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonUpgradePolicyDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddonUpgradePolicyDeleteResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type AddonUpgradePolicyGetRequest ¶ added in v0.0.329

type AddonUpgradePolicyGetRequest struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyGetRequest is the request for the 'get' method.

func (*AddonUpgradePolicyGetRequest) Header ¶ added in v0.0.329

func (r *AddonUpgradePolicyGetRequest) Header(name string, value interface{}) *AddonUpgradePolicyGetRequest

Header adds a request header.

func (*AddonUpgradePolicyGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonUpgradePolicyGetRequest) Parameter ¶ added in v0.0.329

func (r *AddonUpgradePolicyGetRequest) Parameter(name string, value interface{}) *AddonUpgradePolicyGetRequest

Parameter adds a query parameter.

func (*AddonUpgradePolicyGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonUpgradePolicyGetRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type AddonUpgradePolicyGetResponse ¶ added in v0.0.329

type AddonUpgradePolicyGetResponse struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyGetResponse is the response for the 'get' method.

func (*AddonUpgradePolicyGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*AddonUpgradePolicyGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonUpgradePolicyGetResponse) GetBody ¶ added in v0.0.329

func (r *AddonUpgradePolicyGetResponse) GetBody() (value *AddonUpgradePolicy, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonUpgradePolicyGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddonUpgradePolicyGetResponse) Status ¶ added in v0.0.329

func (r *AddonUpgradePolicyGetResponse) Status() int

Status returns the response status code.

type AddonUpgradePolicyList ¶ added in v0.0.329

type AddonUpgradePolicyList struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyList is a list of values of the 'addon_upgrade_policy' type.

func (*AddonUpgradePolicyList) Each ¶ added in v0.0.329

func (l *AddonUpgradePolicyList) Each(f func(item *AddonUpgradePolicy) 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 (*AddonUpgradePolicyList) Empty ¶ added in v0.0.329

func (l *AddonUpgradePolicyList) Empty() bool

Empty returns true if the list is empty.

func (*AddonUpgradePolicyList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AddonUpgradePolicyList) GetHREF ¶ added in v0.0.329

func (l *AddonUpgradePolicyList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*AddonUpgradePolicyList) HREF ¶ added in v0.0.329

func (l *AddonUpgradePolicyList) HREF() string

HREF returns the link to the list.

func (*AddonUpgradePolicyList) Kind ¶ added in v0.0.329

func (l *AddonUpgradePolicyList) Kind() string

Kind returns the name of the type of the object.

func (*AddonUpgradePolicyList) Len ¶ added in v0.0.329

func (l *AddonUpgradePolicyList) Len() int

Len returns the length of the list.

func (l *AddonUpgradePolicyList) Link() bool

Link returns true iif this is a link.

func (*AddonUpgradePolicyList) Range ¶ added in v0.0.329

func (l *AddonUpgradePolicyList) Range(f func(index int, item *AddonUpgradePolicy) 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 (*AddonUpgradePolicyList) Slice ¶ added in v0.0.329

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 AddonUpgradePolicyListBuilder ¶ added in v0.0.329

type AddonUpgradePolicyListBuilder struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyListBuilder contains the data and logic needed to build 'addon_upgrade_policy' objects.

func NewAddonUpgradePolicyList ¶ added in v0.0.329

func NewAddonUpgradePolicyList() *AddonUpgradePolicyListBuilder

NewAddonUpgradePolicyList creates a new builder of 'addon_upgrade_policy' objects.

func (*AddonUpgradePolicyListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'addon_upgrade_policy' objects using the configuration stored in the builder.

func (*AddonUpgradePolicyListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AddonUpgradePolicyListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AddonUpgradePolicyListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddonUpgradePolicyPollRequest ¶ added in v0.0.329

type AddonUpgradePolicyPollRequest struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyPollRequest is the request for the Poll method.

func (*AddonUpgradePolicyPollRequest) Header ¶ added in v0.0.329

func (r *AddonUpgradePolicyPollRequest) Header(name string, value interface{}) *AddonUpgradePolicyPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddonUpgradePolicyPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddonUpgradePolicyPollRequest) Parameter ¶ added in v0.0.329

func (r *AddonUpgradePolicyPollRequest) Parameter(name string, value interface{}) *AddonUpgradePolicyPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddonUpgradePolicyPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddonUpgradePolicyPollRequest) StartContext ¶ added in v0.0.329

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddonUpgradePolicyPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddonUpgradePolicyPollResponse ¶ added in v0.0.329

type AddonUpgradePolicyPollResponse struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyPollResponse is the response for the Poll method.

func (*AddonUpgradePolicyPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*AddonUpgradePolicyPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonUpgradePolicyPollResponse) GetBody ¶ added in v0.0.329

func (r *AddonUpgradePolicyPollResponse) GetBody() (value *AddonUpgradePolicy, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonUpgradePolicyPollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddonUpgradePolicyPollResponse) Status ¶ added in v0.0.329

func (r *AddonUpgradePolicyPollResponse) Status() int

Status returns the response status code.

type AddonUpgradePolicyState ¶ added in v0.0.329

type AddonUpgradePolicyState struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyState represents the values of the 'addon_upgrade_policy_state' type.

Representation of an addon upgrade policy state that that is set for a cluster.

func UnmarshalAddonUpgradePolicyState ¶ added in v0.0.329

func UnmarshalAddonUpgradePolicyState(source interface{}) (object *AddonUpgradePolicyState, err error)

UnmarshalAddonUpgradePolicyState reads a value of the 'addon_upgrade_policy_state' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAddonUpgradePolicyStateList ¶ added in v0.0.329

func UnmarshalAddonUpgradePolicyStateList(source interface{}) (items []*AddonUpgradePolicyState, err error)

UnmarshalAddonUpgradePolicyStateList reads a list of values of the 'addon_upgrade_policy_state' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AddonUpgradePolicyState) Description ¶ added in v0.0.329

func (o *AddonUpgradePolicyState) 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.

Description of the state.

func (*AddonUpgradePolicyState) Empty ¶ added in v0.0.329

func (o *AddonUpgradePolicyState) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AddonUpgradePolicyState) GetDescription ¶ added in v0.0.329

func (o *AddonUpgradePolicyState) GetDescription() (value string, ok bool)

GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.

Description of the state.

func (*AddonUpgradePolicyState) GetHREF ¶ added in v0.0.329

func (o *AddonUpgradePolicyState) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*AddonUpgradePolicyState) GetID ¶ added in v0.0.329

func (o *AddonUpgradePolicyState) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*AddonUpgradePolicyState) GetValue ¶ added in v0.0.329

func (o *AddonUpgradePolicyState) GetValue() (value UpgradePolicyStateValue, ok bool)

GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.

State value can be 'pending', 'scheduled', 'cancelled', 'started', 'delayed', 'failed' or 'completed'.

func (*AddonUpgradePolicyState) HREF ¶ added in v0.0.329

func (o *AddonUpgradePolicyState) HREF() string

HREF returns the link to the object.

func (*AddonUpgradePolicyState) ID ¶ added in v0.0.329

ID returns the identifier of the object.

func (*AddonUpgradePolicyState) Kind ¶ added in v0.0.329

func (o *AddonUpgradePolicyState) Kind() string

Kind returns the name of the type of the object.

func (o *AddonUpgradePolicyState) Link() bool

Link returns true iif this is a link.

func (*AddonUpgradePolicyState) Value ¶ added in v0.0.329

Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.

State value can be 'pending', 'scheduled', 'cancelled', 'started', 'delayed', 'failed' or 'completed'.

type AddonUpgradePolicyStateBuilder ¶ added in v0.0.329

type AddonUpgradePolicyStateBuilder struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyStateBuilder contains the data and logic needed to build 'addon_upgrade_policy_state' objects.

Representation of an addon upgrade policy state that that is set for a cluster.

func NewAddonUpgradePolicyState ¶ added in v0.0.329

func NewAddonUpgradePolicyState() *AddonUpgradePolicyStateBuilder

NewAddonUpgradePolicyState creates a new builder of 'addon_upgrade_policy_state' objects.

func (*AddonUpgradePolicyStateBuilder) Build ¶ added in v0.0.329

Build creates a 'addon_upgrade_policy_state' object using the configuration stored in the builder.

func (*AddonUpgradePolicyStateBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AddonUpgradePolicyStateBuilder) Description ¶ added in v0.0.329

Description sets the value of the 'description' attribute to the given value.

func (*AddonUpgradePolicyStateBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AddonUpgradePolicyStateBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*AddonUpgradePolicyStateBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*AddonUpgradePolicyStateBuilder) Value ¶ added in v0.0.329

Value sets the value of the 'value' attribute to the given value.

Overall state of a cluster upgrade policy.

type AddonUpgradePolicyStateClient ¶ added in v0.0.329

type AddonUpgradePolicyStateClient struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyStateClient is the client of the 'addon_upgrade_policy_state' resource.

Manages a specific upgrade policy state.

func NewAddonUpgradePolicyStateClient ¶ added in v0.0.329

func NewAddonUpgradePolicyStateClient(transport http.RoundTripper, path string) *AddonUpgradePolicyStateClient

NewAddonUpgradePolicyStateClient creates a new client for the 'addon_upgrade_policy_state' resource using the given transport to send the requests and receive the responses.

func (*AddonUpgradePolicyStateClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the upgrade policy state.

func (*AddonUpgradePolicyStateClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*AddonUpgradePolicyStateClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Update the upgrade policy state.

type AddonUpgradePolicyStateGetRequest ¶ added in v0.0.329

type AddonUpgradePolicyStateGetRequest struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyStateGetRequest is the request for the 'get' method.

func (*AddonUpgradePolicyStateGetRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*AddonUpgradePolicyStateGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonUpgradePolicyStateGetRequest) Parameter ¶ added in v0.0.329

func (r *AddonUpgradePolicyStateGetRequest) Parameter(name string, value interface{}) *AddonUpgradePolicyStateGetRequest

Parameter adds a query parameter.

func (*AddonUpgradePolicyStateGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonUpgradePolicyStateGetRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type AddonUpgradePolicyStateGetResponse ¶ added in v0.0.329

type AddonUpgradePolicyStateGetResponse struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyStateGetResponse is the response for the 'get' method.

func (*AddonUpgradePolicyStateGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*AddonUpgradePolicyStateGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonUpgradePolicyStateGetResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonUpgradePolicyStateGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddonUpgradePolicyStateGetResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type AddonUpgradePolicyStateList ¶ added in v0.0.329

type AddonUpgradePolicyStateList struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyStateList is a list of values of the 'addon_upgrade_policy_state' type.

func (*AddonUpgradePolicyStateList) Each ¶ added in v0.0.329

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 (*AddonUpgradePolicyStateList) Empty ¶ added in v0.0.329

func (l *AddonUpgradePolicyStateList) Empty() bool

Empty returns true if the list is empty.

func (*AddonUpgradePolicyStateList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AddonUpgradePolicyStateList) GetHREF ¶ added in v0.0.329

func (l *AddonUpgradePolicyStateList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*AddonUpgradePolicyStateList) HREF ¶ added in v0.0.329

HREF returns the link to the list.

func (*AddonUpgradePolicyStateList) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

func (*AddonUpgradePolicyStateList) Len ¶ added in v0.0.329

Len returns the length of the list.

Link returns true iif this is a link.

func (*AddonUpgradePolicyStateList) Range ¶ added in v0.0.329

func (l *AddonUpgradePolicyStateList) Range(f func(index int, item *AddonUpgradePolicyState) 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 (*AddonUpgradePolicyStateList) Slice ¶ added in v0.0.329

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 AddonUpgradePolicyStateListBuilder ¶ added in v0.0.329

type AddonUpgradePolicyStateListBuilder struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyStateListBuilder contains the data and logic needed to build 'addon_upgrade_policy_state' objects.

func NewAddonUpgradePolicyStateList ¶ added in v0.0.329

func NewAddonUpgradePolicyStateList() *AddonUpgradePolicyStateListBuilder

NewAddonUpgradePolicyStateList creates a new builder of 'addon_upgrade_policy_state' objects.

func (*AddonUpgradePolicyStateListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'addon_upgrade_policy_state' objects using the configuration stored in the builder.

func (*AddonUpgradePolicyStateListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AddonUpgradePolicyStateListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AddonUpgradePolicyStateListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AddonUpgradePolicyStatePollRequest ¶ added in v0.0.329

type AddonUpgradePolicyStatePollRequest struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyStatePollRequest is the request for the Poll method.

func (*AddonUpgradePolicyStatePollRequest) Header ¶ added in v0.0.329

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddonUpgradePolicyStatePollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddonUpgradePolicyStatePollRequest) Parameter ¶ added in v0.0.329

func (r *AddonUpgradePolicyStatePollRequest) Parameter(name string, value interface{}) *AddonUpgradePolicyStatePollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddonUpgradePolicyStatePollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddonUpgradePolicyStatePollRequest) StartContext ¶ added in v0.0.329

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddonUpgradePolicyStatePollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddonUpgradePolicyStatePollResponse ¶ added in v0.0.329

type AddonUpgradePolicyStatePollResponse struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyStatePollResponse is the response for the Poll method.

func (*AddonUpgradePolicyStatePollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*AddonUpgradePolicyStatePollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonUpgradePolicyStatePollResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonUpgradePolicyStatePollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddonUpgradePolicyStatePollResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type AddonUpgradePolicyStateUpdateRequest ¶ added in v0.0.329

type AddonUpgradePolicyStateUpdateRequest struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyStateUpdateRequest is the request for the 'update' method.

func (*AddonUpgradePolicyStateUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*AddonUpgradePolicyStateUpdateRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*AddonUpgradePolicyStateUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonUpgradePolicyStateUpdateRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*AddonUpgradePolicyStateUpdateRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonUpgradePolicyStateUpdateRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type AddonUpgradePolicyStateUpdateResponse ¶ added in v0.0.329

type AddonUpgradePolicyStateUpdateResponse struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyStateUpdateResponse is the response for the 'update' method.

func (*AddonUpgradePolicyStateUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*AddonUpgradePolicyStateUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonUpgradePolicyStateUpdateResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonUpgradePolicyStateUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddonUpgradePolicyStateUpdateResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type AddonUpgradePolicyUpdateRequest ¶ added in v0.0.329

type AddonUpgradePolicyUpdateRequest struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyUpdateRequest is the request for the 'update' method.

func (*AddonUpgradePolicyUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*AddonUpgradePolicyUpdateRequest) Header ¶ added in v0.0.329

func (r *AddonUpgradePolicyUpdateRequest) Header(name string, value interface{}) *AddonUpgradePolicyUpdateRequest

Header adds a request header.

func (*AddonUpgradePolicyUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonUpgradePolicyUpdateRequest) Parameter ¶ added in v0.0.329

func (r *AddonUpgradePolicyUpdateRequest) Parameter(name string, value interface{}) *AddonUpgradePolicyUpdateRequest

Parameter adds a query parameter.

func (*AddonUpgradePolicyUpdateRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonUpgradePolicyUpdateRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type AddonUpgradePolicyUpdateResponse ¶ added in v0.0.329

type AddonUpgradePolicyUpdateResponse struct {
	// contains filtered or unexported fields
}

AddonUpgradePolicyUpdateResponse is the response for the 'update' method.

func (*AddonUpgradePolicyUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*AddonUpgradePolicyUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AddonUpgradePolicyUpdateResponse) GetBody ¶ added in v0.0.329

func (r *AddonUpgradePolicyUpdateResponse) GetBody() (value *AddonUpgradePolicy, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonUpgradePolicyUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AddonUpgradePolicyUpdateResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type AdminCredentials ¶

type AdminCredentials struct {
	// contains filtered or unexported fields
}

AdminCredentials represents the values of the 'admin_credentials' type.

Temporary administrator credentials generated during the installation of the cluster.

func UnmarshalAdminCredentials ¶

func UnmarshalAdminCredentials(source interface{}) (object *AdminCredentials, err error)

UnmarshalAdminCredentials reads a value of the 'admin_credentials' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAdminCredentialsList ¶

func UnmarshalAdminCredentialsList(source interface{}) (items []*AdminCredentials, err error)

UnmarshalAdminCredentialsList reads a list of values of the 'admin_credentials' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AdminCredentials) Empty ¶

func (o *AdminCredentials) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AdminCredentials) GetPassword ¶

func (o *AdminCredentials) GetPassword() (value string, ok bool)

GetPassword returns the value of the 'password' attribute and a flag indicating if the attribute has a value.

Cluster administrator password.

func (*AdminCredentials) GetUser ¶

func (o *AdminCredentials) GetUser() (value string, ok bool)

GetUser returns the value of the 'user' attribute and a flag indicating if the attribute has a value.

Cluster administrator user name.

func (*AdminCredentials) Password ¶

func (o *AdminCredentials) 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.

Cluster administrator password.

func (*AdminCredentials) User ¶

func (o *AdminCredentials) User() string

User returns the value of the 'user' attribute, or the zero value of the type if the attribute doesn't have a value.

Cluster administrator user name.

type AdminCredentialsBuilder ¶

type AdminCredentialsBuilder struct {
	// contains filtered or unexported fields
}

AdminCredentialsBuilder contains the data and logic needed to build 'admin_credentials' objects.

Temporary administrator credentials generated during the installation of the cluster.

func NewAdminCredentials ¶

func NewAdminCredentials() *AdminCredentialsBuilder

NewAdminCredentials creates a new builder of 'admin_credentials' objects.

func (*AdminCredentialsBuilder) Build ¶

func (b *AdminCredentialsBuilder) Build() (object *AdminCredentials, err error)

Build creates a 'admin_credentials' object using the configuration stored in the builder.

func (*AdminCredentialsBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AdminCredentialsBuilder) Empty ¶ added in v0.0.329

func (b *AdminCredentialsBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AdminCredentialsBuilder) Password ¶

Password sets the value of the 'password' attribute to the given value.

func (*AdminCredentialsBuilder) User ¶

User sets the value of the 'user' attribute to the given value.

type AdminCredentialsList ¶

type AdminCredentialsList struct {
	// contains filtered or unexported fields
}

AdminCredentialsList is a list of values of the 'admin_credentials' type.

func (*AdminCredentialsList) Each ¶

func (l *AdminCredentialsList) Each(f func(item *AdminCredentials) 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 (*AdminCredentialsList) Empty ¶

func (l *AdminCredentialsList) Empty() bool

Empty returns true if the list is empty.

func (*AdminCredentialsList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AdminCredentialsList) Len ¶

func (l *AdminCredentialsList) Len() int

Len returns the length of the list.

func (*AdminCredentialsList) Range ¶

func (l *AdminCredentialsList) Range(f func(index int, item *AdminCredentials) 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 (*AdminCredentialsList) Slice ¶

func (l *AdminCredentialsList) Slice() []*AdminCredentials

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 AdminCredentialsListBuilder ¶

type AdminCredentialsListBuilder struct {
	// contains filtered or unexported fields
}

AdminCredentialsListBuilder contains the data and logic needed to build 'admin_credentials' objects.

func NewAdminCredentialsList ¶

func NewAdminCredentialsList() *AdminCredentialsListBuilder

NewAdminCredentialsList creates a new builder of 'admin_credentials' objects.

func (*AdminCredentialsListBuilder) Build ¶

func (b *AdminCredentialsListBuilder) Build() (list *AdminCredentialsList, err error)

Build creates a list of 'admin_credentials' objects using the configuration stored in the builder.

func (*AdminCredentialsListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AdminCredentialsListBuilder) Empty ¶ added in v0.0.329

func (b *AdminCredentialsListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AdminCredentialsListBuilder) Items ¶

Items sets the items of the list.

type AlertInfo ¶

type AlertInfo struct {
	// contains filtered or unexported fields
}

AlertInfo represents the values of the 'alert_info' type.

Provides information about a single alert firing on the cluster.

func UnmarshalAlertInfo ¶

func UnmarshalAlertInfo(source interface{}) (object *AlertInfo, err error)

UnmarshalAlertInfo reads a value of the 'alert_info' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAlertInfoList ¶

func UnmarshalAlertInfoList(source interface{}) (items []*AlertInfo, err error)

UnmarshalAlertInfoList reads a list of values of the 'alert_info' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AlertInfo) Empty ¶

func (o *AlertInfo) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AlertInfo) GetName ¶

func (o *AlertInfo) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The alert name. Multiple alerts with same name are possible.

func (*AlertInfo) GetSeverity ¶

func (o *AlertInfo) GetSeverity() (value AlertSeverity, ok bool)

GetSeverity returns the value of the 'severity' attribute and a flag indicating if the attribute has a value.

The alert severity.

func (*AlertInfo) Name ¶

func (o *AlertInfo) 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 alert name. Multiple alerts with same name are possible.

func (*AlertInfo) Severity ¶

func (o *AlertInfo) Severity() AlertSeverity

Severity returns the value of the 'severity' attribute, or the zero value of the type if the attribute doesn't have a value.

The alert severity.

type AlertInfoBuilder ¶

type AlertInfoBuilder struct {
	// contains filtered or unexported fields
}

AlertInfoBuilder contains the data and logic needed to build 'alert_info' objects.

Provides information about a single alert firing on the cluster.

func NewAlertInfo ¶

func NewAlertInfo() *AlertInfoBuilder

NewAlertInfo creates a new builder of 'alert_info' objects.

func (*AlertInfoBuilder) Build ¶

func (b *AlertInfoBuilder) Build() (object *AlertInfo, err error)

Build creates a 'alert_info' object using the configuration stored in the builder.

func (*AlertInfoBuilder) Copy ¶

func (b *AlertInfoBuilder) Copy(object *AlertInfo) *AlertInfoBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AlertInfoBuilder) Empty ¶ added in v0.0.329

func (b *AlertInfoBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AlertInfoBuilder) Name ¶

func (b *AlertInfoBuilder) Name(value string) *AlertInfoBuilder

Name sets the value of the 'name' attribute to the given value.

func (*AlertInfoBuilder) Severity ¶

func (b *AlertInfoBuilder) Severity(value AlertSeverity) *AlertInfoBuilder

Severity sets the value of the 'severity' attribute to the given value.

Severity of a cluster alert received via telemetry.

type AlertInfoList ¶

type AlertInfoList struct {
	// contains filtered or unexported fields
}

AlertInfoList is a list of values of the 'alert_info' type.

func (*AlertInfoList) Each ¶

func (l *AlertInfoList) Each(f func(item *AlertInfo) 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 (*AlertInfoList) Empty ¶

func (l *AlertInfoList) Empty() bool

Empty returns true if the list is empty.

func (*AlertInfoList) Get ¶

func (l *AlertInfoList) Get(i int) *AlertInfo

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AlertInfoList) Len ¶

func (l *AlertInfoList) Len() int

Len returns the length of the list.

func (*AlertInfoList) Range ¶

func (l *AlertInfoList) Range(f func(index int, item *AlertInfo) 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 (*AlertInfoList) Slice ¶

func (l *AlertInfoList) Slice() []*AlertInfo

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 AlertInfoListBuilder ¶

type AlertInfoListBuilder struct {
	// contains filtered or unexported fields
}

AlertInfoListBuilder contains the data and logic needed to build 'alert_info' objects.

func NewAlertInfoList ¶

func NewAlertInfoList() *AlertInfoListBuilder

NewAlertInfoList creates a new builder of 'alert_info' objects.

func (*AlertInfoListBuilder) Build ¶

func (b *AlertInfoListBuilder) Build() (list *AlertInfoList, err error)

Build creates a list of 'alert_info' objects using the configuration stored in the builder.

func (*AlertInfoListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AlertInfoListBuilder) Empty ¶ added in v0.0.329

func (b *AlertInfoListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AlertInfoListBuilder) Items ¶

Items sets the items of the list.

type AlertSeverity ¶

type AlertSeverity string

AlertSeverity represents the values of the 'alert_severity' enumerated type.

const (
	// Critical.
	AlertSeverityCritical AlertSeverity = "critical"
	// This level is only used for the "Watchdog" alert that is always on.
	AlertSeverityNone AlertSeverity = "none"
	// Warning.
	AlertSeverityWarning AlertSeverity = "warning"
)

func UnmarshalAlertSeverityList ¶

func UnmarshalAlertSeverityList(source interface{}) (items []AlertSeverity, err error)

UnmarshalAlertSeverityList reads a list of values of the 'alert_severity' type from the given source, which can be a slice of bytes, a string or a reader.

type AlertsInfo ¶

type AlertsInfo struct {
	// contains filtered or unexported fields
}

AlertsInfo represents the values of the 'alerts_info' type.

Provides information about the alerts firing on the cluster.

func UnmarshalAlertsInfo ¶

func UnmarshalAlertsInfo(source interface{}) (object *AlertsInfo, err error)

UnmarshalAlertsInfo reads a value of the 'alerts_info' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalAlertsInfoList ¶

func UnmarshalAlertsInfoList(source interface{}) (items []*AlertsInfo, err error)

UnmarshalAlertsInfoList reads a list of values of the 'alerts_info' type from the given source, which can be a slice of bytes, a string or a reader.

func (*AlertsInfo) Alerts ¶

func (o *AlertsInfo) Alerts() []*AlertInfo

Alerts returns the value of the 'alerts' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*AlertsInfo) Empty ¶

func (o *AlertsInfo) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AlertsInfo) GetAlerts ¶

func (o *AlertsInfo) GetAlerts() (value []*AlertInfo, ok bool)

GetAlerts returns the value of the 'alerts' attribute and a flag indicating if the attribute has a value.

type AlertsInfoBuilder ¶

type AlertsInfoBuilder struct {
	// contains filtered or unexported fields
}

AlertsInfoBuilder contains the data and logic needed to build 'alerts_info' objects.

Provides information about the alerts firing on the cluster.

func NewAlertsInfo ¶

func NewAlertsInfo() *AlertsInfoBuilder

NewAlertsInfo creates a new builder of 'alerts_info' objects.

func (*AlertsInfoBuilder) Alerts ¶

func (b *AlertsInfoBuilder) Alerts(values ...*AlertInfoBuilder) *AlertsInfoBuilder

Alerts sets the value of the 'alerts' attribute to the given values.

func (*AlertsInfoBuilder) Build ¶

func (b *AlertsInfoBuilder) Build() (object *AlertsInfo, err error)

Build creates a 'alerts_info' object using the configuration stored in the builder.

func (*AlertsInfoBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AlertsInfoBuilder) Empty ¶ added in v0.0.329

func (b *AlertsInfoBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

type AlertsInfoList ¶

type AlertsInfoList struct {
	// contains filtered or unexported fields
}

AlertsInfoList is a list of values of the 'alerts_info' type.

func (*AlertsInfoList) Each ¶

func (l *AlertsInfoList) Each(f func(item *AlertsInfo) 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 (*AlertsInfoList) Empty ¶

func (l *AlertsInfoList) Empty() bool

Empty returns true if the list is empty.

func (*AlertsInfoList) Get ¶

func (l *AlertsInfoList) Get(i int) *AlertsInfo

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AlertsInfoList) Len ¶

func (l *AlertsInfoList) Len() int

Len returns the length of the list.

func (*AlertsInfoList) Range ¶

func (l *AlertsInfoList) Range(f func(index int, item *AlertsInfo) 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 (*AlertsInfoList) Slice ¶

func (l *AlertsInfoList) Slice() []*AlertsInfo

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 AlertsInfoListBuilder ¶

type AlertsInfoListBuilder struct {
	// contains filtered or unexported fields
}

AlertsInfoListBuilder contains the data and logic needed to build 'alerts_info' objects.

func NewAlertsInfoList ¶

func NewAlertsInfoList() *AlertsInfoListBuilder

NewAlertsInfoList creates a new builder of 'alerts_info' objects.

func (*AlertsInfoListBuilder) Build ¶

func (b *AlertsInfoListBuilder) Build() (list *AlertsInfoList, err error)

Build creates a list of 'alerts_info' objects using the configuration stored in the builder.

func (*AlertsInfoListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AlertsInfoListBuilder) Empty ¶ added in v0.0.329

func (b *AlertsInfoListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AlertsInfoListBuilder) Items ¶

Items sets the items of the list.

type AlertsMetricQueryClient ¶

type AlertsMetricQueryClient struct {
	// contains filtered or unexported fields
}

AlertsMetricQueryClient is the client of the 'alerts_metric_query' resource.

Provides information about the alerts firing on the cluster.

func NewAlertsMetricQueryClient ¶

func NewAlertsMetricQueryClient(transport http.RoundTripper, path string) *AlertsMetricQueryClient

NewAlertsMetricQueryClient creates a new client for the 'alerts_metric_query' resource using the given transport to send the requests and receive the responses.

func (*AlertsMetricQueryClient) Get ¶

Get creates a request for the 'get' method.

func (*AlertsMetricQueryClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type AlertsMetricQueryGetRequest ¶

type AlertsMetricQueryGetRequest struct {
	// contains filtered or unexported fields
}

AlertsMetricQueryGetRequest is the request for the 'get' method.

func (*AlertsMetricQueryGetRequest) Header ¶

func (r *AlertsMetricQueryGetRequest) Header(name string, value interface{}) *AlertsMetricQueryGetRequest

Header adds a request header.

func (*AlertsMetricQueryGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AlertsMetricQueryGetRequest) Parameter ¶

func (r *AlertsMetricQueryGetRequest) Parameter(name string, value interface{}) *AlertsMetricQueryGetRequest

Parameter adds a query parameter.

func (*AlertsMetricQueryGetRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AlertsMetricQueryGetRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type AlertsMetricQueryGetResponse ¶

type AlertsMetricQueryGetResponse struct {
	// contains filtered or unexported fields
}

AlertsMetricQueryGetResponse is the response for the 'get' method.

func (*AlertsMetricQueryGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*AlertsMetricQueryGetResponse) Error ¶

Error returns the response error.

func (*AlertsMetricQueryGetResponse) GetBody ¶

func (r *AlertsMetricQueryGetResponse) GetBody() (value *AlertsInfo, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AlertsMetricQueryGetResponse) Header ¶

Header returns header of the response.

func (*AlertsMetricQueryGetResponse) Status ¶

func (r *AlertsMetricQueryGetResponse) Status() int

Status returns the response status code.

type AlertsMetricQueryPollRequest ¶

type AlertsMetricQueryPollRequest struct {
	// contains filtered or unexported fields
}

AlertsMetricQueryPollRequest is the request for the Poll method.

func (*AlertsMetricQueryPollRequest) Header ¶

func (r *AlertsMetricQueryPollRequest) Header(name string, value interface{}) *AlertsMetricQueryPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AlertsMetricQueryPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AlertsMetricQueryPollRequest) Parameter ¶

func (r *AlertsMetricQueryPollRequest) Parameter(name string, value interface{}) *AlertsMetricQueryPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AlertsMetricQueryPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AlertsMetricQueryPollRequest) StartContext ¶

func (r *AlertsMetricQueryPollRequest) StartContext(ctx context.Context) (response *AlertsMetricQueryPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AlertsMetricQueryPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AlertsMetricQueryPollResponse ¶

type AlertsMetricQueryPollResponse struct {
	// contains filtered or unexported fields
}

AlertsMetricQueryPollResponse is the response for the Poll method.

func (*AlertsMetricQueryPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*AlertsMetricQueryPollResponse) Error ¶

Error returns the response error.

func (*AlertsMetricQueryPollResponse) GetBody ¶

func (r *AlertsMetricQueryPollResponse) GetBody() (value *AlertsInfo, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AlertsMetricQueryPollResponse) Header ¶

Header returns header of the response.

func (*AlertsMetricQueryPollResponse) Status ¶

func (r *AlertsMetricQueryPollResponse) Status() int

Status returns the response status code.

type AuditLog ¶ added in v0.1.336

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 UnmarshalAuditLog ¶ added in v0.1.336

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 ¶ added in v0.1.336

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 ¶ added in v0.1.336

func (o *AuditLog) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AuditLog) GetRoleArn ¶ added in v0.1.336

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 ¶ added in v0.1.336

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 ¶ added in v0.1.336

type AuditLogBuilder struct {
	// contains filtered or unexported fields
}

AuditLogBuilder contains the data and logic needed to build 'audit_log' objects.

Contains the necessary attributes to support audit log forwarding

func NewAuditLog ¶ added in v0.1.336

func NewAuditLog() *AuditLogBuilder

NewAuditLog creates a new builder of 'audit_log' objects.

func (*AuditLogBuilder) Build ¶ added in v0.1.336

func (b *AuditLogBuilder) Build() (object *AuditLog, err error)

Build creates a 'audit_log' object using the configuration stored in the builder.

func (*AuditLogBuilder) Copy ¶ added in v0.1.336

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 ¶ added in v0.1.336

func (b *AuditLogBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AuditLogBuilder) RoleArn ¶ added in v0.1.336

func (b *AuditLogBuilder) RoleArn(value string) *AuditLogBuilder

RoleArn sets the value of the 'role_arn' attribute to the given value.

type AuditLogList ¶ added in v0.1.336

type AuditLogList struct {
	// contains filtered or unexported fields
}

AuditLogList is a list of values of the 'audit_log' type.

func (*AuditLogList) Each ¶ added in v0.1.336

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 ¶ added in v0.1.336

func (l *AuditLogList) Empty() bool

Empty returns true if the list is empty.

func (*AuditLogList) Get ¶ added in v0.1.336

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) Len ¶ added in v0.1.336

func (l *AuditLogList) Len() int

Len returns the length of the list.

func (*AuditLogList) Range ¶ added in v0.1.336

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) Slice ¶ added in v0.1.336

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 ¶ added in v0.1.336

type AuditLogListBuilder struct {
	// contains filtered or unexported fields
}

AuditLogListBuilder contains the data and logic needed to build 'audit_log' objects.

func NewAuditLogList ¶ added in v0.1.336

func NewAuditLogList() *AuditLogListBuilder

NewAuditLogList creates a new builder of 'audit_log' objects.

func (*AuditLogListBuilder) Build ¶ added in v0.1.336

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 ¶ added in v0.1.336

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AuditLogListBuilder) Empty ¶ added in v0.1.336

func (b *AuditLogListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AuditLogListBuilder) Items ¶ added in v0.1.336

Items sets the items of the list.

type AutoscalerClient ¶ added in v0.1.354

type AutoscalerClient struct {
	// contains filtered or unexported fields
}

AutoscalerClient is the client of the 'autoscaler' resource.

Manages global autoscaler configurations for a cluster.

func NewAutoscalerClient ¶ added in v0.1.354

func NewAutoscalerClient(transport http.RoundTripper, path string) *AutoscalerClient

NewAutoscalerClient creates a new client for the 'autoscaler' resource using the given transport to send the requests and receive the responses.

func (*AutoscalerClient) Delete ¶ added in v0.1.354

Delete creates a request for the 'delete' method.

Deletes the cluster autoscaler.

func (*AutoscalerClient) Get ¶ added in v0.1.354

Get creates a request for the 'get' method.

Retrieves the autoscaler of a cluster.

func (*AutoscalerClient) Poll ¶ added in v0.1.354

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*AutoscalerClient) Post ¶ added in v0.1.354

Post creates a request for the 'post' method.

Creates a new cluster autoscaler object.

func (*AutoscalerClient) Update ¶ added in v0.1.354

Update creates a request for the 'update' method.

Updates the cluster autoscaler.

type AutoscalerDeleteRequest ¶ added in v0.1.354

type AutoscalerDeleteRequest struct {
	// contains filtered or unexported fields
}

AutoscalerDeleteRequest is the request for the 'delete' method.

func (*AutoscalerDeleteRequest) Header ¶ added in v0.1.354

func (r *AutoscalerDeleteRequest) Header(name string, value interface{}) *AutoscalerDeleteRequest

Header adds a request header.

func (*AutoscalerDeleteRequest) Impersonate ¶ added in v0.1.354

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AutoscalerDeleteRequest) Parameter ¶ added in v0.1.354

func (r *AutoscalerDeleteRequest) Parameter(name string, value interface{}) *AutoscalerDeleteRequest

Parameter adds a query parameter.

func (*AutoscalerDeleteRequest) Send ¶ added in v0.1.354

func (r *AutoscalerDeleteRequest) Send() (result *AutoscalerDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AutoscalerDeleteRequest) SendContext ¶ added in v0.1.354

func (r *AutoscalerDeleteRequest) SendContext(ctx context.Context) (result *AutoscalerDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AutoscalerDeleteResponse ¶ added in v0.1.354

type AutoscalerDeleteResponse struct {
	// contains filtered or unexported fields
}

AutoscalerDeleteResponse is the response for the 'delete' method.

func (*AutoscalerDeleteResponse) Error ¶ added in v0.1.354

Error returns the response error.

func (*AutoscalerDeleteResponse) Header ¶ added in v0.1.354

func (r *AutoscalerDeleteResponse) Header() http.Header

Header returns header of the response.

func (*AutoscalerDeleteResponse) Status ¶ added in v0.1.354

func (r *AutoscalerDeleteResponse) Status() int

Status returns the response status code.

type AutoscalerGetRequest ¶ added in v0.1.354

type AutoscalerGetRequest struct {
	// contains filtered or unexported fields
}

AutoscalerGetRequest is the request for the 'get' method.

func (*AutoscalerGetRequest) Header ¶ added in v0.1.354

func (r *AutoscalerGetRequest) Header(name string, value interface{}) *AutoscalerGetRequest

Header adds a request header.

func (*AutoscalerGetRequest) Impersonate ¶ added in v0.1.354

func (r *AutoscalerGetRequest) Impersonate(user string) *AutoscalerGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AutoscalerGetRequest) Parameter ¶ added in v0.1.354

func (r *AutoscalerGetRequest) Parameter(name string, value interface{}) *AutoscalerGetRequest

Parameter adds a query parameter.

func (*AutoscalerGetRequest) Send ¶ added in v0.1.354

func (r *AutoscalerGetRequest) Send() (result *AutoscalerGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AutoscalerGetRequest) SendContext ¶ added in v0.1.354

func (r *AutoscalerGetRequest) SendContext(ctx context.Context) (result *AutoscalerGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AutoscalerGetResponse ¶ added in v0.1.354

type AutoscalerGetResponse struct {
	// contains filtered or unexported fields
}

AutoscalerGetResponse is the response for the 'get' method.

func (*AutoscalerGetResponse) Body ¶ added in v0.1.354

Body returns the value of the 'body' parameter.

func (*AutoscalerGetResponse) Error ¶ added in v0.1.354

func (r *AutoscalerGetResponse) Error() *errors.Error

Error returns the response error.

func (*AutoscalerGetResponse) GetBody ¶ added in v0.1.354

func (r *AutoscalerGetResponse) GetBody() (value *ClusterAutoscaler, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AutoscalerGetResponse) Header ¶ added in v0.1.354

func (r *AutoscalerGetResponse) Header() http.Header

Header returns header of the response.

func (*AutoscalerGetResponse) Status ¶ added in v0.1.354

func (r *AutoscalerGetResponse) Status() int

Status returns the response status code.

type AutoscalerPollRequest ¶ added in v0.1.354

type AutoscalerPollRequest struct {
	// contains filtered or unexported fields
}

AutoscalerPollRequest is the request for the Poll method.

func (*AutoscalerPollRequest) Header ¶ added in v0.1.354

func (r *AutoscalerPollRequest) Header(name string, value interface{}) *AutoscalerPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AutoscalerPollRequest) Interval ¶ added in v0.1.354

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AutoscalerPollRequest) Parameter ¶ added in v0.1.354

func (r *AutoscalerPollRequest) Parameter(name string, value interface{}) *AutoscalerPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AutoscalerPollRequest) Predicate ¶ added in v0.1.354

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AutoscalerPollRequest) StartContext ¶ added in v0.1.354

func (r *AutoscalerPollRequest) StartContext(ctx context.Context) (response *AutoscalerPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AutoscalerPollRequest) Status ¶ added in v0.1.354

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AutoscalerPollResponse ¶ added in v0.1.354

type AutoscalerPollResponse struct {
	// contains filtered or unexported fields
}

AutoscalerPollResponse is the response for the Poll method.

func (*AutoscalerPollResponse) Body ¶ added in v0.1.354

Body returns the value of the 'body' parameter.

func (*AutoscalerPollResponse) Error ¶ added in v0.1.354

func (r *AutoscalerPollResponse) Error() *errors.Error

Error returns the response error.

func (*AutoscalerPollResponse) GetBody ¶ added in v0.1.354

func (r *AutoscalerPollResponse) GetBody() (value *ClusterAutoscaler, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AutoscalerPollResponse) Header ¶ added in v0.1.354

func (r *AutoscalerPollResponse) Header() http.Header

Header returns header of the response.

func (*AutoscalerPollResponse) Status ¶ added in v0.1.354

func (r *AutoscalerPollResponse) Status() int

Status returns the response status code.

type AutoscalerPostRequest ¶ added in v0.1.354

type AutoscalerPostRequest struct {
	// contains filtered or unexported fields
}

AutoscalerPostRequest is the request for the 'post' method.

func (*AutoscalerPostRequest) Header ¶ added in v0.1.354

func (r *AutoscalerPostRequest) Header(name string, value interface{}) *AutoscalerPostRequest

Header adds a request header.

func (*AutoscalerPostRequest) Impersonate ¶ added in v0.1.354

func (r *AutoscalerPostRequest) Impersonate(user string) *AutoscalerPostRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AutoscalerPostRequest) Parameter ¶ added in v0.1.354

func (r *AutoscalerPostRequest) Parameter(name string, value interface{}) *AutoscalerPostRequest

Parameter adds a query parameter.

func (*AutoscalerPostRequest) Request ¶ added in v0.1.354

Request sets the value of the 'request' parameter.

func (*AutoscalerPostRequest) Send ¶ added in v0.1.354

func (r *AutoscalerPostRequest) Send() (result *AutoscalerPostResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AutoscalerPostRequest) SendContext ¶ added in v0.1.354

func (r *AutoscalerPostRequest) SendContext(ctx context.Context) (result *AutoscalerPostResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AutoscalerPostResponse ¶ added in v0.1.354

type AutoscalerPostResponse struct {
	// contains filtered or unexported fields
}

AutoscalerPostResponse is the response for the 'post' method.

func (*AutoscalerPostResponse) Body ¶ added in v0.1.354

Body returns the value of the 'body' parameter.

func (*AutoscalerPostResponse) Error ¶ added in v0.1.354

func (r *AutoscalerPostResponse) Error() *errors.Error

Error returns the response error.

func (*AutoscalerPostResponse) GetBody ¶ added in v0.1.354

func (r *AutoscalerPostResponse) GetBody() (value *ClusterAutoscaler, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AutoscalerPostResponse) Header ¶ added in v0.1.354

func (r *AutoscalerPostResponse) Header() http.Header

Header returns header of the response.

func (*AutoscalerPostResponse) Status ¶ added in v0.1.354

func (r *AutoscalerPostResponse) Status() int

Status returns the response status code.

type AutoscalerResourceLimits ¶ added in v0.1.349

type AutoscalerResourceLimits struct {
	// contains filtered or unexported fields
}

AutoscalerResourceLimits represents the values of the 'autoscaler_resource_limits' type.

func UnmarshalAutoscalerResourceLimits ¶ added in v0.1.349

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.1.349

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.1.349

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.1.349

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.1.361

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.1.349

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.1.361

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

type AutoscalerResourceLimitsBuilder struct {
	// contains filtered or unexported fields
}

AutoscalerResourceLimitsBuilder contains the data and logic needed to build 'autoscaler_resource_limits' objects.

func NewAutoscalerResourceLimits ¶ added in v0.1.349

func NewAutoscalerResourceLimits() *AutoscalerResourceLimitsBuilder

NewAutoscalerResourceLimits creates a new builder of 'autoscaler_resource_limits' objects.

func (*AutoscalerResourceLimitsBuilder) Build ¶ added in v0.1.349

Build creates a 'autoscaler_resource_limits' object using the configuration stored in the builder.

func (*AutoscalerResourceLimitsBuilder) Copy ¶ added in v0.1.349

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AutoscalerResourceLimitsBuilder) Cores ¶ added in v0.1.349

Cores sets the value of the 'cores' attribute to the given value.

func (*AutoscalerResourceLimitsBuilder) Empty ¶ added in v0.1.349

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AutoscalerResourceLimitsBuilder) GPUS ¶ added in v0.1.361

GPUS sets the value of the 'GPUS' attribute to the given values.

func (*AutoscalerResourceLimitsBuilder) MaxNodesTotal ¶ added in v0.1.349

MaxNodesTotal sets the value of the 'max_nodes_total' attribute to the given value.

func (*AutoscalerResourceLimitsBuilder) Memory ¶ added in v0.1.349

Memory sets the value of the 'memory' attribute to the given value.

type AutoscalerResourceLimitsGPULimit ¶ added in v0.1.361

type AutoscalerResourceLimitsGPULimit struct {
	// contains filtered or unexported fields
}

AutoscalerResourceLimitsGPULimit represents the values of the 'autoscaler_resource_limits_GPU_limit' type.

func UnmarshalAutoscalerResourceLimitsGPULimit ¶ added in v0.1.361

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.1.361

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.1.361

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AutoscalerResourceLimitsGPULimit) GetRange ¶ added in v0.1.361

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.1.361

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.1.361

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.1.361

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.1.361

type AutoscalerResourceLimitsGPULimitBuilder struct {
	// contains filtered or unexported fields
}

AutoscalerResourceLimitsGPULimitBuilder contains the data and logic needed to build 'autoscaler_resource_limits_GPU_limit' objects.

func NewAutoscalerResourceLimitsGPULimit ¶ added in v0.1.361

func NewAutoscalerResourceLimitsGPULimit() *AutoscalerResourceLimitsGPULimitBuilder

NewAutoscalerResourceLimitsGPULimit creates a new builder of 'autoscaler_resource_limits_GPU_limit' objects.

func (*AutoscalerResourceLimitsGPULimitBuilder) Build ¶ added in v0.1.361

Build creates a 'autoscaler_resource_limits_GPU_limit' object using the configuration stored in the builder.

func (*AutoscalerResourceLimitsGPULimitBuilder) Copy ¶ added in v0.1.361

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AutoscalerResourceLimitsGPULimitBuilder) Empty ¶ added in v0.1.361

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AutoscalerResourceLimitsGPULimitBuilder) Range ¶ added in v0.1.361

Range sets the value of the 'range' attribute to the given value.

func (*AutoscalerResourceLimitsGPULimitBuilder) Type ¶ added in v0.1.361

Type sets the value of the 'type' attribute to the given value.

type AutoscalerResourceLimitsGPULimitList ¶ added in v0.1.361

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.1.361

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.1.361

Empty returns true if the list is empty.

func (*AutoscalerResourceLimitsGPULimitList) Get ¶ added in v0.1.361

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AutoscalerResourceLimitsGPULimitList) Len ¶ added in v0.1.361

Len returns the length of the list.

func (*AutoscalerResourceLimitsGPULimitList) Range ¶ added in v0.1.361

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) Slice ¶ added in v0.1.361

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.1.361

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.1.361

func NewAutoscalerResourceLimitsGPULimitList() *AutoscalerResourceLimitsGPULimitListBuilder

NewAutoscalerResourceLimitsGPULimitList creates a new builder of 'autoscaler_resource_limits_GPU_limit' objects.

func (*AutoscalerResourceLimitsGPULimitListBuilder) Build ¶ added in v0.1.361

Build creates a list of 'autoscaler_resource_limits_GPU_limit' objects using the configuration stored in the builder.

func (*AutoscalerResourceLimitsGPULimitListBuilder) Copy ¶ added in v0.1.361

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AutoscalerResourceLimitsGPULimitListBuilder) Empty ¶ added in v0.1.361

Empty returns true if the list is empty.

func (*AutoscalerResourceLimitsGPULimitListBuilder) Items ¶ added in v0.1.361

Items sets the items of the list.

type AutoscalerResourceLimitsList ¶ added in v0.1.349

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.1.349

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.1.349

Empty returns true if the list is empty.

func (*AutoscalerResourceLimitsList) Get ¶ added in v0.1.349

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AutoscalerResourceLimitsList) Len ¶ added in v0.1.349

Len returns the length of the list.

func (*AutoscalerResourceLimitsList) Range ¶ added in v0.1.349

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) Slice ¶ added in v0.1.349

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.1.349

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.1.349

func NewAutoscalerResourceLimitsList() *AutoscalerResourceLimitsListBuilder

NewAutoscalerResourceLimitsList creates a new builder of 'autoscaler_resource_limits' objects.

func (*AutoscalerResourceLimitsListBuilder) Build ¶ added in v0.1.349

Build creates a list of 'autoscaler_resource_limits' objects using the configuration stored in the builder.

func (*AutoscalerResourceLimitsListBuilder) Copy ¶ added in v0.1.349

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AutoscalerResourceLimitsListBuilder) Empty ¶ added in v0.1.349

Empty returns true if the list is empty.

func (*AutoscalerResourceLimitsListBuilder) Items ¶ added in v0.1.349

Items sets the items of the list.

type AutoscalerScaleDownConfig ¶ added in v0.1.349

type AutoscalerScaleDownConfig struct {
	// contains filtered or unexported fields
}

AutoscalerScaleDownConfig represents the values of the 'autoscaler_scale_down_config' type.

func UnmarshalAutoscalerScaleDownConfig ¶ added in v0.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

type AutoscalerScaleDownConfigBuilder struct {
	// contains filtered or unexported fields
}

AutoscalerScaleDownConfigBuilder contains the data and logic needed to build 'autoscaler_scale_down_config' objects.

func NewAutoscalerScaleDownConfig ¶ added in v0.1.349

func NewAutoscalerScaleDownConfig() *AutoscalerScaleDownConfigBuilder

NewAutoscalerScaleDownConfig creates a new builder of 'autoscaler_scale_down_config' objects.

func (*AutoscalerScaleDownConfigBuilder) Build ¶ added in v0.1.349

Build creates a 'autoscaler_scale_down_config' object using the configuration stored in the builder.

func (*AutoscalerScaleDownConfigBuilder) Copy ¶ added in v0.1.349

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AutoscalerScaleDownConfigBuilder) DelayAfterAdd ¶ added in v0.1.349

DelayAfterAdd sets the value of the 'delay_after_add' attribute to the given value.

func (*AutoscalerScaleDownConfigBuilder) DelayAfterDelete ¶ added in v0.1.349

DelayAfterDelete sets the value of the 'delay_after_delete' attribute to the given value.

func (*AutoscalerScaleDownConfigBuilder) DelayAfterFailure ¶ added in v0.1.349

DelayAfterFailure sets the value of the 'delay_after_failure' attribute to the given value.

func (*AutoscalerScaleDownConfigBuilder) Empty ¶ added in v0.1.349

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AutoscalerScaleDownConfigBuilder) Enabled ¶ added in v0.1.349

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AutoscalerScaleDownConfigBuilder) UnneededTime ¶ added in v0.1.349

UnneededTime sets the value of the 'unneeded_time' attribute to the given value.

func (*AutoscalerScaleDownConfigBuilder) UtilizationThreshold ¶ added in v0.1.349

UtilizationThreshold sets the value of the 'utilization_threshold' attribute to the given value.

type AutoscalerScaleDownConfigList ¶ added in v0.1.349

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.1.349

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.1.349

Empty returns true if the list is empty.

func (*AutoscalerScaleDownConfigList) Get ¶ added in v0.1.349

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AutoscalerScaleDownConfigList) Len ¶ added in v0.1.349

Len returns the length of the list.

func (*AutoscalerScaleDownConfigList) Range ¶ added in v0.1.349

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) Slice ¶ added in v0.1.349

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.1.349

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.1.349

func NewAutoscalerScaleDownConfigList() *AutoscalerScaleDownConfigListBuilder

NewAutoscalerScaleDownConfigList creates a new builder of 'autoscaler_scale_down_config' objects.

func (*AutoscalerScaleDownConfigListBuilder) Build ¶ added in v0.1.349

Build creates a list of 'autoscaler_scale_down_config' objects using the configuration stored in the builder.

func (*AutoscalerScaleDownConfigListBuilder) Copy ¶ added in v0.1.349

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AutoscalerScaleDownConfigListBuilder) Empty ¶ added in v0.1.349

Empty returns true if the list is empty.

func (*AutoscalerScaleDownConfigListBuilder) Items ¶ added in v0.1.349

Items sets the items of the list.

type AutoscalerUpdateRequest ¶ added in v0.1.354

type AutoscalerUpdateRequest struct {
	// contains filtered or unexported fields
}

AutoscalerUpdateRequest is the request for the 'update' method.

func (*AutoscalerUpdateRequest) Body ¶ added in v0.1.354

Body sets the value of the 'body' parameter.

func (*AutoscalerUpdateRequest) Header ¶ added in v0.1.354

func (r *AutoscalerUpdateRequest) Header(name string, value interface{}) *AutoscalerUpdateRequest

Header adds a request header.

func (*AutoscalerUpdateRequest) Impersonate ¶ added in v0.1.354

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AutoscalerUpdateRequest) Parameter ¶ added in v0.1.354

func (r *AutoscalerUpdateRequest) Parameter(name string, value interface{}) *AutoscalerUpdateRequest

Parameter adds a query parameter.

func (*AutoscalerUpdateRequest) Send ¶ added in v0.1.354

func (r *AutoscalerUpdateRequest) Send() (result *AutoscalerUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AutoscalerUpdateRequest) SendContext ¶ added in v0.1.354

func (r *AutoscalerUpdateRequest) SendContext(ctx context.Context) (result *AutoscalerUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AutoscalerUpdateResponse ¶ added in v0.1.354

type AutoscalerUpdateResponse struct {
	// contains filtered or unexported fields
}

AutoscalerUpdateResponse is the response for the 'update' method.

func (*AutoscalerUpdateResponse) Body ¶ added in v0.1.354

Body returns the value of the 'body' parameter.

func (*AutoscalerUpdateResponse) Error ¶ added in v0.1.354

Error returns the response error.

func (*AutoscalerUpdateResponse) GetBody ¶ added in v0.1.354

func (r *AutoscalerUpdateResponse) GetBody() (value *ClusterAutoscaler, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AutoscalerUpdateResponse) Header ¶ added in v0.1.354

func (r *AutoscalerUpdateResponse) Header() http.Header

Header returns header of the response.

func (*AutoscalerUpdateResponse) Status ¶ added in v0.1.354

func (r *AutoscalerUpdateResponse) Status() int

Status returns the response status code.

type AvailableRegionsClient ¶

type AvailableRegionsClient struct {
	// contains filtered or unexported fields
}

AvailableRegionsClient is the client of the 'available_regions' resource.

Manages collection of cloud provider regions available to a particular cloud provider account

func NewAvailableRegionsClient ¶

func NewAvailableRegionsClient(transport http.RoundTripper, path string) *AvailableRegionsClient

NewAvailableRegionsClient creates a new client for the 'available_regions' resource using the given transport to send the requests and receive the responses.

func (*AvailableRegionsClient) Search ¶

Search creates a request for the 'search' method.

Retrieves the list of available regions of the cloud provider.

IMPORTANT: This collection doesn't currently support paging or searching, so the returned `page` will always be 1 and `size` and `total` will always be the total number of available regions of the provider.

type AvailableRegionsInquiryClient ¶ added in v0.0.329

type AvailableRegionsInquiryClient struct {
	// contains filtered or unexported fields
}

AvailableRegionsInquiryClient is the client of the 'available_regions_inquiry' resource.

Manages a specific available regions inquiry.

func NewAvailableRegionsInquiryClient ¶ added in v0.0.329

func NewAvailableRegionsInquiryClient(transport http.RoundTripper, path string) *AvailableRegionsInquiryClient

NewAvailableRegionsInquiryClient creates a new client for the 'available_regions_inquiry' resource using the given transport to send the requests and receive the responses.

func (*AvailableRegionsInquiryClient) Search ¶ added in v0.0.329

Search creates a request for the 'search' method.

Retrieves the list of available regions of the cloud provider. IMPORTANT: This list doesn't currently support paging or searching, so the returned `page` will always be 1 and `size` and `total` will always be the total number of available regions of the provider.

type AvailableRegionsInquirySearchRequest ¶ added in v0.0.329

type AvailableRegionsInquirySearchRequest struct {
	// contains filtered or unexported fields
}

AvailableRegionsInquirySearchRequest is the request for the 'search' method.

func (*AvailableRegionsInquirySearchRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Cloud provider data needed for the inquiry

func (*AvailableRegionsInquirySearchRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*AvailableRegionsInquirySearchRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AvailableRegionsInquirySearchRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*AvailableRegionsInquirySearchRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*AvailableRegionsInquirySearchRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AvailableRegionsInquirySearchRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*AvailableRegionsInquirySearchRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

type AvailableRegionsInquirySearchResponse ¶ added in v0.0.329

type AvailableRegionsInquirySearchResponse struct {
	// contains filtered or unexported fields
}

AvailableRegionsInquirySearchResponse is the response for the 'search' method.

func (*AvailableRegionsInquirySearchResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*AvailableRegionsInquirySearchResponse) GetItems ¶ added in v0.0.329

func (r *AvailableRegionsInquirySearchResponse) GetItems() (value *CloudRegionList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of regions.

func (*AvailableRegionsInquirySearchResponse) GetPage ¶ added in v0.0.329

func (r *AvailableRegionsInquirySearchResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*AvailableRegionsInquirySearchResponse) GetSize ¶ added in v0.0.329

func (r *AvailableRegionsInquirySearchResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

func (*AvailableRegionsInquirySearchResponse) GetTotal ¶ added in v0.0.329

func (r *AvailableRegionsInquirySearchResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available regions of the provider.

func (*AvailableRegionsInquirySearchResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*AvailableRegionsInquirySearchResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of regions.

func (*AvailableRegionsInquirySearchResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*AvailableRegionsInquirySearchResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

func (*AvailableRegionsInquirySearchResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*AvailableRegionsInquirySearchResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available regions of the provider.

type AvailableRegionsSearchRequest ¶

type AvailableRegionsSearchRequest struct {
	// contains filtered or unexported fields
}

AvailableRegionsSearchRequest is the request for the 'search' method.

func (*AvailableRegionsSearchRequest) Body ¶

Body sets the value of the 'body' parameter.

AWS account details

func (*AvailableRegionsSearchRequest) Header ¶

func (r *AvailableRegionsSearchRequest) Header(name string, value interface{}) *AvailableRegionsSearchRequest

Header adds a request header.

func (*AvailableRegionsSearchRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AvailableRegionsSearchRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*AvailableRegionsSearchRequest) Parameter ¶

func (r *AvailableRegionsSearchRequest) Parameter(name string, value interface{}) *AvailableRegionsSearchRequest

Parameter adds a query parameter.

func (*AvailableRegionsSearchRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AvailableRegionsSearchRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

func (*AvailableRegionsSearchRequest) Size ¶

Size sets the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

type AvailableRegionsSearchResponse ¶

type AvailableRegionsSearchResponse struct {
	// contains filtered or unexported fields
}

AvailableRegionsSearchResponse is the response for the 'search' method.

func (*AvailableRegionsSearchResponse) Error ¶

Error returns the response error.

func (*AvailableRegionsSearchResponse) GetItems ¶

func (r *AvailableRegionsSearchResponse) GetItems() (value *CloudRegionList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of cloud regions.

func (*AvailableRegionsSearchResponse) GetPage ¶

func (r *AvailableRegionsSearchResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*AvailableRegionsSearchResponse) GetSize ¶

func (r *AvailableRegionsSearchResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

func (*AvailableRegionsSearchResponse) GetTotal ¶

func (r *AvailableRegionsSearchResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available regions of the provider.

func (*AvailableRegionsSearchResponse) Header ¶

Header returns header of the response.

func (*AvailableRegionsSearchResponse) Items ¶

Items returns the value of the 'items' parameter.

Retrieved list of cloud regions.

func (*AvailableRegionsSearchResponse) Page ¶

Page returns the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*AvailableRegionsSearchResponse) Size ¶

Size returns the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

func (*AvailableRegionsSearchResponse) Status ¶

func (r *AvailableRegionsSearchResponse) Status() int

Status returns the response status code.

func (*AvailableRegionsSearchResponse) Total ¶

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available regions of the provider.

type AwsEtcdEncryption ¶ added in v0.0.329

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 UnmarshalAwsEtcdEncryption ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *AwsEtcdEncryption) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*AwsEtcdEncryption) GetKMSKeyARN ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type AwsEtcdEncryptionBuilder struct {
	// contains filtered or unexported fields
}

AwsEtcdEncryptionBuilder contains the data and logic needed to build 'aws_etcd_encryption' objects.

Contains the necessary attributes to support etcd encryption for AWS based clusters.

func NewAwsEtcdEncryption ¶ added in v0.0.329

func NewAwsEtcdEncryption() *AwsEtcdEncryptionBuilder

NewAwsEtcdEncryption creates a new builder of 'aws_etcd_encryption' objects.

func (*AwsEtcdEncryptionBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*AwsEtcdEncryptionBuilder) Empty ¶ added in v0.0.329

func (b *AwsEtcdEncryptionBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AwsEtcdEncryptionBuilder) KMSKeyARN ¶ added in v0.0.329

KMSKeyARN sets the value of the 'KMS_key_ARN' attribute to the given value.

type AwsEtcdEncryptionList ¶ added in v0.0.329

type AwsEtcdEncryptionList struct {
	// contains filtered or unexported fields
}

AwsEtcdEncryptionList is a list of values of the 'aws_etcd_encryption' type.

func (*AwsEtcdEncryptionList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *AwsEtcdEncryptionList) Empty() bool

Empty returns true if the list is empty.

func (*AwsEtcdEncryptionList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*AwsEtcdEncryptionList) Len ¶ added in v0.0.329

func (l *AwsEtcdEncryptionList) Len() int

Len returns the length of the list.

func (*AwsEtcdEncryptionList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type AwsEtcdEncryptionListBuilder struct {
	// contains filtered or unexported fields
}

AwsEtcdEncryptionListBuilder contains the data and logic needed to build 'aws_etcd_encryption' objects.

func NewAwsEtcdEncryptionList ¶ added in v0.0.329

func NewAwsEtcdEncryptionList() *AwsEtcdEncryptionListBuilder

NewAwsEtcdEncryptionList creates a new builder of 'aws_etcd_encryption' objects.

func (*AwsEtcdEncryptionListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'aws_etcd_encryption' objects using the configuration stored in the builder.

func (*AwsEtcdEncryptionListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AwsEtcdEncryptionListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*AwsEtcdEncryptionListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type AwsValidateCredentialsClient ¶ added in v0.1.391

type AwsValidateCredentialsClient struct {
	// contains filtered or unexported fields
}

AwsValidateCredentialsClient is the client of the 'aws_validate_credentials' resource.

Manages aws creds validation

func NewAwsValidateCredentialsClient ¶ added in v0.1.391

func NewAwsValidateCredentialsClient(transport http.RoundTripper, path string) *AwsValidateCredentialsClient

NewAwsValidateCredentialsClient creates a new client for the 'aws_validate_credentials' resource using the given transport to send the requests and receive the responses.

func (*AwsValidateCredentialsClient) Post ¶ added in v0.1.391

Post creates a request for the 'post' method.

Manages aws creds validation.

type AwsValidateCredentialsPostRequest ¶ added in v0.1.391

type AwsValidateCredentialsPostRequest struct {
	// contains filtered or unexported fields
}

AwsValidateCredentialsPostRequest is the request for the 'post' method.

func (*AwsValidateCredentialsPostRequest) Body ¶ added in v0.1.391

Body sets the value of the 'body' parameter.

Cloud provider data needed for the inquiry.

func (*AwsValidateCredentialsPostRequest) Header ¶ added in v0.1.391

Header adds a request header.

func (*AwsValidateCredentialsPostRequest) Impersonate ¶ added in v0.1.391

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AwsValidateCredentialsPostRequest) Parameter ¶ added in v0.1.391

func (r *AwsValidateCredentialsPostRequest) Parameter(name string, value interface{}) *AwsValidateCredentialsPostRequest

Parameter adds a query parameter.

func (*AwsValidateCredentialsPostRequest) Send ¶ added in v0.1.391

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AwsValidateCredentialsPostRequest) SendContext ¶ added in v0.1.391

SendContext sends this request, waits for the response, and returns it.

type AwsValidateCredentialsPostResponse ¶ added in v0.1.391

type AwsValidateCredentialsPostResponse struct {
	// contains filtered or unexported fields
}

AwsValidateCredentialsPostResponse is the response for the 'post' method.

func (*AwsValidateCredentialsPostResponse) Body ¶ added in v0.1.391

Body returns the value of the 'body' parameter.

Cloud provider data needed for the inquiry.

func (*AwsValidateCredentialsPostResponse) Error ¶ added in v0.1.391

Error returns the response error.

func (*AwsValidateCredentialsPostResponse) GetBody ¶ added in v0.1.391

func (r *AwsValidateCredentialsPostResponse) GetBody() (value *CloudProviderData, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Cloud provider data needed for the inquiry.

func (*AwsValidateCredentialsPostResponse) Header ¶ added in v0.1.391

Header returns header of the response.

func (*AwsValidateCredentialsPostResponse) Status ¶ added in v0.1.391

Status returns the response status code.

type Azure ¶ added in v0.1.415

type Azure struct {
	// contains filtered or unexported fields
}

Azure represents the values of the 'azure' type.

Microsoft Azure settings of a cluster.

func UnmarshalAzure ¶ added in v0.1.415

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 ¶ added in v0.1.415

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 ¶ added in v0.1.415

func (o *Azure) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Azure) GetManagedResourceGroupName ¶ added in v0.1.415

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.

[Required] The name of the Azure Resource Group where the Azure Resources related to the cluster are created. 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.

func (*Azure) GetResourceGroupName ¶ added in v0.1.415

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.

[Required] The Azure Resource Group Name of the cluster. It must be within `subscription_id` of the cluster. `resource_group_name` is located in the same Azure location as the cluster's region.

func (*Azure) GetResourceName ¶ added in v0.1.415

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.

[Required] 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.

func (*Azure) GetSubscriptionID ¶ added in v0.1.415

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.

[Required] The Azure Subscription ID associated with the cluster. It must belong to the Microsoft Entra Tenant ID `tenant_id`.

func (*Azure) GetTenantID ¶ added in v0.1.415

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.

[Required] The Microsoft Entra Tenant ID where the cluster belongs.

func (*Azure) ManagedResourceGroupName ¶ added in v0.1.415

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.

[Required] The name of the Azure Resource Group where the Azure Resources related to the cluster are created. 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.

func (*Azure) ResourceGroupName ¶ added in v0.1.415

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.

[Required] The Azure Resource Group Name of the cluster. It must be within `subscription_id` of the cluster. `resource_group_name` is located in the same Azure location as the cluster's region.

func (*Azure) ResourceName ¶ added in v0.1.415

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.

[Required] 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.

func (*Azure) SubscriptionID ¶ added in v0.1.415

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.

[Required] The Azure Subscription ID associated with the cluster. It must belong to the Microsoft Entra Tenant ID `tenant_id`.

func (*Azure) TenantID ¶ added in v0.1.415

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.

[Required] The Microsoft Entra Tenant ID where the cluster belongs.

type AzureBuilder ¶ added in v0.1.415

type AzureBuilder struct {
	// contains filtered or unexported fields
}

AzureBuilder contains the data and logic needed to build 'azure' objects.

Microsoft Azure settings of a cluster.

func NewAzure ¶ added in v0.1.415

func NewAzure() *AzureBuilder

NewAzure creates a new builder of 'azure' objects.

func (*AzureBuilder) Build ¶ added in v0.1.415

func (b *AzureBuilder) Build() (object *Azure, err error)

Build creates a 'azure' object using the configuration stored in the builder.

func (*AzureBuilder) Copy ¶ added in v0.1.415

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 ¶ added in v0.1.415

func (b *AzureBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*AzureBuilder) ManagedResourceGroupName ¶ added in v0.1.415

func (b *AzureBuilder) ManagedResourceGroupName(value string) *AzureBuilder

ManagedResourceGroupName sets the value of the 'managed_resource_group_name' attribute to the given value.

func (*AzureBuilder) ResourceGroupName ¶ added in v0.1.415

func (b *AzureBuilder) ResourceGroupName(value string) *AzureBuilder

ResourceGroupName sets the value of the 'resource_group_name' attribute to the given value.

func (*AzureBuilder) ResourceName ¶ added in v0.1.415

func (b *AzureBuilder) ResourceName(value string) *AzureBuilder

ResourceName sets the value of the 'resource_name' attribute to the given value.

func (*AzureBuilder) SubscriptionID ¶ added in v0.1.415

func (b *AzureBuilder) SubscriptionID(value string) *AzureBuilder

SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.

func (*AzureBuilder) TenantID ¶ added in v0.1.415

func (b *AzureBuilder) TenantID(value string) *AzureBuilder

TenantID sets the value of the 'tenant_ID' attribute to the given value.

type AzureList ¶ added in v0.1.415

type AzureList struct {
	// contains filtered or unexported fields
}

AzureList is a list of values of the 'azure' type.

func (*AzureList) Each ¶ added in v0.1.415

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 ¶ added in v0.1.415

func (l *AzureList) Empty() bool

Empty returns true if the list is empty.

func (*AzureList) Get ¶ added in v0.1.415

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) Len ¶ added in v0.1.415

func (l *AzureList) Len() int

Len returns the length of the list.

func (*AzureList) Range ¶ added in v0.1.415

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) Slice ¶ added in v0.1.415

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 ¶ added in v0.1.415

type AzureListBuilder struct {
	// contains filtered or unexported fields
}

AzureListBuilder contains the data and logic needed to build 'azure' objects.

func NewAzureList ¶ added in v0.1.415

func NewAzureList() *AzureListBuilder

NewAzureList creates a new builder of 'azure' objects.

func (*AzureListBuilder) Build ¶ added in v0.1.415

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 ¶ added in v0.1.415

Copy copies the items of the given list into this builder, discarding any previous items.

func (*AzureListBuilder) Empty ¶ added in v0.1.415

func (b *AzureListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AzureListBuilder) Items ¶ added in v0.1.415

func (b *AzureListBuilder) Items(values ...*AzureBuilder) *AzureListBuilder

Items sets the items of the list.

type BillingModel ¶ added in v0.0.329

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 UnmarshalBillingModelList ¶ added in v0.0.329

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 BillingModelItem ¶ added in v0.1.368

type BillingModelItem struct {
	// contains filtered or unexported fields
}

BillingModelItem represents the values of the 'billing_model_item' type.

BillingModelItem represents a billing model

func UnmarshalBillingModelItem ¶ added in v0.1.368

func UnmarshalBillingModelItem(source interface{}) (object *BillingModelItem, err error)

UnmarshalBillingModelItem reads a value of the 'billing_model_item' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalBillingModelItemList ¶ added in v0.1.368

func UnmarshalBillingModelItemList(source interface{}) (items []*BillingModelItem, err error)

UnmarshalBillingModelItemList reads a list of values of the 'billing_model_item' type from the given source, which can be a slice of bytes, a string or a reader.

func (*BillingModelItem) BillingModelType ¶ added in v0.1.368

func (o *BillingModelItem) BillingModelType() string

BillingModelType returns the value of the 'billing_model_type' attribute, or the zero value of the type if the attribute doesn't have a value.

BillingModelType is the type of the BillingModel. e.g. standard, marketplace.

func (*BillingModelItem) Description ¶ added in v0.1.368

func (o *BillingModelItem) 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.

Single line description of the billing model.

func (*BillingModelItem) DisplayName ¶ added in v0.1.368

func (o *BillingModelItem) 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.

User friendly display name of the billing model.

func (*BillingModelItem) Empty ¶ added in v0.1.368

func (o *BillingModelItem) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*BillingModelItem) GetBillingModelType ¶ added in v0.1.368

func (o *BillingModelItem) GetBillingModelType() (value string, ok bool)

GetBillingModelType returns the value of the 'billing_model_type' attribute and a flag indicating if the attribute has a value.

BillingModelType is the type of the BillingModel. e.g. standard, marketplace.

func (*BillingModelItem) GetDescription ¶ added in v0.1.368

func (o *BillingModelItem) GetDescription() (value string, ok bool)

GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.

Single line description of the billing model.

func (*BillingModelItem) GetDisplayName ¶ added in v0.1.368

func (o *BillingModelItem) GetDisplayName() (value string, ok bool)

GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.

User friendly display name of the billing model.

func (*BillingModelItem) GetHREF ¶ added in v0.1.368

func (o *BillingModelItem) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*BillingModelItem) GetID ¶ added in v0.1.368

func (o *BillingModelItem) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*BillingModelItem) GetMarketplace ¶ added in v0.1.368

func (o *BillingModelItem) GetMarketplace() (value string, ok bool)

GetMarketplace returns the value of the 'marketplace' attribute and a flag indicating if the attribute has a value.

Indicates the marketplace of the billing model. e.g. gcp, aws, etc.

func (*BillingModelItem) HREF ¶ added in v0.1.368

func (o *BillingModelItem) HREF() string

HREF returns the link to the object.

func (*BillingModelItem) ID ¶ added in v0.1.368

func (o *BillingModelItem) ID() string

ID returns the identifier of the object.

func (*BillingModelItem) Kind ¶ added in v0.1.368

func (o *BillingModelItem) Kind() string

Kind returns the name of the type of the object.

func (o *BillingModelItem) Link() bool

Link returns true iif this is a link.

func (*BillingModelItem) Marketplace ¶ added in v0.1.368

func (o *BillingModelItem) Marketplace() string

Marketplace returns the value of the 'marketplace' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates the marketplace of the billing model. e.g. gcp, aws, etc.

type BillingModelItemBuilder ¶ added in v0.1.368

type BillingModelItemBuilder struct {
	// contains filtered or unexported fields
}

BillingModelItemBuilder contains the data and logic needed to build 'billing_model_item' objects.

BillingModelItem represents a billing model

func NewBillingModelItem ¶ added in v0.1.368

func NewBillingModelItem() *BillingModelItemBuilder

NewBillingModelItem creates a new builder of 'billing_model_item' objects.

func (*BillingModelItemBuilder) BillingModelType ¶ added in v0.1.368

func (b *BillingModelItemBuilder) BillingModelType(value string) *BillingModelItemBuilder

BillingModelType sets the value of the 'billing_model_type' attribute to the given value.

func (*BillingModelItemBuilder) Build ¶ added in v0.1.368

func (b *BillingModelItemBuilder) Build() (object *BillingModelItem, err error)

Build creates a 'billing_model_item' object using the configuration stored in the builder.

func (*BillingModelItemBuilder) Copy ¶ added in v0.1.368

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*BillingModelItemBuilder) Description ¶ added in v0.1.368

Description sets the value of the 'description' attribute to the given value.

func (*BillingModelItemBuilder) DisplayName ¶ added in v0.1.368

DisplayName sets the value of the 'display_name' attribute to the given value.

func (*BillingModelItemBuilder) Empty ¶ added in v0.1.368

func (b *BillingModelItemBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*BillingModelItemBuilder) HREF ¶ added in v0.1.368

HREF sets the link to the object.

func (*BillingModelItemBuilder) ID ¶ added in v0.1.368

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*BillingModelItemBuilder) Marketplace ¶ added in v0.1.368

Marketplace sets the value of the 'marketplace' attribute to the given value.

type BillingModelItemList ¶ added in v0.1.368

type BillingModelItemList struct {
	// contains filtered or unexported fields
}

BillingModelItemList is a list of values of the 'billing_model_item' type.

func (*BillingModelItemList) Each ¶ added in v0.1.368

func (l *BillingModelItemList) Each(f func(item *BillingModelItem) 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 (*BillingModelItemList) Empty ¶ added in v0.1.368

func (l *BillingModelItemList) Empty() bool

Empty returns true if the list is empty.

func (*BillingModelItemList) Get ¶ added in v0.1.368

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*BillingModelItemList) GetHREF ¶ added in v0.1.368

func (l *BillingModelItemList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*BillingModelItemList) HREF ¶ added in v0.1.368

func (l *BillingModelItemList) HREF() string

HREF returns the link to the list.

func (*BillingModelItemList) Kind ¶ added in v0.1.368

func (l *BillingModelItemList) Kind() string

Kind returns the name of the type of the object.

func (*BillingModelItemList) Len ¶ added in v0.1.368

func (l *BillingModelItemList) Len() int

Len returns the length of the list.

func (l *BillingModelItemList) Link() bool

Link returns true iif this is a link.

func (*BillingModelItemList) Range ¶ added in v0.1.368

func (l *BillingModelItemList) Range(f func(index int, item *BillingModelItem) 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 (*BillingModelItemList) Slice ¶ added in v0.1.368

func (l *BillingModelItemList) Slice() []*BillingModelItem

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 BillingModelItemListBuilder ¶ added in v0.1.368

type BillingModelItemListBuilder struct {
	// contains filtered or unexported fields
}

BillingModelItemListBuilder contains the data and logic needed to build 'billing_model_item' objects.

func NewBillingModelItemList ¶ added in v0.1.368

func NewBillingModelItemList() *BillingModelItemListBuilder

NewBillingModelItemList creates a new builder of 'billing_model_item' objects.

func (*BillingModelItemListBuilder) Build ¶ added in v0.1.368

func (b *BillingModelItemListBuilder) Build() (list *BillingModelItemList, err error)

Build creates a list of 'billing_model_item' objects using the configuration stored in the builder.

func (*BillingModelItemListBuilder) Copy ¶ added in v0.1.368

Copy copies the items of the given list into this builder, discarding any previous items.

func (*BillingModelItemListBuilder) Empty ¶ added in v0.1.368

func (b *BillingModelItemListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*BillingModelItemListBuilder) Items ¶ added in v0.1.368

Items sets the items of the list.

type BreakGlassCredential ¶ added in v0.1.410

type BreakGlassCredential struct {
	// contains filtered or unexported fields
}

BreakGlassCredential represents the values of the 'break_glass_credential' type.

Representation of a break glass credential.

func UnmarshalBreakGlassCredential ¶ added in v0.1.410

func UnmarshalBreakGlassCredential(source interface{}) (object *BreakGlassCredential, err error)

UnmarshalBreakGlassCredential reads a value of the 'break_glass_credential' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalBreakGlassCredentialList ¶ added in v0.1.410

func UnmarshalBreakGlassCredentialList(source interface{}) (items []*BreakGlassCredential, err error)

UnmarshalBreakGlassCredentialList reads a list of values of the 'break_glass_credential' type from the given source, which can be a slice of bytes, a string or a reader.

func (*BreakGlassCredential) Empty ¶ added in v0.1.410

func (o *BreakGlassCredential) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*BreakGlassCredential) ExpirationTimestamp ¶ added in v0.1.410

func (o *BreakGlassCredential) 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.

ExpirationTimestamp is the date and time when the credential will expire.

func (*BreakGlassCredential) GetExpirationTimestamp ¶ added in v0.1.410

func (o *BreakGlassCredential) 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.

ExpirationTimestamp is the date and time when the credential will expire.

func (*BreakGlassCredential) GetHREF ¶ added in v0.1.410

func (o *BreakGlassCredential) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*BreakGlassCredential) GetID ¶ added in v0.1.410

func (o *BreakGlassCredential) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*BreakGlassCredential) GetKubeconfig ¶ added in v0.1.410

func (o *BreakGlassCredential) GetKubeconfig() (value string, ok bool)

GetKubeconfig returns the value of the 'kubeconfig' attribute and a flag indicating if the attribute has a value.

Kubeconfig is the generated kubeconfig for this credential. It is only stored in memory

func (*BreakGlassCredential) GetRevocationTimestamp ¶ added in v0.1.410

func (o *BreakGlassCredential) GetRevocationTimestamp() (value time.Time, ok bool)

GetRevocationTimestamp returns the value of the 'revocation_timestamp' attribute and a flag indicating if the attribute has a value.

RevocationTimestamp is the date and time when the credential has been revoked.

func (*BreakGlassCredential) GetStatus ¶ added in v0.1.410

func (o *BreakGlassCredential) GetStatus() (value BreakGlassCredentialStatus, ok bool)

GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.

Status is the status of this credential

func (*BreakGlassCredential) GetUsername ¶ added in v0.1.410

func (o *BreakGlassCredential) GetUsername() (value string, ok bool)

GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.

Username is the user which will be used for this credential.

func (*BreakGlassCredential) HREF ¶ added in v0.1.410

func (o *BreakGlassCredential) HREF() string

HREF returns the link to the object.

func (*BreakGlassCredential) ID ¶ added in v0.1.410

func (o *BreakGlassCredential) ID() string

ID returns the identifier of the object.

func (*BreakGlassCredential) Kind ¶ added in v0.1.410

func (o *BreakGlassCredential) Kind() string

Kind returns the name of the type of the object.

func (*BreakGlassCredential) Kubeconfig ¶ added in v0.1.410

func (o *BreakGlassCredential) 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.

Kubeconfig is the generated kubeconfig for this credential. It is only stored in memory

func (o *BreakGlassCredential) Link() bool

Link returns true iif this is a link.

func (*BreakGlassCredential) RevocationTimestamp ¶ added in v0.1.410

func (o *BreakGlassCredential) RevocationTimestamp() time.Time

RevocationTimestamp returns the value of the 'revocation_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

RevocationTimestamp is the date and time when the credential has been revoked.

func (*BreakGlassCredential) Status ¶ added in v0.1.410

Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.

Status is the status of this credential

func (*BreakGlassCredential) Username ¶ added in v0.1.410

func (o *BreakGlassCredential) 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 is the user which will be used for this credential.

type BreakGlassCredentialBuilder ¶ added in v0.1.410

type BreakGlassCredentialBuilder struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialBuilder contains the data and logic needed to build 'break_glass_credential' objects.

Representation of a break glass credential.

func NewBreakGlassCredential ¶ added in v0.1.410

func NewBreakGlassCredential() *BreakGlassCredentialBuilder

NewBreakGlassCredential creates a new builder of 'break_glass_credential' objects.

func (*BreakGlassCredentialBuilder) Build ¶ added in v0.1.410

func (b *BreakGlassCredentialBuilder) Build() (object *BreakGlassCredential, err error)

Build creates a 'break_glass_credential' object using the configuration stored in the builder.

func (*BreakGlassCredentialBuilder) Copy ¶ added in v0.1.410

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*BreakGlassCredentialBuilder) Empty ¶ added in v0.1.410

func (b *BreakGlassCredentialBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*BreakGlassCredentialBuilder) ExpirationTimestamp ¶ added in v0.1.410

func (b *BreakGlassCredentialBuilder) ExpirationTimestamp(value time.Time) *BreakGlassCredentialBuilder

ExpirationTimestamp sets the value of the 'expiration_timestamp' attribute to the given value.

func (*BreakGlassCredentialBuilder) HREF ¶ added in v0.1.410

HREF sets the link to the object.

func (*BreakGlassCredentialBuilder) ID ¶ added in v0.1.410

ID sets the identifier of the object.

func (*BreakGlassCredentialBuilder) Kubeconfig ¶ added in v0.1.410

Kubeconfig sets the value of the 'kubeconfig' attribute to the given value.

Link sets the flag that indicates if this is a link.

func (*BreakGlassCredentialBuilder) RevocationTimestamp ¶ added in v0.1.410

func (b *BreakGlassCredentialBuilder) RevocationTimestamp(value time.Time) *BreakGlassCredentialBuilder

RevocationTimestamp sets the value of the 'revocation_timestamp' attribute to the given value.

func (*BreakGlassCredentialBuilder) Status ¶ added in v0.1.410

Status sets the value of the 'status' attribute to the given value.

Status of the break glass credential.

func (*BreakGlassCredentialBuilder) Username ¶ added in v0.1.410

Username sets the value of the 'username' attribute to the given value.

type BreakGlassCredentialClient ¶ added in v0.1.410

type BreakGlassCredentialClient struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialClient is the client of the 'break_glass_credential' resource.

Manages a specific break glass credential.

func NewBreakGlassCredentialClient ¶ added in v0.1.410

func NewBreakGlassCredentialClient(transport http.RoundTripper, path string) *BreakGlassCredentialClient

NewBreakGlassCredentialClient creates a new client for the 'break_glass_credential' resource using the given transport to send the requests and receive the responses.

func (*BreakGlassCredentialClient) Get ¶ added in v0.1.410

Get creates a request for the 'get' method.

Retrieves the details of the break glass credential.

func (*BreakGlassCredentialClient) Poll ¶ added in v0.1.410

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type BreakGlassCredentialGetRequest ¶ added in v0.1.410

type BreakGlassCredentialGetRequest struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialGetRequest is the request for the 'get' method.

func (*BreakGlassCredentialGetRequest) Header ¶ added in v0.1.410

func (r *BreakGlassCredentialGetRequest) Header(name string, value interface{}) *BreakGlassCredentialGetRequest

Header adds a request header.

func (*BreakGlassCredentialGetRequest) Impersonate ¶ added in v0.1.410

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*BreakGlassCredentialGetRequest) Parameter ¶ added in v0.1.410

func (r *BreakGlassCredentialGetRequest) Parameter(name string, value interface{}) *BreakGlassCredentialGetRequest

Parameter adds a query parameter.

func (*BreakGlassCredentialGetRequest) Send ¶ added in v0.1.410

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*BreakGlassCredentialGetRequest) SendContext ¶ added in v0.1.410

SendContext sends this request, waits for the response, and returns it.

type BreakGlassCredentialGetResponse ¶ added in v0.1.410

type BreakGlassCredentialGetResponse struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialGetResponse is the response for the 'get' method.

func (*BreakGlassCredentialGetResponse) Body ¶ added in v0.1.410

Body returns the value of the 'body' parameter.

func (*BreakGlassCredentialGetResponse) Error ¶ added in v0.1.410

Error returns the response error.

func (*BreakGlassCredentialGetResponse) GetBody ¶ added in v0.1.410

func (r *BreakGlassCredentialGetResponse) GetBody() (value *BreakGlassCredential, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*BreakGlassCredentialGetResponse) Header ¶ added in v0.1.410

Header returns header of the response.

func (*BreakGlassCredentialGetResponse) Status ¶ added in v0.1.410

Status returns the response status code.

type BreakGlassCredentialList ¶ added in v0.1.410

type BreakGlassCredentialList struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialList is a list of values of the 'break_glass_credential' type.

func (*BreakGlassCredentialList) Each ¶ added in v0.1.410

func (l *BreakGlassCredentialList) Each(f func(item *BreakGlassCredential) 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 (*BreakGlassCredentialList) Empty ¶ added in v0.1.410

func (l *BreakGlassCredentialList) Empty() bool

Empty returns true if the list is empty.

func (*BreakGlassCredentialList) Get ¶ added in v0.1.410

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*BreakGlassCredentialList) GetHREF ¶ added in v0.1.410

func (l *BreakGlassCredentialList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*BreakGlassCredentialList) HREF ¶ added in v0.1.410

func (l *BreakGlassCredentialList) HREF() string

HREF returns the link to the list.

func (*BreakGlassCredentialList) Kind ¶ added in v0.1.410

func (l *BreakGlassCredentialList) Kind() string

Kind returns the name of the type of the object.

func (*BreakGlassCredentialList) Len ¶ added in v0.1.410

func (l *BreakGlassCredentialList) Len() int

Len returns the length of the list.

func (l *BreakGlassCredentialList) Link() bool

Link returns true iif this is a link.

func (*BreakGlassCredentialList) Range ¶ added in v0.1.410

func (l *BreakGlassCredentialList) Range(f func(index int, item *BreakGlassCredential) 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 (*BreakGlassCredentialList) Slice ¶ added in v0.1.410

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 BreakGlassCredentialListBuilder ¶ added in v0.1.410

type BreakGlassCredentialListBuilder struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialListBuilder contains the data and logic needed to build 'break_glass_credential' objects.

func NewBreakGlassCredentialList ¶ added in v0.1.410

func NewBreakGlassCredentialList() *BreakGlassCredentialListBuilder

NewBreakGlassCredentialList creates a new builder of 'break_glass_credential' objects.

func (*BreakGlassCredentialListBuilder) Build ¶ added in v0.1.410

Build creates a list of 'break_glass_credential' objects using the configuration stored in the builder.

func (*BreakGlassCredentialListBuilder) Copy ¶ added in v0.1.410

Copy copies the items of the given list into this builder, discarding any previous items.

func (*BreakGlassCredentialListBuilder) Empty ¶ added in v0.1.410

Empty returns true if the list is empty.

func (*BreakGlassCredentialListBuilder) Items ¶ added in v0.1.410

Items sets the items of the list.

type BreakGlassCredentialPollRequest ¶ added in v0.1.410

type BreakGlassCredentialPollRequest struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialPollRequest is the request for the Poll method.

func (*BreakGlassCredentialPollRequest) Header ¶ added in v0.1.410

func (r *BreakGlassCredentialPollRequest) Header(name string, value interface{}) *BreakGlassCredentialPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*BreakGlassCredentialPollRequest) Interval ¶ added in v0.1.410

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*BreakGlassCredentialPollRequest) Parameter ¶ added in v0.1.410

func (r *BreakGlassCredentialPollRequest) Parameter(name string, value interface{}) *BreakGlassCredentialPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*BreakGlassCredentialPollRequest) Predicate ¶ added in v0.1.410

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*BreakGlassCredentialPollRequest) StartContext ¶ added in v0.1.410

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*BreakGlassCredentialPollRequest) Status ¶ added in v0.1.410

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type BreakGlassCredentialPollResponse ¶ added in v0.1.410

type BreakGlassCredentialPollResponse struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialPollResponse is the response for the Poll method.

func (*BreakGlassCredentialPollResponse) Body ¶ added in v0.1.410

Body returns the value of the 'body' parameter.

func (*BreakGlassCredentialPollResponse) Error ¶ added in v0.1.410

Error returns the response error.

func (*BreakGlassCredentialPollResponse) GetBody ¶ added in v0.1.410

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*BreakGlassCredentialPollResponse) Header ¶ added in v0.1.410

Header returns header of the response.

func (*BreakGlassCredentialPollResponse) Status ¶ added in v0.1.410

Status returns the response status code.

type BreakGlassCredentialStatus ¶ added in v0.1.410

type BreakGlassCredentialStatus string

BreakGlassCredentialStatus represents the values of the 'break_glass_credential_status' enumerated type.

const (
	//
	BreakGlassCredentialStatusAwaitingRevocation BreakGlassCredentialStatus = "awaiting_revocation"
	//
	BreakGlassCredentialStatusCreated BreakGlassCredentialStatus = "created"
	//
	BreakGlassCredentialStatusExpired BreakGlassCredentialStatus = "expired"
	//
	BreakGlassCredentialStatusFailed BreakGlassCredentialStatus = "failed"
	//
	BreakGlassCredentialStatusIssued BreakGlassCredentialStatus = "issued"
	//
	BreakGlassCredentialStatusRevoked BreakGlassCredentialStatus = "revoked"
)

func UnmarshalBreakGlassCredentialStatusList ¶ added in v0.1.410

func UnmarshalBreakGlassCredentialStatusList(source interface{}) (items []BreakGlassCredentialStatus, err error)

UnmarshalBreakGlassCredentialStatusList reads a list of values of the 'break_glass_credential_status' type from the given source, which can be a slice of bytes, a string or a reader.

type BreakGlassCredentialsAddRequest ¶ added in v0.1.410

type BreakGlassCredentialsAddRequest struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialsAddRequest is the request for the 'add' method.

func (*BreakGlassCredentialsAddRequest) Body ¶ added in v0.1.410

Body sets the value of the 'body' parameter.

Description of the break glass credential.

func (*BreakGlassCredentialsAddRequest) Header ¶ added in v0.1.410

func (r *BreakGlassCredentialsAddRequest) Header(name string, value interface{}) *BreakGlassCredentialsAddRequest

Header adds a request header.

func (*BreakGlassCredentialsAddRequest) Impersonate ¶ added in v0.1.410

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*BreakGlassCredentialsAddRequest) Parameter ¶ added in v0.1.410

func (r *BreakGlassCredentialsAddRequest) Parameter(name string, value interface{}) *BreakGlassCredentialsAddRequest

Parameter adds a query parameter.

func (*BreakGlassCredentialsAddRequest) Send ¶ added in v0.1.410

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*BreakGlassCredentialsAddRequest) SendContext ¶ added in v0.1.410

SendContext sends this request, waits for the response, and returns it.

type BreakGlassCredentialsAddResponse ¶ added in v0.1.410

type BreakGlassCredentialsAddResponse struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialsAddResponse is the response for the 'add' method.

func (*BreakGlassCredentialsAddResponse) Body ¶ added in v0.1.410

Body returns the value of the 'body' parameter.

Description of the break glass credential.

func (*BreakGlassCredentialsAddResponse) Error ¶ added in v0.1.410

Error returns the response error.

func (*BreakGlassCredentialsAddResponse) GetBody ¶ added in v0.1.410

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the break glass credential.

func (*BreakGlassCredentialsAddResponse) Header ¶ added in v0.1.410

Header returns header of the response.

func (*BreakGlassCredentialsAddResponse) Status ¶ added in v0.1.410

Status returns the response status code.

type BreakGlassCredentialsClient ¶ added in v0.1.410

type BreakGlassCredentialsClient struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialsClient is the client of the 'break_glass_credentials' resource.

Manages the break glass credentials of a cluster.

func NewBreakGlassCredentialsClient ¶ added in v0.1.410

func NewBreakGlassCredentialsClient(transport http.RoundTripper, path string) *BreakGlassCredentialsClient

NewBreakGlassCredentialsClient creates a new client for the 'break_glass_credentials' resource using the given transport to send the requests and receive the responses.

func (*BreakGlassCredentialsClient) Add ¶ added in v0.1.410

Add creates a request for the 'add' method.

Adds a new break glass credential to the cluster.

func (*BreakGlassCredentialsClient) BreakGlassCredential ¶ added in v0.1.410

func (c *BreakGlassCredentialsClient) BreakGlassCredential(id string) *BreakGlassCredentialClient

BreakGlassCredential returns the target 'break_glass_credential' resource for the given identifier.

Reference to the service that manages a specific break glass credential.

func (*BreakGlassCredentialsClient) Delete ¶ added in v0.1.410

Delete creates a request for the 'delete' method.

Revokes all the break glass certificates signed by a specific signer.

func (*BreakGlassCredentialsClient) List ¶ added in v0.1.410

List creates a request for the 'list' method.

Retrieves the list of break glass credentials.

type BreakGlassCredentialsDeleteRequest ¶ added in v0.1.410

type BreakGlassCredentialsDeleteRequest struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialsDeleteRequest is the request for the 'delete' method.

func (*BreakGlassCredentialsDeleteRequest) Header ¶ added in v0.1.410

Header adds a request header.

func (*BreakGlassCredentialsDeleteRequest) Impersonate ¶ added in v0.1.410

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*BreakGlassCredentialsDeleteRequest) Parameter ¶ added in v0.1.410

func (r *BreakGlassCredentialsDeleteRequest) Parameter(name string, value interface{}) *BreakGlassCredentialsDeleteRequest

Parameter adds a query parameter.

func (*BreakGlassCredentialsDeleteRequest) Send ¶ added in v0.1.410

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*BreakGlassCredentialsDeleteRequest) SendContext ¶ added in v0.1.410

SendContext sends this request, waits for the response, and returns it.

type BreakGlassCredentialsDeleteResponse ¶ added in v0.1.410

type BreakGlassCredentialsDeleteResponse struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialsDeleteResponse is the response for the 'delete' method.

func (*BreakGlassCredentialsDeleteResponse) Error ¶ added in v0.1.410

Error returns the response error.

func (*BreakGlassCredentialsDeleteResponse) Header ¶ added in v0.1.410

Header returns header of the response.

func (*BreakGlassCredentialsDeleteResponse) Status ¶ added in v0.1.410

Status returns the response status code.

type BreakGlassCredentialsListRequest ¶ added in v0.1.410

type BreakGlassCredentialsListRequest struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialsListRequest is the request for the 'list' method.

func (*BreakGlassCredentialsListRequest) Header ¶ added in v0.1.410

func (r *BreakGlassCredentialsListRequest) Header(name string, value interface{}) *BreakGlassCredentialsListRequest

Header adds a request header.

func (*BreakGlassCredentialsListRequest) Impersonate ¶ added in v0.1.410

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*BreakGlassCredentialsListRequest) Order ¶ added in v0.1.415

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the break glass credentials instead of the the names of the columns of a table. For example, in order to sort the credentials descending by identifier the value should be:

```sql id desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*BreakGlassCredentialsListRequest) Page ¶ added in v0.1.410

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*BreakGlassCredentialsListRequest) Parameter ¶ added in v0.1.410

func (r *BreakGlassCredentialsListRequest) Parameter(name string, value interface{}) *BreakGlassCredentialsListRequest

Parameter adds a query parameter.

func (*BreakGlassCredentialsListRequest) Search ¶ added in v0.1.415

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the break glass credentials instead of the names of the columns of a table. For example, in order to retrieve all the credentials with a specific username and status the following is required:

```sql username='user1' AND status='expired' ```

If the parameter isn't provided, or if the value is empty, then all the break glass credentials that the user has permission to see will be returned.

func (*BreakGlassCredentialsListRequest) Send ¶ added in v0.1.410

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*BreakGlassCredentialsListRequest) SendContext ¶ added in v0.1.410

SendContext sends this request, waits for the response, and returns it.

func (*BreakGlassCredentialsListRequest) Size ¶ added in v0.1.410

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type BreakGlassCredentialsListResponse ¶ added in v0.1.410

type BreakGlassCredentialsListResponse struct {
	// contains filtered or unexported fields
}

BreakGlassCredentialsListResponse is the response for the 'list' method.

func (*BreakGlassCredentialsListResponse) Error ¶ added in v0.1.410

Error returns the response error.

func (*BreakGlassCredentialsListResponse) GetItems ¶ added in v0.1.410

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of break glass credentials.

func (*BreakGlassCredentialsListResponse) GetPage ¶ added in v0.1.410

func (r *BreakGlassCredentialsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*BreakGlassCredentialsListResponse) GetSize ¶ added in v0.1.410

func (r *BreakGlassCredentialsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*BreakGlassCredentialsListResponse) GetTotal ¶ added in v0.1.410

func (r *BreakGlassCredentialsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*BreakGlassCredentialsListResponse) Header ¶ added in v0.1.410

Header returns header of the response.

func (*BreakGlassCredentialsListResponse) Items ¶ added in v0.1.410

Items returns the value of the 'items' parameter.

Retrieved list of break glass credentials.

func (*BreakGlassCredentialsListResponse) Page ¶ added in v0.1.410

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*BreakGlassCredentialsListResponse) Size ¶ added in v0.1.410

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*BreakGlassCredentialsListResponse) Status ¶ added in v0.1.410

Status returns the response status code.

func (*BreakGlassCredentialsListResponse) Total ¶ added in v0.1.410

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type ByoOidc ¶ added in v0.0.329

type ByoOidc struct {
	// contains filtered or unexported fields
}

ByoOidc represents the values of the 'byo_oidc' type.

ByoOidc configuration.

func UnmarshalByoOidc ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *ByoOidc) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ByoOidc) Enabled ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type ByoOidcBuilder struct {
	// contains filtered or unexported fields
}

ByoOidcBuilder contains the data and logic needed to build 'byo_oidc' objects.

ByoOidc configuration.

func NewByoOidc ¶ added in v0.0.329

func NewByoOidc() *ByoOidcBuilder

NewByoOidc creates a new builder of 'byo_oidc' objects.

func (*ByoOidcBuilder) Build ¶ added in v0.0.329

func (b *ByoOidcBuilder) Build() (object *ByoOidc, err error)

Build creates a 'byo_oidc' object using the configuration stored in the builder.

func (*ByoOidcBuilder) Copy ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *ByoOidcBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ByoOidcBuilder) Enabled ¶ added in v0.0.329

func (b *ByoOidcBuilder) Enabled(value bool) *ByoOidcBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

type ByoOidcList ¶ added in v0.0.329

type ByoOidcList struct {
	// contains filtered or unexported fields
}

ByoOidcList is a list of values of the 'byo_oidc' type.

func (*ByoOidcList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *ByoOidcList) Empty() bool

Empty returns true if the list is empty.

func (*ByoOidcList) Get ¶ added in v0.0.329

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) Len ¶ added in v0.0.329

func (l *ByoOidcList) Len() int

Len returns the length of the list.

func (*ByoOidcList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type ByoOidcListBuilder struct {
	// contains filtered or unexported fields
}

ByoOidcListBuilder contains the data and logic needed to build 'byo_oidc' objects.

func NewByoOidcList ¶ added in v0.0.329

func NewByoOidcList() *ByoOidcListBuilder

NewByoOidcList creates a new builder of 'byo_oidc' objects.

func (*ByoOidcListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ByoOidcListBuilder) Empty ¶ added in v0.0.329

func (b *ByoOidcListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ByoOidcListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type CCS ¶ added in v0.0.329

type CCS struct {
	// contains filtered or unexported fields
}

CCS represents the values of the 'CCS' type.

func UnmarshalCCS ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *CCS) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CCS) Enabled ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *CCS) HREF() string

HREF returns the link to the object.

func (*CCS) ID ¶ added in v0.0.329

func (o *CCS) ID() string

ID returns the identifier of the object.

func (*CCS) Kind ¶ added in v0.0.329

func (o *CCS) Kind() string

Kind returns the name of the type of the object.

func (o *CCS) Link() bool

Link returns true iif this is a link.

type CCSBuilder ¶ added in v0.0.329

type CCSBuilder struct {
	// contains filtered or unexported fields
}

CCSBuilder contains the data and logic needed to build 'CCS' objects.

func NewCCS ¶ added in v0.0.329

func NewCCS() *CCSBuilder

NewCCS creates a new builder of 'CCS' objects.

func (*CCSBuilder) Build ¶ added in v0.0.329

func (b *CCSBuilder) Build() (object *CCS, err error)

Build creates a 'CCS' object using the configuration stored in the builder.

func (*CCSBuilder) Copy ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *CCSBuilder) DisableSCPChecks(value bool) *CCSBuilder

DisableSCPChecks sets the value of the 'disable_SCP_checks' attribute to the given value.

func (*CCSBuilder) Empty ¶ added in v0.0.329

func (b *CCSBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*CCSBuilder) Enabled ¶ added in v0.0.329

func (b *CCSBuilder) Enabled(value bool) *CCSBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

func (*CCSBuilder) HREF ¶ added in v0.0.329

func (b *CCSBuilder) HREF(value string) *CCSBuilder

HREF sets the link to the object.

func (*CCSBuilder) ID ¶ added in v0.0.329

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 ¶ added in v0.0.329

type CCSList struct {
	// contains filtered or unexported fields
}

CCSList is a list of values of the 'CCS' type.

func (*CCSList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *CCSList) Empty() bool

Empty returns true if the list is empty.

func (*CCSList) Get ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *CCSList) HREF() string

HREF returns the link to the list.

func (*CCSList) Kind ¶ added in v0.0.329

func (l *CCSList) Kind() string

Kind returns the name of the type of the object.

func (*CCSList) Len ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type CCSListBuilder struct {
	// contains filtered or unexported fields
}

CCSListBuilder contains the data and logic needed to build 'CCS' objects.

func NewCCSList ¶ added in v0.0.329

func NewCCSList() *CCSListBuilder

NewCCSList creates a new builder of 'CCS' objects.

func (*CCSListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *CCSListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*CCSListBuilder) Items ¶ added in v0.0.329

func (b *CCSListBuilder) Items(values ...*CCSBuilder) *CCSListBuilder

Items sets the items of the list.

type CPUTotalByNodeRolesOSMetricQueryClient ¶

type CPUTotalByNodeRolesOSMetricQueryClient struct {
	// contains filtered or unexported fields
}

CPUTotalByNodeRolesOSMetricQueryClient is the client of the 'CPU_total_by_node_roles_OS_metric_query' resource.

Total cpu capacity in the cluster by node role and operating system.

func NewCPUTotalByNodeRolesOSMetricQueryClient ¶

func NewCPUTotalByNodeRolesOSMetricQueryClient(transport http.RoundTripper, path string) *CPUTotalByNodeRolesOSMetricQueryClient

NewCPUTotalByNodeRolesOSMetricQueryClient creates a new client for the 'CPU_total_by_node_roles_OS_metric_query' resource using the given transport to send the requests and receive the responses.

func (*CPUTotalByNodeRolesOSMetricQueryClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the metrics.

func (*CPUTotalByNodeRolesOSMetricQueryClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type CPUTotalByNodeRolesOSMetricQueryGetRequest ¶

type CPUTotalByNodeRolesOSMetricQueryGetRequest struct {
	// contains filtered or unexported fields
}

CPUTotalByNodeRolesOSMetricQueryGetRequest is the request for the 'get' method.

func (*CPUTotalByNodeRolesOSMetricQueryGetRequest) Header ¶

Header adds a request header.

func (*CPUTotalByNodeRolesOSMetricQueryGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*CPUTotalByNodeRolesOSMetricQueryGetRequest) Parameter ¶

Parameter adds a query parameter.

func (*CPUTotalByNodeRolesOSMetricQueryGetRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*CPUTotalByNodeRolesOSMetricQueryGetRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type CPUTotalByNodeRolesOSMetricQueryGetResponse ¶

type CPUTotalByNodeRolesOSMetricQueryGetResponse struct {
	// contains filtered or unexported fields
}

CPUTotalByNodeRolesOSMetricQueryGetResponse is the response for the 'get' method.

func (*CPUTotalByNodeRolesOSMetricQueryGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*CPUTotalByNodeRolesOSMetricQueryGetResponse) Error ¶

Error returns the response error.

func (*CPUTotalByNodeRolesOSMetricQueryGetResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*CPUTotalByNodeRolesOSMetricQueryGetResponse) Header ¶

Header returns header of the response.

func (*CPUTotalByNodeRolesOSMetricQueryGetResponse) Status ¶

Status returns the response status code.

type CPUTotalByNodeRolesOSMetricQueryPollRequest ¶

type CPUTotalByNodeRolesOSMetricQueryPollRequest struct {
	// contains filtered or unexported fields
}

CPUTotalByNodeRolesOSMetricQueryPollRequest is the request for the Poll method.

func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) Header ¶

Header adds a request header to all the requests that will be used to retrieve the object.

func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) Parameter ¶

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) StartContext ¶

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type CPUTotalByNodeRolesOSMetricQueryPollResponse ¶

type CPUTotalByNodeRolesOSMetricQueryPollResponse struct {
	// contains filtered or unexported fields
}

CPUTotalByNodeRolesOSMetricQueryPollResponse is the response for the Poll method.

func (*CPUTotalByNodeRolesOSMetricQueryPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*CPUTotalByNodeRolesOSMetricQueryPollResponse) Error ¶

Error returns the response error.

func (*CPUTotalByNodeRolesOSMetricQueryPollResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*CPUTotalByNodeRolesOSMetricQueryPollResponse) Header ¶

Header returns header of the response.

func (*CPUTotalByNodeRolesOSMetricQueryPollResponse) Status ¶

Status returns the response status code.

type CPUTotalNodeRoleOSMetricNode ¶

type CPUTotalNodeRoleOSMetricNode struct {
	// contains filtered or unexported fields
}

CPUTotalNodeRoleOSMetricNode represents the values of the 'CPU_total_node_role_OS_metric_node' type.

Representation of information from telemetry about a the CPU capacity by node role and OS.

func UnmarshalCPUTotalNodeRoleOSMetricNode ¶

func UnmarshalCPUTotalNodeRoleOSMetricNode(source interface{}) (object *CPUTotalNodeRoleOSMetricNode, err error)

UnmarshalCPUTotalNodeRoleOSMetricNode reads a value of the 'CPU_total_node_role_OS_metric_node' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalCPUTotalNodeRoleOSMetricNodeList ¶

func UnmarshalCPUTotalNodeRoleOSMetricNodeList(source interface{}) (items []*CPUTotalNodeRoleOSMetricNode, err error)

UnmarshalCPUTotalNodeRoleOSMetricNodeList reads a list of values of the 'CPU_total_node_role_OS_metric_node' type from the given source, which can be a slice of bytes, a string or a reader.

func (*CPUTotalNodeRoleOSMetricNode) CPUTotal ¶

func (o *CPUTotalNodeRoleOSMetricNode) CPUTotal() float64

CPUTotal returns the value of the 'CPU_total' attribute, or the zero value of the type if the attribute doesn't have a value.

The total CPU capacity of nodes with this set of roles and operating system.

func (*CPUTotalNodeRoleOSMetricNode) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CPUTotalNodeRoleOSMetricNode) GetCPUTotal ¶

func (o *CPUTotalNodeRoleOSMetricNode) GetCPUTotal() (value float64, ok bool)

GetCPUTotal returns the value of the 'CPU_total' attribute and a flag indicating if the attribute has a value.

The total CPU capacity of nodes with this set of roles and operating system.

func (*CPUTotalNodeRoleOSMetricNode) GetNodeRoles ¶

func (o *CPUTotalNodeRoleOSMetricNode) GetNodeRoles() (value []string, ok bool)

GetNodeRoles returns the value of the 'node_roles' attribute and a flag indicating if the attribute has a value.

Representation of the node role for a cluster.

func (*CPUTotalNodeRoleOSMetricNode) GetOperatingSystem ¶

func (o *CPUTotalNodeRoleOSMetricNode) GetOperatingSystem() (value string, ok bool)

GetOperatingSystem returns the value of the 'operating_system' attribute and a flag indicating if the attribute has a value.

The operating system.

func (*CPUTotalNodeRoleOSMetricNode) GetTime ¶

func (o *CPUTotalNodeRoleOSMetricNode) GetTime() (value time.Time, ok bool)

GetTime returns the value of the 'time' attribute and a flag indicating if the attribute has a value.

func (*CPUTotalNodeRoleOSMetricNode) NodeRoles ¶

func (o *CPUTotalNodeRoleOSMetricNode) NodeRoles() []string

NodeRoles returns the value of the 'node_roles' attribute, or the zero value of the type if the attribute doesn't have a value.

Representation of the node role for a cluster.

func (*CPUTotalNodeRoleOSMetricNode) OperatingSystem ¶

func (o *CPUTotalNodeRoleOSMetricNode) OperatingSystem() string

OperatingSystem returns the value of the 'operating_system' attribute, or the zero value of the type if the attribute doesn't have a value.

The operating system.

func (*CPUTotalNodeRoleOSMetricNode) Time ¶

Time returns the value of the 'time' attribute, or the zero value of the type if the attribute doesn't have a value.

type CPUTotalNodeRoleOSMetricNodeBuilder ¶

type CPUTotalNodeRoleOSMetricNodeBuilder struct {
	// contains filtered or unexported fields
}

CPUTotalNodeRoleOSMetricNodeBuilder contains the data and logic needed to build 'CPU_total_node_role_OS_metric_node' objects.

Representation of information from telemetry about a the CPU capacity by node role and OS.

func NewCPUTotalNodeRoleOSMetricNode ¶

func NewCPUTotalNodeRoleOSMetricNode() *CPUTotalNodeRoleOSMetricNodeBuilder

NewCPUTotalNodeRoleOSMetricNode creates a new builder of 'CPU_total_node_role_OS_metric_node' objects.

func (*CPUTotalNodeRoleOSMetricNodeBuilder) Build ¶

Build creates a 'CPU_total_node_role_OS_metric_node' object using the configuration stored in the builder.

func (*CPUTotalNodeRoleOSMetricNodeBuilder) CPUTotal ¶

CPUTotal sets the value of the 'CPU_total' attribute to the given value.

func (*CPUTotalNodeRoleOSMetricNodeBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CPUTotalNodeRoleOSMetricNodeBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*CPUTotalNodeRoleOSMetricNodeBuilder) NodeRoles ¶

NodeRoles sets the value of the 'node_roles' attribute to the given values.

func (*CPUTotalNodeRoleOSMetricNodeBuilder) OperatingSystem ¶

OperatingSystem sets the value of the 'operating_system' attribute to the given value.

func (*CPUTotalNodeRoleOSMetricNodeBuilder) Time ¶

Time sets the value of the 'time' attribute to the given value.

type CPUTotalNodeRoleOSMetricNodeList ¶

type CPUTotalNodeRoleOSMetricNodeList struct {
	// contains filtered or unexported fields
}

CPUTotalNodeRoleOSMetricNodeList is a list of values of the 'CPU_total_node_role_OS_metric_node' type.

func (*CPUTotalNodeRoleOSMetricNodeList) 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 (*CPUTotalNodeRoleOSMetricNodeList) Empty ¶

Empty returns true if the list is empty.

func (*CPUTotalNodeRoleOSMetricNodeList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CPUTotalNodeRoleOSMetricNodeList) Len ¶

Len returns the length of the list.

func (*CPUTotalNodeRoleOSMetricNodeList) 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 (*CPUTotalNodeRoleOSMetricNodeList) 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 CPUTotalNodeRoleOSMetricNodeListBuilder ¶

type CPUTotalNodeRoleOSMetricNodeListBuilder struct {
	// contains filtered or unexported fields
}

CPUTotalNodeRoleOSMetricNodeListBuilder contains the data and logic needed to build 'CPU_total_node_role_OS_metric_node' objects.

func NewCPUTotalNodeRoleOSMetricNodeList ¶

func NewCPUTotalNodeRoleOSMetricNodeList() *CPUTotalNodeRoleOSMetricNodeListBuilder

NewCPUTotalNodeRoleOSMetricNodeList creates a new builder of 'CPU_total_node_role_OS_metric_node' objects.

func (*CPUTotalNodeRoleOSMetricNodeListBuilder) Build ¶

Build creates a list of 'CPU_total_node_role_OS_metric_node' objects using the configuration stored in the builder.

func (*CPUTotalNodeRoleOSMetricNodeListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CPUTotalNodeRoleOSMetricNodeListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*CPUTotalNodeRoleOSMetricNodeListBuilder) Items ¶

Items sets the items of the list.

type CPUTotalsNodeRoleOSMetricNode ¶

type CPUTotalsNodeRoleOSMetricNode struct {
	// contains filtered or unexported fields
}

CPUTotalsNodeRoleOSMetricNode represents the values of the 'CPU_totals_node_role_OS_metric_node' type.

Representation of information from telemetry about the CPU capacity by node role and OS of a cluster.

func UnmarshalCPUTotalsNodeRoleOSMetricNode ¶

func UnmarshalCPUTotalsNodeRoleOSMetricNode(source interface{}) (object *CPUTotalsNodeRoleOSMetricNode, err error)

UnmarshalCPUTotalsNodeRoleOSMetricNode reads a value of the 'CPU_totals_node_role_OS_metric_node' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalCPUTotalsNodeRoleOSMetricNodeList ¶

func UnmarshalCPUTotalsNodeRoleOSMetricNodeList(source interface{}) (items []*CPUTotalsNodeRoleOSMetricNode, err error)

UnmarshalCPUTotalsNodeRoleOSMetricNodeList reads a list of values of the 'CPU_totals_node_role_OS_metric_node' type from the given source, which can be a slice of bytes, a string or a reader.

func (*CPUTotalsNodeRoleOSMetricNode) CPUTotals ¶

CPUTotals returns the value of the 'CPU_totals' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*CPUTotalsNodeRoleOSMetricNode) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CPUTotalsNodeRoleOSMetricNode) GetCPUTotals ¶

func (o *CPUTotalsNodeRoleOSMetricNode) GetCPUTotals() (value []*CPUTotalNodeRoleOSMetricNode, ok bool)

GetCPUTotals returns the value of the 'CPU_totals' attribute and a flag indicating if the attribute has a value.

type CPUTotalsNodeRoleOSMetricNodeBuilder ¶

type CPUTotalsNodeRoleOSMetricNodeBuilder struct {
	// contains filtered or unexported fields
}

CPUTotalsNodeRoleOSMetricNodeBuilder contains the data and logic needed to build 'CPU_totals_node_role_OS_metric_node' objects.

Representation of information from telemetry about the CPU capacity by node role and OS of a cluster.

func NewCPUTotalsNodeRoleOSMetricNode ¶

func NewCPUTotalsNodeRoleOSMetricNode() *CPUTotalsNodeRoleOSMetricNodeBuilder

NewCPUTotalsNodeRoleOSMetricNode creates a new builder of 'CPU_totals_node_role_OS_metric_node' objects.

func (*CPUTotalsNodeRoleOSMetricNodeBuilder) Build ¶

Build creates a 'CPU_totals_node_role_OS_metric_node' object using the configuration stored in the builder.

func (*CPUTotalsNodeRoleOSMetricNodeBuilder) CPUTotals ¶

CPUTotals sets the value of the 'CPU_totals' attribute to the given values.

func (*CPUTotalsNodeRoleOSMetricNodeBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CPUTotalsNodeRoleOSMetricNodeBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

type CPUTotalsNodeRoleOSMetricNodeList ¶

type CPUTotalsNodeRoleOSMetricNodeList struct {
	// contains filtered or unexported fields
}

CPUTotalsNodeRoleOSMetricNodeList is a list of values of the 'CPU_totals_node_role_OS_metric_node' type.

func (*CPUTotalsNodeRoleOSMetricNodeList) 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 (*CPUTotalsNodeRoleOSMetricNodeList) Empty ¶

Empty returns true if the list is empty.

func (*CPUTotalsNodeRoleOSMetricNodeList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CPUTotalsNodeRoleOSMetricNodeList) Len ¶

Len returns the length of the list.

func (*CPUTotalsNodeRoleOSMetricNodeList) 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 (*CPUTotalsNodeRoleOSMetricNodeList) 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 CPUTotalsNodeRoleOSMetricNodeListBuilder ¶

type CPUTotalsNodeRoleOSMetricNodeListBuilder struct {
	// contains filtered or unexported fields
}

CPUTotalsNodeRoleOSMetricNodeListBuilder contains the data and logic needed to build 'CPU_totals_node_role_OS_metric_node' objects.

func NewCPUTotalsNodeRoleOSMetricNodeList ¶

func NewCPUTotalsNodeRoleOSMetricNodeList() *CPUTotalsNodeRoleOSMetricNodeListBuilder

NewCPUTotalsNodeRoleOSMetricNodeList creates a new builder of 'CPU_totals_node_role_OS_metric_node' objects.

func (*CPUTotalsNodeRoleOSMetricNodeListBuilder) Build ¶

Build creates a list of 'CPU_totals_node_role_OS_metric_node' objects using the configuration stored in the builder.

func (*CPUTotalsNodeRoleOSMetricNodeListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CPUTotalsNodeRoleOSMetricNodeListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*CPUTotalsNodeRoleOSMetricNodeListBuilder) Items ¶

Items sets the items of the list.

type Client ¶

type Client struct {
	// contains filtered or unexported fields
}

Client is the client of the 'root' resource.

Root of the tree of resources of the clusters management service.

func NewClient ¶

func NewClient(transport http.RoundTripper, path string) *Client

NewClient creates a new client for the 'root' resource using the given transport to send the requests and receive the responses.

func (*Client) AWSInfrastructureAccessRoles ¶

func (c *Client) AWSInfrastructureAccessRoles() *AWSInfrastructureAccessRolesClient

AWSInfrastructureAccessRoles returns the target 'AWS_infrastructure_access_roles' resource.

Reference to the resource that manages the collection of AWS infrastructure access roles.

func (*Client) AWSInquiries ¶ added in v0.0.329

func (c *Client) AWSInquiries() *AWSInquiriesClient

AWSInquiries returns the target 'AWS_inquiries' resource.

Reference to the resource that manages the collection of aws inquiries.

func (*Client) Addons ¶

func (c *Client) Addons() *AddOnsClient

Addons returns the target 'add_ons' resource.

Reference to the resource that manages the collection of add-ons.

func (*Client) CloudProviders ¶

func (c *Client) CloudProviders() *CloudProvidersClient

CloudProviders returns the target 'cloud_providers' resource.

Reference to the resource that manages the collection of cloud providers.

func (*Client) Clusters ¶

func (c *Client) Clusters() *ClustersClient

Clusters returns the target 'clusters' resource.

Reference to the resource that manages the collection of clusters.

func (*Client) DNSDomains ¶ added in v0.1.345

func (c *Client) DNSDomains() *DNSDomainsClient

DNSDomains returns the target 'DNS_domains' resource.

Reference to the resource that manages dns domains.

func (*Client) Environment ¶ added in v0.0.329

func (c *Client) Environment() *EnvironmentClient

Environment returns the target 'environment' resource.

Reference to the resource that manages the environment.

func (*Client) Events ¶ added in v0.0.329

func (c *Client) Events() *EventsClient

Events returns the target 'events' resource.

Reference to the resource that manages the collection of trackable events.

func (*Client) Flavours ¶

func (c *Client) Flavours() *FlavoursClient

Flavours returns the target 'flavours' resource.

Reference to the service that manages the collection of flavours.

func (*Client) GCPInquiries ¶ added in v0.0.329

func (c *Client) GCPInquiries() *GCPInquiriesClient

GCPInquiries returns the target 'GCP_inquiries' resource.

Reference to the resource that manages the collection of gcp inquiries.

func (*Client) Get ¶

func (c *Client) Get() *MetadataRequest

Creates a new request for the method that retrieves the metadata.

func (*Client) LimitedSupportReasonTemplates ¶ added in v0.0.329

func (c *Client) LimitedSupportReasonTemplates() *LimitedSupportReasonTemplatesClient

LimitedSupportReasonTemplates returns the target 'limited_support_reason_templates' resource.

Reference to limited support reason templates.

func (*Client) LoadBalancerQuotaValues ¶ added in v0.1.415

func (c *Client) LoadBalancerQuotaValues() *LoadBalancerQuotaValuesClient

LoadBalancerQuotaValues returns the target 'load_balancer_quota_values' resource.

Reference to the resource that manages the load balancer quota values.

func (*Client) MachineTypes ¶

func (c *Client) MachineTypes() *MachineTypesClient

MachineTypes returns the target 'machine_types' resource.

Reference to the resource that manage the collection of machine types.

func (*Client) NetworkVerifications ¶ added in v0.1.348

func (c *Client) NetworkVerifications() *NetworkVerificationsClient

NetworkVerifications returns the target 'network_verifications' resource.

Reference to the resource that manages network verifications.

func (*Client) OidcConfigs ¶ added in v0.0.329

func (c *Client) OidcConfigs() *OidcConfigsClient

OidcConfigs returns the target 'oidc_configs' resource.

Reference to the resource that manages oidc.

func (*Client) PendingDeleteClusters ¶ added in v0.1.333

func (c *Client) PendingDeleteClusters() *PendingDeleteClustersClient

PendingDeleteClusters returns the target 'pending_delete_clusters' resource.

Reference to the resource that manages the collection of pending delete clusters.

func (*Client) Products ¶

func (c *Client) Products() *ProductsClient

Products returns the target 'products' resource.

Reference to the resource that manages the collection of products.

func (*Client) ProvisionShards ¶

func (c *Client) ProvisionShards() *ProvisionShardsClient

ProvisionShards returns the target 'provision_shards' resource.

Reference to the resource that manages the collection of provision shards.

func (*Client) StorageQuotaValues ¶ added in v0.1.415

func (c *Client) StorageQuotaValues() *StorageQuotaValuesClient

StorageQuotaValues returns the target 'storage_quota_values' resource.

Reference to the resource that manages the storage quota values.

func (*Client) TrustedIPAddresses ¶ added in v0.1.368

func (c *Client) TrustedIPAddresses() *TrustedIpsClient

TrustedIPAddresses returns the target 'trusted_ips' resource.

Reference to the resource that manages the collection of trusted ip addresses.

func (*Client) VersionGates ¶ added in v0.0.329

func (c *Client) VersionGates() *VersionGatesClient

VersionGates returns the target 'version_gates' resource.

Reference to version gates.

func (*Client) Versions ¶

func (c *Client) Versions() *VersionsClient

Versions returns the target 'versions' resource.

Reference to the resource that manage the collection of versions.

type ClientComponent ¶ added in v0.1.404

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 UnmarshalClientComponent ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (o *ClientComponent) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClientComponent) GetName ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

type ClientComponentBuilder struct {
	// contains filtered or unexported fields
}

ClientComponentBuilder contains the data and logic needed to build 'client_component' objects.

The reference of a component that will consume the client configuration.

func NewClientComponent ¶ added in v0.1.404

func NewClientComponent() *ClientComponentBuilder

NewClientComponent creates a new builder of 'client_component' objects.

func (*ClientComponentBuilder) Build ¶ added in v0.1.404

func (b *ClientComponentBuilder) Build() (object *ClientComponent, err error)

Build creates a 'client_component' object using the configuration stored in the builder.

func (*ClientComponentBuilder) Copy ¶ added in v0.1.404

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClientComponentBuilder) Empty ¶ added in v0.1.404

func (b *ClientComponentBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClientComponentBuilder) Name ¶ added in v0.1.404

Name sets the value of the 'name' attribute to the given value.

func (*ClientComponentBuilder) Namespace ¶ added in v0.1.404

Namespace sets the value of the 'namespace' attribute to the given value.

type ClientComponentList ¶ added in v0.1.404

type ClientComponentList struct {
	// contains filtered or unexported fields
}

ClientComponentList is a list of values of the 'client_component' type.

func (*ClientComponentList) Each ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (l *ClientComponentList) Empty() bool

Empty returns true if the list is empty.

func (*ClientComponentList) Get ¶ added in v0.1.404

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClientComponentList) Len ¶ added in v0.1.404

func (l *ClientComponentList) Len() int

Len returns the length of the list.

func (*ClientComponentList) Range ¶ added in v0.1.404

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) Slice ¶ added in v0.1.404

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 ¶ added in v0.1.404

type ClientComponentListBuilder struct {
	// contains filtered or unexported fields
}

ClientComponentListBuilder contains the data and logic needed to build 'client_component' objects.

func NewClientComponentList ¶ added in v0.1.404

func NewClientComponentList() *ClientComponentListBuilder

NewClientComponentList creates a new builder of 'client_component' objects.

func (*ClientComponentListBuilder) Build ¶ added in v0.1.404

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 ¶ added in v0.1.404

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClientComponentListBuilder) Empty ¶ added in v0.1.404

func (b *ClientComponentListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClientComponentListBuilder) Items ¶ added in v0.1.404

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 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 ¶ added in v0.1.357

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 iif 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 ¶ added in v0.1.357

func (o *CloudProvider) Regions() []*CloudRegion

Regions returns the value of the 'regions' attribute, or the zero value of the type if the attribute doesn't have a value.

(optional) Provider's regions - only included when listing providers with `fetchRegions=true`.

type CloudProviderBuilder ¶

type CloudProviderBuilder struct {
	// contains filtered or unexported fields
}

CloudProviderBuilder contains the data and logic needed to build 'cloud_provider' objects.

Cloud provider.

func NewCloudProvider ¶

func NewCloudProvider() *CloudProviderBuilder

NewCloudProvider creates a new builder of 'cloud_provider' objects.

func (*CloudProviderBuilder) Build ¶

func (b *CloudProviderBuilder) Build() (object *CloudProvider, err error)

Build creates a 'cloud_provider' object using the configuration stored in the builder.

func (*CloudProviderBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CloudProviderBuilder) DisplayName ¶

func (b *CloudProviderBuilder) DisplayName(value string) *CloudProviderBuilder

DisplayName sets the value of the 'display_name' attribute to the given value.

func (*CloudProviderBuilder) Empty ¶ added in v0.0.329

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 ¶ added in v0.1.357

Regions sets the value of the 'regions' attribute to the given values.

type CloudProviderClient ¶

type CloudProviderClient struct {
	// contains filtered or unexported fields
}

CloudProviderClient is the client of the 'cloud_provider' resource.

Manages a specific cloud provider.

func NewCloudProviderClient ¶

func NewCloudProviderClient(transport http.RoundTripper, path string) *CloudProviderClient

NewCloudProviderClient creates a new client for the 'cloud_provider' resource using the given transport to send the requests and receive the responses.

func (*CloudProviderClient) AvailableRegions ¶

func (c *CloudProviderClient) AvailableRegions() *AvailableRegionsClient

AvailableRegions returns the target 'available_regions' resource.

Reference to the resource that manages the collection of available regions for this cloud provider.

func (*CloudProviderClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the details of the cloud provider.

func (*CloudProviderClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*CloudProviderClient) Regions ¶

Regions returns the target 'cloud_regions' resource.

Reference to the resource that manages the collection of regions for this cloud provider.

type CloudProviderData ¶ added in v0.0.329

type CloudProviderData struct {
	// contains filtered or unexported fields
}

CloudProviderData represents the values of the 'cloud_provider_data' type.

Description of a cloud provider data used for cloud provider inquiries.

func UnmarshalCloudProviderData ¶ added in v0.0.329

func UnmarshalCloudProviderData(source interface{}) (object *CloudProviderData, err error)

UnmarshalCloudProviderData reads a value of the 'cloud_provider_data' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalCloudProviderDataList ¶ added in v0.0.329

func UnmarshalCloudProviderDataList(source interface{}) (items []*CloudProviderData, err error)

UnmarshalCloudProviderDataList reads a list of values of the 'cloud_provider_data' type from the given source, which can be a slice of bytes, a string or a reader.

func (*CloudProviderData) AWS ¶ added in v0.0.329

func (o *CloudProviderData) 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.

func (*CloudProviderData) AvailabilityZones ¶ added in v0.0.329

func (o *CloudProviderData) 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.

Availability zone

func (*CloudProviderData) Empty ¶ added in v0.0.329

func (o *CloudProviderData) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CloudProviderData) GCP ¶ added in v0.0.329

func (o *CloudProviderData) 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.

func (*CloudProviderData) GetAWS ¶ added in v0.0.329

func (o *CloudProviderData) 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.

func (*CloudProviderData) GetAvailabilityZones ¶ added in v0.0.329

func (o *CloudProviderData) GetAvailabilityZones() (value []string, ok bool)

GetAvailabilityZones returns the value of the 'availability_zones' attribute and a flag indicating if the attribute has a value.

Availability zone

func (*CloudProviderData) GetGCP ¶ added in v0.0.329

func (o *CloudProviderData) 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.

func (*CloudProviderData) GetKeyLocation ¶ added in v0.0.329

func (o *CloudProviderData) GetKeyLocation() (value string, ok bool)

GetKeyLocation returns the value of the 'key_location' attribute and a flag indicating if the attribute has a value.

Key location

func (*CloudProviderData) GetKeyRingName ¶ added in v0.0.329

func (o *CloudProviderData) GetKeyRingName() (value string, ok bool)

GetKeyRingName returns the value of the 'key_ring_name' attribute and a flag indicating if the attribute has a value.

Key ring name

func (*CloudProviderData) GetRegion ¶ added in v0.0.329

func (o *CloudProviderData) GetRegion() (value *CloudRegion, ok bool)

GetRegion returns the value of the 'region' attribute and a flag indicating if the attribute has a value.

Region

func (*CloudProviderData) GetSubnets ¶ added in v0.1.333

func (o *CloudProviderData) GetSubnets() (value []string, ok bool)

GetSubnets returns the value of the 'subnets' attribute and a flag indicating if the attribute has a value.

Subnets

func (*CloudProviderData) GetVersion ¶ added in v0.0.329

func (o *CloudProviderData) GetVersion() (value *Version, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

Openshift version

func (*CloudProviderData) GetVpcIds ¶ added in v0.1.396

func (o *CloudProviderData) GetVpcIds() (value []string, ok bool)

GetVpcIds returns the value of the 'vpc_ids' attribute and a flag indicating if the attribute has a value.

VPC ids

func (*CloudProviderData) KeyLocation ¶ added in v0.0.329

func (o *CloudProviderData) 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.

Key location

func (*CloudProviderData) KeyRingName ¶ added in v0.0.329

func (o *CloudProviderData) KeyRingName() string

KeyRingName returns the value of the 'key_ring_name' attribute, or the zero value of the type if the attribute doesn't have a value.

Key ring name

func (*CloudProviderData) Region ¶ added in v0.0.329

func (o *CloudProviderData) Region() *CloudRegion

Region returns the value of the 'region' attribute, or the zero value of the type if the attribute doesn't have a value.

Region

func (*CloudProviderData) Subnets ¶ added in v0.1.333

func (o *CloudProviderData) Subnets() []string

Subnets returns the value of the 'subnets' attribute, or the zero value of the type if the attribute doesn't have a value.

Subnets

func (*CloudProviderData) Version ¶ added in v0.0.329

func (o *CloudProviderData) 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.

Openshift version

func (*CloudProviderData) VpcIds ¶ added in v0.1.396

func (o *CloudProviderData) VpcIds() []string

VpcIds returns the value of the 'vpc_ids' attribute, or the zero value of the type if the attribute doesn't have a value.

VPC ids

type CloudProviderDataBuilder ¶ added in v0.0.329

type CloudProviderDataBuilder struct {
	// contains filtered or unexported fields
}

CloudProviderDataBuilder contains the data and logic needed to build 'cloud_provider_data' objects.

Description of a cloud provider data used for cloud provider inquiries.

func NewCloudProviderData ¶ added in v0.0.329

func NewCloudProviderData() *CloudProviderDataBuilder

NewCloudProviderData creates a new builder of 'cloud_provider_data' objects.

func (*CloudProviderDataBuilder) AWS ¶ added in v0.0.329

AWS sets the value of the 'AWS' attribute to the given value.

_Amazon Web Services_ specific settings of a cluster.

func (*CloudProviderDataBuilder) AvailabilityZones ¶ added in v0.0.329

func (b *CloudProviderDataBuilder) AvailabilityZones(values ...string) *CloudProviderDataBuilder

AvailabilityZones sets the value of the 'availability_zones' attribute to the given values.

func (*CloudProviderDataBuilder) Build ¶ added in v0.0.329

func (b *CloudProviderDataBuilder) Build() (object *CloudProviderData, err error)

Build creates a 'cloud_provider_data' object using the configuration stored in the builder.

func (*CloudProviderDataBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CloudProviderDataBuilder) Empty ¶ added in v0.0.329

func (b *CloudProviderDataBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*CloudProviderDataBuilder) GCP ¶ added in v0.0.329

GCP sets the value of the 'GCP' attribute to the given value.

Google cloud platform settings of a cluster.

func (*CloudProviderDataBuilder) KeyLocation ¶ added in v0.0.329

KeyLocation sets the value of the 'key_location' attribute to the given value.

func (*CloudProviderDataBuilder) KeyRingName ¶ added in v0.0.329

KeyRingName sets the value of the 'key_ring_name' attribute to the given value.

func (*CloudProviderDataBuilder) Region ¶ added in v0.0.329

Region sets the value of the 'region' attribute to the given value.

Description of a region of a cloud provider.

func (*CloudProviderDataBuilder) Subnets ¶ added in v0.1.333

Subnets sets the value of the 'subnets' attribute to the given values.

func (*CloudProviderDataBuilder) Version ¶ added in v0.0.329

Version sets the value of the 'version' attribute to the given value.

Representation of an _OpenShift_ version.

func (*CloudProviderDataBuilder) VpcIds ¶ added in v0.1.396

VpcIds sets the value of the 'vpc_ids' attribute to the given values.

type CloudProviderDataList ¶ added in v0.0.329

type CloudProviderDataList struct {
	// contains filtered or unexported fields
}

CloudProviderDataList is a list of values of the 'cloud_provider_data' type.

func (*CloudProviderDataList) Each ¶ added in v0.0.329

func (l *CloudProviderDataList) Each(f func(item *CloudProviderData) 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 (*CloudProviderDataList) Empty ¶ added in v0.0.329

func (l *CloudProviderDataList) Empty() bool

Empty returns true if the list is empty.

func (*CloudProviderDataList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CloudProviderDataList) Len ¶ added in v0.0.329

func (l *CloudProviderDataList) Len() int

Len returns the length of the list.

func (*CloudProviderDataList) Range ¶ added in v0.0.329

func (l *CloudProviderDataList) Range(f func(index int, item *CloudProviderData) 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 (*CloudProviderDataList) Slice ¶ added in v0.0.329

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 CloudProviderDataListBuilder ¶ added in v0.0.329

type CloudProviderDataListBuilder struct {
	// contains filtered or unexported fields
}

CloudProviderDataListBuilder contains the data and logic needed to build 'cloud_provider_data' objects.

func NewCloudProviderDataList ¶ added in v0.0.329

func NewCloudProviderDataList() *CloudProviderDataListBuilder

NewCloudProviderDataList creates a new builder of 'cloud_provider_data' objects.

func (*CloudProviderDataListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'cloud_provider_data' objects using the configuration stored in the builder.

func (*CloudProviderDataListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CloudProviderDataListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*CloudProviderDataListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type CloudProviderGetRequest ¶

type CloudProviderGetRequest struct {
	// contains filtered or unexported fields
}

CloudProviderGetRequest is the request for the 'get' method.

func (*CloudProviderGetRequest) Header ¶

func (r *CloudProviderGetRequest) Header(name string, value interface{}) *CloudProviderGetRequest

Header adds a request header.

func (*CloudProviderGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*CloudProviderGetRequest) Parameter ¶

func (r *CloudProviderGetRequest) Parameter(name string, value interface{}) *CloudProviderGetRequest

Parameter adds a query parameter.

func (*CloudProviderGetRequest) Send ¶

func (r *CloudProviderGetRequest) Send() (result *CloudProviderGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*CloudProviderGetRequest) SendContext ¶

func (r *CloudProviderGetRequest) SendContext(ctx context.Context) (result *CloudProviderGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type CloudProviderGetResponse ¶

type CloudProviderGetResponse struct {
	// contains filtered or unexported fields
}

CloudProviderGetResponse is the response for the 'get' method.

func (*CloudProviderGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*CloudProviderGetResponse) Error ¶

Error returns the response error.

func (*CloudProviderGetResponse) GetBody ¶

func (r *CloudProviderGetResponse) GetBody() (value *CloudProvider, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*CloudProviderGetResponse) Header ¶

func (r *CloudProviderGetResponse) Header() http.Header

Header returns header of the response.

func (*CloudProviderGetResponse) Status ¶

func (r *CloudProviderGetResponse) Status() int

Status returns the response status code.

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) 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) 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 ¶ added in v0.0.329

func (b *CloudProviderListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*CloudProviderListBuilder) Items ¶

Items sets the items of the list.

type CloudProviderPollRequest ¶

type CloudProviderPollRequest struct {
	// contains filtered or unexported fields
}

CloudProviderPollRequest is the request for the Poll method.

func (*CloudProviderPollRequest) Header ¶

func (r *CloudProviderPollRequest) Header(name string, value interface{}) *CloudProviderPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*CloudProviderPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*CloudProviderPollRequest) Parameter ¶

func (r *CloudProviderPollRequest) Parameter(name string, value interface{}) *CloudProviderPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*CloudProviderPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*CloudProviderPollRequest) StartContext ¶

func (r *CloudProviderPollRequest) StartContext(ctx context.Context) (response *CloudProviderPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*CloudProviderPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type CloudProviderPollResponse ¶

type CloudProviderPollResponse struct {
	// contains filtered or unexported fields
}

CloudProviderPollResponse is the response for the Poll method.

func (*CloudProviderPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*CloudProviderPollResponse) Error ¶

Error returns the response error.

func (*CloudProviderPollResponse) GetBody ¶

func (r *CloudProviderPollResponse) GetBody() (value *CloudProvider, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*CloudProviderPollResponse) Header ¶

Header returns header of the response.

func (*CloudProviderPollResponse) Status ¶

func (r *CloudProviderPollResponse) Status() int

Status returns the response status code.

type CloudProvidersClient ¶

type CloudProvidersClient struct {
	// contains filtered or unexported fields
}

CloudProvidersClient is the client of the 'cloud_providers' resource.

Manages the collection of cloud providers.

func NewCloudProvidersClient ¶

func NewCloudProvidersClient(transport http.RoundTripper, path string) *CloudProvidersClient

NewCloudProvidersClient creates a new client for the 'cloud_providers' resource using the given transport to send the requests and receive the responses.

func (*CloudProvidersClient) CloudProvider ¶

func (c *CloudProvidersClient) CloudProvider(id string) *CloudProviderClient

CloudProvider returns the target 'cloud_provider' resource for the given identifier.

Returns a reference to the service that manages an specific cloud provider.

func (*CloudProvidersClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of cloud providers.

type CloudProvidersListRequest ¶

type CloudProvidersListRequest struct {
	// contains filtered or unexported fields
}

CloudProvidersListRequest is the request for the 'list' method.

func (*CloudProvidersListRequest) FetchRegions ¶ added in v0.1.357

FetchRegions sets the value of the 'fetch_regions' parameter.

If true, includes the regions on each provider in the output. Could slow request response time.

func (*CloudProvidersListRequest) Header ¶

func (r *CloudProvidersListRequest) Header(name string, value interface{}) *CloudProvidersListRequest

Header adds a request header.

func (*CloudProvidersListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*CloudProvidersListRequest) Order ¶

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the cloud provider instead of the names of the columns of a table. For example, in order to sort the clusters descending by name identifier the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*CloudProvidersListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*CloudProvidersListRequest) Parameter ¶

func (r *CloudProvidersListRequest) Parameter(name string, value interface{}) *CloudProvidersListRequest

Parameter adds a query parameter.

func (*CloudProvidersListRequest) Search ¶

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the cloud provider instead of the names of the columns of a table. For example, in order to retrieve all the cloud providers with a name starting with `A` the value should be:

```sql name like 'A%' ```

If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.

func (*CloudProvidersListRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*CloudProvidersListRequest) SendContext ¶

func (r *CloudProvidersListRequest) SendContext(ctx context.Context) (result *CloudProvidersListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*CloudProvidersListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type CloudProvidersListResponse ¶

type CloudProvidersListResponse struct {
	// contains filtered or unexported fields
}

CloudProvidersListResponse is the response for the 'list' method.

func (*CloudProvidersListResponse) Error ¶

Error returns the response error.

func (*CloudProvidersListResponse) GetItems ¶

func (r *CloudProvidersListResponse) GetItems() (value *CloudProviderList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of cloud providers.

func (*CloudProvidersListResponse) GetPage ¶

func (r *CloudProvidersListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*CloudProvidersListResponse) GetSize ¶

func (r *CloudProvidersListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*CloudProvidersListResponse) GetTotal ¶

func (r *CloudProvidersListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*CloudProvidersListResponse) Header ¶

Header returns header of the response.

func (*CloudProvidersListResponse) Items ¶

Items returns the value of the 'items' parameter.

Retrieved list of cloud providers.

func (*CloudProvidersListResponse) Page ¶

func (r *CloudProvidersListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*CloudProvidersListResponse) Size ¶

func (r *CloudProvidersListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*CloudProvidersListResponse) Status ¶

func (r *CloudProvidersListResponse) Status() int

Status returns the response status code.

func (*CloudProvidersListResponse) Total ¶

func (r *CloudProvidersListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type 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 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 ¶ added in v0.0.329

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() *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 ¶ added in v0.0.329

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 *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 ¶ added in v0.1.357

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 ¶ added in v0.1.357

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 ¶ added in v0.1.357

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 ¶ added in v0.0.329

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 ¶ added in v0.1.357

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 ¶ added in v0.1.357

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 ¶ added in v0.1.357

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 iif 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 ¶ added in v0.0.329

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
}

CloudRegionBuilder contains the data and logic needed to build 'cloud_region' objects.

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.357

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 ¶ added in v0.1.357

func (b *CloudRegionBuilder) KMSLocationID(value string) *CloudRegionBuilder

KMSLocationID sets the value of the 'KMS_location_ID' attribute to the given value.

func (*CloudRegionBuilder) KMSLocationName ¶ added in v0.1.357

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 ¶ added in v0.0.329

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 CloudRegionClient ¶

type CloudRegionClient struct {
	// contains filtered or unexported fields
}

CloudRegionClient is the client of the 'cloud_region' resource.

Manages a specific cloud region.

func NewCloudRegionClient ¶

func NewCloudRegionClient(transport http.RoundTripper, path string) *CloudRegionClient

NewCloudRegionClient creates a new client for the 'cloud_region' resource using the given transport to send the requests and receive the responses.

func (*CloudRegionClient) Delete ¶ added in v0.1.342

Delete creates a request for the 'delete' method.

Deletes the region.

func (*CloudRegionClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the details of the region.

func (*CloudRegionClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*CloudRegionClient) Update ¶ added in v0.1.342

Update creates a request for the 'update' method.

Updates the region.

type CloudRegionDeleteRequest ¶ added in v0.1.342

type CloudRegionDeleteRequest struct {
	// contains filtered or unexported fields
}

CloudRegionDeleteRequest is the request for the 'delete' method.

func (*CloudRegionDeleteRequest) Header ¶ added in v0.1.342

func (r *CloudRegionDeleteRequest) Header(name string, value interface{}) *CloudRegionDeleteRequest

Header adds a request header.

func (*CloudRegionDeleteRequest) Impersonate ¶ added in v0.1.342

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*CloudRegionDeleteRequest) Parameter ¶ added in v0.1.342

func (r *CloudRegionDeleteRequest) Parameter(name string, value interface{}) *CloudRegionDeleteRequest

Parameter adds a query parameter.

func (*CloudRegionDeleteRequest) Send ¶ added in v0.1.342

func (r *CloudRegionDeleteRequest) Send() (result *CloudRegionDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*CloudRegionDeleteRequest) SendContext ¶ added in v0.1.342

func (r *CloudRegionDeleteRequest) SendContext(ctx context.Context) (result *CloudRegionDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type CloudRegionDeleteResponse ¶ added in v0.1.342

type CloudRegionDeleteResponse struct {
	// contains filtered or unexported fields
}

CloudRegionDeleteResponse is the response for the 'delete' method.

func (*CloudRegionDeleteResponse) Error ¶ added in v0.1.342

Error returns the response error.

func (*CloudRegionDeleteResponse) Header ¶ added in v0.1.342

Header returns header of the response.

func (*CloudRegionDeleteResponse) Status ¶ added in v0.1.342

func (r *CloudRegionDeleteResponse) Status() int

Status returns the response status code.

type CloudRegionGetRequest ¶

type CloudRegionGetRequest struct {
	// contains filtered or unexported fields
}

CloudRegionGetRequest is the request for the 'get' method.

func (*CloudRegionGetRequest) Header ¶

func (r *CloudRegionGetRequest) Header(name string, value interface{}) *CloudRegionGetRequest

Header adds a request header.

func (*CloudRegionGetRequest) Impersonate ¶ added in v0.0.329

func (r *CloudRegionGetRequest) Impersonate(user string) *CloudRegionGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*CloudRegionGetRequest) Parameter ¶

func (r *CloudRegionGetRequest) Parameter(name string, value interface{}) *CloudRegionGetRequest

Parameter adds a query parameter.

func (*CloudRegionGetRequest) Send ¶

func (r *CloudRegionGetRequest) Send() (result *CloudRegionGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*CloudRegionGetRequest) SendContext ¶

func (r *CloudRegionGetRequest) SendContext(ctx context.Context) (result *CloudRegionGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type CloudRegionGetResponse ¶

type CloudRegionGetResponse struct {
	// contains filtered or unexported fields
}

CloudRegionGetResponse is the response for the 'get' method.

func (*CloudRegionGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*CloudRegionGetResponse) Error ¶

func (r *CloudRegionGetResponse) Error() *errors.Error

Error returns the response error.

func (*CloudRegionGetResponse) GetBody ¶

func (r *CloudRegionGetResponse) GetBody() (value *CloudRegion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*CloudRegionGetResponse) Header ¶

func (r *CloudRegionGetResponse) Header() http.Header

Header returns header of the response.

func (*CloudRegionGetResponse) Status ¶

func (r *CloudRegionGetResponse) Status() int

Status returns the response status code.

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) 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) 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 ¶ added in v0.0.329

func (b *CloudRegionListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*CloudRegionListBuilder) Items ¶

Items sets the items of the list.

type CloudRegionPollRequest ¶

type CloudRegionPollRequest struct {
	// contains filtered or unexported fields
}

CloudRegionPollRequest is the request for the Poll method.

func (*CloudRegionPollRequest) Header ¶

func (r *CloudRegionPollRequest) Header(name string, value interface{}) *CloudRegionPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*CloudRegionPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*CloudRegionPollRequest) Parameter ¶

func (r *CloudRegionPollRequest) Parameter(name string, value interface{}) *CloudRegionPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*CloudRegionPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*CloudRegionPollRequest) StartContext ¶

func (r *CloudRegionPollRequest) StartContext(ctx context.Context) (response *CloudRegionPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*CloudRegionPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type CloudRegionPollResponse ¶

type CloudRegionPollResponse struct {
	// contains filtered or unexported fields
}

CloudRegionPollResponse is the response for the Poll method.

func (*CloudRegionPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*CloudRegionPollResponse) Error ¶

func (r *CloudRegionPollResponse) Error() *errors.Error

Error returns the response error.

func (*CloudRegionPollResponse) GetBody ¶

func (r *CloudRegionPollResponse) GetBody() (value *CloudRegion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*CloudRegionPollResponse) Header ¶

func (r *CloudRegionPollResponse) Header() http.Header

Header returns header of the response.

func (*CloudRegionPollResponse) Status ¶

func (r *CloudRegionPollResponse) Status() int

Status returns the response status code.

type CloudRegionUpdateRequest ¶ added in v0.1.342

type CloudRegionUpdateRequest struct {
	// contains filtered or unexported fields
}

CloudRegionUpdateRequest is the request for the 'update' method.

func (*CloudRegionUpdateRequest) Body ¶ added in v0.1.342

Body sets the value of the 'body' parameter.

func (*CloudRegionUpdateRequest) Header ¶ added in v0.1.342

func (r *CloudRegionUpdateRequest) Header(name string, value interface{}) *CloudRegionUpdateRequest

Header adds a request header.

func (*CloudRegionUpdateRequest) Impersonate ¶ added in v0.1.342

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*CloudRegionUpdateRequest) Parameter ¶ added in v0.1.342

func (r *CloudRegionUpdateRequest) Parameter(name string, value interface{}) *CloudRegionUpdateRequest

Parameter adds a query parameter.

func (*CloudRegionUpdateRequest) Send ¶ added in v0.1.342

func (r *CloudRegionUpdateRequest) Send() (result *CloudRegionUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*CloudRegionUpdateRequest) SendContext ¶ added in v0.1.342

func (r *CloudRegionUpdateRequest) SendContext(ctx context.Context) (result *CloudRegionUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type CloudRegionUpdateResponse ¶ added in v0.1.342

type CloudRegionUpdateResponse struct {
	// contains filtered or unexported fields
}

CloudRegionUpdateResponse is the response for the 'update' method.

func (*CloudRegionUpdateResponse) Body ¶ added in v0.1.342

Body returns the value of the 'body' parameter.

func (*CloudRegionUpdateResponse) Error ¶ added in v0.1.342

Error returns the response error.

func (*CloudRegionUpdateResponse) GetBody ¶ added in v0.1.342

func (r *CloudRegionUpdateResponse) GetBody() (value *CloudRegion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*CloudRegionUpdateResponse) Header ¶ added in v0.1.342

Header returns header of the response.

func (*CloudRegionUpdateResponse) Status ¶ added in v0.1.342

func (r *CloudRegionUpdateResponse) Status() int

Status returns the response status code.

type CloudRegionsAddRequest ¶ added in v0.1.342

type CloudRegionsAddRequest struct {
	// contains filtered or unexported fields
}

CloudRegionsAddRequest is the request for the 'add' method.

func (*CloudRegionsAddRequest) Body ¶ added in v0.1.342

Body sets the value of the 'body' parameter.

func (*CloudRegionsAddRequest) Header ¶ added in v0.1.342

func (r *CloudRegionsAddRequest) Header(name string, value interface{}) *CloudRegionsAddRequest

Header adds a request header.

func (*CloudRegionsAddRequest) Impersonate ¶ added in v0.1.342

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*CloudRegionsAddRequest) Parameter ¶ added in v0.1.342

func (r *CloudRegionsAddRequest) Parameter(name string, value interface{}) *CloudRegionsAddRequest

Parameter adds a query parameter.

func (*CloudRegionsAddRequest) Send ¶ added in v0.1.342

func (r *CloudRegionsAddRequest) Send() (result *CloudRegionsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*CloudRegionsAddRequest) SendContext ¶ added in v0.1.342

func (r *CloudRegionsAddRequest) SendContext(ctx context.Context) (result *CloudRegionsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type CloudRegionsAddResponse ¶ added in v0.1.342

type CloudRegionsAddResponse struct {
	// contains filtered or unexported fields
}

CloudRegionsAddResponse is the response for the 'add' method.

func (*CloudRegionsAddResponse) Body ¶ added in v0.1.342

Body returns the value of the 'body' parameter.

func (*CloudRegionsAddResponse) Error ¶ added in v0.1.342

func (r *CloudRegionsAddResponse) Error() *errors.Error

Error returns the response error.

func (*CloudRegionsAddResponse) GetBody ¶ added in v0.1.342

func (r *CloudRegionsAddResponse) GetBody() (value *CloudRegion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*CloudRegionsAddResponse) Header ¶ added in v0.1.342

func (r *CloudRegionsAddResponse) Header() http.Header

Header returns header of the response.

func (*CloudRegionsAddResponse) Status ¶ added in v0.1.342

func (r *CloudRegionsAddResponse) Status() int

Status returns the response status code.

type CloudRegionsClient ¶

type CloudRegionsClient struct {
	// contains filtered or unexported fields
}

CloudRegionsClient is the client of the 'cloud_regions' resource.

Manages the collection of regions of a cloud provider.

func NewCloudRegionsClient ¶

func NewCloudRegionsClient(transport http.RoundTripper, path string) *CloudRegionsClient

NewCloudRegionsClient creates a new client for the 'cloud_regions' resource using the given transport to send the requests and receive the responses.

func (*CloudRegionsClient) Add ¶ added in v0.1.342

Add creates a request for the 'add' method.

Adds a cloud region to the database.

func (*CloudRegionsClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of regions of the cloud provider.

IMPORTANT: This collection doesn't currently support paging or searching, so the returned `page` will always be 1 and `size` and `total` will always be the total number of regions of the provider.

func (*CloudRegionsClient) Region ¶

Region returns the target 'cloud_region' resource for the given identifier.

Reference to the service that manages an specific region.

type CloudRegionsListRequest ¶

type CloudRegionsListRequest struct {
	// contains filtered or unexported fields
}

CloudRegionsListRequest is the request for the 'list' method.

func (*CloudRegionsListRequest) Header ¶

func (r *CloudRegionsListRequest) Header(name string, value interface{}) *CloudRegionsListRequest

Header adds a request header.

func (*CloudRegionsListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*CloudRegionsListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*CloudRegionsListRequest) Parameter ¶

func (r *CloudRegionsListRequest) Parameter(name string, value interface{}) *CloudRegionsListRequest

Parameter adds a query parameter.

func (*CloudRegionsListRequest) Send ¶

func (r *CloudRegionsListRequest) Send() (result *CloudRegionsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*CloudRegionsListRequest) SendContext ¶

func (r *CloudRegionsListRequest) SendContext(ctx context.Context) (result *CloudRegionsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*CloudRegionsListRequest) Size ¶

Size sets the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

type CloudRegionsListResponse ¶

type CloudRegionsListResponse struct {
	// contains filtered or unexported fields
}

CloudRegionsListResponse is the response for the 'list' method.

func (*CloudRegionsListResponse) Error ¶

Error returns the response error.

func (*CloudRegionsListResponse) GetItems ¶

func (r *CloudRegionsListResponse) GetItems() (value *CloudRegionList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of cloud providers.

func (*CloudRegionsListResponse) GetPage ¶

func (r *CloudRegionsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*CloudRegionsListResponse) GetSize ¶

func (r *CloudRegionsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

func (*CloudRegionsListResponse) GetTotal ¶

func (r *CloudRegionsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

func (*CloudRegionsListResponse) Header ¶

func (r *CloudRegionsListResponse) Header() http.Header

Header returns header of the response.

func (*CloudRegionsListResponse) Items ¶

Items returns the value of the 'items' parameter.

Retrieved list of cloud providers.

func (*CloudRegionsListResponse) Page ¶

func (r *CloudRegionsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*CloudRegionsListResponse) Size ¶

func (r *CloudRegionsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

func (*CloudRegionsListResponse) Status ¶

func (r *CloudRegionsListResponse) Status() int

Status returns the response status code.

func (*CloudRegionsListResponse) Total ¶

func (r *CloudRegionsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

type CloudVPC ¶ added in v0.0.329

type CloudVPC struct {
	// contains filtered or unexported fields
}

CloudVPC represents the values of the 'cloud_VPC' type.

Description of a cloud provider virtual private cloud.

func UnmarshalCloudVPC ¶ added in v0.0.329

func UnmarshalCloudVPC(source interface{}) (object *CloudVPC, err error)

UnmarshalCloudVPC reads a value of the 'cloud_VPC' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalCloudVPCList ¶ added in v0.0.329

func UnmarshalCloudVPCList(source interface{}) (items []*CloudVPC, err error)

UnmarshalCloudVPCList reads a list of values of the 'cloud_VPC' type from the given source, which can be a slice of bytes, a string or a reader.

func (*CloudVPC) AWSSecurityGroups ¶ added in v0.1.370

func (o *CloudVPC) AWSSecurityGroups() []*SecurityGroup

AWSSecurityGroups returns the value of the 'AWS_security_groups' attribute, or the zero value of the type if the attribute doesn't have a value.

List of AWS security groups with details.

func (*CloudVPC) AWSSubnets ¶ added in v0.0.329

func (o *CloudVPC) AWSSubnets() []*Subnetwork

AWSSubnets returns the value of the 'AWS_subnets' attribute, or the zero value of the type if the attribute doesn't have a value.

List of AWS subnetworks with details.

func (*CloudVPC) CIDRBlock ¶ added in v0.1.368

func (o *CloudVPC) CIDRBlock() string

CIDRBlock returns the value of the 'CIDR_block' attribute, or the zero value of the type if the attribute doesn't have a value.

CIDR block of the virtual private cloud.

func (*CloudVPC) Empty ¶ added in v0.0.329

func (o *CloudVPC) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CloudVPC) GetAWSSecurityGroups ¶ added in v0.1.370

func (o *CloudVPC) GetAWSSecurityGroups() (value []*SecurityGroup, ok bool)

GetAWSSecurityGroups returns the value of the 'AWS_security_groups' attribute and a flag indicating if the attribute has a value.

List of AWS security groups with details.

func (*CloudVPC) GetAWSSubnets ¶ added in v0.0.329

func (o *CloudVPC) GetAWSSubnets() (value []*Subnetwork, ok bool)

GetAWSSubnets returns the value of the 'AWS_subnets' attribute and a flag indicating if the attribute has a value.

List of AWS subnetworks with details.

func (*CloudVPC) GetCIDRBlock ¶ added in v0.1.368

func (o *CloudVPC) GetCIDRBlock() (value string, ok bool)

GetCIDRBlock returns the value of the 'CIDR_block' attribute and a flag indicating if the attribute has a value.

CIDR block of the virtual private cloud.

func (*CloudVPC) GetID ¶ added in v0.0.329

func (o *CloudVPC) GetID() (value string, ok bool)

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

ID of virtual private cloud.

func (*CloudVPC) GetName ¶ added in v0.0.329

func (o *CloudVPC) 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 virtual private cloud according to its `Name` tag on AWS.

func (*CloudVPC) GetRedHatManaged ¶ added in v0.1.370

func (o *CloudVPC) GetRedHatManaged() (value bool, ok bool)

GetRedHatManaged returns the value of the 'red_hat_managed' attribute and a flag indicating if the attribute has a value.

If the resource is RH managed.

func (*CloudVPC) GetSubnets ¶ added in v0.0.329

func (o *CloudVPC) GetSubnets() (value []string, ok bool)

GetSubnets returns the value of the 'subnets' attribute and a flag indicating if the attribute has a value.

List of subnets used by the virtual private cloud.

func (*CloudVPC) ID ¶ added in v0.0.329

func (o *CloudVPC) 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 of virtual private cloud.

func (*CloudVPC) Name ¶ added in v0.0.329

func (o *CloudVPC) 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 virtual private cloud according to its `Name` tag on AWS.

func (*CloudVPC) RedHatManaged ¶ added in v0.1.370

func (o *CloudVPC) RedHatManaged() bool

RedHatManaged returns the value of the 'red_hat_managed' attribute, or the zero value of the type if the attribute doesn't have a value.

If the resource is RH managed.

func (*CloudVPC) Subnets ¶ added in v0.0.329

func (o *CloudVPC) Subnets() []string

Subnets returns the value of the 'subnets' attribute, or the zero value of the type if the attribute doesn't have a value.

List of subnets used by the virtual private cloud.

type CloudVPCBuilder ¶ added in v0.0.329

type CloudVPCBuilder struct {
	// contains filtered or unexported fields
}

CloudVPCBuilder contains the data and logic needed to build 'cloud_VPC' objects.

Description of a cloud provider virtual private cloud.

func NewCloudVPC ¶ added in v0.0.329

func NewCloudVPC() *CloudVPCBuilder

NewCloudVPC creates a new builder of 'cloud_VPC' objects.

func (*CloudVPCBuilder) AWSSecurityGroups ¶ added in v0.1.370

func (b *CloudVPCBuilder) AWSSecurityGroups(values ...*SecurityGroupBuilder) *CloudVPCBuilder

AWSSecurityGroups sets the value of the 'AWS_security_groups' attribute to the given values.

func (*CloudVPCBuilder) AWSSubnets ¶ added in v0.0.329

func (b *CloudVPCBuilder) AWSSubnets(values ...*SubnetworkBuilder) *CloudVPCBuilder

AWSSubnets sets the value of the 'AWS_subnets' attribute to the given values.

func (*CloudVPCBuilder) Build ¶ added in v0.0.329

func (b *CloudVPCBuilder) Build() (object *CloudVPC, err error)

Build creates a 'cloud_VPC' object using the configuration stored in the builder.

func (*CloudVPCBuilder) CIDRBlock ¶ added in v0.1.368

func (b *CloudVPCBuilder) CIDRBlock(value string) *CloudVPCBuilder

CIDRBlock sets the value of the 'CIDR_block' attribute to the given value.

func (*CloudVPCBuilder) Copy ¶ added in v0.0.329

func (b *CloudVPCBuilder) Copy(object *CloudVPC) *CloudVPCBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CloudVPCBuilder) Empty ¶ added in v0.0.329

func (b *CloudVPCBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*CloudVPCBuilder) ID ¶ added in v0.0.329

func (b *CloudVPCBuilder) ID(value string) *CloudVPCBuilder

ID sets the value of the 'ID' attribute to the given value.

func (*CloudVPCBuilder) Name ¶ added in v0.0.329

func (b *CloudVPCBuilder) Name(value string) *CloudVPCBuilder

Name sets the value of the 'name' attribute to the given value.

func (*CloudVPCBuilder) RedHatManaged ¶ added in v0.1.370

func (b *CloudVPCBuilder) RedHatManaged(value bool) *CloudVPCBuilder

RedHatManaged sets the value of the 'red_hat_managed' attribute to the given value.

func (*CloudVPCBuilder) Subnets ¶ added in v0.0.329

func (b *CloudVPCBuilder) Subnets(values ...string) *CloudVPCBuilder

Subnets sets the value of the 'subnets' attribute to the given values.

type CloudVPCList ¶ added in v0.0.329

type CloudVPCList struct {
	// contains filtered or unexported fields
}

CloudVPCList is a list of values of the 'cloud_VPC' type.

func (*CloudVPCList) Each ¶ added in v0.0.329

func (l *CloudVPCList) Each(f func(item *CloudVPC) 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 (*CloudVPCList) Empty ¶ added in v0.0.329

func (l *CloudVPCList) Empty() bool

Empty returns true if the list is empty.

func (*CloudVPCList) Get ¶ added in v0.0.329

func (l *CloudVPCList) Get(i int) *CloudVPC

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CloudVPCList) Len ¶ added in v0.0.329

func (l *CloudVPCList) Len() int

Len returns the length of the list.

func (*CloudVPCList) Range ¶ added in v0.0.329

func (l *CloudVPCList) Range(f func(index int, item *CloudVPC) 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 (*CloudVPCList) Slice ¶ added in v0.0.329

func (l *CloudVPCList) Slice() []*CloudVPC

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 CloudVPCListBuilder ¶ added in v0.0.329

type CloudVPCListBuilder struct {
	// contains filtered or unexported fields
}

CloudVPCListBuilder contains the data and logic needed to build 'cloud_VPC' objects.

func NewCloudVPCList ¶ added in v0.0.329

func NewCloudVPCList() *CloudVPCListBuilder

NewCloudVPCList creates a new builder of 'cloud_VPC' objects.

func (*CloudVPCListBuilder) Build ¶ added in v0.0.329

func (b *CloudVPCListBuilder) Build() (list *CloudVPCList, err error)

Build creates a list of 'cloud_VPC' objects using the configuration stored in the builder.

func (*CloudVPCListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CloudVPCListBuilder) Empty ¶ added in v0.0.329

func (b *CloudVPCListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*CloudVPCListBuilder) Items ¶ added in v0.0.329

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 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() *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 ¶ added in v0.0.329

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() *AddOnInstallationList

Addons returns the value of the 'addons' attribute, or the zero value of the type if the attribute doesn't have a value.

List of add-ons on this cluster.

func (*Cluster) Autoscaler ¶ added in v0.1.349

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 ¶ added in v0.1.415

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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() *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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.405

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 ¶ added in v0.0.329

func (o *Cluster) EtcdEncryption() bool

EtcdEncryption returns the value of the 'etcd_encryption' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates whether that etcd is encrypted or not. This is set only during cluster creation.

func (*Cluster) ExpirationTimestamp ¶

func (o *Cluster) ExpirationTimestamp() time.Time

ExpirationTimestamp returns the value of the 'expiration_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

Date and time when the cluster will be automatically deleted, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt). If no timestamp is provided, the cluster will never expire.

This option is unsupported.

func (*Cluster) ExternalAuthConfig ¶ added in v0.1.396

func (o *Cluster) ExternalAuthConfig() *ExternalAuthConfig

ExternalAuthConfig returns the value of the 'external_auth_config' attribute, or the zero value of the type if the attribute doesn't have a value.

External authentication configuration

func (*Cluster) ExternalConfiguration ¶

func (o *Cluster) ExternalConfiguration() *ExternalConfiguration

ExternalConfiguration returns the value of the 'external_configuration' attribute, or the zero value of the type if the attribute doesn't have a value.

ExternalConfiguration shows external configuration on the cluster.

func (*Cluster) ExternalID ¶

func (o *Cluster) ExternalID() string

ExternalID returns the value of the 'external_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

External identifier of the cluster, generated by the installer.

func (*Cluster) FIPS ¶ added in v0.0.329

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() *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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 *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 ¶ added in v0.0.329

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 *AddOnInstallationList, ok bool)

GetAddons returns the value of the 'addons' attribute and a flag indicating if the attribute has a value.

List of add-ons on this cluster.

func (*Cluster) GetAutoscaler ¶ added in v0.1.349

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 ¶ added in v0.1.415

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 *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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.405

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 ¶ added in v0.0.329

func (o *Cluster) GetEtcdEncryption() (value bool, ok bool)

GetEtcdEncryption returns the value of the 'etcd_encryption' attribute and a flag indicating if the attribute has a value.

Indicates whether that etcd is encrypted or not. This is set only during cluster creation.

func (*Cluster) GetExpirationTimestamp ¶

func (o *Cluster) GetExpirationTimestamp() (value time.Time, ok bool)

GetExpirationTimestamp returns the value of the 'expiration_timestamp' attribute and a flag indicating if the attribute has a value.

Date and time when the cluster will be automatically deleted, using the format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt). If no timestamp is provided, the cluster will never expire.

This option is unsupported.

func (*Cluster) GetExternalAuthConfig ¶ added in v0.1.396

func (o *Cluster) GetExternalAuthConfig() (value *ExternalAuthConfig, ok bool)

GetExternalAuthConfig returns the value of the 'external_auth_config' attribute and a flag indicating if the attribute has a value.

External authentication configuration

func (*Cluster) GetExternalConfiguration ¶

func (o *Cluster) GetExternalConfiguration() (value *ExternalConfiguration, ok bool)

GetExternalConfiguration returns the value of the 'external_configuration' attribute and a flag indicating if the attribute has a value.

ExternalConfiguration shows external configuration on the cluster.

func (*Cluster) GetExternalID ¶

func (o *Cluster) GetExternalID() (value string, ok bool)

GetExternalID returns the value of the 'external_ID' attribute and a flag indicating if the attribute has a value.

External identifier of the cluster, generated by the installer.

func (*Cluster) GetFIPS ¶ added in v0.0.329

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 *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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 *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 ¶ added in v0.1.344

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 ¶ added in v0.0.329

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 *IdentityProviderList, ok bool)

GetIdentityProviders returns the value of the 'identity_providers' attribute and a flag indicating if the attribute has a value.

Link to the collection of identity providers of the cluster.

func (*Cluster) GetInflightChecks ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 *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 ¶ added in v0.1.381

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 ¶ added in v0.0.329

func (o *Cluster) GetMachinePools() (value *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 ¶ added in v0.0.329

func (o *Cluster) GetManagedService() (value *ManagedService, ok bool)

GetManagedService returns the value of the 'managed_service' attribute and a flag indicating if the attribute has a value.

Contains information about Managed Service

func (*Cluster) GetMultiAZ ¶

func (o *Cluster) GetMultiAZ() (value bool, ok bool)

GetMultiAZ returns the value of the 'multi_AZ' attribute and a flag indicating if the attribute has a value.

Flag indicating if the cluster should be created with nodes in different availability zones or all the nodes in a single one randomly selected.

func (*Cluster) 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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 *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 ¶ added in v0.0.329

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 *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) 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 ¶ added in v0.0.329

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 *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() *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 ¶ added in v0.1.344

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 ¶ added in v0.0.329

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() *IdentityProviderList

IdentityProviders returns the value of the 'identity_providers' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the collection of identity providers of the cluster.

func (*Cluster) InflightChecks ¶ added in v0.0.329

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 ¶ added in v0.0.329

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() *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 ¶ added in v0.1.381

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 iif 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 ¶ added in v0.0.329

func (o *Cluster) MachinePools() *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 ¶ added in v0.0.329

func (o *Cluster) ManagedService() *ManagedService

ManagedService returns the value of the 'managed_service' attribute, or the zero value of the type if the attribute doesn't have a value.

Contains information about Managed Service

func (*Cluster) MultiAZ ¶

func (o *Cluster) MultiAZ() bool

MultiAZ returns the value of the 'multi_AZ' attribute, or the zero value of the type if the attribute doesn't have a value.

Flag indicating if the cluster should be created with nodes in different availability zones or all the nodes in a single one randomly selected.

func (*Cluster) 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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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() *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 ¶ added in v0.0.329

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() *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) 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 ¶ added in v0.0.329

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() *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 UnmarshalClusterAPI ¶

func UnmarshalClusterAPI(source interface{}) (object *ClusterAPI, err error)

UnmarshalClusterAPI reads a value of the 'cluster_API' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterAPIList ¶

func UnmarshalClusterAPIList(source interface{}) (items []*ClusterAPI, err error)

UnmarshalClusterAPIList reads a list of values of the 'cluster_API' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterAPI) Empty ¶

func (o *ClusterAPI) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterAPI) GetListening ¶

func (o *ClusterAPI) GetListening() (value ListeningMethod, ok bool)

GetListening returns the value of the 'listening' attribute and a flag indicating if the attribute has a value.

The listening method of the API server.

func (*ClusterAPI) GetURL ¶

func (o *ClusterAPI) GetURL() (value string, ok bool)

GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.

The URL of the API server of the cluster.

func (*ClusterAPI) Listening ¶

func (o *ClusterAPI) Listening() ListeningMethod

Listening returns the value of the 'listening' attribute, or the zero value of the type if the attribute doesn't have a value.

The listening method of the API server.

func (*ClusterAPI) URL ¶

func (o *ClusterAPI) URL() string

URL returns the value of the 'URL' attribute, or the zero value of the type if the attribute doesn't have a value.

The URL of the API server of the cluster.

type ClusterAPIBuilder ¶

type ClusterAPIBuilder struct {
	// contains filtered or unexported fields
}

ClusterAPIBuilder contains the data and logic needed to build 'cluster_API' objects.

Information about the API of a cluster.

func NewClusterAPI ¶

func NewClusterAPI() *ClusterAPIBuilder

NewClusterAPI creates a new builder of 'cluster_API' objects.

func (*ClusterAPIBuilder) Build ¶

func (b *ClusterAPIBuilder) Build() (object *ClusterAPI, err error)

Build creates a 'cluster_API' object using the configuration stored in the builder.

func (*ClusterAPIBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterAPIBuilder) Empty ¶ added in v0.0.329

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) 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) 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 ¶ added in v0.0.329

func (b *ClusterAPIListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterAPIListBuilder) Items ¶

Items sets the items of the list.

type ClusterAutoscaler ¶ added in v0.1.349

type ClusterAutoscaler struct {
	// contains filtered or unexported fields
}

ClusterAutoscaler represents the values of the 'cluster_autoscaler' type.

Cluster-wide autoscaling configuration.

func UnmarshalClusterAutoscaler ¶ added in v0.1.349

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.1.349

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.1.349

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.1.361

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.1.349

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.1.349

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.1.361

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.1.354

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.1.354

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.1.361

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.1.349

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.1.361

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.1.349

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.1.361

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.1.349

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.1.349

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.1.349

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.1.354

func (o *ClusterAutoscaler) HREF() string

HREF returns the link to the object.

func (*ClusterAutoscaler) ID ¶ added in v0.1.354

func (o *ClusterAutoscaler) ID() string

ID returns the identifier of the object.

func (*ClusterAutoscaler) IgnoreDaemonsetsUtilization ¶ added in v0.1.361

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.1.354

func (o *ClusterAutoscaler) Kind() string

Kind returns the name of the type of the object.

func (o *ClusterAutoscaler) Link() bool

Link returns true iif this is a link.

func (*ClusterAutoscaler) LogVerbosity ¶ added in v0.1.349

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.1.361

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.1.349

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.1.361

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.1.349

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.1.349

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.1.349

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.1.349

type ClusterAutoscalerBuilder struct {
	// contains filtered or unexported fields
}

ClusterAutoscalerBuilder contains the data and logic needed to build 'cluster_autoscaler' objects.

Cluster-wide autoscaling configuration.

func NewClusterAutoscaler ¶ added in v0.1.349

func NewClusterAutoscaler() *ClusterAutoscalerBuilder

NewClusterAutoscaler creates a new builder of 'cluster_autoscaler' objects.

func (*ClusterAutoscalerBuilder) BalanceSimilarNodeGroups ¶ added in v0.1.349

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.1.361

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.1.349

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.1.349

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterAutoscalerBuilder) Empty ¶ added in v0.1.349

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.1.354

HREF sets the link to the object.

func (*ClusterAutoscalerBuilder) ID ¶ added in v0.1.354

ID sets the identifier of the object.

func (*ClusterAutoscalerBuilder) IgnoreDaemonsetsUtilization ¶ added in v0.1.361

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.1.349

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.1.361

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.1.349

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.1.361

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.1.349

ResourceLimits sets the value of the 'resource_limits' attribute to the given value.

func (*ClusterAutoscalerBuilder) ScaleDown ¶ added in v0.1.349

ScaleDown sets the value of the 'scale_down' attribute to the given value.

func (*ClusterAutoscalerBuilder) SkipNodesWithLocalStorage ¶ added in v0.1.349

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.1.349

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.1.349

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.1.349

func (l *ClusterAutoscalerList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterAutoscalerList) Get ¶ added in v0.1.349

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.1.354

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.1.354

func (l *ClusterAutoscalerList) HREF() string

HREF returns the link to the list.

func (*ClusterAutoscalerList) Kind ¶ added in v0.1.354

func (l *ClusterAutoscalerList) Kind() string

Kind returns the name of the type of the object.

func (*ClusterAutoscalerList) Len ¶ added in v0.1.349

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.1.349

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) Slice ¶ added in v0.1.349

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.1.349

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.1.349

func NewClusterAutoscalerList() *ClusterAutoscalerListBuilder

NewClusterAutoscalerList creates a new builder of 'cluster_autoscaler' objects.

func (*ClusterAutoscalerListBuilder) Build ¶ added in v0.1.349

Build creates a list of 'cluster_autoscaler' objects using the configuration stored in the builder.

func (*ClusterAutoscalerListBuilder) Copy ¶ added in v0.1.349

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterAutoscalerListBuilder) Empty ¶ added in v0.1.349

Empty returns true if the list is empty.

func (*ClusterAutoscalerListBuilder) Items ¶ added in v0.1.349

Items sets the items of the list.

type ClusterBuilder ¶

type ClusterBuilder struct {
	// contains filtered or unexported fields
}

ClusterBuilder contains the data and logic needed to build 'cluster' objects.

Definition of an _OpenShift_ cluster.

The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:

```json

{
  "cloud_provider": {
    "kind": "CloudProviderLink",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/cloud_providers/123"
  }
}

```

When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:

```json

{
  "cloud_provider": {
    "id": "123",
  }
}

```

If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.

The region attribute is mandatory when a cluster is created.

The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.

func NewCluster ¶

func NewCluster() *ClusterBuilder

NewCluster creates a new builder of 'cluster' objects.

func (*ClusterBuilder) API ¶

API sets the value of the 'API' attribute to the given value.

Information about the API of a cluster.

func (*ClusterBuilder) AWS ¶

func (b *ClusterBuilder) AWS(value *AWSBuilder) *ClusterBuilder

AWS sets the value of the 'AWS' attribute to the given value.

_Amazon Web Services_ specific settings of a cluster.

func (*ClusterBuilder) AWSInfrastructureAccessRoleGrants ¶

func (b *ClusterBuilder) AWSInfrastructureAccessRoleGrants(value *AWSInfrastructureAccessRoleGrantListBuilder) *ClusterBuilder

AWSInfrastructureAccessRoleGrants sets the value of the 'AWS_infrastructure_access_role_grants' attribute to the given values.

func (*ClusterBuilder) AdditionalTrustBundle ¶ added in v0.0.329

func (b *ClusterBuilder) AdditionalTrustBundle(value string) *ClusterBuilder

AdditionalTrustBundle sets the value of the 'additional_trust_bundle' attribute to the given value.

func (*ClusterBuilder) Addons ¶

Addons sets the value of the 'addons' attribute to the given values.

func (*ClusterBuilder) Autoscaler ¶ added in v0.1.349

Autoscaler sets the value of the 'autoscaler' attribute to the given value.

Cluster-wide autoscaling configuration.

func (*ClusterBuilder) Azure ¶ added in v0.1.415

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 *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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.405

func (b *ClusterBuilder) DomainPrefix(value string) *ClusterBuilder

DomainPrefix sets the value of the 'domain_prefix' attribute to the given value.

func (*ClusterBuilder) Empty ¶ added in v0.0.329

func (b *ClusterBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterBuilder) EtcdEncryption ¶ added in v0.0.329

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 ¶ added in v0.1.396

func (b *ClusterBuilder) ExternalAuthConfig(value *ExternalAuthConfigBuilder) *ClusterBuilder

ExternalAuthConfig sets the value of the 'external_auth_config' attribute to the given value.

ExternalAuthConfig configuration

func (*ClusterBuilder) ExternalConfiguration ¶

func (b *ClusterBuilder) ExternalConfiguration(value *ExternalConfigurationBuilder) *ClusterBuilder

ExternalConfiguration sets the value of the 'external_configuration' attribute to the given value.

Representation of cluster external configuration.

func (*ClusterBuilder) ExternalID ¶

func (b *ClusterBuilder) ExternalID(value string) *ClusterBuilder

ExternalID sets the value of the 'external_ID' attribute to the given value.

func (*ClusterBuilder) FIPS ¶ added in v0.0.329

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 *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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 *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 ¶ added in v0.1.344

Htpasswd sets the value of the 'htpasswd' attribute to the given value.

Details for `htpasswd` identity providers.

func (*ClusterBuilder) Hypershift ¶ added in v0.0.329

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 *IdentityProviderListBuilder) *ClusterBuilder

IdentityProviders sets the value of the 'identity_providers' attribute to the given values.

func (*ClusterBuilder) InflightChecks ¶ added in v0.0.329

func (b *ClusterBuilder) InflightChecks(value *InflightCheckListBuilder) *ClusterBuilder

InflightChecks sets the value of the 'inflight_checks' attribute to the given values.

func (*ClusterBuilder) InfraID ¶ added in v0.0.329

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 *IngressListBuilder) *ClusterBuilder

Ingresses sets the value of the 'ingresses' attribute to the given values.

func (*ClusterBuilder) KubeletConfig ¶ added in v0.1.381

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 ¶ added in v0.0.329

func (b *ClusterBuilder) MachinePools(value *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 ¶ added in v0.0.329

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) 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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 *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 ¶ added in v0.0.329

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) 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 ¶ added in v0.0.329

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 *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 ClusterClient ¶

type ClusterClient struct {
	// contains filtered or unexported fields
}

ClusterClient is the client of the 'cluster' resource.

Manages a specific cluster.

func NewClusterClient ¶

func NewClusterClient(transport http.RoundTripper, path string) *ClusterClient

NewClusterClient creates a new client for the 'cluster' resource using the given transport to send the requests and receive the responses.

func (*ClusterClient) AWS ¶ added in v0.0.329

func (c *ClusterClient) AWS() *AWSClient

AWS returns the target 'AWS' resource.

func (*ClusterClient) AWSInfrastructureAccessRoleGrants ¶

func (c *ClusterClient) AWSInfrastructureAccessRoleGrants() *AWSInfrastructureAccessRoleGrantsClient

AWSInfrastructureAccessRoleGrants returns the target 'AWS_infrastructure_access_role_grants' resource.

Reference to the resource that manages the collection of AWS infrastructure access role grants on this cluster.

func (*ClusterClient) AddonInquiries ¶ added in v0.0.329

func (c *ClusterClient) AddonInquiries() *AddonInquiriesClient

AddonInquiries returns the target 'addon_inquiries' resource.

Reference to the resource that manages the collection of the add-on inquiries on this cluster.

func (*ClusterClient) AddonUpgradePolicies ¶ added in v0.0.329

func (c *ClusterClient) AddonUpgradePolicies() *AddonUpgradePoliciesClient

AddonUpgradePolicies returns the target 'addon_upgrade_policies' resource.

Reference to the resource that manages the collection of addon upgrade policies defined for this cluster.

func (*ClusterClient) Addons ¶

Addons returns the target 'add_on_installations' resource.

Reference to the resource that manages the collection of add-ons installed on this cluster.

func (*ClusterClient) Autoscaler ¶ added in v0.1.354

func (c *ClusterClient) Autoscaler() *AutoscalerClient

Autoscaler returns the target 'autoscaler' resource.

Reference to the resource that manages the cluster autoscaler.

func (*ClusterClient) BreakGlassCredentials ¶ added in v0.1.410

func (c *ClusterClient) BreakGlassCredentials() *BreakGlassCredentialsClient

BreakGlassCredentials returns the target 'break_glass_credentials' resource.

Reference to the resource that manages the break glass credentials.

func (*ClusterClient) Clusterdeployment ¶ added in v0.0.329

func (c *ClusterClient) Clusterdeployment() *ClusterdeploymentClient

Clusterdeployment returns the target 'clusterdeployment' resource.

Reference to the resource that manages the cluster deployment.

func (*ClusterClient) ControlPlane ¶ added in v0.0.329

func (c *ClusterClient) ControlPlane() *ControlPlaneClient

ControlPlane returns the target 'control_plane' resource.

Reference to the resource that manages the collection of upgrade policies defined for control plane for this cluster.

func (*ClusterClient) Credentials ¶

func (c *ClusterClient) Credentials() *CredentialsClient

Credentials returns the target 'credentials' resource.

Reference to the resource that manages the credentials of the cluster.

func (*ClusterClient) Delete ¶

func (c *ClusterClient) Delete() *ClusterDeleteRequest

Delete creates a request for the 'delete' method.

Deletes the cluster.

func (*ClusterClient) DeleteProtection ¶ added in v0.0.329

func (c *ClusterClient) DeleteProtection() *DeleteProtectionClient

DeleteProtection returns the target 'delete_protection' resource.

func (*ClusterClient) ExternalAuthConfig ¶ added in v0.1.405

func (c *ClusterClient) ExternalAuthConfig() *ExternalAuthConfigClient

ExternalAuthConfig returns the target 'external_auth_config' resource.

Reference to the resource that manages the external authentication configuration.

func (*ClusterClient) ExternalConfiguration ¶

func (c *ClusterClient) ExternalConfiguration() *ExternalConfigurationClient

ExternalConfiguration returns the target 'external_configuration' resource.

Reference to the resource that manages the external configuration.

func (*ClusterClient) GateAgreements ¶ added in v0.0.329

func (c *ClusterClient) GateAgreements() *VersionGateAgreementsClient

GateAgreements returns the target 'version_gate_agreements' resource.

Reference to cluster's agreed version gate.

func (*ClusterClient) Get ¶

func (c *ClusterClient) Get() *ClusterGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the cluster.

func (*ClusterClient) Groups ¶

func (c *ClusterClient) Groups() *GroupsClient

Groups returns the target 'groups' resource.

Reference to the resource that manages the collection of groups.

func (*ClusterClient) Hibernate ¶ added in v0.0.329

func (c *ClusterClient) Hibernate() *ClusterHibernateRequest

Hibernate creates a request for the 'hibernate' method.

Initiates cluster hibernation. While hibernating a cluster will not consume any cloud provider infrastructure but will be counted for quota.

func (*ClusterClient) Hypershift ¶ added in v0.0.329

func (c *ClusterClient) Hypershift() *HypershiftClient

Hypershift returns the target 'hypershift' resource.

func (*ClusterClient) IdentityProviders ¶

func (c *ClusterClient) IdentityProviders() *IdentityProvidersClient

IdentityProviders returns the target 'identity_providers' resource.

Reference to the resource that manages the collection of identity providers.

func (*ClusterClient) InflightChecks ¶ added in v0.1.335

func (c *ClusterClient) InflightChecks() *InflightChecksClient

InflightChecks returns the target 'inflight_checks' resource.

Reference to the resource that manages the collection of inflight checks.

func (*ClusterClient) Ingresses ¶

func (c *ClusterClient) Ingresses() *IngressesClient

Ingresses returns the target 'ingresses' resource.

Reference to the resource that manages the collection of ingress resources.

func (*ClusterClient) KubeletConfig ¶ added in v0.1.381

func (c *ClusterClient) KubeletConfig() *KubeletConfigClient

KubeletConfig returns the target 'kubelet_config' resource.

func (*ClusterClient) KubeletConfigs ¶ added in v0.1.419

func (c *ClusterClient) KubeletConfigs() *KubeletConfigsClient

KubeletConfigs returns the target 'kubelet_configs' resource.

func (*ClusterClient) LimitedSupportReasons ¶ added in v0.0.329

func (c *ClusterClient) LimitedSupportReasons() *LimitedSupportReasonsClient

LimitedSupportReasons returns the target 'limited_support_reasons' resource.

Reference to cluster limited support reasons.

func (*ClusterClient) Logs ¶

func (c *ClusterClient) Logs() *LogsClient

Logs returns the target 'logs' resource.

Reference to the resource that manages the collection of logs of the cluster.

func (*ClusterClient) MachinePools ¶ added in v0.0.329

func (c *ClusterClient) MachinePools() *MachinePoolsClient

MachinePools returns the target 'machine_pools' resource.

Reference to the resource that manages the collection of machine pool resources.

func (*ClusterClient) MetricQueries ¶

func (c *ClusterClient) MetricQueries() *MetricQueriesClient

MetricQueries returns the target 'metric_queries' resource.

Reference to the resource that manages metrics queries for the cluster.

func (*ClusterClient) NodePools ¶ added in v0.0.329

func (c *ClusterClient) NodePools() *NodePoolsClient

NodePools returns the target 'node_pools' resource.

Reference to the resource that manages the collection of node pool resources.

func (*ClusterClient) Poll ¶

func (c *ClusterClient) Poll() *ClusterPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*ClusterClient) ProvisionShard ¶

func (c *ClusterClient) ProvisionShard() *ProvisionShardClient

ProvisionShard returns the target 'provision_shard' resource.

Reference to the resource that manages the cluster's provision shard.

func (*ClusterClient) Resources ¶ added in v0.0.329

func (c *ClusterClient) Resources() *ResourcesClient

Resources returns the target 'resources' resource.

Reference to cluster resources.

func (*ClusterClient) Resume ¶ added in v0.0.329

func (c *ClusterClient) Resume() *ClusterResumeRequest

Resume creates a request for the 'resume' method.

Resumes from Hibernation.

func (*ClusterClient) STSOperatorRoles ¶ added in v0.0.329

func (c *ClusterClient) STSOperatorRoles() *OperatorIAMRolesClient

STSOperatorRoles returns the target 'operator_IAM_roles' resource.

func (*ClusterClient) Status ¶

func (c *ClusterClient) Status() *ClusterStatusClient

Status returns the target 'cluster_status' resource.

Reference to the resource that manages the detailed status of the cluster.

func (*ClusterClient) StsSupportJumpRole ¶ added in v0.1.356

func (c *ClusterClient) StsSupportJumpRole() *StsSupportJumpRoleClient

StsSupportJumpRole returns the target 'sts_support_jump_role' resource.

func (*ClusterClient) TuningConfigs ¶ added in v0.1.334

func (c *ClusterClient) TuningConfigs() *TuningConfigsClient

TuningConfigs returns the target 'tuning_configs' resource.

Reference to the resource that manages the collection of tuning configs for this cluster.

func (*ClusterClient) Update ¶

func (c *ClusterClient) Update() *ClusterUpdateRequest

Update creates a request for the 'update' method.

Updates the cluster.

func (*ClusterClient) UpgradePolicies ¶ added in v0.0.329

func (c *ClusterClient) UpgradePolicies() *UpgradePoliciesClient

UpgradePolicies returns the target 'upgrade_policies' resource.

Reference to the resource that manages the collection of upgrade policies defined for this cluster.

func (*ClusterClient) Vpc ¶ added in v0.1.376

func (c *ClusterClient) Vpc() *VpcClient

Vpc returns the target 'vpc' resource.

Reference to the resource that manages the vpc resource.

type ClusterConfigurationMode ¶ added in v0.0.329

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 UnmarshalClusterConfigurationModeList ¶ added in v0.0.329

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 UnmarshalClusterConsole ¶

func UnmarshalClusterConsole(source interface{}) (object *ClusterConsole, err error)

UnmarshalClusterConsole reads a value of the 'cluster_console' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterConsoleList ¶

func UnmarshalClusterConsoleList(source interface{}) (items []*ClusterConsole, err error)

UnmarshalClusterConsoleList reads a list of values of the 'cluster_console' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterConsole) Empty ¶

func (o *ClusterConsole) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterConsole) GetURL ¶

func (o *ClusterConsole) GetURL() (value string, ok bool)

GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.

The URL of the console of the cluster.

func (*ClusterConsole) URL ¶

func (o *ClusterConsole) URL() string

URL returns the value of the 'URL' attribute, or the zero value of the type if the attribute doesn't have a value.

The URL of the console of the cluster.

type ClusterConsoleBuilder ¶

type ClusterConsoleBuilder struct {
	// contains filtered or unexported fields
}

ClusterConsoleBuilder contains the data and logic needed to build 'cluster_console' objects.

Information about the console of a cluster.

func NewClusterConsole ¶

func NewClusterConsole() *ClusterConsoleBuilder

NewClusterConsole creates a new builder of 'cluster_console' objects.

func (*ClusterConsoleBuilder) Build ¶

func (b *ClusterConsoleBuilder) Build() (object *ClusterConsole, err error)

Build creates a 'cluster_console' object using the configuration stored in the builder.

func (*ClusterConsoleBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterConsoleBuilder) Empty ¶ added in v0.0.329

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) 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) 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 ¶ added in v0.0.329

func (b *ClusterConsoleListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterConsoleListBuilder) Items ¶

Items sets the items of the list.

type ClusterCredentials ¶

type ClusterCredentials struct {
	// contains filtered or unexported fields
}

ClusterCredentials represents the values of the 'cluster_credentials' type.

Credentials of the a cluster.

func UnmarshalClusterCredentials ¶

func UnmarshalClusterCredentials(source interface{}) (object *ClusterCredentials, err error)

UnmarshalClusterCredentials reads a value of the 'cluster_credentials' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterCredentialsList ¶

func UnmarshalClusterCredentialsList(source interface{}) (items []*ClusterCredentials, err error)

UnmarshalClusterCredentialsList reads a list of values of the 'cluster_credentials' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterCredentials) Empty ¶

func (o *ClusterCredentials) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterCredentials) GetHREF ¶

func (o *ClusterCredentials) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ClusterCredentials) GetID ¶

func (o *ClusterCredentials) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ClusterCredentials) GetKubeconfig ¶

func (o *ClusterCredentials) GetKubeconfig() (value string, ok bool)

GetKubeconfig returns the value of the 'kubeconfig' attribute and a flag indicating if the attribute has a value.

Administrator _kubeconfig_ file for the cluster.

func (*ClusterCredentials) HREF ¶

func (o *ClusterCredentials) HREF() string

HREF returns the link to the object.

func (*ClusterCredentials) ID ¶

func (o *ClusterCredentials) ID() string

ID returns the identifier of the object.

func (*ClusterCredentials) Kind ¶

func (o *ClusterCredentials) Kind() string

Kind returns the name of the type of the object.

func (*ClusterCredentials) Kubeconfig ¶

func (o *ClusterCredentials) 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.

Administrator _kubeconfig_ file for the cluster.

func (o *ClusterCredentials) Link() bool

Link returns true iif this is a link.

type ClusterCredentialsBuilder ¶

type ClusterCredentialsBuilder struct {
	// contains filtered or unexported fields
}

ClusterCredentialsBuilder contains the data and logic needed to build 'cluster_credentials' objects.

Credentials of the a cluster.

func NewClusterCredentials ¶

func NewClusterCredentials() *ClusterCredentialsBuilder

NewClusterCredentials creates a new builder of 'cluster_credentials' objects.

func (*ClusterCredentialsBuilder) Build ¶

func (b *ClusterCredentialsBuilder) Build() (object *ClusterCredentials, err error)

Build creates a 'cluster_credentials' object using the configuration stored in the builder.

func (*ClusterCredentialsBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterCredentialsBuilder) Empty ¶ added in v0.0.329

func (b *ClusterCredentialsBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterCredentialsBuilder) HREF ¶

HREF sets the link to the object.

func (*ClusterCredentialsBuilder) ID ¶

ID sets the identifier of the object.

func (*ClusterCredentialsBuilder) Kubeconfig ¶

Kubeconfig sets the value of the 'kubeconfig' attribute to the given value.

Link sets the flag that indicates if this is a link.

type ClusterCredentialsList ¶

type ClusterCredentialsList struct {
	// contains filtered or unexported fields
}

ClusterCredentialsList is a list of values of the 'cluster_credentials' type.

func (*ClusterCredentialsList) Each ¶

func (l *ClusterCredentialsList) Each(f func(item *ClusterCredentials) 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 (*ClusterCredentialsList) Empty ¶

func (l *ClusterCredentialsList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterCredentialsList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterCredentialsList) GetHREF ¶

func (l *ClusterCredentialsList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ClusterCredentialsList) HREF ¶

func (l *ClusterCredentialsList) HREF() string

HREF returns the link to the list.

func (*ClusterCredentialsList) Kind ¶

func (l *ClusterCredentialsList) Kind() string

Kind returns the name of the type of the object.

func (*ClusterCredentialsList) Len ¶

func (l *ClusterCredentialsList) Len() int

Len returns the length of the list.

func (l *ClusterCredentialsList) Link() bool

Link returns true iif this is a link.

func (*ClusterCredentialsList) Range ¶

func (l *ClusterCredentialsList) Range(f func(index int, item *ClusterCredentials) 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 (*ClusterCredentialsList) 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 ClusterCredentialsListBuilder ¶

type ClusterCredentialsListBuilder struct {
	// contains filtered or unexported fields
}

ClusterCredentialsListBuilder contains the data and logic needed to build 'cluster_credentials' objects.

func NewClusterCredentialsList ¶

func NewClusterCredentialsList() *ClusterCredentialsListBuilder

NewClusterCredentialsList creates a new builder of 'cluster_credentials' objects.

func (*ClusterCredentialsListBuilder) Build ¶

Build creates a list of 'cluster_credentials' objects using the configuration stored in the builder.

func (*ClusterCredentialsListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterCredentialsListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*ClusterCredentialsListBuilder) Items ¶

Items sets the items of the list.

type ClusterDeleteRequest ¶

type ClusterDeleteRequest struct {
	// contains filtered or unexported fields
}

ClusterDeleteRequest is the request for the 'delete' method.

func (*ClusterDeleteRequest) BestEffort ¶ added in v0.1.375

func (r *ClusterDeleteRequest) BestEffort(value bool) *ClusterDeleteRequest

BestEffort sets the value of the 'best_effort' parameter.

BestEffort flag is used to check if the cluster deletion should be best-effort mode or not.

func (*ClusterDeleteRequest) Deprovision ¶ added in v0.0.329

func (r *ClusterDeleteRequest) Deprovision(value bool) *ClusterDeleteRequest

Deprovision sets the value of the 'deprovision' parameter.

If false it will only delete from OCM but not the actual cluster resources. false is only allowed for OCP clusters. true by default.

func (*ClusterDeleteRequest) DryRun ¶ added in v0.0.329

DryRun sets the value of the 'dry_run' parameter.

Dry run flag is used to check if the operation can be completed, but won't delete.

func (*ClusterDeleteRequest) Header ¶

func (r *ClusterDeleteRequest) Header(name string, value interface{}) *ClusterDeleteRequest

Header adds a request header.

func (*ClusterDeleteRequest) Impersonate ¶ added in v0.0.329

func (r *ClusterDeleteRequest) Impersonate(user string) *ClusterDeleteRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterDeleteRequest) Parameter ¶

func (r *ClusterDeleteRequest) Parameter(name string, value interface{}) *ClusterDeleteRequest

Parameter adds a query parameter.

func (*ClusterDeleteRequest) Send ¶

func (r *ClusterDeleteRequest) Send() (result *ClusterDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterDeleteRequest) SendContext ¶

func (r *ClusterDeleteRequest) SendContext(ctx context.Context) (result *ClusterDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterDeleteResponse ¶

type ClusterDeleteResponse struct {
	// contains filtered or unexported fields
}

ClusterDeleteResponse is the response for the 'delete' method.

func (*ClusterDeleteResponse) Error ¶

func (r *ClusterDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*ClusterDeleteResponse) Header ¶

func (r *ClusterDeleteResponse) Header() http.Header

Header returns header of the response.

func (*ClusterDeleteResponse) Status ¶

func (r *ClusterDeleteResponse) Status() int

Status returns the response status code.

type ClusterDeployment ¶ added in v0.0.329

type ClusterDeployment struct {
	// contains filtered or unexported fields
}

ClusterDeployment represents the values of the 'cluster_deployment' type.

Representation of a clusterdeployment.

func UnmarshalClusterDeployment ¶ added in v0.0.329

func UnmarshalClusterDeployment(source interface{}) (object *ClusterDeployment, err error)

UnmarshalClusterDeployment reads a value of the 'cluster_deployment' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterDeploymentList ¶ added in v0.0.329

func UnmarshalClusterDeploymentList(source interface{}) (items []*ClusterDeployment, err error)

UnmarshalClusterDeploymentList reads a list of values of the 'cluster_deployment' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterDeployment) Content ¶ added in v0.0.329

func (o *ClusterDeployment) Content() interface{}

Content returns the value of the 'content' attribute, or the zero value of the type if the attribute doesn't have a value.

Content of the clusterdeployment.

func (*ClusterDeployment) Empty ¶ added in v0.0.329

func (o *ClusterDeployment) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterDeployment) GetContent ¶ added in v0.0.329

func (o *ClusterDeployment) GetContent() (value interface{}, ok bool)

GetContent returns the value of the 'content' attribute and a flag indicating if the attribute has a value.

Content of the clusterdeployment.

func (*ClusterDeployment) GetHREF ¶ added in v0.0.329

func (o *ClusterDeployment) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ClusterDeployment) GetID ¶ added in v0.0.329

func (o *ClusterDeployment) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ClusterDeployment) HREF ¶ added in v0.0.329

func (o *ClusterDeployment) HREF() string

HREF returns the link to the object.

func (*ClusterDeployment) ID ¶ added in v0.0.329

func (o *ClusterDeployment) ID() string

ID returns the identifier of the object.

func (*ClusterDeployment) Kind ¶ added in v0.0.329

func (o *ClusterDeployment) Kind() string

Kind returns the name of the type of the object.

func (o *ClusterDeployment) Link() bool

Link returns true iif this is a link.

type ClusterDeploymentBuilder ¶ added in v0.0.329

type ClusterDeploymentBuilder struct {
	// contains filtered or unexported fields
}

ClusterDeploymentBuilder contains the data and logic needed to build 'cluster_deployment' objects.

Representation of a clusterdeployment.

func NewClusterDeployment ¶ added in v0.0.329

func NewClusterDeployment() *ClusterDeploymentBuilder

NewClusterDeployment creates a new builder of 'cluster_deployment' objects.

func (*ClusterDeploymentBuilder) Build ¶ added in v0.0.329

func (b *ClusterDeploymentBuilder) Build() (object *ClusterDeployment, err error)

Build creates a 'cluster_deployment' object using the configuration stored in the builder.

func (*ClusterDeploymentBuilder) Content ¶ added in v0.0.329

func (b *ClusterDeploymentBuilder) Content(value interface{}) *ClusterDeploymentBuilder

Content sets the value of the 'content' attribute to the given value.

func (*ClusterDeploymentBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterDeploymentBuilder) Empty ¶ added in v0.0.329

func (b *ClusterDeploymentBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterDeploymentBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*ClusterDeploymentBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

type ClusterDeploymentList ¶ added in v0.0.329

type ClusterDeploymentList struct {
	// contains filtered or unexported fields
}

ClusterDeploymentList is a list of values of the 'cluster_deployment' type.

func (*ClusterDeploymentList) Each ¶ added in v0.0.329

func (l *ClusterDeploymentList) Each(f func(item *ClusterDeployment) 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 (*ClusterDeploymentList) Empty ¶ added in v0.0.329

func (l *ClusterDeploymentList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterDeploymentList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterDeploymentList) GetHREF ¶ added in v0.0.329

func (l *ClusterDeploymentList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ClusterDeploymentList) HREF ¶ added in v0.0.329

func (l *ClusterDeploymentList) HREF() string

HREF returns the link to the list.

func (*ClusterDeploymentList) Kind ¶ added in v0.0.329

func (l *ClusterDeploymentList) Kind() string

Kind returns the name of the type of the object.

func (*ClusterDeploymentList) Len ¶ added in v0.0.329

func (l *ClusterDeploymentList) Len() int

Len returns the length of the list.

func (l *ClusterDeploymentList) Link() bool

Link returns true iif this is a link.

func (*ClusterDeploymentList) Range ¶ added in v0.0.329

func (l *ClusterDeploymentList) Range(f func(index int, item *ClusterDeployment) 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 (*ClusterDeploymentList) Slice ¶ added in v0.0.329

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 ClusterDeploymentListBuilder ¶ added in v0.0.329

type ClusterDeploymentListBuilder struct {
	// contains filtered or unexported fields
}

ClusterDeploymentListBuilder contains the data and logic needed to build 'cluster_deployment' objects.

func NewClusterDeploymentList ¶ added in v0.0.329

func NewClusterDeploymentList() *ClusterDeploymentListBuilder

NewClusterDeploymentList creates a new builder of 'cluster_deployment' objects.

func (*ClusterDeploymentListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'cluster_deployment' objects using the configuration stored in the builder.

func (*ClusterDeploymentListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterDeploymentListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*ClusterDeploymentListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type ClusterGetRequest ¶

type ClusterGetRequest struct {
	// contains filtered or unexported fields
}

ClusterGetRequest is the request for the 'get' method.

func (*ClusterGetRequest) Header ¶

func (r *ClusterGetRequest) Header(name string, value interface{}) *ClusterGetRequest

Header adds a request header.

func (*ClusterGetRequest) Impersonate ¶ added in v0.0.329

func (r *ClusterGetRequest) Impersonate(user string) *ClusterGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterGetRequest) Parameter ¶

func (r *ClusterGetRequest) Parameter(name string, value interface{}) *ClusterGetRequest

Parameter adds a query parameter.

func (*ClusterGetRequest) Send ¶

func (r *ClusterGetRequest) Send() (result *ClusterGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterGetRequest) SendContext ¶

func (r *ClusterGetRequest) SendContext(ctx context.Context) (result *ClusterGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterGetResponse ¶

type ClusterGetResponse struct {
	// contains filtered or unexported fields
}

ClusterGetResponse is the response for the 'get' method.

func (*ClusterGetResponse) Body ¶

func (r *ClusterGetResponse) Body() *Cluster

Body returns the value of the 'body' parameter.

func (*ClusterGetResponse) Error ¶

func (r *ClusterGetResponse) Error() *errors.Error

Error returns the response error.

func (*ClusterGetResponse) GetBody ¶

func (r *ClusterGetResponse) GetBody() (value *Cluster, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterGetResponse) Header ¶

func (r *ClusterGetResponse) Header() http.Header

Header returns header of the response.

func (*ClusterGetResponse) Status ¶

func (r *ClusterGetResponse) Status() int

Status returns the response status code.

type ClusterHealthState ¶

type ClusterHealthState string

ClusterHealthState represents the values of the 'cluster_health_state' enumerated type.

const (
	// Cluster is Ready and healthy.
	ClusterHealthStateHealthy ClusterHealthState = "healthy"
	// Cluster is Ready and unhealthy.
	ClusterHealthStateUnhealthy ClusterHealthState = "unhealthy"
	// Cluster health is unknown.
	ClusterHealthStateUnknown ClusterHealthState = "unknown"
)

func 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 ClusterHibernateRequest ¶ added in v0.0.329

type ClusterHibernateRequest struct {
	// contains filtered or unexported fields
}

ClusterHibernateRequest is the request for the 'hibernate' method.

func (*ClusterHibernateRequest) Header ¶ added in v0.0.329

func (r *ClusterHibernateRequest) Header(name string, value interface{}) *ClusterHibernateRequest

Header adds a request header.

func (*ClusterHibernateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterHibernateRequest) Parameter ¶ added in v0.0.329

func (r *ClusterHibernateRequest) Parameter(name string, value interface{}) *ClusterHibernateRequest

Parameter adds a query parameter.

func (*ClusterHibernateRequest) Send ¶ added in v0.0.329

func (r *ClusterHibernateRequest) Send() (result *ClusterHibernateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterHibernateRequest) SendContext ¶ added in v0.0.329

func (r *ClusterHibernateRequest) SendContext(ctx context.Context) (result *ClusterHibernateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterHibernateResponse ¶ added in v0.0.329

type ClusterHibernateResponse struct {
	// contains filtered or unexported fields
}

ClusterHibernateResponse is the response for the 'hibernate' method.

func (*ClusterHibernateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ClusterHibernateResponse) Header ¶ added in v0.0.329

func (r *ClusterHibernateResponse) Header() http.Header

Header returns header of the response.

func (*ClusterHibernateResponse) Status ¶ added in v0.0.329

func (r *ClusterHibernateResponse) Status() int

Status returns the response status code.

type ClusterLink struct {
	// contains filtered or unexported fields
}

ClusterLink represents the values of the 'cluster_link' type.

Definition of a cluster link.

func UnmarshalClusterLink(source interface{}) (object *ClusterLink, err error)

UnmarshalClusterLink reads a value of the 'cluster_link' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterLinkList(source interface{}) (items []*ClusterLink, err error)

UnmarshalClusterLinkList reads a list of values of the 'cluster_link' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterLink) Empty ¶ added in v0.1.342

func (o *ClusterLink) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterLink) GetHREF ¶ added in v0.1.342

func (o *ClusterLink) 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 cluster, filled in response.

func (*ClusterLink) GetID ¶ added in v0.1.342

func (o *ClusterLink) GetID() (value string, ok bool)

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

The cluster's ID.

func (*ClusterLink) HREF ¶ added in v0.1.342

func (o *ClusterLink) 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 cluster, filled in response.

func (*ClusterLink) ID ¶ added in v0.1.342

func (o *ClusterLink) 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.

The cluster's ID.

type ClusterLinkBuilder ¶ added in v0.1.342

type ClusterLinkBuilder struct {
	// contains filtered or unexported fields
}

ClusterLinkBuilder contains the data and logic needed to build 'cluster_link' objects.

Definition of a cluster link.

func NewClusterLink() *ClusterLinkBuilder

NewClusterLink creates a new builder of 'cluster_link' objects.

func (*ClusterLinkBuilder) Build ¶ added in v0.1.342

func (b *ClusterLinkBuilder) Build() (object *ClusterLink, err error)

Build creates a 'cluster_link' object using the configuration stored in the builder.

func (*ClusterLinkBuilder) Copy ¶ added in v0.1.342

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterLinkBuilder) Empty ¶ added in v0.1.342

func (b *ClusterLinkBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterLinkBuilder) HREF ¶ added in v0.1.342

HREF sets the value of the 'HREF' attribute to the given value.

func (*ClusterLinkBuilder) ID ¶ added in v0.1.342

ID sets the value of the 'ID' attribute to the given value.

type ClusterLinkList struct {
	// contains filtered or unexported fields
}

ClusterLinkList is a list of values of the 'cluster_link' type.

func (*ClusterLinkList) Each ¶ added in v0.1.342

func (l *ClusterLinkList) Each(f func(item *ClusterLink) 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 (*ClusterLinkList) Empty ¶ added in v0.1.342

func (l *ClusterLinkList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterLinkList) Get ¶ added in v0.1.342

func (l *ClusterLinkList) Get(i int) *ClusterLink

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterLinkList) Len ¶ added in v0.1.342

func (l *ClusterLinkList) Len() int

Len returns the length of the list.

func (*ClusterLinkList) Range ¶ added in v0.1.342

func (l *ClusterLinkList) Range(f func(index int, item *ClusterLink) 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 (*ClusterLinkList) Slice ¶ added in v0.1.342

func (l *ClusterLinkList) Slice() []*ClusterLink

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 ClusterLinkListBuilder ¶ added in v0.1.342

type ClusterLinkListBuilder struct {
	// contains filtered or unexported fields
}

ClusterLinkListBuilder contains the data and logic needed to build 'cluster_link' objects.

func NewClusterLinkList() *ClusterLinkListBuilder

NewClusterLinkList creates a new builder of 'cluster_link' objects.

func (*ClusterLinkListBuilder) Build ¶ added in v0.1.342

func (b *ClusterLinkListBuilder) Build() (list *ClusterLinkList, err error)

Build creates a list of 'cluster_link' objects using the configuration stored in the builder.

func (*ClusterLinkListBuilder) Copy ¶ added in v0.1.342

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterLinkListBuilder) Empty ¶ added in v0.1.342

func (b *ClusterLinkListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterLinkListBuilder) Items ¶ added in v0.1.342

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) 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) 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 ¶ added in v0.0.329

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 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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.347

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.347

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *ClusterNodes) SecurityGroupFilters() []*MachinePoolSecurityGroupFilter

SecurityGroupFilters returns the value of the 'security_group_filters' attribute, or the zero value of the type if the attribute doesn't have a value.

List of security groups to be applied to nodes (Optional).

func (*ClusterNodes) Total ¶

func (o *ClusterNodes) Total() int

Total returns the value of the 'total' attribute, or the zero value of the type if the attribute doesn't have a value.

Total number of nodes of the cluster.

type ClusterNodesBuilder ¶

type ClusterNodesBuilder struct {
	// contains filtered or unexported fields
}

ClusterNodesBuilder contains the data and logic needed to build 'cluster_nodes' objects.

Counts of different classes of nodes inside a cluster.

func NewClusterNodes ¶

func NewClusterNodes() *ClusterNodesBuilder

NewClusterNodes creates a new builder of 'cluster_nodes' objects.

func (*ClusterNodesBuilder) AutoscaleCompute ¶ added in v0.0.329

AutoscaleCompute sets the value of the 'autoscale_compute' attribute to the given value.

Representation of a autoscaling in a machine pool.

func (*ClusterNodesBuilder) AvailabilityZones ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.347

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) 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) 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 ¶ added in v0.0.329

func (b *ClusterNodesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterNodesListBuilder) Items ¶

Items sets the items of the list.

type ClusterOperatorInfo ¶

type ClusterOperatorInfo struct {
	// contains filtered or unexported fields
}

ClusterOperatorInfo represents the values of the 'cluster_operator_info' type.

func UnmarshalClusterOperatorInfo ¶

func UnmarshalClusterOperatorInfo(source interface{}) (object *ClusterOperatorInfo, err error)

UnmarshalClusterOperatorInfo reads a value of the 'cluster_operator_info' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterOperatorInfoList ¶

func UnmarshalClusterOperatorInfoList(source interface{}) (items []*ClusterOperatorInfo, err error)

UnmarshalClusterOperatorInfoList reads a list of values of the 'cluster_operator_info' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterOperatorInfo) Condition ¶

Condition returns the value of the 'condition' attribute, or the zero value of the type if the attribute doesn't have a value.

Operator status. Empty string if unknown.

func (*ClusterOperatorInfo) Empty ¶

func (o *ClusterOperatorInfo) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterOperatorInfo) GetCondition ¶

func (o *ClusterOperatorInfo) GetCondition() (value ClusterOperatorState, ok bool)

GetCondition returns the value of the 'condition' attribute and a flag indicating if the attribute has a value.

Operator status. Empty string if unknown.

func (*ClusterOperatorInfo) GetName ¶

func (o *ClusterOperatorInfo) 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 operator.

func (*ClusterOperatorInfo) GetReason ¶

func (o *ClusterOperatorInfo) GetReason() (value string, ok bool)

GetReason returns the value of the 'reason' attribute and a flag indicating if the attribute has a value.

Extra detail on condition, if available. Empty string if unknown.

func (*ClusterOperatorInfo) GetTime ¶

func (o *ClusterOperatorInfo) GetTime() (value time.Time, ok bool)

GetTime returns the value of the 'time' attribute and a flag indicating if the attribute has a value.

Time when the sample was obtained, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.

func (*ClusterOperatorInfo) GetVersion ¶

func (o *ClusterOperatorInfo) GetVersion() (value string, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

Current version of the operator. Empty string if unknown.

func (*ClusterOperatorInfo) Name ¶

func (o *ClusterOperatorInfo) 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 operator.

func (*ClusterOperatorInfo) Reason ¶

func (o *ClusterOperatorInfo) Reason() string

Reason returns the value of the 'reason' attribute, or the zero value of the type if the attribute doesn't have a value.

Extra detail on condition, if available. Empty string if unknown.

func (*ClusterOperatorInfo) Time ¶

func (o *ClusterOperatorInfo) Time() time.Time

Time returns the value of the 'time' attribute, or the zero value of the type if the attribute doesn't have a value.

Time when the sample was obtained, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.

func (*ClusterOperatorInfo) Version ¶

func (o *ClusterOperatorInfo) Version() string

Version returns the value of the 'version' attribute, or the zero value of the type if the attribute doesn't have a value.

Current version of the operator. Empty string if unknown.

type ClusterOperatorInfoBuilder ¶

type ClusterOperatorInfoBuilder struct {
	// contains filtered or unexported fields
}

ClusterOperatorInfoBuilder contains the data and logic needed to build 'cluster_operator_info' objects.

func NewClusterOperatorInfo ¶

func NewClusterOperatorInfo() *ClusterOperatorInfoBuilder

NewClusterOperatorInfo creates a new builder of 'cluster_operator_info' objects.

func (*ClusterOperatorInfoBuilder) Build ¶

func (b *ClusterOperatorInfoBuilder) Build() (object *ClusterOperatorInfo, err error)

Build creates a 'cluster_operator_info' object using the configuration stored in the builder.

func (*ClusterOperatorInfoBuilder) Condition ¶

Condition sets the value of the 'condition' attribute to the given value.

Overall state of a cluster operator.

func (*ClusterOperatorInfoBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterOperatorInfoBuilder) Empty ¶ added in v0.0.329

func (b *ClusterOperatorInfoBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterOperatorInfoBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*ClusterOperatorInfoBuilder) Reason ¶

Reason sets the value of the 'reason' attribute to the given value.

func (*ClusterOperatorInfoBuilder) Time ¶

Time sets the value of the 'time' attribute to the given value.

func (*ClusterOperatorInfoBuilder) Version ¶

Version sets the value of the 'version' attribute to the given value.

type ClusterOperatorInfoList ¶

type ClusterOperatorInfoList struct {
	// contains filtered or unexported fields
}

ClusterOperatorInfoList is a list of values of the 'cluster_operator_info' type.

func (*ClusterOperatorInfoList) Each ¶

func (l *ClusterOperatorInfoList) Each(f func(item *ClusterOperatorInfo) 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 (*ClusterOperatorInfoList) Empty ¶

func (l *ClusterOperatorInfoList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterOperatorInfoList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterOperatorInfoList) Len ¶

func (l *ClusterOperatorInfoList) Len() int

Len returns the length of the list.

func (*ClusterOperatorInfoList) Range ¶

func (l *ClusterOperatorInfoList) Range(f func(index int, item *ClusterOperatorInfo) 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 (*ClusterOperatorInfoList) 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 ClusterOperatorInfoListBuilder ¶

type ClusterOperatorInfoListBuilder struct {
	// contains filtered or unexported fields
}

ClusterOperatorInfoListBuilder contains the data and logic needed to build 'cluster_operator_info' objects.

func NewClusterOperatorInfoList ¶

func NewClusterOperatorInfoList() *ClusterOperatorInfoListBuilder

NewClusterOperatorInfoList creates a new builder of 'cluster_operator_info' objects.

func (*ClusterOperatorInfoListBuilder) Build ¶

Build creates a list of 'cluster_operator_info' objects using the configuration stored in the builder.

func (*ClusterOperatorInfoListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterOperatorInfoListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*ClusterOperatorInfoListBuilder) Items ¶

Items sets the items of the list.

type ClusterOperatorState ¶

type ClusterOperatorState string

ClusterOperatorState represents the values of the 'cluster_operator_state' enumerated type.

const (
	// Operator is working normally.
	ClusterOperatorStateAvailable ClusterOperatorState = "available"
	// Operator is partially working, there is an issue.
	ClusterOperatorStateDegraded ClusterOperatorState = "degraded"
	// Operator is not running or not working.
	ClusterOperatorStateFailing ClusterOperatorState = "failing"
	// Operator is upgrading to newer version, possibly degraded until upgrade completes.
	ClusterOperatorStateUpgrading ClusterOperatorState = "upgrading"
)

func UnmarshalClusterOperatorStateList ¶

func UnmarshalClusterOperatorStateList(source interface{}) (items []ClusterOperatorState, err error)

UnmarshalClusterOperatorStateList reads a list of values of the 'cluster_operator_state' type from the given source, which can be a slice of bytes, a string or a reader.

type ClusterOperatorsInfo ¶

type ClusterOperatorsInfo struct {
	// contains filtered or unexported fields
}

ClusterOperatorsInfo represents the values of the 'cluster_operators_info' type.

Provides detailed information about the operators installed on the cluster.

func UnmarshalClusterOperatorsInfo ¶

func UnmarshalClusterOperatorsInfo(source interface{}) (object *ClusterOperatorsInfo, err error)

UnmarshalClusterOperatorsInfo reads a value of the 'cluster_operators_info' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterOperatorsInfoList ¶

func UnmarshalClusterOperatorsInfoList(source interface{}) (items []*ClusterOperatorsInfo, err error)

UnmarshalClusterOperatorsInfoList reads a list of values of the 'cluster_operators_info' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterOperatorsInfo) Empty ¶

func (o *ClusterOperatorsInfo) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterOperatorsInfo) GetOperators ¶

func (o *ClusterOperatorsInfo) GetOperators() (value []*ClusterOperatorInfo, ok bool)

GetOperators returns the value of the 'operators' attribute and a flag indicating if the attribute has a value.

func (*ClusterOperatorsInfo) Operators ¶

func (o *ClusterOperatorsInfo) Operators() []*ClusterOperatorInfo

Operators returns the value of the 'operators' attribute, or the zero value of the type if the attribute doesn't have a value.

type ClusterOperatorsInfoBuilder ¶

type ClusterOperatorsInfoBuilder struct {
	// contains filtered or unexported fields
}

ClusterOperatorsInfoBuilder contains the data and logic needed to build 'cluster_operators_info' objects.

Provides detailed information about the operators installed on the cluster.

func NewClusterOperatorsInfo ¶

func NewClusterOperatorsInfo() *ClusterOperatorsInfoBuilder

NewClusterOperatorsInfo creates a new builder of 'cluster_operators_info' objects.

func (*ClusterOperatorsInfoBuilder) Build ¶

func (b *ClusterOperatorsInfoBuilder) Build() (object *ClusterOperatorsInfo, err error)

Build creates a 'cluster_operators_info' object using the configuration stored in the builder.

func (*ClusterOperatorsInfoBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterOperatorsInfoBuilder) Empty ¶ added in v0.0.329

func (b *ClusterOperatorsInfoBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterOperatorsInfoBuilder) Operators ¶

Operators sets the value of the 'operators' attribute to the given values.

type ClusterOperatorsInfoList ¶

type ClusterOperatorsInfoList struct {
	// contains filtered or unexported fields
}

ClusterOperatorsInfoList is a list of values of the 'cluster_operators_info' type.

func (*ClusterOperatorsInfoList) Each ¶

func (l *ClusterOperatorsInfoList) Each(f func(item *ClusterOperatorsInfo) 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 (*ClusterOperatorsInfoList) Empty ¶

func (l *ClusterOperatorsInfoList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterOperatorsInfoList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterOperatorsInfoList) Len ¶

func (l *ClusterOperatorsInfoList) Len() int

Len returns the length of the list.

func (*ClusterOperatorsInfoList) Range ¶

func (l *ClusterOperatorsInfoList) Range(f func(index int, item *ClusterOperatorsInfo) 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 (*ClusterOperatorsInfoList) 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 ClusterOperatorsInfoListBuilder ¶

type ClusterOperatorsInfoListBuilder struct {
	// contains filtered or unexported fields
}

ClusterOperatorsInfoListBuilder contains the data and logic needed to build 'cluster_operators_info' objects.

func NewClusterOperatorsInfoList ¶

func NewClusterOperatorsInfoList() *ClusterOperatorsInfoListBuilder

NewClusterOperatorsInfoList creates a new builder of 'cluster_operators_info' objects.

func (*ClusterOperatorsInfoListBuilder) Build ¶

Build creates a list of 'cluster_operators_info' objects using the configuration stored in the builder.

func (*ClusterOperatorsInfoListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterOperatorsInfoListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*ClusterOperatorsInfoListBuilder) Items ¶

Items sets the items of the list.

type ClusterOperatorsMetricQueryClient ¶

type ClusterOperatorsMetricQueryClient struct {
	// contains filtered or unexported fields
}

ClusterOperatorsMetricQueryClient is the client of the 'cluster_operators_metric_query' resource.

Provides detailed information about the Metrics of the Cluster

func NewClusterOperatorsMetricQueryClient ¶

func NewClusterOperatorsMetricQueryClient(transport http.RoundTripper, path string) *ClusterOperatorsMetricQueryClient

NewClusterOperatorsMetricQueryClient creates a new client for the 'cluster_operators_metric_query' resource using the given transport to send the requests and receive the responses.

func (*ClusterOperatorsMetricQueryClient) Get ¶

Get creates a request for the 'get' method.

func (*ClusterOperatorsMetricQueryClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type ClusterOperatorsMetricQueryGetRequest ¶

type ClusterOperatorsMetricQueryGetRequest struct {
	// contains filtered or unexported fields
}

ClusterOperatorsMetricQueryGetRequest is the request for the 'get' method.

func (*ClusterOperatorsMetricQueryGetRequest) Header ¶

Header adds a request header.

func (*ClusterOperatorsMetricQueryGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterOperatorsMetricQueryGetRequest) Parameter ¶

Parameter adds a query parameter.

func (*ClusterOperatorsMetricQueryGetRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterOperatorsMetricQueryGetRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type ClusterOperatorsMetricQueryGetResponse ¶

type ClusterOperatorsMetricQueryGetResponse struct {
	// contains filtered or unexported fields
}

ClusterOperatorsMetricQueryGetResponse is the response for the 'get' method.

func (*ClusterOperatorsMetricQueryGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*ClusterOperatorsMetricQueryGetResponse) Error ¶

Error returns the response error.

func (*ClusterOperatorsMetricQueryGetResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterOperatorsMetricQueryGetResponse) Header ¶

Header returns header of the response.

func (*ClusterOperatorsMetricQueryGetResponse) Status ¶

Status returns the response status code.

type ClusterOperatorsMetricQueryPollRequest ¶

type ClusterOperatorsMetricQueryPollRequest struct {
	// contains filtered or unexported fields
}

ClusterOperatorsMetricQueryPollRequest is the request for the Poll method.

func (*ClusterOperatorsMetricQueryPollRequest) Header ¶

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ClusterOperatorsMetricQueryPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ClusterOperatorsMetricQueryPollRequest) Parameter ¶

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ClusterOperatorsMetricQueryPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ClusterOperatorsMetricQueryPollRequest) StartContext ¶

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ClusterOperatorsMetricQueryPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ClusterOperatorsMetricQueryPollResponse ¶

type ClusterOperatorsMetricQueryPollResponse struct {
	// contains filtered or unexported fields
}

ClusterOperatorsMetricQueryPollResponse is the response for the Poll method.

func (*ClusterOperatorsMetricQueryPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*ClusterOperatorsMetricQueryPollResponse) Error ¶

Error returns the response error.

func (*ClusterOperatorsMetricQueryPollResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterOperatorsMetricQueryPollResponse) Header ¶

Header returns header of the response.

func (*ClusterOperatorsMetricQueryPollResponse) Status ¶

Status returns the response status code.

type ClusterPollRequest ¶

type ClusterPollRequest struct {
	// contains filtered or unexported fields
}

ClusterPollRequest is the request for the Poll method.

func (*ClusterPollRequest) Header ¶

func (r *ClusterPollRequest) Header(name string, value interface{}) *ClusterPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ClusterPollRequest) Interval ¶

func (r *ClusterPollRequest) Interval(value time.Duration) *ClusterPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ClusterPollRequest) Parameter ¶

func (r *ClusterPollRequest) Parameter(name string, value interface{}) *ClusterPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ClusterPollRequest) Predicate ¶

func (r *ClusterPollRequest) Predicate(value func(*ClusterGetResponse) bool) *ClusterPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ClusterPollRequest) StartContext ¶

func (r *ClusterPollRequest) StartContext(ctx context.Context) (response *ClusterPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ClusterPollRequest) Status ¶

func (r *ClusterPollRequest) Status(value int) *ClusterPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ClusterPollResponse ¶

type ClusterPollResponse struct {
	// contains filtered or unexported fields
}

ClusterPollResponse is the response for the Poll method.

func (*ClusterPollResponse) Body ¶

func (r *ClusterPollResponse) Body() *Cluster

Body returns the value of the 'body' parameter.

func (*ClusterPollResponse) Error ¶

func (r *ClusterPollResponse) Error() *errors.Error

Error returns the response error.

func (*ClusterPollResponse) GetBody ¶

func (r *ClusterPollResponse) GetBody() (value *Cluster, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterPollResponse) Header ¶

func (r *ClusterPollResponse) Header() http.Header

Header returns header of the response.

func (*ClusterPollResponse) Status ¶

func (r *ClusterPollResponse) Status() int

Status returns the response status code.

type ClusterRegistration ¶

type ClusterRegistration struct {
	// contains filtered or unexported fields
}

ClusterRegistration represents the values of the 'cluster_registration' type.

Registration of a new cluster to the service.

For example, to register a cluster that has been provisioned outside of this service, send a a request like this:

```http POST /api/clusters_mgmt/v1/register_cluster HTTP/1.1 ```

With a request body like this:

```json

{
  "external_id": "d656aecf-11a6-4782-ad86-8f72638449ba",
  "subscription_id": "...",
  "organization_id": "..."
}

```

func UnmarshalClusterRegistration ¶

func UnmarshalClusterRegistration(source interface{}) (object *ClusterRegistration, err error)

UnmarshalClusterRegistration reads a value of the 'cluster_registration' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterRegistrationList ¶

func UnmarshalClusterRegistrationList(source interface{}) (items []*ClusterRegistration, err error)

UnmarshalClusterRegistrationList reads a list of values of the 'cluster_registration' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterRegistration) ConsoleUrl ¶ added in v0.0.329

func (o *ClusterRegistration) ConsoleUrl() string

ConsoleUrl returns the value of the 'console_url' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional Console URL of the cluster.

func (*ClusterRegistration) Empty ¶

func (o *ClusterRegistration) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterRegistration) ExternalID ¶

func (o *ClusterRegistration) 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.

Identifier of the cluster generated by the installer.

func (*ClusterRegistration) GetConsoleUrl ¶ added in v0.0.329

func (o *ClusterRegistration) GetConsoleUrl() (value string, ok bool)

GetConsoleUrl returns the value of the 'console_url' attribute and a flag indicating if the attribute has a value.

Optional Console URL of the cluster.

func (*ClusterRegistration) GetExternalID ¶

func (o *ClusterRegistration) GetExternalID() (value string, ok bool)

GetExternalID returns the value of the 'external_ID' attribute and a flag indicating if the attribute has a value.

Identifier of the cluster generated by the installer.

func (*ClusterRegistration) GetOrganizationID ¶

func (o *ClusterRegistration) 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 identifier of the cluster generated by the account manager.

func (*ClusterRegistration) GetSubscriptionID ¶

func (o *ClusterRegistration) GetSubscriptionID() (value string, ok bool)

GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.

Subscription identifier of the cluster generated by the account manager.

func (*ClusterRegistration) OrganizationID ¶

func (o *ClusterRegistration) 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 identifier of the cluster generated by the account manager.

func (*ClusterRegistration) SubscriptionID ¶

func (o *ClusterRegistration) 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.

Subscription identifier of the cluster generated by the account manager.

type ClusterRegistrationBuilder ¶

type ClusterRegistrationBuilder struct {
	// contains filtered or unexported fields
}

ClusterRegistrationBuilder contains the data and logic needed to build 'cluster_registration' objects.

Registration of a new cluster to the service.

For example, to register a cluster that has been provisioned outside of this service, send a a request like this:

```http POST /api/clusters_mgmt/v1/register_cluster HTTP/1.1 ```

With a request body like this:

```json

{
  "external_id": "d656aecf-11a6-4782-ad86-8f72638449ba",
  "subscription_id": "...",
  "organization_id": "..."
}

```

func NewClusterRegistration ¶

func NewClusterRegistration() *ClusterRegistrationBuilder

NewClusterRegistration creates a new builder of 'cluster_registration' objects.

func (*ClusterRegistrationBuilder) Build ¶

func (b *ClusterRegistrationBuilder) Build() (object *ClusterRegistration, err error)

Build creates a 'cluster_registration' object using the configuration stored in the builder.

func (*ClusterRegistrationBuilder) ConsoleUrl ¶ added in v0.0.329

ConsoleUrl sets the value of the 'console_url' attribute to the given value.

func (*ClusterRegistrationBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterRegistrationBuilder) Empty ¶ added in v0.0.329

func (b *ClusterRegistrationBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterRegistrationBuilder) ExternalID ¶

ExternalID sets the value of the 'external_ID' attribute to the given value.

func (*ClusterRegistrationBuilder) OrganizationID ¶

OrganizationID sets the value of the 'organization_ID' attribute to the given value.

func (*ClusterRegistrationBuilder) SubscriptionID ¶

SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.

type ClusterRegistrationList ¶

type ClusterRegistrationList struct {
	// contains filtered or unexported fields
}

ClusterRegistrationList is a list of values of the 'cluster_registration' type.

func (*ClusterRegistrationList) Each ¶

func (l *ClusterRegistrationList) Each(f func(item *ClusterRegistration) 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 (*ClusterRegistrationList) Empty ¶

func (l *ClusterRegistrationList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterRegistrationList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterRegistrationList) Len ¶

func (l *ClusterRegistrationList) Len() int

Len returns the length of the list.

func (*ClusterRegistrationList) Range ¶

func (l *ClusterRegistrationList) Range(f func(index int, item *ClusterRegistration) 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 (*ClusterRegistrationList) 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 ClusterRegistrationListBuilder ¶

type ClusterRegistrationListBuilder struct {
	// contains filtered or unexported fields
}

ClusterRegistrationListBuilder contains the data and logic needed to build 'cluster_registration' objects.

func NewClusterRegistrationList ¶

func NewClusterRegistrationList() *ClusterRegistrationListBuilder

NewClusterRegistrationList creates a new builder of 'cluster_registration' objects.

func (*ClusterRegistrationListBuilder) Build ¶

Build creates a list of 'cluster_registration' objects using the configuration stored in the builder.

func (*ClusterRegistrationListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterRegistrationListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*ClusterRegistrationListBuilder) Items ¶

Items sets the items of the list.

type ClusterResources ¶ added in v0.0.329

type ClusterResources struct {
	// contains filtered or unexported fields
}

ClusterResources represents the values of the 'cluster_resources' type.

Cluster Resource which belongs to a cluster, example Cluster Deployment.

func UnmarshalClusterResources ¶ added in v0.0.329

func UnmarshalClusterResources(source interface{}) (object *ClusterResources, err error)

UnmarshalClusterResources reads a value of the 'cluster_resources' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalClusterResourcesList ¶ added in v0.0.329

func UnmarshalClusterResourcesList(source interface{}) (items []*ClusterResources, err error)

UnmarshalClusterResourcesList reads a list of values of the 'cluster_resources' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ClusterResources) ClusterID ¶ added in v0.0.329

func (o *ClusterResources) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Cluster ID for the fetched resources

func (*ClusterResources) CreationTimestamp ¶ added in v0.0.329

func (o *ClusterResources) 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 resources were fetched.

func (*ClusterResources) Empty ¶ added in v0.0.329

func (o *ClusterResources) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ClusterResources) GetClusterID ¶ added in v0.0.329

func (o *ClusterResources) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Cluster ID for the fetched resources

func (*ClusterResources) GetCreationTimestamp ¶ added in v0.0.329

func (o *ClusterResources) 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 resources were fetched.

func (*ClusterResources) GetHREF ¶ added in v0.0.329

func (o *ClusterResources) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ClusterResources) GetID ¶ added in v0.0.329

func (o *ClusterResources) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ClusterResources) GetResources ¶ added in v0.0.329

func (o *ClusterResources) GetResources() (value map[string]string, ok bool)

GetResources returns the value of the 'resources' attribute and a flag indicating if the attribute has a value.

Returned map of cluster resources fetched.

func (*ClusterResources) HREF ¶ added in v0.0.329

func (o *ClusterResources) HREF() string

HREF returns the link to the object.

func (*ClusterResources) ID ¶ added in v0.0.329

func (o *ClusterResources) ID() string

ID returns the identifier of the object.

func (*ClusterResources) Kind ¶ added in v0.0.329

func (o *ClusterResources) Kind() string

Kind returns the name of the type of the object.

func (o *ClusterResources) Link() bool

Link returns true iif this is a link.

func (*ClusterResources) Resources ¶ added in v0.0.329

func (o *ClusterResources) Resources() map[string]string

Resources returns the value of the 'resources' attribute, or the zero value of the type if the attribute doesn't have a value.

Returned map of cluster resources fetched.

type ClusterResourcesBuilder ¶ added in v0.0.329

type ClusterResourcesBuilder struct {
	// contains filtered or unexported fields
}

ClusterResourcesBuilder contains the data and logic needed to build 'cluster_resources' objects.

Cluster Resource which belongs to a cluster, example Cluster Deployment.

func NewClusterResources ¶ added in v0.0.329

func NewClusterResources() *ClusterResourcesBuilder

NewClusterResources creates a new builder of 'cluster_resources' objects.

func (*ClusterResourcesBuilder) Build ¶ added in v0.0.329

func (b *ClusterResourcesBuilder) Build() (object *ClusterResources, err error)

Build creates a 'cluster_resources' object using the configuration stored in the builder.

func (*ClusterResourcesBuilder) ClusterID ¶ added in v0.0.329

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*ClusterResourcesBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ClusterResourcesBuilder) CreationTimestamp ¶ added in v0.0.329

func (b *ClusterResourcesBuilder) CreationTimestamp(value time.Time) *ClusterResourcesBuilder

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*ClusterResourcesBuilder) Empty ¶ added in v0.0.329

func (b *ClusterResourcesBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ClusterResourcesBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*ClusterResourcesBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*ClusterResourcesBuilder) Resources ¶ added in v0.0.329

Resources sets the value of the 'resources' attribute to the given value.

type ClusterResourcesClient ¶ added in v0.0.329

type ClusterResourcesClient struct {
	// contains filtered or unexported fields
}

ClusterResourcesClient is the client of the 'cluster_resources' resource.

Manages currently available cluster resources

func NewClusterResourcesClient ¶ added in v0.0.329

func NewClusterResourcesClient(transport http.RoundTripper, path string) *ClusterResourcesClient

NewClusterResourcesClient creates a new client for the 'cluster_resources' resource using the given transport to send the requests and receive the responses.

func (*ClusterResourcesClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves currently available cluster resources

func (*ClusterResourcesClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type ClusterResourcesGetRequest ¶ added in v0.0.329

type ClusterResourcesGetRequest struct {
	// contains filtered or unexported fields
}

ClusterResourcesGetRequest is the request for the 'get' method.

func (*ClusterResourcesGetRequest) Header ¶ added in v0.0.329

func (r *ClusterResourcesGetRequest) Header(name string, value interface{}) *ClusterResourcesGetRequest

Header adds a request header.

func (*ClusterResourcesGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterResourcesGetRequest) Parameter ¶ added in v0.0.329

func (r *ClusterResourcesGetRequest) Parameter(name string, value interface{}) *ClusterResourcesGetRequest

Parameter adds a query parameter.

func (*ClusterResourcesGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterResourcesGetRequest) SendContext ¶ added in v0.0.329

func (r *ClusterResourcesGetRequest) SendContext(ctx context.Context) (result *ClusterResourcesGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterResourcesGetResponse ¶ added in v0.0.329

type ClusterResourcesGetResponse struct {
	// contains filtered or unexported fields
}

ClusterResourcesGetResponse is the response for the 'get' method.

func (*ClusterResourcesGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

List of cluster resources

func (*ClusterResourcesGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ClusterResourcesGetResponse) GetBody ¶ added in v0.0.329

func (r *ClusterResourcesGetResponse) GetBody() (value *ClusterResources, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

List of cluster resources

func (*ClusterResourcesGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ClusterResourcesGetResponse) Status ¶ added in v0.0.329

func (r *ClusterResourcesGetResponse) Status() int

Status returns the response status code.

type ClusterResourcesList ¶ added in v0.0.329

type ClusterResourcesList struct {
	// contains filtered or unexported fields
}

ClusterResourcesList is a list of values of the 'cluster_resources' type.

func (*ClusterResourcesList) Each ¶ added in v0.0.329

func (l *ClusterResourcesList) Each(f func(item *ClusterResources) 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 (*ClusterResourcesList) Empty ¶ added in v0.0.329

func (l *ClusterResourcesList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterResourcesList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterResourcesList) GetHREF ¶ added in v0.0.329

func (l *ClusterResourcesList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ClusterResourcesList) HREF ¶ added in v0.0.329

func (l *ClusterResourcesList) HREF() string

HREF returns the link to the list.

func (*ClusterResourcesList) Kind ¶ added in v0.0.329

func (l *ClusterResourcesList) Kind() string

Kind returns the name of the type of the object.

func (*ClusterResourcesList) Len ¶ added in v0.0.329

func (l *ClusterResourcesList) Len() int

Len returns the length of the list.

func (l *ClusterResourcesList) Link() bool

Link returns true iif this is a link.

func (*ClusterResourcesList) Range ¶ added in v0.0.329

func (l *ClusterResourcesList) Range(f func(index int, item *ClusterResources) 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 (*ClusterResourcesList) Slice ¶ added in v0.0.329

func (l *ClusterResourcesList) Slice() []*ClusterResources

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 ClusterResourcesListBuilder ¶ added in v0.0.329

type ClusterResourcesListBuilder struct {
	// contains filtered or unexported fields
}

ClusterResourcesListBuilder contains the data and logic needed to build 'cluster_resources' objects.

func NewClusterResourcesList ¶ added in v0.0.329

func NewClusterResourcesList() *ClusterResourcesListBuilder

NewClusterResourcesList creates a new builder of 'cluster_resources' objects.

func (*ClusterResourcesListBuilder) Build ¶ added in v0.0.329

func (b *ClusterResourcesListBuilder) Build() (list *ClusterResourcesList, err error)

Build creates a list of 'cluster_resources' objects using the configuration stored in the builder.

func (*ClusterResourcesListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ClusterResourcesListBuilder) Empty ¶ added in v0.0.329

func (b *ClusterResourcesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterResourcesListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type ClusterResourcesPollRequest ¶ added in v0.0.329

type ClusterResourcesPollRequest struct {
	// contains filtered or unexported fields
}

ClusterResourcesPollRequest is the request for the Poll method.

func (*ClusterResourcesPollRequest) Header ¶ added in v0.0.329

func (r *ClusterResourcesPollRequest) Header(name string, value interface{}) *ClusterResourcesPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ClusterResourcesPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ClusterResourcesPollRequest) Parameter ¶ added in v0.0.329

func (r *ClusterResourcesPollRequest) Parameter(name string, value interface{}) *ClusterResourcesPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ClusterResourcesPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ClusterResourcesPollRequest) StartContext ¶ added in v0.0.329

func (r *ClusterResourcesPollRequest) StartContext(ctx context.Context) (response *ClusterResourcesPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ClusterResourcesPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ClusterResourcesPollResponse ¶ added in v0.0.329

type ClusterResourcesPollResponse struct {
	// contains filtered or unexported fields
}

ClusterResourcesPollResponse is the response for the Poll method.

func (*ClusterResourcesPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

List of cluster resources

func (*ClusterResourcesPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ClusterResourcesPollResponse) GetBody ¶ added in v0.0.329

func (r *ClusterResourcesPollResponse) GetBody() (value *ClusterResources, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

List of cluster resources

func (*ClusterResourcesPollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ClusterResourcesPollResponse) Status ¶ added in v0.0.329

func (r *ClusterResourcesPollResponse) Status() int

Status returns the response status code.

type ClusterResumeRequest ¶ added in v0.0.329

type ClusterResumeRequest struct {
	// contains filtered or unexported fields
}

ClusterResumeRequest is the request for the 'resume' method.

func (*ClusterResumeRequest) Header ¶ added in v0.0.329

func (r *ClusterResumeRequest) Header(name string, value interface{}) *ClusterResumeRequest

Header adds a request header.

func (*ClusterResumeRequest) Impersonate ¶ added in v0.0.329

func (r *ClusterResumeRequest) Impersonate(user string) *ClusterResumeRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterResumeRequest) Parameter ¶ added in v0.0.329

func (r *ClusterResumeRequest) Parameter(name string, value interface{}) *ClusterResumeRequest

Parameter adds a query parameter.

func (*ClusterResumeRequest) Send ¶ added in v0.0.329

func (r *ClusterResumeRequest) Send() (result *ClusterResumeResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterResumeRequest) SendContext ¶ added in v0.0.329

func (r *ClusterResumeRequest) SendContext(ctx context.Context) (result *ClusterResumeResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterResumeResponse ¶ added in v0.0.329

type ClusterResumeResponse struct {
	// contains filtered or unexported fields
}

ClusterResumeResponse is the response for the 'resume' method.

func (*ClusterResumeResponse) Error ¶ added in v0.0.329

func (r *ClusterResumeResponse) Error() *errors.Error

Error returns the response error.

func (*ClusterResumeResponse) Header ¶ added in v0.0.329

func (r *ClusterResumeResponse) Header() http.Header

Header returns header of the response.

func (*ClusterResumeResponse) Status ¶ added in v0.0.329

func (r *ClusterResumeResponse) Status() int

Status returns the response status code.

type ClusterState ¶

type ClusterState string

ClusterState represents the values of the 'cluster_state' enumerated type.

const (
	// Error during installation.
	ClusterStateError ClusterState = "error"
	// The cluster will consume marginal cloud provider infrastructure but will be counted for quota.
	ClusterStateHibernating ClusterState = "hibernating"
	// The cluster is still being installed.
	ClusterStateInstalling ClusterState = "installing"
	// The cluster is pending resources before being provisioned.
	ClusterStatePending ClusterState = "pending"
	// The cluster is moving from 'Ready' state to 'Hibernating'.
	ClusterStatePoweringDown ClusterState = "powering_down"
	// The cluster is ready to use.
	ClusterStateReady ClusterState = "ready"
	// The cluster is moving from 'Hibernating' state to 'Ready'.
	ClusterStateResuming ClusterState = "resuming"
	// The cluster is being uninstalled.
	ClusterStateUninstalling ClusterState = "uninstalling"
	// The state of the cluster is unknown.
	ClusterStateUnknown ClusterState = "unknown"
	// The cluster is validating user input.
	ClusterStateValidating ClusterState = "validating"
	// The cluster is waiting for user action.
	ClusterStateWaiting ClusterState = "waiting"
)

func 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 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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 iif this is a link.

func (*ClusterStatus) OIDCReady ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *ClusterStatus) ProvisionErrorMessage() string

ProvisionErrorMessage returns the value of the 'provision_error_message' attribute, or the zero value of the type if the attribute doesn't have a value.

Provisioning Error Message

func (*ClusterStatus) State ¶

func (o *ClusterStatus) State() ClusterState

State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.

The overall state of the cluster.

type ClusterStatusBuilder ¶

type ClusterStatusBuilder struct {
	// contains filtered or unexported fields
}

ClusterStatusBuilder contains the data and logic needed to build 'cluster_status' objects.

Detailed status of a cluster.

func NewClusterStatus ¶

func NewClusterStatus() *ClusterStatusBuilder

NewClusterStatus creates a new builder of 'cluster_status' objects.

func (*ClusterStatusBuilder) Build ¶

func (b *ClusterStatusBuilder) Build() (object *ClusterStatus, err error)

Build creates a 'cluster_status' object using the configuration stored in the builder.

func (*ClusterStatusBuilder) ConfigurationMode ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *ClusterStatusBuilder) CurrentCompute(value int) *ClusterStatusBuilder

CurrentCompute sets the value of the 'current_compute' attribute to the given value.

func (*ClusterStatusBuilder) DNSReady ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *ClusterStatusBuilder) OIDCReady(value bool) *ClusterStatusBuilder

OIDCReady sets the value of the 'OIDC_ready' attribute to the given value.

func (*ClusterStatusBuilder) ProvisionErrorCode ¶ added in v0.0.329

func (b *ClusterStatusBuilder) ProvisionErrorCode(value string) *ClusterStatusBuilder

ProvisionErrorCode sets the value of the 'provision_error_code' attribute to the given value.

func (*ClusterStatusBuilder) ProvisionErrorMessage ¶ added in v0.0.329

func (b *ClusterStatusBuilder) ProvisionErrorMessage(value string) *ClusterStatusBuilder

ProvisionErrorMessage sets the value of the 'provision_error_message' attribute to the given value.

func (*ClusterStatusBuilder) State ¶

State sets the value of the 'state' attribute to the given value.

Overall state of a cluster.

type ClusterStatusClient ¶

type ClusterStatusClient struct {
	// contains filtered or unexported fields
}

ClusterStatusClient is the client of the 'cluster_status' resource.

Provides detailed information about the status of an specific cluster.

func NewClusterStatusClient ¶

func NewClusterStatusClient(transport http.RoundTripper, path string) *ClusterStatusClient

NewClusterStatusClient creates a new client for the 'cluster_status' resource using the given transport to send the requests and receive the responses.

func (*ClusterStatusClient) Get ¶

Get creates a request for the 'get' method.

func (*ClusterStatusClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type ClusterStatusGetRequest ¶

type ClusterStatusGetRequest struct {
	// contains filtered or unexported fields
}

ClusterStatusGetRequest is the request for the 'get' method.

func (*ClusterStatusGetRequest) Header ¶

func (r *ClusterStatusGetRequest) Header(name string, value interface{}) *ClusterStatusGetRequest

Header adds a request header.

func (*ClusterStatusGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterStatusGetRequest) Parameter ¶

func (r *ClusterStatusGetRequest) Parameter(name string, value interface{}) *ClusterStatusGetRequest

Parameter adds a query parameter.

func (*ClusterStatusGetRequest) Send ¶

func (r *ClusterStatusGetRequest) Send() (result *ClusterStatusGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterStatusGetRequest) SendContext ¶

func (r *ClusterStatusGetRequest) SendContext(ctx context.Context) (result *ClusterStatusGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterStatusGetResponse ¶

type ClusterStatusGetResponse struct {
	// contains filtered or unexported fields
}

ClusterStatusGetResponse is the response for the 'get' method.

func (*ClusterStatusGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*ClusterStatusGetResponse) Error ¶

Error returns the response error.

func (*ClusterStatusGetResponse) GetBody ¶

func (r *ClusterStatusGetResponse) GetBody() (value *ClusterStatus, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterStatusGetResponse) Header ¶

func (r *ClusterStatusGetResponse) Header() http.Header

Header returns header of the response.

func (*ClusterStatusGetResponse) Status ¶

func (r *ClusterStatusGetResponse) Status() int

Status returns the response status code.

type ClusterStatusList ¶

type ClusterStatusList struct {
	// contains filtered or unexported fields
}

ClusterStatusList is a list of values of the 'cluster_status' type.

func (*ClusterStatusList) Each ¶

func (l *ClusterStatusList) Each(f func(item *ClusterStatus) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ClusterStatusList) Empty ¶

func (l *ClusterStatusList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterStatusList) Get ¶

func (l *ClusterStatusList) Get(i int) *ClusterStatus

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ClusterStatusList) GetHREF ¶

func (l *ClusterStatusList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ClusterStatusList) HREF ¶

func (l *ClusterStatusList) HREF() string

HREF returns the link to the list.

func (*ClusterStatusList) 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) 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 ¶ added in v0.0.329

func (b *ClusterStatusListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterStatusListBuilder) Items ¶

Items sets the items of the list.

type ClusterStatusPollRequest ¶

type ClusterStatusPollRequest struct {
	// contains filtered or unexported fields
}

ClusterStatusPollRequest is the request for the Poll method.

func (*ClusterStatusPollRequest) Header ¶

func (r *ClusterStatusPollRequest) Header(name string, value interface{}) *ClusterStatusPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ClusterStatusPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ClusterStatusPollRequest) Parameter ¶

func (r *ClusterStatusPollRequest) Parameter(name string, value interface{}) *ClusterStatusPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ClusterStatusPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ClusterStatusPollRequest) StartContext ¶

func (r *ClusterStatusPollRequest) StartContext(ctx context.Context) (response *ClusterStatusPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ClusterStatusPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ClusterStatusPollResponse ¶

type ClusterStatusPollResponse struct {
	// contains filtered or unexported fields
}

ClusterStatusPollResponse is the response for the Poll method.

func (*ClusterStatusPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*ClusterStatusPollResponse) Error ¶

Error returns the response error.

func (*ClusterStatusPollResponse) GetBody ¶

func (r *ClusterStatusPollResponse) GetBody() (value *ClusterStatus, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterStatusPollResponse) Header ¶

Header returns header of the response.

func (*ClusterStatusPollResponse) Status ¶

func (r *ClusterStatusPollResponse) Status() int

Status returns the response status code.

type ClusterUpdateRequest ¶

type ClusterUpdateRequest struct {
	// contains filtered or unexported fields
}

ClusterUpdateRequest is the request for the 'update' method.

func (*ClusterUpdateRequest) Body ¶

Body sets the value of the 'body' parameter.

func (*ClusterUpdateRequest) Header ¶

func (r *ClusterUpdateRequest) Header(name string, value interface{}) *ClusterUpdateRequest

Header adds a request header.

func (*ClusterUpdateRequest) Impersonate ¶ added in v0.0.329

func (r *ClusterUpdateRequest) Impersonate(user string) *ClusterUpdateRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterUpdateRequest) Parameter ¶

func (r *ClusterUpdateRequest) Parameter(name string, value interface{}) *ClusterUpdateRequest

Parameter adds a query parameter.

func (*ClusterUpdateRequest) Send ¶

func (r *ClusterUpdateRequest) Send() (result *ClusterUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterUpdateRequest) SendContext ¶

func (r *ClusterUpdateRequest) SendContext(ctx context.Context) (result *ClusterUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClusterUpdateResponse ¶

type ClusterUpdateResponse struct {
	// contains filtered or unexported fields
}

ClusterUpdateResponse is the response for the 'update' method.

func (*ClusterUpdateResponse) Body ¶

func (r *ClusterUpdateResponse) Body() *Cluster

Body returns the value of the 'body' parameter.

func (*ClusterUpdateResponse) Error ¶

func (r *ClusterUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*ClusterUpdateResponse) GetBody ¶

func (r *ClusterUpdateResponse) GetBody() (value *Cluster, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ClusterUpdateResponse) Header ¶

func (r *ClusterUpdateResponse) Header() http.Header

Header returns header of the response.

func (*ClusterUpdateResponse) Status ¶

func (r *ClusterUpdateResponse) Status() int

Status returns the response status code.

type ClusterdeploymentClient ¶ added in v0.0.329

type ClusterdeploymentClient struct {
	// contains filtered or unexported fields
}

ClusterdeploymentClient is the client of the 'clusterdeployment' resource.

Manages a specific clusterdeployment.

func NewClusterdeploymentClient ¶ added in v0.0.329

func NewClusterdeploymentClient(transport http.RoundTripper, path string) *ClusterdeploymentClient

NewClusterdeploymentClient creates a new client for the 'clusterdeployment' resource using the given transport to send the requests and receive the responses.

func (*ClusterdeploymentClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the clusterdeployment.

type ClusterdeploymentDeleteRequest ¶ added in v0.0.329

type ClusterdeploymentDeleteRequest struct {
	// contains filtered or unexported fields
}

ClusterdeploymentDeleteRequest is the request for the 'delete' method.

func (*ClusterdeploymentDeleteRequest) Header ¶ added in v0.0.329

func (r *ClusterdeploymentDeleteRequest) Header(name string, value interface{}) *ClusterdeploymentDeleteRequest

Header adds a request header.

func (*ClusterdeploymentDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClusterdeploymentDeleteRequest) Parameter ¶ added in v0.0.329

func (r *ClusterdeploymentDeleteRequest) Parameter(name string, value interface{}) *ClusterdeploymentDeleteRequest

Parameter adds a query parameter.

func (*ClusterdeploymentDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClusterdeploymentDeleteRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type ClusterdeploymentDeleteResponse ¶ added in v0.0.329

type ClusterdeploymentDeleteResponse struct {
	// contains filtered or unexported fields
}

ClusterdeploymentDeleteResponse is the response for the 'delete' method.

func (*ClusterdeploymentDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ClusterdeploymentDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ClusterdeploymentDeleteResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type ClustersAddRequest ¶

type ClustersAddRequest struct {
	// contains filtered or unexported fields
}

ClustersAddRequest is the request for the 'add' method.

func (*ClustersAddRequest) Body ¶

Body sets the value of the 'body' parameter.

Description of the cluster.

func (*ClustersAddRequest) Header ¶

func (r *ClustersAddRequest) Header(name string, value interface{}) *ClustersAddRequest

Header adds a request header.

func (*ClustersAddRequest) Impersonate ¶ added in v0.0.329

func (r *ClustersAddRequest) Impersonate(user string) *ClustersAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClustersAddRequest) Parameter ¶

func (r *ClustersAddRequest) Parameter(name string, value interface{}) *ClustersAddRequest

Parameter adds a query parameter.

func (*ClustersAddRequest) Send ¶

func (r *ClustersAddRequest) Send() (result *ClustersAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClustersAddRequest) SendContext ¶

func (r *ClustersAddRequest) SendContext(ctx context.Context) (result *ClustersAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ClustersAddResponse ¶

type ClustersAddResponse struct {
	// contains filtered or unexported fields
}

ClustersAddResponse is the response for the 'add' method.

func (*ClustersAddResponse) Body ¶

func (r *ClustersAddResponse) Body() *Cluster

Body returns the value of the 'body' parameter.

Description of the cluster.

func (*ClustersAddResponse) Error ¶

func (r *ClustersAddResponse) Error() *errors.Error

Error returns the response error.

func (*ClustersAddResponse) GetBody ¶

func (r *ClustersAddResponse) GetBody() (value *Cluster, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the cluster.

func (*ClustersAddResponse) Header ¶

func (r *ClustersAddResponse) Header() http.Header

Header returns header of the response.

func (*ClustersAddResponse) Status ¶

func (r *ClustersAddResponse) Status() int

Status returns the response status code.

type ClustersClient ¶

type ClustersClient struct {
	// contains filtered or unexported fields
}

ClustersClient is the client of the 'clusters' resource.

Manages the collection of clusters.

func NewClustersClient ¶

func NewClustersClient(transport http.RoundTripper, path string) *ClustersClient

NewClustersClient creates a new client for the 'clusters' resource using the given transport to send the requests and receive the responses.

func (*ClustersClient) Add ¶

Add creates a request for the 'add' method.

Provision a new cluster and add it to the collection of clusters.

See the `register_cluster` method for adding an existing cluster.

func (*ClustersClient) Cluster ¶

func (c *ClustersClient) Cluster(id string) *ClusterClient

Cluster returns the target 'cluster' resource for the given identifier.

Returns a reference to the service that manages an specific cluster.

func (*ClustersClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of clusters.

type ClustersListRequest ¶

type ClustersListRequest struct {
	// contains filtered or unexported fields
}

ClustersListRequest is the request for the 'list' method.

func (*ClustersListRequest) Header ¶

func (r *ClustersListRequest) Header(name string, value interface{}) *ClustersListRequest

Header adds a request header.

func (*ClustersListRequest) Impersonate ¶ added in v0.0.329

func (r *ClustersListRequest) Impersonate(user string) *ClustersListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ClustersListRequest) Order ¶

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to sort the clusters descending by region identifier the value should be:

```sql region.id desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*ClustersListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ClustersListRequest) Parameter ¶

func (r *ClustersListRequest) Parameter(name string, value interface{}) *ClustersListRequest

Parameter adds a query parameter.

func (*ClustersListRequest) Search ¶

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to retrieve all the clusters with a name starting with `my` in the `us-east-1` region the value should be:

```sql name like 'my%' and region.id = 'us-east-1' ```

If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.

func (*ClustersListRequest) Send ¶

func (r *ClustersListRequest) Send() (result *ClustersListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ClustersListRequest) SendContext ¶

func (r *ClustersListRequest) SendContext(ctx context.Context) (result *ClustersListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*ClustersListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type ClustersListResponse ¶

type ClustersListResponse struct {
	// contains filtered or unexported fields
}

ClustersListResponse is the response for the 'list' method.

func (*ClustersListResponse) Error ¶

func (r *ClustersListResponse) Error() *errors.Error

Error returns the response error.

func (*ClustersListResponse) GetItems ¶

func (r *ClustersListResponse) GetItems() (value *ClusterList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of clusters.

func (*ClustersListResponse) GetPage ¶

func (r *ClustersListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*ClustersListResponse) GetSize ¶

func (r *ClustersListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*ClustersListResponse) GetTotal ¶

func (r *ClustersListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*ClustersListResponse) Header ¶

func (r *ClustersListResponse) Header() http.Header

Header returns header of the response.

func (*ClustersListResponse) Items ¶

func (r *ClustersListResponse) Items() *ClusterList

Items returns the value of the 'items' parameter.

Retrieved list of clusters.

func (*ClustersListResponse) Page ¶

func (r *ClustersListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ClustersListResponse) Size ¶

func (r *ClustersListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*ClustersListResponse) Status ¶

func (r *ClustersListResponse) Status() int

Status returns the response status code.

func (*ClustersListResponse) Total ¶

func (r *ClustersListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type ComponentRoute ¶ added in v0.1.407

type ComponentRoute struct {
	// contains filtered or unexported fields
}

ComponentRoute represents the values of the 'component_route' type.

Representation of a Component Route.

func UnmarshalComponentRoute ¶ added in v0.1.407

func UnmarshalComponentRoute(source interface{}) (object *ComponentRoute, err error)

UnmarshalComponentRoute reads a value of the 'component_route' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalComponentRouteList ¶ added in v0.1.407

func UnmarshalComponentRouteList(source interface{}) (items []*ComponentRoute, err error)

UnmarshalComponentRouteList reads a list of values of the 'component_route' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ComponentRoute) Empty ¶ added in v0.1.407

func (o *ComponentRoute) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ComponentRoute) GetHREF ¶ added in v0.1.407

func (o *ComponentRoute) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ComponentRoute) GetHostname ¶ added in v0.1.407

func (o *ComponentRoute) GetHostname() (value string, ok bool)

GetHostname returns the value of the 'hostname' attribute and a flag indicating if the attribute has a value.

Hostname of the route.

func (*ComponentRoute) GetID ¶ added in v0.1.407

func (o *ComponentRoute) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ComponentRoute) GetTlsSecretRef ¶ added in v0.1.407

func (o *ComponentRoute) GetTlsSecretRef() (value string, ok bool)

GetTlsSecretRef returns the value of the 'tls_secret_ref' attribute and a flag indicating if the attribute has a value.

TLS Secret reference of the route.

func (*ComponentRoute) HREF ¶ added in v0.1.407

func (o *ComponentRoute) HREF() string

HREF returns the link to the object.

func (*ComponentRoute) Hostname ¶ added in v0.1.407

func (o *ComponentRoute) Hostname() string

Hostname returns the value of the 'hostname' attribute, or the zero value of the type if the attribute doesn't have a value.

Hostname of the route.

func (*ComponentRoute) ID ¶ added in v0.1.407

func (o *ComponentRoute) ID() string

ID returns the identifier of the object.

func (*ComponentRoute) Kind ¶ added in v0.1.407

func (o *ComponentRoute) Kind() string

Kind returns the name of the type of the object.

func (o *ComponentRoute) Link() bool

Link returns true iif this is a link.

func (*ComponentRoute) TlsSecretRef ¶ added in v0.1.407

func (o *ComponentRoute) TlsSecretRef() string

TlsSecretRef returns the value of the 'tls_secret_ref' attribute, or the zero value of the type if the attribute doesn't have a value.

TLS Secret reference of the route.

type ComponentRouteBuilder ¶ added in v0.1.407

type ComponentRouteBuilder struct {
	// contains filtered or unexported fields
}

ComponentRouteBuilder contains the data and logic needed to build 'component_route' objects.

Representation of a Component Route.

func NewComponentRoute ¶ added in v0.1.407

func NewComponentRoute() *ComponentRouteBuilder

NewComponentRoute creates a new builder of 'component_route' objects.

func (*ComponentRouteBuilder) Build ¶ added in v0.1.407

func (b *ComponentRouteBuilder) Build() (object *ComponentRoute, err error)

Build creates a 'component_route' object using the configuration stored in the builder.

func (*ComponentRouteBuilder) Copy ¶ added in v0.1.407

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ComponentRouteBuilder) Empty ¶ added in v0.1.407

func (b *ComponentRouteBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ComponentRouteBuilder) HREF ¶ added in v0.1.407

HREF sets the link to the object.

func (*ComponentRouteBuilder) Hostname ¶ added in v0.1.407

Hostname sets the value of the 'hostname' attribute to the given value.

func (*ComponentRouteBuilder) ID ¶ added in v0.1.407

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*ComponentRouteBuilder) TlsSecretRef ¶ added in v0.1.407

func (b *ComponentRouteBuilder) TlsSecretRef(value string) *ComponentRouteBuilder

TlsSecretRef sets the value of the 'tls_secret_ref' attribute to the given value.

type ComponentRouteList ¶ added in v0.1.407

type ComponentRouteList struct {
	// contains filtered or unexported fields
}

ComponentRouteList is a list of values of the 'component_route' type.

func (*ComponentRouteList) Each ¶ added in v0.1.407

func (l *ComponentRouteList) Each(f func(item *ComponentRoute) 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 (*ComponentRouteList) Empty ¶ added in v0.1.407

func (l *ComponentRouteList) Empty() bool

Empty returns true if the list is empty.

func (*ComponentRouteList) Get ¶ added in v0.1.407

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ComponentRouteList) GetHREF ¶ added in v0.1.407

func (l *ComponentRouteList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ComponentRouteList) HREF ¶ added in v0.1.407

func (l *ComponentRouteList) HREF() string

HREF returns the link to the list.

func (*ComponentRouteList) Kind ¶ added in v0.1.407

func (l *ComponentRouteList) Kind() string

Kind returns the name of the type of the object.

func (*ComponentRouteList) Len ¶ added in v0.1.407

func (l *ComponentRouteList) Len() int

Len returns the length of the list.

func (l *ComponentRouteList) Link() bool

Link returns true iif this is a link.

func (*ComponentRouteList) Range ¶ added in v0.1.407

func (l *ComponentRouteList) Range(f func(index int, item *ComponentRoute) 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 (*ComponentRouteList) Slice ¶ added in v0.1.407

func (l *ComponentRouteList) Slice() []*ComponentRoute

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 ComponentRouteListBuilder ¶ added in v0.1.407

type ComponentRouteListBuilder struct {
	// contains filtered or unexported fields
}

ComponentRouteListBuilder contains the data and logic needed to build 'component_route' objects.

func NewComponentRouteList ¶ added in v0.1.407

func NewComponentRouteList() *ComponentRouteListBuilder

NewComponentRouteList creates a new builder of 'component_route' objects.

func (*ComponentRouteListBuilder) Build ¶ added in v0.1.407

func (b *ComponentRouteListBuilder) Build() (list *ComponentRouteList, err error)

Build creates a list of 'component_route' objects using the configuration stored in the builder.

func (*ComponentRouteListBuilder) Copy ¶ added in v0.1.407

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ComponentRouteListBuilder) Empty ¶ added in v0.1.407

func (b *ComponentRouteListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ComponentRouteListBuilder) Items ¶ added in v0.1.407

Items sets the items of the list.

type ComponentRouteType ¶ added in v0.1.407

type ComponentRouteType string

ComponentRouteType represents the values of the 'component_route_type' enumerated type.

const (
	//
	ComponentRouteTypeConsole ComponentRouteType = "console"
	//
	ComponentRouteTypeDownloads ComponentRouteType = "downloads"
	//
	ComponentRouteTypeOauth ComponentRouteType = "oauth"
)

func UnmarshalComponentRouteTypeList ¶ added in v0.1.407

func UnmarshalComponentRouteTypeList(source interface{}) (items []ComponentRouteType, err error)

UnmarshalComponentRouteTypeList reads a list of values of the 'component_route_type' type from the given source, which can be a slice of bytes, a string or a reader.

type ControlPlaneClient ¶ added in v0.0.329

type ControlPlaneClient struct {
	// contains filtered or unexported fields
}

ControlPlaneClient is the client of the 'control_plane' resource.

Manages a specific upgrade policy.

func NewControlPlaneClient ¶ added in v0.0.329

func NewControlPlaneClient(transport http.RoundTripper, path string) *ControlPlaneClient

NewControlPlaneClient creates a new client for the 'control_plane' resource using the given transport to send the requests and receive the responses.

func (*ControlPlaneClient) UpgradePolicies ¶ added in v0.0.329

UpgradePolicies returns the target 'control_plane_upgrade_policies' resource.

Reference to the state of the upgrade policy.

type ControlPlaneUpgradePoliciesAddRequest ¶ added in v0.0.329

type ControlPlaneUpgradePoliciesAddRequest struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePoliciesAddRequest is the request for the 'add' method.

func (*ControlPlaneUpgradePoliciesAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Description of the upgrade policy.

func (*ControlPlaneUpgradePoliciesAddRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*ControlPlaneUpgradePoliciesAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ControlPlaneUpgradePoliciesAddRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*ControlPlaneUpgradePoliciesAddRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ControlPlaneUpgradePoliciesAddRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type ControlPlaneUpgradePoliciesAddResponse ¶ added in v0.0.329

type ControlPlaneUpgradePoliciesAddResponse struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePoliciesAddResponse is the response for the 'add' method.

func (*ControlPlaneUpgradePoliciesAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Description of the upgrade policy.

func (*ControlPlaneUpgradePoliciesAddResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ControlPlaneUpgradePoliciesAddResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the upgrade policy.

func (*ControlPlaneUpgradePoliciesAddResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ControlPlaneUpgradePoliciesAddResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type ControlPlaneUpgradePoliciesClient ¶ added in v0.0.329

type ControlPlaneUpgradePoliciesClient struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePoliciesClient is the client of the 'control_plane_upgrade_policies' resource.

Manages the collection of upgrade policies for the control plane of a cluster.

func NewControlPlaneUpgradePoliciesClient ¶ added in v0.0.329

func NewControlPlaneUpgradePoliciesClient(transport http.RoundTripper, path string) *ControlPlaneUpgradePoliciesClient

NewControlPlaneUpgradePoliciesClient creates a new client for the 'control_plane_upgrade_policies' resource using the given transport to send the requests and receive the responses.

func (*ControlPlaneUpgradePoliciesClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new upgrade policy to the control plane of the cluster.

func (*ControlPlaneUpgradePoliciesClient) ControlPlaneUpgradePolicy ¶ added in v0.0.329

ControlPlaneUpgradePolicy returns the target 'control_plane_upgrade_policy' resource for the given identifier.

Reference to the service that manages an specific upgrade policy for the control plane.

func (*ControlPlaneUpgradePoliciesClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of upgrade policies for the control plane.

type ControlPlaneUpgradePoliciesListRequest ¶ added in v0.0.329

type ControlPlaneUpgradePoliciesListRequest struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePoliciesListRequest is the request for the 'list' method.

func (*ControlPlaneUpgradePoliciesListRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*ControlPlaneUpgradePoliciesListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ControlPlaneUpgradePoliciesListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ControlPlaneUpgradePoliciesListRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*ControlPlaneUpgradePoliciesListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ControlPlaneUpgradePoliciesListRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*ControlPlaneUpgradePoliciesListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type ControlPlaneUpgradePoliciesListResponse ¶ added in v0.0.329

type ControlPlaneUpgradePoliciesListResponse struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePoliciesListResponse is the response for the 'list' method.

func (*ControlPlaneUpgradePoliciesListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ControlPlaneUpgradePoliciesListResponse) GetItems ¶ added in v0.0.329

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of upgrade policy.

func (*ControlPlaneUpgradePoliciesListResponse) GetPage ¶ added in v0.0.329

func (r *ControlPlaneUpgradePoliciesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*ControlPlaneUpgradePoliciesListResponse) GetSize ¶ added in v0.0.329

func (r *ControlPlaneUpgradePoliciesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*ControlPlaneUpgradePoliciesListResponse) GetTotal ¶ added in v0.0.329

func (r *ControlPlaneUpgradePoliciesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*ControlPlaneUpgradePoliciesListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ControlPlaneUpgradePoliciesListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of upgrade policy.

func (*ControlPlaneUpgradePoliciesListResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ControlPlaneUpgradePoliciesListResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*ControlPlaneUpgradePoliciesListResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*ControlPlaneUpgradePoliciesListResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type ControlPlaneUpgradePolicy ¶ added in v0.0.329

type ControlPlaneUpgradePolicy struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicy represents the values of the 'control_plane_upgrade_policy' type.

Representation of an upgrade policy that can be set for a cluster.

func UnmarshalControlPlaneUpgradePolicy ¶ added in v0.0.329

func UnmarshalControlPlaneUpgradePolicy(source interface{}) (object *ControlPlaneUpgradePolicy, err error)

UnmarshalControlPlaneUpgradePolicy reads a value of the 'control_plane_upgrade_policy' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalControlPlaneUpgradePolicyList ¶ added in v0.0.329

func UnmarshalControlPlaneUpgradePolicyList(source interface{}) (items []*ControlPlaneUpgradePolicy, err error)

UnmarshalControlPlaneUpgradePolicyList reads a list of values of the 'control_plane_upgrade_policy' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ControlPlaneUpgradePolicy) ClusterID ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Cluster ID this upgrade policy for control plane is defined for.

func (*ControlPlaneUpgradePolicy) CreationTimestamp ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) 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.

Timestamp for creation of resource.

func (*ControlPlaneUpgradePolicy) Empty ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ControlPlaneUpgradePolicy) EnableMinorVersionUpgrades ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) EnableMinorVersionUpgrades() bool

EnableMinorVersionUpgrades returns the value of the 'enable_minor_version_upgrades' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates if minor version upgrades are allowed for automatic upgrades (for manual it's always allowed).

func (*ControlPlaneUpgradePolicy) GetClusterID ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Cluster ID this upgrade policy for control plane is defined for.

func (*ControlPlaneUpgradePolicy) GetCreationTimestamp ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) 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.

Timestamp for creation of resource.

func (*ControlPlaneUpgradePolicy) GetEnableMinorVersionUpgrades ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) GetEnableMinorVersionUpgrades() (value bool, ok bool)

GetEnableMinorVersionUpgrades returns the value of the 'enable_minor_version_upgrades' attribute and a flag indicating if the attribute has a value.

Indicates if minor version upgrades are allowed for automatic upgrades (for manual it's always allowed).

func (*ControlPlaneUpgradePolicy) GetHREF ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ControlPlaneUpgradePolicy) GetID ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ControlPlaneUpgradePolicy) GetLastUpdateTimestamp ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) 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.

Timestamp for last update that happened to resource.

func (*ControlPlaneUpgradePolicy) GetNextRun ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) GetNextRun() (value time.Time, ok bool)

GetNextRun returns the value of the 'next_run' attribute and a flag indicating if the attribute has a value.

Next time the upgrade should run.

func (*ControlPlaneUpgradePolicy) GetSchedule ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) GetSchedule() (value string, ok bool)

GetSchedule returns the value of the 'schedule' attribute and a flag indicating if the attribute has a value.

Schedule cron expression that defines automatic upgrade scheduling.

func (*ControlPlaneUpgradePolicy) GetScheduleType ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) GetScheduleType() (value ScheduleType, ok bool)

GetScheduleType returns the value of the 'schedule_type' attribute and a flag indicating if the attribute has a value.

Schedule type of the control plane upgrade.

func (*ControlPlaneUpgradePolicy) GetState ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) GetState() (value *UpgradePolicyState, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

State of the upgrade policy for the hosted control plane.

func (*ControlPlaneUpgradePolicy) GetUpgradeType ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) GetUpgradeType() (value UpgradeType, ok bool)

GetUpgradeType returns the value of the 'upgrade_type' attribute and a flag indicating if the attribute has a value.

Upgrade type of the control plane.

func (*ControlPlaneUpgradePolicy) GetVersion ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) GetVersion() (value string, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

Version is the desired upgrade version.

func (*ControlPlaneUpgradePolicy) HREF ¶ added in v0.0.329

HREF returns the link to the object.

func (*ControlPlaneUpgradePolicy) ID ¶ added in v0.0.329

ID returns the identifier of the object.

func (*ControlPlaneUpgradePolicy) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

func (*ControlPlaneUpgradePolicy) LastUpdateTimestamp ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) 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.

Timestamp for last update that happened to resource.

func (o *ControlPlaneUpgradePolicy) Link() bool

Link returns true iif this is a link.

func (*ControlPlaneUpgradePolicy) NextRun ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) NextRun() time.Time

NextRun returns the value of the 'next_run' attribute, or the zero value of the type if the attribute doesn't have a value.

Next time the upgrade should run.

func (*ControlPlaneUpgradePolicy) Schedule ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) Schedule() string

Schedule returns the value of the 'schedule' attribute, or the zero value of the type if the attribute doesn't have a value.

Schedule cron expression that defines automatic upgrade scheduling.

func (*ControlPlaneUpgradePolicy) ScheduleType ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) ScheduleType() ScheduleType

ScheduleType returns the value of the 'schedule_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Schedule type of the control plane upgrade.

func (*ControlPlaneUpgradePolicy) State ¶ added in v0.0.329

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 upgrade policy for the hosted control plane.

func (*ControlPlaneUpgradePolicy) UpgradeType ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) UpgradeType() UpgradeType

UpgradeType returns the value of the 'upgrade_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Upgrade type of the control plane.

func (*ControlPlaneUpgradePolicy) Version ¶ added in v0.0.329

func (o *ControlPlaneUpgradePolicy) Version() string

Version returns the value of the 'version' attribute, or the zero value of the type if the attribute doesn't have a value.

Version is the desired upgrade version.

type ControlPlaneUpgradePolicyBuilder ¶ added in v0.0.329

type ControlPlaneUpgradePolicyBuilder struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyBuilder contains the data and logic needed to build 'control_plane_upgrade_policy' objects.

Representation of an upgrade policy that can be set for a cluster.

func NewControlPlaneUpgradePolicy ¶ added in v0.0.329

func NewControlPlaneUpgradePolicy() *ControlPlaneUpgradePolicyBuilder

NewControlPlaneUpgradePolicy creates a new builder of 'control_plane_upgrade_policy' objects.

func (*ControlPlaneUpgradePolicyBuilder) Build ¶ added in v0.0.329

Build creates a 'control_plane_upgrade_policy' object using the configuration stored in the builder.

func (*ControlPlaneUpgradePolicyBuilder) ClusterID ¶ added in v0.0.329

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*ControlPlaneUpgradePolicyBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ControlPlaneUpgradePolicyBuilder) CreationTimestamp ¶ added in v0.0.329

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*ControlPlaneUpgradePolicyBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ControlPlaneUpgradePolicyBuilder) EnableMinorVersionUpgrades ¶ added in v0.0.329

func (b *ControlPlaneUpgradePolicyBuilder) EnableMinorVersionUpgrades(value bool) *ControlPlaneUpgradePolicyBuilder

EnableMinorVersionUpgrades sets the value of the 'enable_minor_version_upgrades' attribute to the given value.

func (*ControlPlaneUpgradePolicyBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*ControlPlaneUpgradePolicyBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

func (*ControlPlaneUpgradePolicyBuilder) LastUpdateTimestamp ¶ added in v0.0.329

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 (*ControlPlaneUpgradePolicyBuilder) NextRun ¶ added in v0.0.329

NextRun sets the value of the 'next_run' attribute to the given value.

func (*ControlPlaneUpgradePolicyBuilder) Schedule ¶ added in v0.0.329

Schedule sets the value of the 'schedule' attribute to the given value.

func (*ControlPlaneUpgradePolicyBuilder) ScheduleType ¶ added in v0.0.329

ScheduleType sets the value of the 'schedule_type' attribute to the given value.

ScheduleType defines which type of scheduling should be used for the upgrade policy.

func (*ControlPlaneUpgradePolicyBuilder) State ¶ added in v0.0.329

State sets the value of the 'state' attribute to the given value.

Representation of an upgrade policy state that that is set for a cluster.

func (*ControlPlaneUpgradePolicyBuilder) UpgradeType ¶ added in v0.0.329

UpgradeType sets the value of the 'upgrade_type' attribute to the given value.

UpgradeType defines which type of upgrade should be used.

func (*ControlPlaneUpgradePolicyBuilder) Version ¶ added in v0.0.329

Version sets the value of the 'version' attribute to the given value.

type ControlPlaneUpgradePolicyClient ¶ added in v0.0.329

type ControlPlaneUpgradePolicyClient struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyClient is the client of the 'control_plane_upgrade_policy' resource.

Manages a specific upgrade policy for the control plane.

func NewControlPlaneUpgradePolicyClient ¶ added in v0.0.329

func NewControlPlaneUpgradePolicyClient(transport http.RoundTripper, path string) *ControlPlaneUpgradePolicyClient

NewControlPlaneUpgradePolicyClient creates a new client for the 'control_plane_upgrade_policy' resource using the given transport to send the requests and receive the responses.

func (*ControlPlaneUpgradePolicyClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the upgrade policy for the control plane.

func (*ControlPlaneUpgradePolicyClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the upgrade policy for the control plane.

func (*ControlPlaneUpgradePolicyClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*ControlPlaneUpgradePolicyClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Update the upgrade policy for the control plane.

type ControlPlaneUpgradePolicyDeleteRequest ¶ added in v0.0.329

type ControlPlaneUpgradePolicyDeleteRequest struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyDeleteRequest is the request for the 'delete' method.

func (*ControlPlaneUpgradePolicyDeleteRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*ControlPlaneUpgradePolicyDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ControlPlaneUpgradePolicyDeleteRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*ControlPlaneUpgradePolicyDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ControlPlaneUpgradePolicyDeleteRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type ControlPlaneUpgradePolicyDeleteResponse ¶ added in v0.0.329

type ControlPlaneUpgradePolicyDeleteResponse struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyDeleteResponse is the response for the 'delete' method.

func (*ControlPlaneUpgradePolicyDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ControlPlaneUpgradePolicyDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ControlPlaneUpgradePolicyDeleteResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type ControlPlaneUpgradePolicyGetRequest ¶ added in v0.0.329

type ControlPlaneUpgradePolicyGetRequest struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyGetRequest is the request for the 'get' method.

func (*ControlPlaneUpgradePolicyGetRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*ControlPlaneUpgradePolicyGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ControlPlaneUpgradePolicyGetRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*ControlPlaneUpgradePolicyGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ControlPlaneUpgradePolicyGetRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type ControlPlaneUpgradePolicyGetResponse ¶ added in v0.0.329

type ControlPlaneUpgradePolicyGetResponse struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyGetResponse is the response for the 'get' method.

func (*ControlPlaneUpgradePolicyGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*ControlPlaneUpgradePolicyGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ControlPlaneUpgradePolicyGetResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ControlPlaneUpgradePolicyGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ControlPlaneUpgradePolicyGetResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type ControlPlaneUpgradePolicyList ¶ added in v0.0.329

type ControlPlaneUpgradePolicyList struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyList is a list of values of the 'control_plane_upgrade_policy' type.

func (*ControlPlaneUpgradePolicyList) Each ¶ added in v0.0.329

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 (*ControlPlaneUpgradePolicyList) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*ControlPlaneUpgradePolicyList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ControlPlaneUpgradePolicyList) GetHREF ¶ added in v0.0.329

func (l *ControlPlaneUpgradePolicyList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ControlPlaneUpgradePolicyList) HREF ¶ added in v0.0.329

HREF returns the link to the list.

func (*ControlPlaneUpgradePolicyList) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

func (*ControlPlaneUpgradePolicyList) Len ¶ added in v0.0.329

Len returns the length of the list.

Link returns true iif this is a link.

func (*ControlPlaneUpgradePolicyList) Range ¶ added in v0.0.329

func (l *ControlPlaneUpgradePolicyList) Range(f func(index int, item *ControlPlaneUpgradePolicy) 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 (*ControlPlaneUpgradePolicyList) Slice ¶ added in v0.0.329

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 ControlPlaneUpgradePolicyListBuilder ¶ added in v0.0.329

type ControlPlaneUpgradePolicyListBuilder struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyListBuilder contains the data and logic needed to build 'control_plane_upgrade_policy' objects.

func NewControlPlaneUpgradePolicyList ¶ added in v0.0.329

func NewControlPlaneUpgradePolicyList() *ControlPlaneUpgradePolicyListBuilder

NewControlPlaneUpgradePolicyList creates a new builder of 'control_plane_upgrade_policy' objects.

func (*ControlPlaneUpgradePolicyListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'control_plane_upgrade_policy' objects using the configuration stored in the builder.

func (*ControlPlaneUpgradePolicyListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ControlPlaneUpgradePolicyListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*ControlPlaneUpgradePolicyListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type ControlPlaneUpgradePolicyPollRequest ¶ added in v0.0.329

type ControlPlaneUpgradePolicyPollRequest struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyPollRequest is the request for the Poll method.

func (*ControlPlaneUpgradePolicyPollRequest) Header ¶ added in v0.0.329

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ControlPlaneUpgradePolicyPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ControlPlaneUpgradePolicyPollRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ControlPlaneUpgradePolicyPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ControlPlaneUpgradePolicyPollRequest) StartContext ¶ added in v0.0.329

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ControlPlaneUpgradePolicyPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ControlPlaneUpgradePolicyPollResponse ¶ added in v0.0.329

type ControlPlaneUpgradePolicyPollResponse struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyPollResponse is the response for the Poll method.

func (*ControlPlaneUpgradePolicyPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*ControlPlaneUpgradePolicyPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ControlPlaneUpgradePolicyPollResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ControlPlaneUpgradePolicyPollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ControlPlaneUpgradePolicyPollResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type ControlPlaneUpgradePolicyUpdateRequest ¶ added in v0.0.329

type ControlPlaneUpgradePolicyUpdateRequest struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyUpdateRequest is the request for the 'update' method.

func (*ControlPlaneUpgradePolicyUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*ControlPlaneUpgradePolicyUpdateRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*ControlPlaneUpgradePolicyUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ControlPlaneUpgradePolicyUpdateRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*ControlPlaneUpgradePolicyUpdateRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ControlPlaneUpgradePolicyUpdateRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type ControlPlaneUpgradePolicyUpdateResponse ¶ added in v0.0.329

type ControlPlaneUpgradePolicyUpdateResponse struct {
	// contains filtered or unexported fields
}

ControlPlaneUpgradePolicyUpdateResponse is the response for the 'update' method.

func (*ControlPlaneUpgradePolicyUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*ControlPlaneUpgradePolicyUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ControlPlaneUpgradePolicyUpdateResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ControlPlaneUpgradePolicyUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ControlPlaneUpgradePolicyUpdateResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type CredentialRequest ¶ added in v0.0.329

type CredentialRequest struct {
	// contains filtered or unexported fields
}

CredentialRequest represents the values of the 'credential_request' type.

Contains the necessary attributes to allow each operator to access the necessary AWS resources

func UnmarshalCredentialRequest ¶ added in v0.0.329

func UnmarshalCredentialRequest(source interface{}) (object *CredentialRequest, err error)

UnmarshalCredentialRequest reads a value of the 'credential_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalCredentialRequestList ¶ added in v0.0.329

func UnmarshalCredentialRequestList(source interface{}) (items []*CredentialRequest, err error)

UnmarshalCredentialRequestList reads a list of values of the 'credential_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*CredentialRequest) Empty ¶ added in v0.0.329

func (o *CredentialRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*CredentialRequest) GetName ¶ added in v0.0.329

func (o *CredentialRequest) 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 (*CredentialRequest) GetNamespace ¶ added in v0.0.329

func (o *CredentialRequest) 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 (*CredentialRequest) GetPolicyPermissions ¶ added in v0.0.329

func (o *CredentialRequest) GetPolicyPermissions() (value []string, ok bool)

GetPolicyPermissions returns the value of the 'policy_permissions' attribute and a flag indicating if the attribute has a value.

List of policy permissions needed to access cloud resources

func (*CredentialRequest) GetServiceAccount ¶ added in v0.0.329

func (o *CredentialRequest) 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 (*CredentialRequest) Name ¶ added in v0.0.329

func (o *CredentialRequest) 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 (*CredentialRequest) Namespace ¶ added in v0.0.329

func (o *CredentialRequest) 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 (*CredentialRequest) PolicyPermissions ¶ added in v0.0.329

func (o *CredentialRequest) PolicyPermissions() []string

PolicyPermissions returns the value of the 'policy_permissions' attribute, or the zero value of the type if the attribute doesn't have a value.

List of policy permissions needed to access cloud resources

func (*CredentialRequest) ServiceAccount ¶ added in v0.0.329

func (o *CredentialRequest) 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 CredentialRequestBuilder ¶ added in v0.0.329

type CredentialRequestBuilder struct {
	// contains filtered or unexported fields
}

CredentialRequestBuilder contains the data and logic needed to build 'credential_request' objects.

Contains the necessary attributes to allow each operator to access the necessary AWS resources

func NewCredentialRequest ¶ added in v0.0.329

func NewCredentialRequest() *CredentialRequestBuilder

NewCredentialRequest creates a new builder of 'credential_request' objects.

func (*CredentialRequestBuilder) Build ¶ added in v0.0.329

func (b *CredentialRequestBuilder) Build() (object *CredentialRequest, err error)

Build creates a 'credential_request' object using the configuration stored in the builder.

func (*CredentialRequestBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*CredentialRequestBuilder) Empty ¶ added in v0.0.329

func (b *CredentialRequestBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*CredentialRequestBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

func (*CredentialRequestBuilder) Namespace ¶ added in v0.0.329

Namespace sets the value of the 'namespace' attribute to the given value.

func (*CredentialRequestBuilder) PolicyPermissions ¶ added in v0.0.329

func (b *CredentialRequestBuilder) PolicyPermissions(values ...string) *CredentialRequestBuilder

PolicyPermissions sets the value of the 'policy_permissions' attribute to the given values.

func (*CredentialRequestBuilder) ServiceAccount ¶ added in v0.0.329

func (b *CredentialRequestBuilder) ServiceAccount(value string) *CredentialRequestBuilder

ServiceAccount sets the value of the 'service_account' attribute to the given value.

type CredentialRequestList ¶ added in v0.0.329

type CredentialRequestList struct {
	// contains filtered or unexported fields
}

CredentialRequestList is a list of values of the 'credential_request' type.

func (*CredentialRequestList) Each ¶ added in v0.0.329

func (l *CredentialRequestList) Each(f func(item *CredentialRequest) 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 (*CredentialRequestList) Empty ¶ added in v0.0.329

func (l *CredentialRequestList) Empty() bool

Empty returns true if the list is empty.

func (*CredentialRequestList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*CredentialRequestList) Len ¶ added in v0.0.329

func (l *CredentialRequestList) Len() int

Len returns the length of the list.

func (*CredentialRequestList) Range ¶ added in v0.0.329

func (l *CredentialRequestList) Range(f func(index int, item *CredentialRequest) 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 (*CredentialRequestList) Slice ¶ added in v0.0.329

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 CredentialRequestListBuilder ¶ added in v0.0.329

type CredentialRequestListBuilder struct {
	// contains filtered or unexported fields
}

CredentialRequestListBuilder contains the data and logic needed to build 'credential_request' objects.

func NewCredentialRequestList ¶ added in v0.0.329

func NewCredentialRequestList() *CredentialRequestListBuilder

NewCredentialRequestList creates a new builder of 'credential_request' objects.

func (*CredentialRequestListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'credential_request' objects using the configuration stored in the builder.

func (*CredentialRequestListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*CredentialRequestListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*CredentialRequestListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type CredentialsClient ¶

type CredentialsClient struct {
	// contains filtered or unexported fields
}

CredentialsClient is the client of the 'credentials' resource.

Manages the credentials of a cluster.

func NewCredentialsClient ¶

func NewCredentialsClient(transport http.RoundTripper, path string) *CredentialsClient

NewCredentialsClient creates a new client for the 'credentials' resource using the given transport to send the requests and receive the responses.

func (*CredentialsClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the details of the credentials of a cluster.

func (*CredentialsClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type CredentialsGetRequest ¶

type CredentialsGetRequest struct {
	// contains filtered or unexported fields
}

CredentialsGetRequest is the request for the 'get' method.

func (*CredentialsGetRequest) Header ¶

func (r *CredentialsGetRequest) Header(name string, value interface{}) *CredentialsGetRequest

Header adds a request header.

func (*CredentialsGetRequest) Impersonate ¶ added in v0.0.329

func (r *CredentialsGetRequest) Impersonate(user string) *CredentialsGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*CredentialsGetRequest) Parameter ¶

func (r *CredentialsGetRequest) Parameter(name string, value interface{}) *CredentialsGetRequest

Parameter adds a query parameter.

func (*CredentialsGetRequest) Send ¶

func (r *CredentialsGetRequest) Send() (result *CredentialsGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*CredentialsGetRequest) SendContext ¶

func (r *CredentialsGetRequest) SendContext(ctx context.Context) (result *CredentialsGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type CredentialsGetResponse ¶

type CredentialsGetResponse struct {
	// contains filtered or unexported fields
}

CredentialsGetResponse is the response for the 'get' method.

func (*CredentialsGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*CredentialsGetResponse) Error ¶

func (r *CredentialsGetResponse) Error() *errors.Error

Error returns the response error.

func (*CredentialsGetResponse) GetBody ¶

func (r *CredentialsGetResponse) GetBody() (value *ClusterCredentials, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*CredentialsGetResponse) Header ¶

func (r *CredentialsGetResponse) Header() http.Header

Header returns header of the response.

func (*CredentialsGetResponse) Status ¶

func (r *CredentialsGetResponse) Status() int

Status returns the response status code.

type CredentialsPollRequest ¶

type CredentialsPollRequest struct {
	// contains filtered or unexported fields
}

CredentialsPollRequest is the request for the Poll method.

func (*CredentialsPollRequest) Header ¶

func (r *CredentialsPollRequest) Header(name string, value interface{}) *CredentialsPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*CredentialsPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*CredentialsPollRequest) Parameter ¶

func (r *CredentialsPollRequest) Parameter(name string, value interface{}) *CredentialsPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*CredentialsPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*CredentialsPollRequest) StartContext ¶

func (r *CredentialsPollRequest) StartContext(ctx context.Context) (response *CredentialsPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*CredentialsPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type CredentialsPollResponse ¶

type CredentialsPollResponse struct {
	// contains filtered or unexported fields
}

CredentialsPollResponse is the response for the Poll method.

func (*CredentialsPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*CredentialsPollResponse) Error ¶

func (r *CredentialsPollResponse) Error() *errors.Error

Error returns the response error.

func (*CredentialsPollResponse) GetBody ¶

func (r *CredentialsPollResponse) GetBody() (value *ClusterCredentials, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*CredentialsPollResponse) Header ¶

func (r *CredentialsPollResponse) Header() http.Header

Header returns header of the response.

func (*CredentialsPollResponse) Status ¶

func (r *CredentialsPollResponse) Status() int

Status returns the response status code.

type DNS ¶

type DNS struct {
	// contains filtered or unexported fields
}

DNS represents the values of the 'DNS' type.

DNS settings of the cluster.

func UnmarshalDNS ¶

func UnmarshalDNS(source interface{}) (object *DNS, err error)

UnmarshalDNS reads a value of the 'DNS' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalDNSList ¶

func UnmarshalDNSList(source interface{}) (items []*DNS, err error)

UnmarshalDNSList reads a list of values of the 'DNS' type from the given source, which can be a slice of bytes, a string or a reader.

func (*DNS) BaseDomain ¶

func (o *DNS) BaseDomain() string

BaseDomain returns the value of the 'base_domain' attribute, or the zero value of the type if the attribute doesn't have a value.

Base DNS domain of the cluster.

During the installation of the cluster it is necessary to create multiple DNS records. They will be created as sub-domains of this domain. For example, if the domain_prefix of the cluster is `mycluster` and the base domain is `example.com` then the following DNS records will be created:

``` mycluster-api.example.com mycluster-etcd-0.example.com mycluster-etcd-1.example.com mycluster-etcd-3.example.com ```

The exact number, type and names of the created DNS record depends on the characteristics of the cluster, and may be different for different versions of _OpenShift_. Please don't rely on them. For example, to find what is the URL of the Kubernetes API server of the cluster don't assume that it will be `mycluster-api.example.com`. Instead of that use this API to retrieve the description of the cluster, and get it from the `api.url` attribute. For example, if the identifier of the cluster is `123` send a request like this:

```http GET /api/clusters_mgmt/v1/clusters/123 HTTP/1.1 ```

That will return a response like this, including the `api.url` attribute:

```json

{
    "kind": "Cluster",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/clusters/123",
        "api": {
        "url": "https://mycluster-api.example.com:6443"
    },
    ...
}

```

When the cluster is created in Amazon Web Services it is necessary to create this base DNS domain in advance, using AWS Route53 (https://console.aws.amazon.com/route53).

func (*DNS) Empty ¶

func (o *DNS) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*DNS) GetBaseDomain ¶

func (o *DNS) GetBaseDomain() (value string, ok bool)

GetBaseDomain returns the value of the 'base_domain' attribute and a flag indicating if the attribute has a value.

Base DNS domain of the cluster.

During the installation of the cluster it is necessary to create multiple DNS records. They will be created as sub-domains of this domain. For example, if the domain_prefix of the cluster is `mycluster` and the base domain is `example.com` then the following DNS records will be created:

``` mycluster-api.example.com mycluster-etcd-0.example.com mycluster-etcd-1.example.com mycluster-etcd-3.example.com ```

The exact number, type and names of the created DNS record depends on the characteristics of the cluster, and may be different for different versions of _OpenShift_. Please don't rely on them. For example, to find what is the URL of the Kubernetes API server of the cluster don't assume that it will be `mycluster-api.example.com`. Instead of that use this API to retrieve the description of the cluster, and get it from the `api.url` attribute. For example, if the identifier of the cluster is `123` send a request like this:

```http GET /api/clusters_mgmt/v1/clusters/123 HTTP/1.1 ```

That will return a response like this, including the `api.url` attribute:

```json

{
    "kind": "Cluster",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/clusters/123",
        "api": {
        "url": "https://mycluster-api.example.com:6443"
    },
    ...
}

```

When the cluster is created in Amazon Web Services it is necessary to create this base DNS domain in advance, using AWS Route53 (https://console.aws.amazon.com/route53).

type DNSBuilder ¶

type DNSBuilder struct {
	// contains filtered or unexported fields
}

DNSBuilder contains the data and logic needed to build 'DNS' objects.

DNS settings of the cluster.

func NewDNS ¶

func NewDNS() *DNSBuilder

NewDNS creates a new builder of 'DNS' objects.

func (*DNSBuilder) BaseDomain ¶

func (b *DNSBuilder) BaseDomain(value string) *DNSBuilder

BaseDomain sets the value of the 'base_domain' attribute to the given value.

func (*DNSBuilder) Build ¶

func (b *DNSBuilder) Build() (object *DNS, err error)

Build creates a 'DNS' object using the configuration stored in the builder.

func (*DNSBuilder) Copy ¶

func (b *DNSBuilder) Copy(object *DNS) *DNSBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*DNSBuilder) Empty ¶ added in v0.0.329

func (b *DNSBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

type DNSDomain ¶ added in v0.1.342

type DNSDomain struct {
	// contains filtered or unexported fields
}

DNSDomain represents the values of the 'DNS_domain' type.

Contains the properties of a DNS domain.

func UnmarshalDNSDomain ¶ added in v0.1.342

func UnmarshalDNSDomain(source interface{}) (object *DNSDomain, err error)

UnmarshalDNSDomain reads a value of the 'DNS_domain' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalDNSDomainList ¶ added in v0.1.342

func UnmarshalDNSDomainList(source interface{}) (items []*DNSDomain, err error)

UnmarshalDNSDomainList reads a list of values of the 'DNS_domain' type from the given source, which can be a slice of bytes, a string or a reader.

func (*DNSDomain) Cluster ¶ added in v0.1.358

func (o *DNSDomain) Cluster() *ClusterLink

Cluster returns the value of the 'cluster' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the cluster that is registered with the DNS domain (optional).

func (*DNSDomain) Empty ¶ added in v0.1.342

func (o *DNSDomain) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*DNSDomain) GetCluster ¶ added in v0.1.358

func (o *DNSDomain) GetCluster() (value *ClusterLink, ok bool)

GetCluster returns the value of the 'cluster' attribute and a flag indicating if the attribute has a value.

Link to the cluster that is registered with the DNS domain (optional).

func (*DNSDomain) GetHREF ¶ added in v0.1.342

func (o *DNSDomain) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*DNSDomain) GetID ¶ added in v0.1.342

func (o *DNSDomain) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*DNSDomain) GetOrganization ¶ added in v0.1.358

func (o *DNSDomain) GetOrganization() (value *OrganizationLink, ok bool)

GetOrganization returns the value of the 'organization' attribute and a flag indicating if the attribute has a value.

Link to the organization that reserved the DNS domain.

func (*DNSDomain) GetReservedAtTimestamp ¶ added in v0.1.350

func (o *DNSDomain) GetReservedAtTimestamp() (value time.Time, ok bool)

GetReservedAtTimestamp returns the value of the 'reserved_at_timestamp' attribute and a flag indicating if the attribute has a value.

Date and time when the DNS domain was reserved.

func (*DNSDomain) GetUserDefined ¶ added in v0.1.355

func (o *DNSDomain) GetUserDefined() (value bool, ok bool)

GetUserDefined returns the value of the 'user_defined' attribute and a flag indicating if the attribute has a value.

Indicates if this dns domain is user defined.

func (*DNSDomain) HREF ¶ added in v0.1.342

func (o *DNSDomain) HREF() string

HREF returns the link to the object.

func (*DNSDomain) ID ¶ added in v0.1.342

func (o *DNSDomain) ID() string

ID returns the identifier of the object.

func (*DNSDomain) Kind ¶ added in v0.1.342

func (o *DNSDomain) Kind() string

Kind returns the name of the type of the object.

func (o *DNSDomain) Link() bool

Link returns true iif this is a link.

func (*DNSDomain) Organization ¶ added in v0.1.358

func (o *DNSDomain) Organization() *OrganizationLink

Organization returns the value of the 'organization' attribute, or the zero value of the type if the attribute doesn't have a value.

Link to the organization that reserved the DNS domain.

func (*DNSDomain) ReservedAtTimestamp ¶ added in v0.1.350

func (o *DNSDomain) ReservedAtTimestamp() time.Time

ReservedAtTimestamp returns the value of the 'reserved_at_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

Date and time when the DNS domain was reserved.

func (*DNSDomain) UserDefined ¶ added in v0.1.355

func (o *DNSDomain) UserDefined() bool

UserDefined returns the value of the 'user_defined' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates if this dns domain is user defined.

type DNSDomainBuilder ¶ added in v0.1.342

type DNSDomainBuilder struct {
	// contains filtered or unexported fields
}

DNSDomainBuilder contains the data and logic needed to build 'DNS_domain' objects.

Contains the properties of a DNS domain.

func NewDNSDomain ¶ added in v0.1.342

func NewDNSDomain() *DNSDomainBuilder

NewDNSDomain creates a new builder of 'DNS_domain' objects.

func (*DNSDomainBuilder) Build ¶ added in v0.1.342

func (b *DNSDomainBuilder) Build() (object *DNSDomain, err error)

Build creates a 'DNS_domain' object using the configuration stored in the builder.

func (*DNSDomainBuilder) Cluster ¶ added in v0.1.358

Cluster sets the value of the 'cluster' attribute to the given value.

Definition of a cluster link.

func (*DNSDomainBuilder) Copy ¶ added in v0.1.342

func (b *DNSDomainBuilder) Copy(object *DNSDomain) *DNSDomainBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*DNSDomainBuilder) Empty ¶ added in v0.1.342

func (b *DNSDomainBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*DNSDomainBuilder) HREF ¶ added in v0.1.342

func (b *DNSDomainBuilder) HREF(value string) *DNSDomainBuilder

HREF sets the link to the object.

func (*DNSDomainBuilder) ID ¶ added in v0.1.342

ID sets the identifier of the object.

func (b *DNSDomainBuilder) Link(value bool) *DNSDomainBuilder

Link sets the flag that indicates if this is a link.

func (*DNSDomainBuilder) Organization ¶ added in v0.1.358

Organization sets the value of the 'organization' attribute to the given value.

Definition of an organization link.

func (*DNSDomainBuilder) ReservedAtTimestamp ¶ added in v0.1.350

func (b *DNSDomainBuilder) ReservedAtTimestamp(value time.Time) *DNSDomainBuilder

ReservedAtTimestamp sets the value of the 'reserved_at_timestamp' attribute to the given value.

func (*DNSDomainBuilder) UserDefined ¶ added in v0.1.355

func (b *DNSDomainBuilder) UserDefined(value bool) *DNSDomainBuilder

UserDefined sets the value of the 'user_defined' attribute to the given value.

type DNSDomainClient ¶ added in v0.1.342

type DNSDomainClient struct {
	// contains filtered or unexported fields
}

DNSDomainClient is the client of the 'DNS_domain' resource.

Manages DNS domain.

func NewDNSDomainClient ¶ added in v0.1.342

func NewDNSDomainClient(transport http.RoundTripper, path string) *DNSDomainClient

NewDNSDomainClient creates a new client for the 'DNS_domain' resource using the given transport to send the requests and receive the responses.

func (*DNSDomainClient) Delete ¶ added in v0.1.342

Delete creates a request for the 'delete' method.

Delete the DNS domain.

func (*DNSDomainClient) Get ¶ added in v0.1.342

Get creates a request for the 'get' method.

Retrieves the details of the DNS domain.

func (*DNSDomainClient) Poll ¶ added in v0.1.342

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type DNSDomainDeleteRequest ¶ added in v0.1.342

type DNSDomainDeleteRequest struct {
	// contains filtered or unexported fields
}

DNSDomainDeleteRequest is the request for the 'delete' method.

func (*DNSDomainDeleteRequest) Header ¶ added in v0.1.342

func (r *DNSDomainDeleteRequest) Header(name string, value interface{}) *DNSDomainDeleteRequest

Header adds a request header.

func (*DNSDomainDeleteRequest) Impersonate ¶ added in v0.1.342

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*DNSDomainDeleteRequest) Parameter ¶ added in v0.1.342

func (r *DNSDomainDeleteRequest) Parameter(name string, value interface{}) *DNSDomainDeleteRequest

Parameter adds a query parameter.

func (*DNSDomainDeleteRequest) Send ¶ added in v0.1.342

func (r *DNSDomainDeleteRequest) Send() (result *DNSDomainDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*DNSDomainDeleteRequest) SendContext ¶ added in v0.1.342

func (r *DNSDomainDeleteRequest) SendContext(ctx context.Context) (result *DNSDomainDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type DNSDomainDeleteResponse ¶ added in v0.1.342

type DNSDomainDeleteResponse struct {
	// contains filtered or unexported fields
}

DNSDomainDeleteResponse is the response for the 'delete' method.

func (*DNSDomainDeleteResponse) Error ¶ added in v0.1.342

func (r *DNSDomainDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*DNSDomainDeleteResponse) Header ¶ added in v0.1.342

func (r *DNSDomainDeleteResponse) Header() http.Header

Header returns header of the response.

func (*DNSDomainDeleteResponse) Status ¶ added in v0.1.342

func (r *DNSDomainDeleteResponse) Status() int

Status returns the response status code.

type DNSDomainGetRequest ¶ added in v0.1.342

type DNSDomainGetRequest struct {
	// contains filtered or unexported fields
}

DNSDomainGetRequest is the request for the 'get' method.

func (*DNSDomainGetRequest) Header ¶ added in v0.1.342

func (r *DNSDomainGetRequest) Header(name string, value interface{}) *DNSDomainGetRequest

Header adds a request header.

func (*DNSDomainGetRequest) Impersonate ¶ added in v0.1.342

func (r *DNSDomainGetRequest) Impersonate(user string) *DNSDomainGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*DNSDomainGetRequest) Parameter ¶ added in v0.1.342

func (r *DNSDomainGetRequest) Parameter(name string, value interface{}) *DNSDomainGetRequest

Parameter adds a query parameter.

func (*DNSDomainGetRequest) Send ¶ added in v0.1.342

func (r *DNSDomainGetRequest) Send() (result *DNSDomainGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*DNSDomainGetRequest) SendContext ¶ added in v0.1.342

func (r *DNSDomainGetRequest) SendContext(ctx context.Context) (result *DNSDomainGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type DNSDomainGetResponse ¶ added in v0.1.342

type DNSDomainGetResponse struct {
	// contains filtered or unexported fields
}

DNSDomainGetResponse is the response for the 'get' method.

func (*DNSDomainGetResponse) Body ¶ added in v0.1.342

func (r *DNSDomainGetResponse) Body() *DNSDomain

Body returns the value of the 'body' parameter.

func (*DNSDomainGetResponse) Error ¶ added in v0.1.342

func (r *DNSDomainGetResponse) Error() *errors.Error

Error returns the response error.

func (*DNSDomainGetResponse) GetBody ¶ added in v0.1.342

func (r *DNSDomainGetResponse) GetBody() (value *DNSDomain, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*DNSDomainGetResponse) Header ¶ added in v0.1.342

func (r *DNSDomainGetResponse) Header() http.Header

Header returns header of the response.

func (*DNSDomainGetResponse) Status ¶ added in v0.1.342

func (r *DNSDomainGetResponse) Status() int

Status returns the response status code.

type DNSDomainList ¶ added in v0.1.342

type DNSDomainList struct {
	// contains filtered or unexported fields
}

DNSDomainList is a list of values of the 'DNS_domain' type.

func (*DNSDomainList) Each ¶ added in v0.1.342

func (l *DNSDomainList) Each(f func(item *DNSDomain) 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 (*DNSDomainList) Empty ¶ added in v0.1.342

func (l *DNSDomainList) Empty() bool

Empty returns true if the list is empty.

func (*DNSDomainList) Get ¶ added in v0.1.342

func (l *DNSDomainList) Get(i int) *DNSDomain

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*DNSDomainList) GetHREF ¶ added in v0.1.342

func (l *DNSDomainList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*DNSDomainList) HREF ¶ added in v0.1.342

func (l *DNSDomainList) HREF() string

HREF returns the link to the list.

func (*DNSDomainList) Kind ¶ added in v0.1.342

func (l *DNSDomainList) Kind() string

Kind returns the name of the type of the object.

func (*DNSDomainList) Len ¶ added in v0.1.342

func (l *DNSDomainList) Len() int

Len returns the length of the list.

func (l *DNSDomainList) Link() bool

Link returns true iif this is a link.

func (*DNSDomainList) Range ¶ added in v0.1.342

func (l *DNSDomainList) Range(f func(index int, item *DNSDomain) 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 (*DNSDomainList) Slice ¶ added in v0.1.342

func (l *DNSDomainList) Slice() []*DNSDomain

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 DNSDomainListBuilder ¶ added in v0.1.342

type DNSDomainListBuilder struct {
	// contains filtered or unexported fields
}

DNSDomainListBuilder contains the data and logic needed to build 'DNS_domain' objects.

func NewDNSDomainList ¶ added in v0.1.342

func NewDNSDomainList() *DNSDomainListBuilder

NewDNSDomainList creates a new builder of 'DNS_domain' objects.

func (*DNSDomainListBuilder) Build ¶ added in v0.1.342

func (b *DNSDomainListBuilder) Build() (list *DNSDomainList, err error)

Build creates a list of 'DNS_domain' objects using the configuration stored in the builder.

func (*DNSDomainListBuilder) Copy ¶ added in v0.1.342

Copy copies the items of the given list into this builder, discarding any previous items.

func (*DNSDomainListBuilder) Empty ¶ added in v0.1.342

func (b *DNSDomainListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*DNSDomainListBuilder) Items ¶ added in v0.1.342

Items sets the items of the list.

type DNSDomainPollRequest ¶ added in v0.1.342

type DNSDomainPollRequest struct {
	// contains filtered or unexported fields
}

DNSDomainPollRequest is the request for the Poll method.

func (*DNSDomainPollRequest) Header ¶ added in v0.1.342

func (r *DNSDomainPollRequest) Header(name string, value interface{}) *DNSDomainPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*DNSDomainPollRequest) Interval ¶ added in v0.1.342

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*DNSDomainPollRequest) Parameter ¶ added in v0.1.342

func (r *DNSDomainPollRequest) Parameter(name string, value interface{}) *DNSDomainPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*DNSDomainPollRequest) Predicate ¶ added in v0.1.342

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*DNSDomainPollRequest) StartContext ¶ added in v0.1.342

func (r *DNSDomainPollRequest) StartContext(ctx context.Context) (response *DNSDomainPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*DNSDomainPollRequest) Status ¶ added in v0.1.342

func (r *DNSDomainPollRequest) Status(value int) *DNSDomainPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type DNSDomainPollResponse ¶ added in v0.1.342

type DNSDomainPollResponse struct {
	// contains filtered or unexported fields
}

DNSDomainPollResponse is the response for the Poll method.

func (*DNSDomainPollResponse) Body ¶ added in v0.1.342

func (r *DNSDomainPollResponse) Body() *DNSDomain

Body returns the value of the 'body' parameter.

func (*DNSDomainPollResponse) Error ¶ added in v0.1.342

func (r *DNSDomainPollResponse) Error() *errors.Error

Error returns the response error.

func (*DNSDomainPollResponse) GetBody ¶ added in v0.1.342

func (r *DNSDomainPollResponse) GetBody() (value *DNSDomain, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*DNSDomainPollResponse) Header ¶ added in v0.1.342

func (r *DNSDomainPollResponse) Header() http.Header

Header returns header of the response.

func (*DNSDomainPollResponse) Status ¶ added in v0.1.342

func (r *DNSDomainPollResponse) Status() int

Status returns the response status code.

type DNSDomainsAddRequest ¶ added in v0.1.342

type DNSDomainsAddRequest struct {
	// contains filtered or unexported fields
}

DNSDomainsAddRequest is the request for the 'add' method.

func (*DNSDomainsAddRequest) Body ¶ added in v0.1.342

Body sets the value of the 'body' parameter.

Description of the DNS domain.

func (*DNSDomainsAddRequest) Header ¶ added in v0.1.342

func (r *DNSDomainsAddRequest) Header(name string, value interface{}) *DNSDomainsAddRequest

Header adds a request header.

func (*DNSDomainsAddRequest) Impersonate ¶ added in v0.1.342

func (r *DNSDomainsAddRequest) Impersonate(user string) *DNSDomainsAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*DNSDomainsAddRequest) Parameter ¶ added in v0.1.342

func (r *DNSDomainsAddRequest) Parameter(name string, value interface{}) *DNSDomainsAddRequest

Parameter adds a query parameter.

func (*DNSDomainsAddRequest) Send ¶ added in v0.1.342

func (r *DNSDomainsAddRequest) Send() (result *DNSDomainsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*DNSDomainsAddRequest) SendContext ¶ added in v0.1.342

func (r *DNSDomainsAddRequest) SendContext(ctx context.Context) (result *DNSDomainsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type DNSDomainsAddResponse ¶ added in v0.1.342

type DNSDomainsAddResponse struct {
	// contains filtered or unexported fields
}

DNSDomainsAddResponse is the response for the 'add' method.

func (*DNSDomainsAddResponse) Body ¶ added in v0.1.342

func (r *DNSDomainsAddResponse) Body() *DNSDomain

Body returns the value of the 'body' parameter.

Description of the DNS domain.

func (*DNSDomainsAddResponse) Error ¶ added in v0.1.342

func (r *DNSDomainsAddResponse) Error() *errors.Error

Error returns the response error.

func (*DNSDomainsAddResponse) GetBody ¶ added in v0.1.342

func (r *DNSDomainsAddResponse) GetBody() (value *DNSDomain, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the DNS domain.

func (*DNSDomainsAddResponse) Header ¶ added in v0.1.342

func (r *DNSDomainsAddResponse) Header() http.Header

Header returns header of the response.

func (*DNSDomainsAddResponse) Status ¶ added in v0.1.342

func (r *DNSDomainsAddResponse) Status() int

Status returns the response status code.

type DNSDomainsClient ¶ added in v0.1.342

type DNSDomainsClient struct {
	// contains filtered or unexported fields
}

DNSDomainsClient is the client of the 'DNS_domains' resource.

Manages the collection of DNS domains.

func NewDNSDomainsClient ¶ added in v0.1.342

func NewDNSDomainsClient(transport http.RoundTripper, path string) *DNSDomainsClient

NewDNSDomainsClient creates a new client for the 'DNS_domains' resource using the given transport to send the requests and receive the responses.

func (*DNSDomainsClient) Add ¶ added in v0.1.342

Add creates a request for the 'add' method.

Adds a DNS domain.

func (*DNSDomainsClient) DNSDomain ¶ added in v0.1.342

func (c *DNSDomainsClient) DNSDomain(id string) *DNSDomainClient

DNSDomain returns the target 'DNS_domain' resource for the given identifier.

Reference to the resource that manages a specific DNS doamin.

func (*DNSDomainsClient) List ¶ added in v0.1.342

List creates a request for the 'list' method.

type DNSDomainsListRequest ¶ added in v0.1.342

type DNSDomainsListRequest struct {
	// contains filtered or unexported fields
}

DNSDomainsListRequest is the request for the 'list' method.

func (*DNSDomainsListRequest) Header ¶ added in v0.1.342

func (r *DNSDomainsListRequest) Header(name string, value interface{}) *DNSDomainsListRequest

Header adds a request header.

func (*DNSDomainsListRequest) Impersonate ¶ added in v0.1.342

func (r *DNSDomainsListRequest) Impersonate(user string) *DNSDomainsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*DNSDomainsListRequest) Page ¶ added in v0.1.342

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*DNSDomainsListRequest) Parameter ¶ added in v0.1.342

func (r *DNSDomainsListRequest) Parameter(name string, value interface{}) *DNSDomainsListRequest

Parameter adds a query parameter.

func (*DNSDomainsListRequest) Search ¶ added in v0.1.342

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the dns domain instead of the names of the columns of a table. For example, in order to retrieve all the dns domains with a ID starting with `02a5` should be:

```sql id like '02a5%' ```

If the parameter isn't provided, or if the value is empty, then all the dns domains that the user has permission to see will be returned.

func (*DNSDomainsListRequest) Send ¶ added in v0.1.342

func (r *DNSDomainsListRequest) Send() (result *DNSDomainsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*DNSDomainsListRequest) SendContext ¶ added in v0.1.342

func (r *DNSDomainsListRequest) SendContext(ctx context.Context) (result *DNSDomainsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*DNSDomainsListRequest) Size ¶ added in v0.1.342

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type DNSDomainsListResponse ¶ added in v0.1.342

type DNSDomainsListResponse struct {
	// contains filtered or unexported fields
}

DNSDomainsListResponse is the response for the 'list' method.

func (*DNSDomainsListResponse) Error ¶ added in v0.1.342

func (r *DNSDomainsListResponse) Error() *errors.Error

Error returns the response error.

func (*DNSDomainsListResponse) GetItems ¶ added in v0.1.342

func (r *DNSDomainsListResponse) GetItems() (value *DNSDomainList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved a list of DNS domains.

func (*DNSDomainsListResponse) GetPage ¶ added in v0.1.342

func (r *DNSDomainsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*DNSDomainsListResponse) GetSize ¶ added in v0.1.342

func (r *DNSDomainsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*DNSDomainsListResponse) GetTotal ¶ added in v0.1.342

func (r *DNSDomainsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*DNSDomainsListResponse) Header ¶ added in v0.1.342

func (r *DNSDomainsListResponse) Header() http.Header

Header returns header of the response.

func (*DNSDomainsListResponse) Items ¶ added in v0.1.342

Items returns the value of the 'items' parameter.

Retrieved a list of DNS domains.

func (*DNSDomainsListResponse) Page ¶ added in v0.1.342

func (r *DNSDomainsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*DNSDomainsListResponse) Size ¶ added in v0.1.342

func (r *DNSDomainsListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*DNSDomainsListResponse) Status ¶ added in v0.1.342

func (r *DNSDomainsListResponse) Status() int

Status returns the response status code.

func (*DNSDomainsListResponse) Total ¶ added in v0.1.342

func (r *DNSDomainsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

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) 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) 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 ¶ added in v0.0.329

func (b *DNSListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*DNSListBuilder) Items ¶

func (b *DNSListBuilder) Items(values ...*DNSBuilder) *DNSListBuilder

Items sets the items of the list.

type DeleteProtection ¶ added in v0.0.329

type DeleteProtection struct {
	// contains filtered or unexported fields
}

DeleteProtection represents the values of the 'delete_protection' type.

DeleteProtection configuration.

func UnmarshalDeleteProtection ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *DeleteProtection) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*DeleteProtection) Enabled ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type DeleteProtectionBuilder struct {
	// contains filtered or unexported fields
}

DeleteProtectionBuilder contains the data and logic needed to build 'delete_protection' objects.

DeleteProtection configuration.

func NewDeleteProtection ¶ added in v0.0.329

func NewDeleteProtection() *DeleteProtectionBuilder

NewDeleteProtection creates a new builder of 'delete_protection' objects.

func (*DeleteProtectionBuilder) Build ¶ added in v0.0.329

func (b *DeleteProtectionBuilder) Build() (object *DeleteProtection, err error)

Build creates a 'delete_protection' object using the configuration stored in the builder.

func (*DeleteProtectionBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*DeleteProtectionBuilder) Empty ¶ added in v0.0.329

func (b *DeleteProtectionBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*DeleteProtectionBuilder) Enabled ¶ added in v0.0.329

Enabled sets the value of the 'enabled' attribute to the given value.

type DeleteProtectionClient ¶ added in v0.0.329

type DeleteProtectionClient struct {
	// contains filtered or unexported fields
}

DeleteProtectionClient is the client of the 'delete_protection' resource.

Manages delete protection specific parts for a specific cluster.

func NewDeleteProtectionClient ¶ added in v0.0.329

func NewDeleteProtectionClient(transport http.RoundTripper, path string) *DeleteProtectionClient

NewDeleteProtectionClient creates a new client for the 'delete_protection' resource using the given transport to send the requests and receive the responses.

func (*DeleteProtectionClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

func (*DeleteProtectionClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*DeleteProtectionClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

type DeleteProtectionGetRequest ¶ added in v0.0.329

type DeleteProtectionGetRequest struct {
	// contains filtered or unexported fields
}

DeleteProtectionGetRequest is the request for the 'get' method.

func (*DeleteProtectionGetRequest) Header ¶ added in v0.0.329

func (r *DeleteProtectionGetRequest) Header(name string, value interface{}) *DeleteProtectionGetRequest

Header adds a request header.

func (*DeleteProtectionGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*DeleteProtectionGetRequest) Parameter ¶ added in v0.0.329

func (r *DeleteProtectionGetRequest) Parameter(name string, value interface{}) *DeleteProtectionGetRequest

Parameter adds a query parameter.

func (*DeleteProtectionGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*DeleteProtectionGetRequest) SendContext ¶ added in v0.0.329

func (r *DeleteProtectionGetRequest) SendContext(ctx context.Context) (result *DeleteProtectionGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type DeleteProtectionGetResponse ¶ added in v0.0.329

type DeleteProtectionGetResponse struct {
	// contains filtered or unexported fields
}

DeleteProtectionGetResponse is the response for the 'get' method.

func (*DeleteProtectionGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*DeleteProtectionGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*DeleteProtectionGetResponse) GetBody ¶ added in v0.0.329

func (r *DeleteProtectionGetResponse) GetBody() (value *DeleteProtection, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*DeleteProtectionGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*DeleteProtectionGetResponse) Status ¶ added in v0.0.329

func (r *DeleteProtectionGetResponse) Status() int

Status returns the response status code.

type DeleteProtectionList ¶ added in v0.0.329

type DeleteProtectionList struct {
	// contains filtered or unexported fields
}

DeleteProtectionList is a list of values of the 'delete_protection' type.

func (*DeleteProtectionList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *DeleteProtectionList) Empty() bool

Empty returns true if the list is empty.

func (*DeleteProtectionList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*DeleteProtectionList) Len ¶ added in v0.0.329

func (l *DeleteProtectionList) Len() int

Len returns the length of the list.

func (*DeleteProtectionList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type DeleteProtectionListBuilder struct {
	// contains filtered or unexported fields
}

DeleteProtectionListBuilder contains the data and logic needed to build 'delete_protection' objects.

func NewDeleteProtectionList ¶ added in v0.0.329

func NewDeleteProtectionList() *DeleteProtectionListBuilder

NewDeleteProtectionList creates a new builder of 'delete_protection' objects.

func (*DeleteProtectionListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*DeleteProtectionListBuilder) Empty ¶ added in v0.0.329

func (b *DeleteProtectionListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*DeleteProtectionListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type DeleteProtectionPollRequest ¶ added in v0.0.329

type DeleteProtectionPollRequest struct {
	// contains filtered or unexported fields
}

DeleteProtectionPollRequest is the request for the Poll method.

func (*DeleteProtectionPollRequest) Header ¶ added in v0.0.329

func (r *DeleteProtectionPollRequest) Header(name string, value interface{}) *DeleteProtectionPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*DeleteProtectionPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*DeleteProtectionPollRequest) Parameter ¶ added in v0.0.329

func (r *DeleteProtectionPollRequest) Parameter(name string, value interface{}) *DeleteProtectionPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*DeleteProtectionPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*DeleteProtectionPollRequest) StartContext ¶ added in v0.0.329

func (r *DeleteProtectionPollRequest) StartContext(ctx context.Context) (response *DeleteProtectionPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*DeleteProtectionPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type DeleteProtectionPollResponse ¶ added in v0.0.329

type DeleteProtectionPollResponse struct {
	// contains filtered or unexported fields
}

DeleteProtectionPollResponse is the response for the Poll method.

func (*DeleteProtectionPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*DeleteProtectionPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*DeleteProtectionPollResponse) GetBody ¶ added in v0.0.329

func (r *DeleteProtectionPollResponse) GetBody() (value *DeleteProtection, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*DeleteProtectionPollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*DeleteProtectionPollResponse) Status ¶ added in v0.0.329

func (r *DeleteProtectionPollResponse) Status() int

Status returns the response status code.

type DeleteProtectionUpdateRequest ¶ added in v0.0.329

type DeleteProtectionUpdateRequest struct {
	// contains filtered or unexported fields
}

DeleteProtectionUpdateRequest is the request for the 'update' method.

func (*DeleteProtectionUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*DeleteProtectionUpdateRequest) Header ¶ added in v0.0.329

func (r *DeleteProtectionUpdateRequest) Header(name string, value interface{}) *DeleteProtectionUpdateRequest

Header adds a request header.

func (*DeleteProtectionUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*DeleteProtectionUpdateRequest) Parameter ¶ added in v0.0.329

func (r *DeleteProtectionUpdateRequest) Parameter(name string, value interface{}) *DeleteProtectionUpdateRequest

Parameter adds a query parameter.

func (*DeleteProtectionUpdateRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*DeleteProtectionUpdateRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type DeleteProtectionUpdateResponse ¶ added in v0.0.329

type DeleteProtectionUpdateResponse struct {
	// contains filtered or unexported fields
}

DeleteProtectionUpdateResponse is the response for the 'update' method.

func (*DeleteProtectionUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*DeleteProtectionUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*DeleteProtectionUpdateResponse) GetBody ¶ added in v0.0.329

func (r *DeleteProtectionUpdateResponse) GetBody() (value *DeleteProtection, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*DeleteProtectionUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*DeleteProtectionUpdateResponse) Status ¶ added in v0.0.329

func (r *DeleteProtectionUpdateResponse) Status() int

Status returns the response status code.

type DetectionType ¶ added in v0.0.329

type DetectionType string

DetectionType represents the values of the 'detection_type' enumerated type.

const (
	//
	DetectionTypeAuto DetectionType = "auto"
	//
	DetectionTypeManual DetectionType = "manual"
)

func UnmarshalDetectionTypeList ¶ added in v0.0.329

func UnmarshalDetectionTypeList(source interface{}) (items []DetectionType, err error)

UnmarshalDetectionTypeList reads a list of values of the 'detection_type' type from the given source, which can be a slice of bytes, a string or a reader.

type Ec2MetadataHttpTokens ¶ added in v0.1.341

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 UnmarshalEc2MetadataHttpTokensList ¶ added in v0.1.341

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 EncryptionKey ¶ added in v0.0.329

type EncryptionKey struct {
	// contains filtered or unexported fields
}

EncryptionKey represents the values of the 'encryption_key' type.

Description of a cloud provider encryption key.

func UnmarshalEncryptionKey ¶ added in v0.0.329

func UnmarshalEncryptionKey(source interface{}) (object *EncryptionKey, err error)

UnmarshalEncryptionKey reads a value of the 'encryption_key' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalEncryptionKeyList ¶ added in v0.0.329

func UnmarshalEncryptionKeyList(source interface{}) (items []*EncryptionKey, err error)

UnmarshalEncryptionKeyList reads a list of values of the 'encryption_key' type from the given source, which can be a slice of bytes, a string or a reader.

func (*EncryptionKey) Empty ¶ added in v0.0.329

func (o *EncryptionKey) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*EncryptionKey) GetHREF ¶ added in v0.0.329

func (o *EncryptionKey) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*EncryptionKey) GetID ¶ added in v0.0.329

func (o *EncryptionKey) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*EncryptionKey) GetName ¶ added in v0.0.329

func (o *EncryptionKey) 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 encryption key.

func (*EncryptionKey) HREF ¶ added in v0.0.329

func (o *EncryptionKey) HREF() string

HREF returns the link to the object.

func (*EncryptionKey) ID ¶ added in v0.0.329

func (o *EncryptionKey) ID() string

ID returns the identifier of the object.

func (*EncryptionKey) Kind ¶ added in v0.0.329

func (o *EncryptionKey) Kind() string

Kind returns the name of the type of the object.

func (o *EncryptionKey) Link() bool

Link returns true iif this is a link.

func (*EncryptionKey) Name ¶ added in v0.0.329

func (o *EncryptionKey) 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 encryption key.

type EncryptionKeyBuilder ¶ added in v0.0.329

type EncryptionKeyBuilder struct {
	// contains filtered or unexported fields
}

EncryptionKeyBuilder contains the data and logic needed to build 'encryption_key' objects.

Description of a cloud provider encryption key.

func NewEncryptionKey ¶ added in v0.0.329

func NewEncryptionKey() *EncryptionKeyBuilder

NewEncryptionKey creates a new builder of 'encryption_key' objects.

func (*EncryptionKeyBuilder) Build ¶ added in v0.0.329

func (b *EncryptionKeyBuilder) Build() (object *EncryptionKey, err error)

Build creates a 'encryption_key' object using the configuration stored in the builder.

func (*EncryptionKeyBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*EncryptionKeyBuilder) Empty ¶ added in v0.0.329

func (b *EncryptionKeyBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*EncryptionKeyBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*EncryptionKeyBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*EncryptionKeyBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

type EncryptionKeyList ¶ added in v0.0.329

type EncryptionKeyList struct {
	// contains filtered or unexported fields
}

EncryptionKeyList is a list of values of the 'encryption_key' type.

func (*EncryptionKeyList) Each ¶ added in v0.0.329

func (l *EncryptionKeyList) Each(f func(item *EncryptionKey) 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 (*EncryptionKeyList) Empty ¶ added in v0.0.329

func (l *EncryptionKeyList) Empty() bool

Empty returns true if the list is empty.

func (*EncryptionKeyList) Get ¶ added in v0.0.329

func (l *EncryptionKeyList) Get(i int) *EncryptionKey

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*EncryptionKeyList) GetHREF ¶ added in v0.0.329

func (l *EncryptionKeyList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*EncryptionKeyList) HREF ¶ added in v0.0.329

func (l *EncryptionKeyList) HREF() string

HREF returns the link to the list.

func (*EncryptionKeyList) Kind ¶ added in v0.0.329

func (l *EncryptionKeyList) Kind() string

Kind returns the name of the type of the object.

func (*EncryptionKeyList) Len ¶ added in v0.0.329

func (l *EncryptionKeyList) Len() int

Len returns the length of the list.

func (l *EncryptionKeyList) Link() bool

Link returns true iif this is a link.

func (*EncryptionKeyList) Range ¶ added in v0.0.329

func (l *EncryptionKeyList) Range(f func(index int, item *EncryptionKey) 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 (*EncryptionKeyList) Slice ¶ added in v0.0.329

func (l *EncryptionKeyList) Slice() []*EncryptionKey

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 EncryptionKeyListBuilder ¶ added in v0.0.329

type EncryptionKeyListBuilder struct {
	// contains filtered or unexported fields
}

EncryptionKeyListBuilder contains the data and logic needed to build 'encryption_key' objects.

func NewEncryptionKeyList ¶ added in v0.0.329

func NewEncryptionKeyList() *EncryptionKeyListBuilder

NewEncryptionKeyList creates a new builder of 'encryption_key' objects.

func (*EncryptionKeyListBuilder) Build ¶ added in v0.0.329

func (b *EncryptionKeyListBuilder) Build() (list *EncryptionKeyList, err error)

Build creates a list of 'encryption_key' objects using the configuration stored in the builder.

func (*EncryptionKeyListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*EncryptionKeyListBuilder) Empty ¶ added in v0.0.329

func (b *EncryptionKeyListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*EncryptionKeyListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type EncryptionKeysInquiryClient ¶ added in v0.0.329

type EncryptionKeysInquiryClient struct {
	// contains filtered or unexported fields
}

EncryptionKeysInquiryClient is the client of the 'encryption_keys_inquiry' resource.

Manages a specific encryption keys inquiry.

func NewEncryptionKeysInquiryClient ¶ added in v0.0.329

func NewEncryptionKeysInquiryClient(transport http.RoundTripper, path string) *EncryptionKeysInquiryClient

NewEncryptionKeysInquiryClient creates a new client for the 'encryption_keys_inquiry' resource using the given transport to send the requests and receive the responses.

func (*EncryptionKeysInquiryClient) Search ¶ added in v0.0.329

Search creates a request for the 'search' method.

Retrieves the list of encryption keys. IMPORTANT: This collection doesn't currently support paging or searching, so the returned `page` will always be 1 and `size` and `total` will always be the total number of available regions of the provider.

type EncryptionKeysInquirySearchRequest ¶ added in v0.0.329

type EncryptionKeysInquirySearchRequest struct {
	// contains filtered or unexported fields
}

EncryptionKeysInquirySearchRequest is the request for the 'search' method.

func (*EncryptionKeysInquirySearchRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Cloud provider data needed for the inquiry

func (*EncryptionKeysInquirySearchRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*EncryptionKeysInquirySearchRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*EncryptionKeysInquirySearchRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*EncryptionKeysInquirySearchRequest) Parameter ¶ added in v0.0.329

func (r *EncryptionKeysInquirySearchRequest) Parameter(name string, value interface{}) *EncryptionKeysInquirySearchRequest

Parameter adds a query parameter.

func (*EncryptionKeysInquirySearchRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*EncryptionKeysInquirySearchRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*EncryptionKeysInquirySearchRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

type EncryptionKeysInquirySearchResponse ¶ added in v0.0.329

type EncryptionKeysInquirySearchResponse struct {
	// contains filtered or unexported fields
}

EncryptionKeysInquirySearchResponse is the response for the 'search' method.

func (*EncryptionKeysInquirySearchResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*EncryptionKeysInquirySearchResponse) GetItems ¶ added in v0.0.329

func (r *EncryptionKeysInquirySearchResponse) GetItems() (value *EncryptionKeyList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of encryption keys.

func (*EncryptionKeysInquirySearchResponse) GetPage ¶ added in v0.0.329

func (r *EncryptionKeysInquirySearchResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*EncryptionKeysInquirySearchResponse) GetSize ¶ added in v0.0.329

func (r *EncryptionKeysInquirySearchResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

func (*EncryptionKeysInquirySearchResponse) GetTotal ¶ added in v0.0.329

func (r *EncryptionKeysInquirySearchResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available regions of the provider.

func (*EncryptionKeysInquirySearchResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*EncryptionKeysInquirySearchResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of encryption keys.

func (*EncryptionKeysInquirySearchResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*EncryptionKeysInquirySearchResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.

func (*EncryptionKeysInquirySearchResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*EncryptionKeysInquirySearchResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available regions of the provider.

type Environment ¶ added in v0.0.329

type Environment struct {
	// contains filtered or unexported fields
}

Environment represents the values of the 'environment' type.

Description of an environment

func UnmarshalEnvironment ¶ added in v0.0.329

func UnmarshalEnvironment(source interface{}) (object *Environment, err error)

UnmarshalEnvironment reads a value of the 'environment' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalEnvironmentList ¶ added in v0.0.329

func UnmarshalEnvironmentList(source interface{}) (items []*Environment, err error)

UnmarshalEnvironmentList reads a list of values of the 'environment' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Environment) BackplaneURL ¶ added in v0.1.374

func (o *Environment) BackplaneURL() string

BackplaneURL returns the value of the 'backplane_URL' attribute, or the zero value of the type if the attribute doesn't have a value.

the backplane url for the environment

func (*Environment) Empty ¶ added in v0.0.329

func (o *Environment) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Environment) GetBackplaneURL ¶ added in v0.1.374

func (o *Environment) GetBackplaneURL() (value string, ok bool)

GetBackplaneURL returns the value of the 'backplane_URL' attribute and a flag indicating if the attribute has a value.

the backplane url for the environment

func (*Environment) GetLastLimitedSupportCheck ¶ added in v0.0.329

func (o *Environment) GetLastLimitedSupportCheck() (value time.Time, ok bool)

GetLastLimitedSupportCheck returns the value of the 'last_limited_support_check' attribute and a flag indicating if the attribute has a value.

last time that the worker checked for limited support clusters

func (*Environment) GetLastUpgradeAvailableCheck ¶ added in v0.0.329

func (o *Environment) GetLastUpgradeAvailableCheck() (value time.Time, ok bool)

GetLastUpgradeAvailableCheck returns the value of the 'last_upgrade_available_check' attribute and a flag indicating if the attribute has a value.

last time that the worker checked for available upgrades

func (*Environment) GetName ¶ added in v0.0.329

func (o *Environment) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

environment name

func (*Environment) LastLimitedSupportCheck ¶ added in v0.0.329

func (o *Environment) LastLimitedSupportCheck() time.Time

LastLimitedSupportCheck returns the value of the 'last_limited_support_check' attribute, or the zero value of the type if the attribute doesn't have a value.

last time that the worker checked for limited support clusters

func (*Environment) LastUpgradeAvailableCheck ¶ added in v0.0.329

func (o *Environment) LastUpgradeAvailableCheck() time.Time

LastUpgradeAvailableCheck returns the value of the 'last_upgrade_available_check' attribute, or the zero value of the type if the attribute doesn't have a value.

last time that the worker checked for available upgrades

func (*Environment) Name ¶ added in v0.0.329

func (o *Environment) 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.

environment name

type EnvironmentBuilder ¶ added in v0.0.329

type EnvironmentBuilder struct {
	// contains filtered or unexported fields
}

EnvironmentBuilder contains the data and logic needed to build 'environment' objects.

Description of an environment

func NewEnvironment ¶ added in v0.0.329

func NewEnvironment() *EnvironmentBuilder

NewEnvironment creates a new builder of 'environment' objects.

func (*EnvironmentBuilder) BackplaneURL ¶ added in v0.1.374

func (b *EnvironmentBuilder) BackplaneURL(value string) *EnvironmentBuilder

BackplaneURL sets the value of the 'backplane_URL' attribute to the given value.

func (*EnvironmentBuilder) Build ¶ added in v0.0.329

func (b *EnvironmentBuilder) Build() (object *Environment, err error)

Build creates a 'environment' object using the configuration stored in the builder.

func (*EnvironmentBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*EnvironmentBuilder) Empty ¶ added in v0.0.329

func (b *EnvironmentBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*EnvironmentBuilder) LastLimitedSupportCheck ¶ added in v0.0.329

func (b *EnvironmentBuilder) LastLimitedSupportCheck(value time.Time) *EnvironmentBuilder

LastLimitedSupportCheck sets the value of the 'last_limited_support_check' attribute to the given value.

func (*EnvironmentBuilder) LastUpgradeAvailableCheck ¶ added in v0.0.329

func (b *EnvironmentBuilder) LastUpgradeAvailableCheck(value time.Time) *EnvironmentBuilder

LastUpgradeAvailableCheck sets the value of the 'last_upgrade_available_check' attribute to the given value.

func (*EnvironmentBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

type EnvironmentClient ¶ added in v0.0.329

type EnvironmentClient struct {
	// contains filtered or unexported fields
}

EnvironmentClient is the client of the 'environment' resource.

Manages a specific environment.

func NewEnvironmentClient ¶ added in v0.0.329

func NewEnvironmentClient(transport http.RoundTripper, path string) *EnvironmentClient

NewEnvironmentClient creates a new client for the 'environment' resource using the given transport to send the requests and receive the responses.

func (*EnvironmentClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the environment.

func (*EnvironmentClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*EnvironmentClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Updates the environment.

Attributes that can be updated are:

- `last_upgrade_available_check` - `last_limited_support_check`

type EnvironmentGetRequest ¶ added in v0.0.329

type EnvironmentGetRequest struct {
	// contains filtered or unexported fields
}

EnvironmentGetRequest is the request for the 'get' method.

func (*EnvironmentGetRequest) Header ¶ added in v0.0.329

func (r *EnvironmentGetRequest) Header(name string, value interface{}) *EnvironmentGetRequest

Header adds a request header.

func (*EnvironmentGetRequest) Impersonate ¶ added in v0.0.329

func (r *EnvironmentGetRequest) Impersonate(user string) *EnvironmentGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*EnvironmentGetRequest) Parameter ¶ added in v0.0.329

func (r *EnvironmentGetRequest) Parameter(name string, value interface{}) *EnvironmentGetRequest

Parameter adds a query parameter.

func (*EnvironmentGetRequest) Send ¶ added in v0.0.329

func (r *EnvironmentGetRequest) Send() (result *EnvironmentGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*EnvironmentGetRequest) SendContext ¶ added in v0.0.329

func (r *EnvironmentGetRequest) SendContext(ctx context.Context) (result *EnvironmentGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type EnvironmentGetResponse ¶ added in v0.0.329

type EnvironmentGetResponse struct {
	// contains filtered or unexported fields
}

EnvironmentGetResponse is the response for the 'get' method.

func (*EnvironmentGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*EnvironmentGetResponse) Error ¶ added in v0.0.329

func (r *EnvironmentGetResponse) Error() *errors.Error

Error returns the response error.

func (*EnvironmentGetResponse) GetBody ¶ added in v0.0.329

func (r *EnvironmentGetResponse) GetBody() (value *Environment, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*EnvironmentGetResponse) Header ¶ added in v0.0.329

func (r *EnvironmentGetResponse) Header() http.Header

Header returns header of the response.

func (*EnvironmentGetResponse) Status ¶ added in v0.0.329

func (r *EnvironmentGetResponse) Status() int

Status returns the response status code.

type EnvironmentList ¶ added in v0.0.329

type EnvironmentList struct {
	// contains filtered or unexported fields
}

EnvironmentList is a list of values of the 'environment' type.

func (*EnvironmentList) Each ¶ added in v0.0.329

func (l *EnvironmentList) Each(f func(item *Environment) 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 (*EnvironmentList) Empty ¶ added in v0.0.329

func (l *EnvironmentList) Empty() bool

Empty returns true if the list is empty.

func (*EnvironmentList) Get ¶ added in v0.0.329

func (l *EnvironmentList) Get(i int) *Environment

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*EnvironmentList) Len ¶ added in v0.0.329

func (l *EnvironmentList) Len() int

Len returns the length of the list.

func (*EnvironmentList) Range ¶ added in v0.0.329

func (l *EnvironmentList) Range(f func(index int, item *Environment) 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 (*EnvironmentList) Slice ¶ added in v0.0.329

func (l *EnvironmentList) Slice() []*Environment

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 EnvironmentListBuilder ¶ added in v0.0.329

type EnvironmentListBuilder struct {
	// contains filtered or unexported fields
}

EnvironmentListBuilder contains the data and logic needed to build 'environment' objects.

func NewEnvironmentList ¶ added in v0.0.329

func NewEnvironmentList() *EnvironmentListBuilder

NewEnvironmentList creates a new builder of 'environment' objects.

func (*EnvironmentListBuilder) Build ¶ added in v0.0.329

func (b *EnvironmentListBuilder) Build() (list *EnvironmentList, err error)

Build creates a list of 'environment' objects using the configuration stored in the builder.

func (*EnvironmentListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*EnvironmentListBuilder) Empty ¶ added in v0.0.329

func (b *EnvironmentListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*EnvironmentListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type EnvironmentPollRequest ¶ added in v0.0.329

type EnvironmentPollRequest struct {
	// contains filtered or unexported fields
}

EnvironmentPollRequest is the request for the Poll method.

func (*EnvironmentPollRequest) Header ¶ added in v0.0.329

func (r *EnvironmentPollRequest) Header(name string, value interface{}) *EnvironmentPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*EnvironmentPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*EnvironmentPollRequest) Parameter ¶ added in v0.0.329

func (r *EnvironmentPollRequest) Parameter(name string, value interface{}) *EnvironmentPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*EnvironmentPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*EnvironmentPollRequest) StartContext ¶ added in v0.0.329

func (r *EnvironmentPollRequest) StartContext(ctx context.Context) (response *EnvironmentPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*EnvironmentPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type EnvironmentPollResponse ¶ added in v0.0.329

type EnvironmentPollResponse struct {
	// contains filtered or unexported fields
}

EnvironmentPollResponse is the response for the Poll method.

func (*EnvironmentPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*EnvironmentPollResponse) Error ¶ added in v0.0.329

func (r *EnvironmentPollResponse) Error() *errors.Error

Error returns the response error.

func (*EnvironmentPollResponse) GetBody ¶ added in v0.0.329

func (r *EnvironmentPollResponse) GetBody() (value *Environment, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*EnvironmentPollResponse) Header ¶ added in v0.0.329

func (r *EnvironmentPollResponse) Header() http.Header

Header returns header of the response.

func (*EnvironmentPollResponse) Status ¶ added in v0.0.329

func (r *EnvironmentPollResponse) Status() int

Status returns the response status code.

type EnvironmentUpdateRequest ¶ added in v0.0.329

type EnvironmentUpdateRequest struct {
	// contains filtered or unexported fields
}

EnvironmentUpdateRequest is the request for the 'update' method.

func (*EnvironmentUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*EnvironmentUpdateRequest) Header ¶ added in v0.0.329

func (r *EnvironmentUpdateRequest) Header(name string, value interface{}) *EnvironmentUpdateRequest

Header adds a request header.

func (*EnvironmentUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*EnvironmentUpdateRequest) Parameter ¶ added in v0.0.329

func (r *EnvironmentUpdateRequest) Parameter(name string, value interface{}) *EnvironmentUpdateRequest

Parameter adds a query parameter.

func (*EnvironmentUpdateRequest) Send ¶ added in v0.0.329

func (r *EnvironmentUpdateRequest) Send() (result *EnvironmentUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*EnvironmentUpdateRequest) SendContext ¶ added in v0.0.329

func (r *EnvironmentUpdateRequest) SendContext(ctx context.Context) (result *EnvironmentUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type EnvironmentUpdateResponse ¶ added in v0.0.329

type EnvironmentUpdateResponse struct {
	// contains filtered or unexported fields
}

EnvironmentUpdateResponse is the response for the 'update' method.

func (*EnvironmentUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*EnvironmentUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*EnvironmentUpdateResponse) GetBody ¶ added in v0.0.329

func (r *EnvironmentUpdateResponse) GetBody() (value *Environment, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*EnvironmentUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*EnvironmentUpdateResponse) Status ¶ added in v0.0.329

func (r *EnvironmentUpdateResponse) Status() int

Status returns the response status code.

type Event ¶ added in v0.0.329

type Event struct {
	// contains filtered or unexported fields
}

Event represents the values of the 'event' type.

Representation of a trackable event.

func UnmarshalEvent ¶ added in v0.0.329

func UnmarshalEvent(source interface{}) (object *Event, err error)

UnmarshalEvent reads a value of the 'event' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalEventList ¶ added in v0.0.329

func UnmarshalEventList(source interface{}) (items []*Event, err error)

UnmarshalEventList reads a list of values of the 'event' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Event) Body ¶ added in v0.0.329

func (o *Event) Body() map[string]string

Body returns the value of the 'body' attribute, or the zero value of the type if the attribute doesn't have a value.

Body of the event to track the details of the tracking event as Key value pair

func (*Event) Empty ¶ added in v0.0.329

func (o *Event) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Event) GetBody ¶ added in v0.0.329

func (o *Event) GetBody() (value map[string]string, ok bool)

GetBody returns the value of the 'body' attribute and a flag indicating if the attribute has a value.

Body of the event to track the details of the tracking event as Key value pair

func (*Event) GetKey ¶ added in v0.0.329

func (o *Event) GetKey() (value string, ok bool)

GetKey returns the value of the 'key' attribute and a flag indicating if the attribute has a value.

Key of the event to be tracked. This key should start with an uppercase letter followed by alphanumeric characters or underscores. The entire key needs to be smaller than 64 characters.

func (*Event) Key ¶ added in v0.0.329

func (o *Event) 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.

Key of the event to be tracked. This key should start with an uppercase letter followed by alphanumeric characters or underscores. The entire key needs to be smaller than 64 characters.

type EventBuilder ¶ added in v0.0.329

type EventBuilder struct {
	// contains filtered or unexported fields
}

EventBuilder contains the data and logic needed to build 'event' objects.

Representation of a trackable event.

func NewEvent ¶ added in v0.0.329

func NewEvent() *EventBuilder

NewEvent creates a new builder of 'event' objects.

func (*EventBuilder) Body ¶ added in v0.0.329

func (b *EventBuilder) Body(value map[string]string) *EventBuilder

Body sets the value of the 'body' attribute to the given value.

func (*EventBuilder) Build ¶ added in v0.0.329

func (b *EventBuilder) Build() (object *Event, err error)

Build creates a 'event' object using the configuration stored in the builder.

func (*EventBuilder) Copy ¶ added in v0.0.329

func (b *EventBuilder) Copy(object *Event) *EventBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*EventBuilder) Empty ¶ added in v0.0.329

func (b *EventBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*EventBuilder) Key ¶ added in v0.0.329

func (b *EventBuilder) Key(value string) *EventBuilder

Key sets the value of the 'key' attribute to the given value.

type EventList ¶ added in v0.0.329

type EventList struct {
	// contains filtered or unexported fields
}

EventList is a list of values of the 'event' type.

func (*EventList) Each ¶ added in v0.0.329

func (l *EventList) Each(f func(item *Event) 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 (*EventList) Empty ¶ added in v0.0.329

func (l *EventList) Empty() bool

Empty returns true if the list is empty.

func (*EventList) Get ¶ added in v0.0.329

func (l *EventList) Get(i int) *Event

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*EventList) Len ¶ added in v0.0.329

func (l *EventList) Len() int

Len returns the length of the list.

func (*EventList) Range ¶ added in v0.0.329

func (l *EventList) Range(f func(index int, item *Event) 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 (*EventList) Slice ¶ added in v0.0.329

func (l *EventList) Slice() []*Event

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 EventListBuilder ¶ added in v0.0.329

type EventListBuilder struct {
	// contains filtered or unexported fields
}

EventListBuilder contains the data and logic needed to build 'event' objects.

func NewEventList ¶ added in v0.0.329

func NewEventList() *EventListBuilder

NewEventList creates a new builder of 'event' objects.

func (*EventListBuilder) Build ¶ added in v0.0.329

func (b *EventListBuilder) Build() (list *EventList, err error)

Build creates a list of 'event' objects using the configuration stored in the builder.

func (*EventListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*EventListBuilder) Empty ¶ added in v0.0.329

func (b *EventListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*EventListBuilder) Items ¶ added in v0.0.329

func (b *EventListBuilder) Items(values ...*EventBuilder) *EventListBuilder

Items sets the items of the list.

type EventsAddRequest ¶ added in v0.0.329

type EventsAddRequest struct {
	// contains filtered or unexported fields
}

EventsAddRequest is the request for the 'add' method.

func (*EventsAddRequest) Body ¶ added in v0.0.329

func (r *EventsAddRequest) Body(value *Event) *EventsAddRequest

Body sets the value of the 'body' parameter.

Description of the event.

func (*EventsAddRequest) Header ¶ added in v0.0.329

func (r *EventsAddRequest) Header(name string, value interface{}) *EventsAddRequest

Header adds a request header.

func (*EventsAddRequest) Impersonate ¶ added in v0.0.329

func (r *EventsAddRequest) Impersonate(user string) *EventsAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*EventsAddRequest) Parameter ¶ added in v0.0.329

func (r *EventsAddRequest) Parameter(name string, value interface{}) *EventsAddRequest

Parameter adds a query parameter.

func (*EventsAddRequest) Send ¶ added in v0.0.329

func (r *EventsAddRequest) Send() (result *EventsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*EventsAddRequest) SendContext ¶ added in v0.0.329

func (r *EventsAddRequest) SendContext(ctx context.Context) (result *EventsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type EventsAddResponse ¶ added in v0.0.329

type EventsAddResponse struct {
	// contains filtered or unexported fields
}

EventsAddResponse is the response for the 'add' method.

func (*EventsAddResponse) Body ¶ added in v0.0.329

func (r *EventsAddResponse) Body() *Event

Body returns the value of the 'body' parameter.

Description of the event.

func (*EventsAddResponse) Error ¶ added in v0.0.329

func (r *EventsAddResponse) Error() *errors.Error

Error returns the response error.

func (*EventsAddResponse) GetBody ¶ added in v0.0.329

func (r *EventsAddResponse) GetBody() (value *Event, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the event.

func (*EventsAddResponse) Header ¶ added in v0.0.329

func (r *EventsAddResponse) Header() http.Header

Header returns header of the response.

func (*EventsAddResponse) Status ¶ added in v0.0.329

func (r *EventsAddResponse) Status() int

Status returns the response status code.

type EventsClient ¶ added in v0.0.329

type EventsClient struct {
	// contains filtered or unexported fields
}

EventsClient is the client of the 'events' resource.

Manages a collection used to track events reported by external clients.

func NewEventsClient ¶ added in v0.0.329

func NewEventsClient(transport http.RoundTripper, path string) *EventsClient

NewEventsClient creates a new client for the 'events' resource using the given transport to send the requests and receive the responses.

func (*EventsClient) Add ¶ added in v0.0.329

func (c *EventsClient) Add() *EventsAddRequest

Add creates a request for the 'add' method.

Adds a new event to be tracked. When sending a new event request, it gets tracked in Prometheus, Pendo, CloudWatch, or whichever analytics client is configured as part of clusters service. This allows for reporting on events that happen outside of a regular API request, but are found to be useful for understanding customer needs and possible blockers.

type ExternalAuth ¶ added in v0.1.404

type ExternalAuth struct {
	// contains filtered or unexported fields
}

ExternalAuth represents the values of the 'external_auth' type.

Representation of an external authentication provider.

func UnmarshalExternalAuth ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (o *ExternalAuth) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ExternalAuth) GetClaim ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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) HREF ¶ added in v0.1.404

func (o *ExternalAuth) HREF() string

HREF returns the link to the object.

func (*ExternalAuth) ID ¶ added in v0.1.404

func (o *ExternalAuth) ID() string

ID returns the identifier of the object.

func (*ExternalAuth) Issuer ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (o *ExternalAuth) Kind() string

Kind returns the name of the type of the object.

func (o *ExternalAuth) Link() bool

Link returns true iif this is a link.

type ExternalAuthBuilder ¶ added in v0.1.404

type ExternalAuthBuilder struct {
	// contains filtered or unexported fields
}

ExternalAuthBuilder contains the data and logic needed to build 'external_auth' objects.

Representation of an external authentication provider.

func NewExternalAuth ¶ added in v0.1.404

func NewExternalAuth() *ExternalAuthBuilder

NewExternalAuth creates a new builder of 'external_auth' objects.

func (*ExternalAuthBuilder) Build ¶ added in v0.1.404

func (b *ExternalAuthBuilder) Build() (object *ExternalAuth, err error)

Build creates a 'external_auth' object using the configuration stored in the builder.

func (*ExternalAuthBuilder) Claim ¶ added in v0.1.404

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 ¶ added in v0.1.404

Clients sets the value of the 'clients' attribute to the given values.

func (*ExternalAuthBuilder) Copy ¶ added in v0.1.404

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalAuthBuilder) Empty ¶ added in v0.1.404

func (b *ExternalAuthBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ExternalAuthBuilder) HREF ¶ added in v0.1.404

HREF sets the link to the object.

func (*ExternalAuthBuilder) ID ¶ added in v0.1.404

ID sets the identifier of the object.

func (*ExternalAuthBuilder) Issuer ¶ added in v0.1.404

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.

type ExternalAuthClaim ¶ added in v0.1.404

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 UnmarshalExternalAuthClaim ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (o *ExternalAuthClaim) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ExternalAuthClaim) GetMappings ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

type ExternalAuthClaimBuilder struct {
	// contains filtered or unexported fields
}

ExternalAuthClaimBuilder contains the data and logic needed to build 'external_auth_claim' objects.

The claims and validation rules used in the configuration of the external authentication.

func NewExternalAuthClaim ¶ added in v0.1.404

func NewExternalAuthClaim() *ExternalAuthClaimBuilder

NewExternalAuthClaim creates a new builder of 'external_auth_claim' objects.

func (*ExternalAuthClaimBuilder) Build ¶ added in v0.1.404

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 ¶ added in v0.1.404

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalAuthClaimBuilder) Empty ¶ added in v0.1.404

func (b *ExternalAuthClaimBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ExternalAuthClaimBuilder) Mappings ¶ added in v0.1.404

Mappings sets the value of the 'mappings' attribute to the given value.

The claim mappings defined for users and groups.

func (*ExternalAuthClaimBuilder) ValidationRules ¶ added in v0.1.404

ValidationRules sets the value of the 'validation_rules' attribute to the given values.

type ExternalAuthClaimList ¶ added in v0.1.404

type ExternalAuthClaimList struct {
	// contains filtered or unexported fields
}

ExternalAuthClaimList is a list of values of the 'external_auth_claim' type.

func (*ExternalAuthClaimList) Each ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (l *ExternalAuthClaimList) Empty() bool

Empty returns true if the list is empty.

func (*ExternalAuthClaimList) Get ¶ added in v0.1.404

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExternalAuthClaimList) Len ¶ added in v0.1.404

func (l *ExternalAuthClaimList) Len() int

Len returns the length of the list.

func (*ExternalAuthClaimList) Range ¶ added in v0.1.404

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) Slice ¶ added in v0.1.404

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 ¶ added in v0.1.404

type ExternalAuthClaimListBuilder struct {
	// contains filtered or unexported fields
}

ExternalAuthClaimListBuilder contains the data and logic needed to build 'external_auth_claim' objects.

func NewExternalAuthClaimList ¶ added in v0.1.404

func NewExternalAuthClaimList() *ExternalAuthClaimListBuilder

NewExternalAuthClaimList creates a new builder of 'external_auth_claim' objects.

func (*ExternalAuthClaimListBuilder) Build ¶ added in v0.1.404

Build creates a list of 'external_auth_claim' objects using the configuration stored in the builder.

func (*ExternalAuthClaimListBuilder) Copy ¶ added in v0.1.404

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalAuthClaimListBuilder) Empty ¶ added in v0.1.404

Empty returns true if the list is empty.

func (*ExternalAuthClaimListBuilder) Items ¶ added in v0.1.404

Items sets the items of the list.

type ExternalAuthClient ¶ added in v0.1.404

type ExternalAuthClient struct {
	// contains filtered or unexported fields
}

ExternalAuthClient is the client of the 'external_auth' resource.

Manages a specific external authentication.

func NewExternalAuthClient ¶ added in v0.1.404

func NewExternalAuthClient(transport http.RoundTripper, path string) *ExternalAuthClient

NewExternalAuthClient creates a new client for the 'external_auth' resource using the given transport to send the requests and receive the responses.

func (*ExternalAuthClient) Delete ¶ added in v0.1.404

Delete creates a request for the 'delete' method.

Deletes the external authentication.

func (*ExternalAuthClient) Get ¶ added in v0.1.404

Get creates a request for the 'get' method.

Retrieves the details of an external authentication.

func (*ExternalAuthClient) Poll ¶ added in v0.1.404

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*ExternalAuthClient) Update ¶ added in v0.1.404

Update creates a request for the 'update' method.

Updates the external authentication.

type ExternalAuthClientConfig ¶ added in v0.1.404

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 UnmarshalExternalAuthClientConfig ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (o *ExternalAuthClientConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ExternalAuthClientConfig) ExtraScopes ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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.

func (*ExternalAuthClientConfig) GetSecret ¶ added in v0.1.404

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.

func (*ExternalAuthClientConfig) ID ¶ added in v0.1.404

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.

func (*ExternalAuthClientConfig) Secret ¶ added in v0.1.404

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.

type ExternalAuthClientConfigBuilder ¶ added in v0.1.404

type ExternalAuthClientConfigBuilder struct {
	// contains filtered or unexported fields
}

ExternalAuthClientConfigBuilder contains the data and logic needed to build 'external_auth_client_config' objects.

ExternalAuthClientConfig contains configuration for the platform's clients that need to request tokens from the issuer.

func NewExternalAuthClientConfig ¶ added in v0.1.404

func NewExternalAuthClientConfig() *ExternalAuthClientConfigBuilder

NewExternalAuthClientConfig creates a new builder of 'external_auth_client_config' objects.

func (*ExternalAuthClientConfigBuilder) Build ¶ added in v0.1.404

Build creates a 'external_auth_client_config' object using the configuration stored in the builder.

func (*ExternalAuthClientConfigBuilder) Component ¶ added in v0.1.404

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 ¶ added in v0.1.404

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalAuthClientConfigBuilder) Empty ¶ added in v0.1.404

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ExternalAuthClientConfigBuilder) ExtraScopes ¶ added in v0.1.404

ExtraScopes sets the value of the 'extra_scopes' attribute to the given values.

func (*ExternalAuthClientConfigBuilder) ID ¶ added in v0.1.404

ID sets the value of the 'ID' attribute to the given value.

func (*ExternalAuthClientConfigBuilder) Secret ¶ added in v0.1.404

Secret sets the value of the 'secret' attribute to the given value.

type ExternalAuthClientConfigList ¶ added in v0.1.404

type ExternalAuthClientConfigList struct {
	// contains filtered or unexported fields
}

ExternalAuthClientConfigList is a list of values of the 'external_auth_client_config' type.

func (*ExternalAuthClientConfigList) Each ¶ added in v0.1.404

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 ¶ added in v0.1.404

Empty returns true if the list is empty.

func (*ExternalAuthClientConfigList) Get ¶ added in v0.1.404

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExternalAuthClientConfigList) Len ¶ added in v0.1.404

Len returns the length of the list.

func (*ExternalAuthClientConfigList) Range ¶ added in v0.1.404

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) Slice ¶ added in v0.1.404

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 ¶ added in v0.1.404

type ExternalAuthClientConfigListBuilder struct {
	// contains filtered or unexported fields
}

ExternalAuthClientConfigListBuilder contains the data and logic needed to build 'external_auth_client_config' objects.

func NewExternalAuthClientConfigList ¶ added in v0.1.404

func NewExternalAuthClientConfigList() *ExternalAuthClientConfigListBuilder

NewExternalAuthClientConfigList creates a new builder of 'external_auth_client_config' objects.

func (*ExternalAuthClientConfigListBuilder) Build ¶ added in v0.1.404

Build creates a list of 'external_auth_client_config' objects using the configuration stored in the builder.

func (*ExternalAuthClientConfigListBuilder) Copy ¶ added in v0.1.404

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalAuthClientConfigListBuilder) Empty ¶ added in v0.1.404

Empty returns true if the list is empty.

func (*ExternalAuthClientConfigListBuilder) Items ¶ added in v0.1.404

Items sets the items of the list.

type ExternalAuthConfig ¶ added in v0.1.396

type ExternalAuthConfig struct {
	// contains filtered or unexported fields
}

ExternalAuthConfig represents the values of the 'external_auth_config' type.

ExternalAuthConfig configuration

func UnmarshalExternalAuthConfig ¶ added in v0.1.396

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 ¶ added in v0.1.396

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 ¶ added in v0.1.396

func (o *ExternalAuthConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ExternalAuthConfig) Enabled ¶ added in v0.1.396

func (o *ExternalAuthConfig) Enabled() bool

Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.

Boolean flag indicating if the cluster should use an external authentication configuration.

By default this is false.

To enable it the cluster needs to be ROSA HCP cluster and the organization of the user needs to have the `external-authentication` feature toggle enabled.

func (*ExternalAuthConfig) ExternalAuths ¶ added in v0.1.404

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.

func (*ExternalAuthConfig) GetEnabled ¶ added in v0.1.396

func (o *ExternalAuthConfig) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Boolean flag indicating if the cluster should use an external authentication configuration.

By default this is false.

To enable it the cluster needs to be ROSA HCP cluster and the organization of the user needs to have the `external-authentication` feature toggle enabled.

func (*ExternalAuthConfig) GetExternalAuths ¶ added in v0.1.404

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.

type ExternalAuthConfigBuilder ¶ added in v0.1.396

type ExternalAuthConfigBuilder struct {
	// contains filtered or unexported fields
}

ExternalAuthConfigBuilder contains the data and logic needed to build 'external_auth_config' objects.

ExternalAuthConfig configuration

func NewExternalAuthConfig ¶ added in v0.1.396

func NewExternalAuthConfig() *ExternalAuthConfigBuilder

NewExternalAuthConfig creates a new builder of 'external_auth_config' objects.

func (*ExternalAuthConfigBuilder) Build ¶ added in v0.1.396

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 ¶ added in v0.1.396

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalAuthConfigBuilder) Empty ¶ added in v0.1.396

func (b *ExternalAuthConfigBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ExternalAuthConfigBuilder) Enabled ¶ added in v0.1.396

Enabled sets the value of the 'enabled' attribute to the given value.

func (*ExternalAuthConfigBuilder) ExternalAuths ¶ added in v0.1.404

ExternalAuths sets the value of the 'external_auths' attribute to the given values.

type ExternalAuthConfigClient ¶ added in v0.1.404

type ExternalAuthConfigClient struct {
	// contains filtered or unexported fields
}

ExternalAuthConfigClient is the client of the 'external_auth_config' resource.

Manages the external authentication configuration for a ROSA HCP cluster.

func NewExternalAuthConfigClient ¶ added in v0.1.404

func NewExternalAuthConfigClient(transport http.RoundTripper, path string) *ExternalAuthConfigClient

NewExternalAuthConfigClient creates a new client for the 'external_auth_config' resource using the given transport to send the requests and receive the responses.

func (*ExternalAuthConfigClient) ExternalAuths ¶ added in v0.1.404

func (c *ExternalAuthConfigClient) ExternalAuths() *ExternalAuthsClient

ExternalAuths returns the target 'external_auths' resource.

Reference to the resource that manages the collection of ExternalAuths resources.

func (*ExternalAuthConfigClient) Get ¶ added in v0.1.404

Get creates a request for the 'get' method.

func (*ExternalAuthConfigClient) Poll ¶ added in v0.1.404

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type ExternalAuthConfigGetRequest ¶ added in v0.1.404

type ExternalAuthConfigGetRequest struct {
	// contains filtered or unexported fields
}

ExternalAuthConfigGetRequest is the request for the 'get' method.

func (*ExternalAuthConfigGetRequest) Header ¶ added in v0.1.404

func (r *ExternalAuthConfigGetRequest) Header(name string, value interface{}) *ExternalAuthConfigGetRequest

Header adds a request header.

func (*ExternalAuthConfigGetRequest) Impersonate ¶ added in v0.1.404

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ExternalAuthConfigGetRequest) Parameter ¶ added in v0.1.404

func (r *ExternalAuthConfigGetRequest) Parameter(name string, value interface{}) *ExternalAuthConfigGetRequest

Parameter adds a query parameter.

func (*ExternalAuthConfigGetRequest) Send ¶ added in v0.1.404

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ExternalAuthConfigGetRequest) SendContext ¶ added in v0.1.404

SendContext sends this request, waits for the response, and returns it.

type ExternalAuthConfigGetResponse ¶ added in v0.1.404

type ExternalAuthConfigGetResponse struct {
	// contains filtered or unexported fields
}

ExternalAuthConfigGetResponse is the response for the 'get' method.

func (*ExternalAuthConfigGetResponse) Body ¶ added in v0.1.404

Body returns the value of the 'body' parameter.

func (*ExternalAuthConfigGetResponse) Error ¶ added in v0.1.404

Error returns the response error.

func (*ExternalAuthConfigGetResponse) GetBody ¶ added in v0.1.404

func (r *ExternalAuthConfigGetResponse) GetBody() (value *ExternalAuthConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ExternalAuthConfigGetResponse) Header ¶ added in v0.1.404

Header returns header of the response.

func (*ExternalAuthConfigGetResponse) Status ¶ added in v0.1.404

func (r *ExternalAuthConfigGetResponse) Status() int

Status returns the response status code.

type ExternalAuthConfigList ¶ added in v0.1.396

type ExternalAuthConfigList struct {
	// contains filtered or unexported fields
}

ExternalAuthConfigList is a list of values of the 'external_auth_config' type.

func (*ExternalAuthConfigList) Each ¶ added in v0.1.396

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 ¶ added in v0.1.396

func (l *ExternalAuthConfigList) Empty() bool

Empty returns true if the list is empty.

func (*ExternalAuthConfigList) Get ¶ added in v0.1.396

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ExternalAuthConfigList) Len ¶ added in v0.1.396

func (l *ExternalAuthConfigList) Len() int

Len returns the length of the list.

func (*ExternalAuthConfigList) Range ¶ added in v0.1.396

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) Slice ¶ added in v0.1.396

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 ¶ added in v0.1.396

type ExternalAuthConfigListBuilder struct {
	// contains filtered or unexported fields
}

ExternalAuthConfigListBuilder contains the data and logic needed to build 'external_auth_config' objects.

func NewExternalAuthConfigList ¶ added in v0.1.396

func NewExternalAuthConfigList() *ExternalAuthConfigListBuilder

NewExternalAuthConfigList creates a new builder of 'external_auth_config' objects.

func (*ExternalAuthConfigListBuilder) Build ¶ added in v0.1.396

Build creates a list of 'external_auth_config' objects using the configuration stored in the builder.

func (*ExternalAuthConfigListBuilder) Copy ¶ added in v0.1.396

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalAuthConfigListBuilder) Empty ¶ added in v0.1.396

Empty returns true if the list is empty.

func (*ExternalAuthConfigListBuilder) Items ¶ added in v0.1.396

Items sets the items of the list.

type ExternalAuthConfigPollRequest ¶ added in v0.1.404

type ExternalAuthConfigPollRequest struct {
	// contains filtered or unexported fields
}

ExternalAuthConfigPollRequest is the request for the Poll method.

func (*ExternalAuthConfigPollRequest) Header ¶ added in v0.1.404

func (r *ExternalAuthConfigPollRequest) Header(name string, value interface{}) *ExternalAuthConfigPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ExternalAuthConfigPollRequest) Interval ¶ added in v0.1.404

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ExternalAuthConfigPollRequest) Parameter ¶ added in v0.1.404

func (r *ExternalAuthConfigPollRequest) Parameter(name string, value interface{}) *ExternalAuthConfigPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ExternalAuthConfigPollRequest) Predicate ¶ added in v0.1.404

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ExternalAuthConfigPollRequest) StartContext ¶ added in v0.1.404

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ExternalAuthConfigPollRequest) Status ¶ added in v0.1.404

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ExternalAuthConfigPollResponse ¶ added in v0.1.404

type ExternalAuthConfigPollResponse struct {
	// contains filtered or unexported fields
}

ExternalAuthConfigPollResponse is the response for the Poll method.

func (*ExternalAuthConfigPollResponse) Body ¶ added in v0.1.404

Body returns the value of the 'body' parameter.

func (*ExternalAuthConfigPollResponse) Error ¶ added in v0.1.404

Error returns the response error.

func (*ExternalAuthConfigPollResponse) GetBody ¶ added in v0.1.404

func (r *ExternalAuthConfigPollResponse) GetBody() (value *ExternalAuthConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ExternalAuthConfigPollResponse) Header ¶ added in v0.1.404

Header returns header of the response.

func (*ExternalAuthConfigPollResponse) Status ¶ added in v0.1.404

func (r *ExternalAuthConfigPollResponse) Status() int

Status returns the response status code.

type ExternalAuthDeleteRequest ¶ added in v0.1.404

type ExternalAuthDeleteRequest struct {
	// contains filtered or unexported fields
}

ExternalAuthDeleteRequest is the request for the 'delete' method.

func (*ExternalAuthDeleteRequest) Header ¶ added in v0.1.404

func (r *ExternalAuthDeleteRequest) Header(name string, value interface{}) *ExternalAuthDeleteRequest

Header adds a request header.

func (*ExternalAuthDeleteRequest) Impersonate ¶ added in v0.1.404

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ExternalAuthDeleteRequest) Parameter ¶ added in v0.1.404

func (r *ExternalAuthDeleteRequest) Parameter(name string, value interface{}) *ExternalAuthDeleteRequest

Parameter adds a query parameter.

func (*ExternalAuthDeleteRequest) Send ¶ added in v0.1.404

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ExternalAuthDeleteRequest) SendContext ¶ added in v0.1.404

func (r *ExternalAuthDeleteRequest) SendContext(ctx context.Context) (result *ExternalAuthDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ExternalAuthDeleteResponse ¶ added in v0.1.404

type ExternalAuthDeleteResponse struct {
	// contains filtered or unexported fields
}

ExternalAuthDeleteResponse is the response for the 'delete' method.

func (*ExternalAuthDeleteResponse) Error ¶ added in v0.1.404

Error returns the response error.

func (*ExternalAuthDeleteResponse) Header ¶ added in v0.1.404

Header returns header of the response.

func (*ExternalAuthDeleteResponse) Status ¶ added in v0.1.404

func (r *ExternalAuthDeleteResponse) Status() int

Status returns the response status code.

type ExternalAuthGetRequest ¶ added in v0.1.404

type ExternalAuthGetRequest struct {
	// contains filtered or unexported fields
}

ExternalAuthGetRequest is the request for the 'get' method.

func (*ExternalAuthGetRequest) Header ¶ added in v0.1.404

func (r *ExternalAuthGetRequest) Header(name string, value interface{}) *ExternalAuthGetRequest

Header adds a request header.

func (*ExternalAuthGetRequest) Impersonate ¶ added in v0.1.404

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ExternalAuthGetRequest) Parameter ¶ added in v0.1.404

func (r *ExternalAuthGetRequest) Parameter(name string, value interface{}) *ExternalAuthGetRequest

Parameter adds a query parameter.

func (*ExternalAuthGetRequest) Send ¶ added in v0.1.404

func (r *ExternalAuthGetRequest) Send() (result *ExternalAuthGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ExternalAuthGetRequest) SendContext ¶ added in v0.1.404

func (r *ExternalAuthGetRequest) SendContext(ctx context.Context) (result *ExternalAuthGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ExternalAuthGetResponse ¶ added in v0.1.404

type ExternalAuthGetResponse struct {
	// contains filtered or unexported fields
}

ExternalAuthGetResponse is the response for the 'get' method.

func (*ExternalAuthGetResponse) Body ¶ added in v0.1.404

Body returns the value of the 'body' parameter.

func (*ExternalAuthGetResponse) Error ¶ added in v0.1.404

func (r *ExternalAuthGetResponse) Error() *errors.Error

Error returns the response error.

func (*ExternalAuthGetResponse) GetBody ¶ added in v0.1.404

func (r *ExternalAuthGetResponse) GetBody() (value *ExternalAuth, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ExternalAuthGetResponse) Header ¶ added in v0.1.404

func (r *ExternalAuthGetResponse) Header() http.Header

Header returns header of the response.

func (*ExternalAuthGetResponse) Status ¶ added in v0.1.404

func (r *ExternalAuthGetResponse) Status() int

Status returns the response status code.

type ExternalAuthList ¶ added in v0.1.404

type ExternalAuthList struct {
	// contains filtered or unexported fields
}

ExternalAuthList is a list of values of the 'external_auth' type.

func (*ExternalAuthList) Each ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (l *ExternalAuthList) Empty() bool

Empty returns true if the list is empty.

func (*ExternalAuthList) Get ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (l *ExternalAuthList) HREF() string

HREF returns the link to the list.

func (*ExternalAuthList) Kind ¶ added in v0.1.404

func (l *ExternalAuthList) Kind() string

Kind returns the name of the type of the object.

func (*ExternalAuthList) Len ¶ added in v0.1.404

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 ¶ added in v0.1.404

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) Slice ¶ added in v0.1.404

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 ¶ added in v0.1.404

type ExternalAuthListBuilder struct {
	// contains filtered or unexported fields
}

ExternalAuthListBuilder contains the data and logic needed to build 'external_auth' objects.

func NewExternalAuthList ¶ added in v0.1.404

func NewExternalAuthList() *ExternalAuthListBuilder

NewExternalAuthList creates a new builder of 'external_auth' objects.

func (*ExternalAuthListBuilder) Build ¶ added in v0.1.404

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 ¶ added in v0.1.404

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ExternalAuthListBuilder) Empty ¶ added in v0.1.404

func (b *ExternalAuthListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ExternalAuthListBuilder) Items ¶ added in v0.1.404

Items sets the items of the list.

type ExternalAuthPollRequest ¶ added in v0.1.404

type ExternalAuthPollRequest struct {
	// contains filtered or unexported fields
}

ExternalAuthPollRequest is the request for the Poll method.

func (*ExternalAuthPollRequest) Header ¶ added in v0.1.404

func (r *ExternalAuthPollRequest) Header(name string, value interface{}) *ExternalAuthPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ExternalAuthPollRequest) Interval ¶ added in v0.1.404

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ExternalAuthPollRequest) Parameter ¶ added in v0.1.404

func (r *ExternalAuthPollRequest) Parameter(name string, value interface{}) *ExternalAuthPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ExternalAuthPollRequest) Predicate ¶ added in v0.1.404

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ExternalAuthPollRequest) StartContext ¶ added in v0.1.404

func (r *ExternalAuthPollRequest) StartContext(ctx context.Context) (response *ExternalAuthPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ExternalAuthPollRequest) Status ¶ added in v0.1.404

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ExternalAuthPollResponse ¶ added in v0.1.404

type ExternalAuthPollResponse struct {
	// contains filtered or unexported fields
}

ExternalAuthPollResponse is the response for the Poll method.

func (*ExternalAuthPollResponse) Body ¶ added in v0.1.404

Body returns the value of the 'body' parameter.

func (*ExternalAuthPollResponse) Error ¶ added in v0.1.404

Error returns the response error.

func (*ExternalAuthPollResponse) GetBody ¶ added in v0.1.404

func (r *ExternalAuthPollResponse) GetBody() (value *ExternalAuth, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ExternalAuthPollResponse) Header ¶ added in v0.1.404

func (r *ExternalAuthPollResponse) Header() http.Header

Header returns header of the response.

func (*ExternalAuthPollResponse) Status ¶ added in v0.1.404

func (r *ExternalAuthPollResponse) Status() int

Status returns the response status code.

type ExternalAuthUpdateRequest ¶ added in v0.1.404

type ExternalAuthUpdateRequest struct {
	// contains filtered or unexported fields
}

ExternalAuthUpdateRequest is the request for the 'update' method.

func (*ExternalAuthUpdateRequest) Body ¶ added in v0.1.404

Body sets the value of the 'body' parameter.

func (*ExternalAuthUpdateRequest) Header ¶ added in v0.1.404

func (r *ExternalAuthUpdateRequest) Header(name string, value interface{}) *ExternalAuthUpdateRequest

Header adds a request header.

func (*ExternalAuthUpdateRequest) Impersonate ¶ added in v0.1.404

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ExternalAuthUpdateRequest) Parameter ¶ added in v0.1.404

func (r *ExternalAuthUpdateRequest) Parameter(name string, value interface{}) *ExternalAuthUpdateRequest

Parameter adds a query parameter.

func (*ExternalAuthUpdateRequest) Send ¶ added in v0.1.404

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ExternalAuthUpdateRequest) SendContext ¶ added in v0.1.404

func (r *ExternalAuthUpdateRequest) SendContext(ctx context.Context) (result *ExternalAuthUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ExternalAuthUpdateResponse ¶ added in v0.1.404

type ExternalAuthUpdateResponse struct {
	// contains filtered or unexported fields
}

ExternalAuthUpdateResponse is the response for the 'update' method.

func (*ExternalAuthUpdateResponse) Body ¶ added in v0.1.404

Body returns the value of the 'body' parameter.

func (*ExternalAuthUpdateResponse) Error ¶ added in v0.1.404

Error returns the response error.

func (*ExternalAuthUpdateResponse) GetBody ¶ added in v0.1.404

func (r *ExternalAuthUpdateResponse) GetBody() (value *ExternalAuth, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ExternalAuthUpdateResponse) Header ¶ added in v0.1.404

Header returns header of the response.

func (*ExternalAuthUpdateResponse) Status ¶ added in v0.1.404

func (r *ExternalAuthUpdateResponse) Status() int

Status returns the response status code.

type ExternalAuthsAddRequest ¶ added in v0.1.404

type ExternalAuthsAddRequest struct {
	// contains filtered or unexported fields
}

ExternalAuthsAddRequest is the request for the 'add' method.

func (*ExternalAuthsAddRequest) Body ¶ added in v0.1.404

Body sets the value of the 'body' parameter.

Description of the external authentication.

func (*ExternalAuthsAddRequest) Header ¶ added in v0.1.404

func (r *ExternalAuthsAddRequest) Header(name string, value interface{}) *ExternalAuthsAddRequest

Header adds a request header.

func (*ExternalAuthsAddRequest) Impersonate ¶ added in v0.1.404

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ExternalAuthsAddRequest) Parameter ¶ added in v0.1.404

func (r *ExternalAuthsAddRequest) Parameter(name string, value interface{}) *ExternalAuthsAddRequest

Parameter adds a query parameter.

func (*ExternalAuthsAddRequest) Send ¶ added in v0.1.404

func (r *ExternalAuthsAddRequest) Send() (result *ExternalAuthsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ExternalAuthsAddRequest) SendContext ¶ added in v0.1.404

func (r *ExternalAuthsAddRequest) SendContext(ctx context.Context) (result *ExternalAuthsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ExternalAuthsAddResponse ¶ added in v0.1.404

type ExternalAuthsAddResponse struct {
	// contains filtered or unexported fields
}

ExternalAuthsAddResponse is the response for the 'add' method.

func (*ExternalAuthsAddResponse) Body ¶ added in v0.1.404

Body returns the value of the 'body' parameter.

Description of the external authentication.

func (*ExternalAuthsAddResponse) Error ¶ added in v0.1.404

Error returns the response error.

func (*ExternalAuthsAddResponse) GetBody ¶ added in v0.1.404

func (r *ExternalAuthsAddResponse) GetBody() (value *ExternalAuth, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the external authentication.

func (*ExternalAuthsAddResponse) Header ¶ added in v0.1.404

func (r *ExternalAuthsAddResponse) Header() http.Header

Header returns header of the response.

func (*ExternalAuthsAddResponse) Status ¶ added in v0.1.404

func (r *ExternalAuthsAddResponse) Status() int

Status returns the response status code.

type ExternalAuthsClient ¶ added in v0.1.404

type ExternalAuthsClient struct {
	// contains filtered or unexported fields
}

ExternalAuthsClient is the client of the 'external_auths' resource.

Manages the collection of external authentication defined for a ROSA HCP cluster.

func NewExternalAuthsClient ¶ added in v0.1.404

func NewExternalAuthsClient(transport http.RoundTripper, path string) *ExternalAuthsClient

NewExternalAuthsClient creates a new client for the 'external_auths' resource using the given transport to send the requests and receive the responses.

func (*ExternalAuthsClient) Add ¶ added in v0.1.404

Add creates a request for the 'add' method.

Adds a new authentication to the cluster.

func (*ExternalAuthsClient) ExternalAuth ¶ added in v0.1.404

func (c *ExternalAuthsClient) ExternalAuth(id string) *ExternalAuthClient

ExternalAuth returns the target 'external_auth' resource for the given identifier.

Reference to the service that manages a specific external authentication.

func (*ExternalAuthsClient) List ¶ added in v0.1.404

List creates a request for the 'list' method.

type ExternalAuthsListRequest ¶ added in v0.1.404

type ExternalAuthsListRequest struct {
	// contains filtered or unexported fields
}

ExternalAuthsListRequest is the request for the 'list' method.

func (*ExternalAuthsListRequest) Header ¶ added in v0.1.404

func (r *ExternalAuthsListRequest) Header(name string, value interface{}) *ExternalAuthsListRequest

Header adds a request header.

func (*ExternalAuthsListRequest) Impersonate ¶ added in v0.1.404

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ExternalAuthsListRequest) Page ¶ added in v0.1.404

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ExternalAuthsListRequest) Parameter ¶ added in v0.1.404

func (r *ExternalAuthsListRequest) Parameter(name string, value interface{}) *ExternalAuthsListRequest

Parameter adds a query parameter.

func (*ExternalAuthsListRequest) Send ¶ added in v0.1.404

func (r *ExternalAuthsListRequest) Send() (result *ExternalAuthsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ExternalAuthsListRequest) SendContext ¶ added in v0.1.404

func (r *ExternalAuthsListRequest) SendContext(ctx context.Context) (result *ExternalAuthsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*ExternalAuthsListRequest) Size ¶ added in v0.1.404

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type ExternalAuthsListResponse ¶ added in v0.1.404

type ExternalAuthsListResponse struct {
	// contains filtered or unexported fields
}

ExternalAuthsListResponse is the response for the 'list' method.

func (*ExternalAuthsListResponse) Error ¶ added in v0.1.404

Error returns the response error.

func (*ExternalAuthsListResponse) GetItems ¶ added in v0.1.404

func (r *ExternalAuthsListResponse) GetItems() (value *ExternalAuthList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of external authentications.

func (*ExternalAuthsListResponse) GetPage ¶ added in v0.1.404

func (r *ExternalAuthsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*ExternalAuthsListResponse) GetSize ¶ added in v0.1.404

func (r *ExternalAuthsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*ExternalAuthsListResponse) GetTotal ¶ added in v0.1.404

func (r *ExternalAuthsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*ExternalAuthsListResponse) Header ¶ added in v0.1.404

Header returns header of the response.

func (*ExternalAuthsListResponse) Items ¶ added in v0.1.404

Items returns the value of the 'items' parameter.

Retrieved list of external authentications.

func (*ExternalAuthsListResponse) Page ¶ added in v0.1.404

func (r *ExternalAuthsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ExternalAuthsListResponse) Size ¶ added in v0.1.404

func (r *ExternalAuthsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*ExternalAuthsListResponse) Status ¶ added in v0.1.404

func (r *ExternalAuthsListResponse) Status() int

Status returns the response status code.

func (*ExternalAuthsListResponse) Total ¶ added in v0.1.404

func (r *ExternalAuthsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

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 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 *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 ¶ added in v0.0.329

func (o *ExternalConfiguration) GetManifests() (value *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 *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() *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 ¶ added in v0.0.329

func (o *ExternalConfiguration) Manifests() *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() *SyncsetList

Syncsets returns the value of the 'syncsets' attribute, or the zero value of the type if the attribute doesn't have a value.

list of syncsets externally configured on the cluster.

type ExternalConfigurationBuilder ¶

type ExternalConfigurationBuilder struct {
	// contains filtered or unexported fields
}

ExternalConfigurationBuilder contains the data and logic needed to build 'external_configuration' objects.

Representation of cluster external configuration.

func NewExternalConfiguration ¶

func NewExternalConfiguration() *ExternalConfigurationBuilder

NewExternalConfiguration creates a new builder of 'external_configuration' objects.

func (*ExternalConfigurationBuilder) Build ¶

func (b *ExternalConfigurationBuilder) Build() (object *ExternalConfiguration, err error)

Build creates a 'external_configuration' object using the configuration stored in the builder.

func (*ExternalConfigurationBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ExternalConfigurationBuilder) Empty ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ExternalConfigurationClient ¶

type ExternalConfigurationClient struct {
	// contains filtered or unexported fields
}

ExternalConfigurationClient is the client of the 'external_configuration' resource.

Manages a specific external configuration.

func NewExternalConfigurationClient ¶

func NewExternalConfigurationClient(transport http.RoundTripper, path string) *ExternalConfigurationClient

NewExternalConfigurationClient creates a new client for the 'external_configuration' resource using the given transport to send the requests and receive the responses.

func (*ExternalConfigurationClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the details of the external configuration.

func (*ExternalConfigurationClient) Labels ¶

Labels returns the target 'labels' resource.

Reference to the resource that manages the collection of labels.

func (*ExternalConfigurationClient) Manifests ¶ added in v0.0.329

Manifests returns the target 'manifests' resource.

Reference to the resource that manages the collection of manifests.

func (*ExternalConfigurationClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*ExternalConfigurationClient) Syncsets ¶

Syncsets returns the target 'syncsets' resource.

Reference to the resource that manages the collection of syncsets.

type ExternalConfigurationGetRequest ¶

type ExternalConfigurationGetRequest struct {
	// contains filtered or unexported fields
}

ExternalConfigurationGetRequest is the request for the 'get' method.

func (*ExternalConfigurationGetRequest) Header ¶

func (r *ExternalConfigurationGetRequest) Header(name string, value interface{}) *ExternalConfigurationGetRequest

Header adds a request header.

func (*ExternalConfigurationGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ExternalConfigurationGetRequest) Parameter ¶

func (r *ExternalConfigurationGetRequest) Parameter(name string, value interface{}) *ExternalConfigurationGetRequest

Parameter adds a query parameter.

func (*ExternalConfigurationGetRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ExternalConfigurationGetRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type ExternalConfigurationGetResponse ¶

type ExternalConfigurationGetResponse struct {
	// contains filtered or unexported fields
}

ExternalConfigurationGetResponse is the response for the 'get' method.

func (*ExternalConfigurationGetResponse) Body ¶

Body returns the value of the 'body' parameter.

Retreived log.

func (*ExternalConfigurationGetResponse) Error ¶

Error returns the response error.

func (*ExternalConfigurationGetResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Retreived log.

func (*ExternalConfigurationGetResponse) Header ¶

Header returns header of the response.

func (*ExternalConfigurationGetResponse) Status ¶

Status returns the response status code.

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) 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) 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 ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*ExternalConfigurationListBuilder) Items ¶

Items sets the items of the list.

type ExternalConfigurationPollRequest ¶

type ExternalConfigurationPollRequest struct {
	// contains filtered or unexported fields
}

ExternalConfigurationPollRequest is the request for the Poll method.

func (*ExternalConfigurationPollRequest) Header ¶

func (r *ExternalConfigurationPollRequest) Header(name string, value interface{}) *ExternalConfigurationPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ExternalConfigurationPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ExternalConfigurationPollRequest) Parameter ¶

func (r *ExternalConfigurationPollRequest) Parameter(name string, value interface{}) *ExternalConfigurationPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ExternalConfigurationPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ExternalConfigurationPollRequest) StartContext ¶

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ExternalConfigurationPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ExternalConfigurationPollResponse ¶

type ExternalConfigurationPollResponse struct {
	// contains filtered or unexported fields
}

ExternalConfigurationPollResponse is the response for the Poll method.

func (*ExternalConfigurationPollResponse) Body ¶

Body returns the value of the 'body' parameter.

Retreived log.

func (*ExternalConfigurationPollResponse) Error ¶

Error returns the response error.

func (*ExternalConfigurationPollResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Retreived log.

func (*ExternalConfigurationPollResponse) Header ¶

Header returns header of the response.

func (*ExternalConfigurationPollResponse) Status ¶

Status returns the response status code.

type Flavour ¶

type Flavour struct {
	// contains filtered or unexported fields
}

Flavour represents the values of the 'flavour' type.

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 UnmarshalFlavour ¶

func UnmarshalFlavour(source interface{}) (object *Flavour, err error)

UnmarshalFlavour reads a value of the 'flavour' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalFlavourList ¶

func UnmarshalFlavourList(source interface{}) (items []*Flavour, err error)

UnmarshalFlavourList reads a list of values of the 'flavour' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Flavour) AWS ¶

func (o *Flavour) AWS() *AWSFlavour

AWS returns the value of the 'AWS' attribute, or the zero value of the type if the attribute doesn't have a value.

Default _Amazon Web Services_ settings of the cluster.

func (*Flavour) Empty ¶

func (o *Flavour) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Flavour) GCP ¶

func (o *Flavour) GCP() *GCPFlavour

GCP returns the value of the 'GCP' attribute, or the zero value of the type if the attribute doesn't have a value.

Default _Google Cloud Platform_ settings of the cluster.

func (*Flavour) GetAWS ¶

func (o *Flavour) GetAWS() (value *AWSFlavour, ok bool)

GetAWS returns the value of the 'AWS' attribute and a flag indicating if the attribute has a value.

Default _Amazon Web Services_ settings of the cluster.

func (*Flavour) GetGCP ¶

func (o *Flavour) GetGCP() (value *GCPFlavour, ok bool)

GetGCP returns the value of the 'GCP' attribute and a flag indicating if the attribute has a value.

Default _Google Cloud Platform_ settings of the cluster.

func (*Flavour) GetHREF ¶

func (o *Flavour) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Flavour) GetID ¶

func (o *Flavour) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Flavour) GetName ¶

func (o *Flavour) 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 cluster, for example `4`.

NOTE: Currently for all flavours the `id` and `name` attributes have exactly the same values.

func (*Flavour) GetNetwork ¶

func (o *Flavour) GetNetwork() (value *Network, ok bool)

GetNetwork returns the value of the 'network' attribute and a flag indicating if the attribute has a value.

Default network settings of the cluster.

These can be overridden specifying in the cluster itself a different set of settings.

func (*Flavour) GetNodes ¶

func (o *Flavour) GetNodes() (value *FlavourNodes, ok bool)

GetNodes returns the value of the 'nodes' attribute and a flag indicating if the attribute has a value.

Number of nodes that will be used by default when creating a cluster that uses this flavour.

These can be overridden specifying in the cluster itself a different number of nodes.

func (*Flavour) HREF ¶

func (o *Flavour) HREF() string

HREF returns the link to the object.

func (*Flavour) ID ¶

func (o *Flavour) ID() string

ID returns the identifier of the object.

func (*Flavour) Kind ¶

func (o *Flavour) Kind() string

Kind returns the name of the type of the object.

func (o *Flavour) Link() bool

Link returns true iif this is a link.

func (*Flavour) Name ¶

func (o *Flavour) 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 cluster, for example `4`.

NOTE: Currently for all flavours the `id` and `name` attributes have exactly the same values.

func (*Flavour) Network ¶

func (o *Flavour) 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.

Default network settings of the cluster.

These can be overridden specifying in the cluster itself a different set of settings.

func (*Flavour) Nodes ¶

func (o *Flavour) Nodes() *FlavourNodes

Nodes returns the value of the 'nodes' attribute, or the zero value of the type if the attribute doesn't have a value.

Number of nodes that will be used by default when creating a cluster that uses this flavour.

These can be overridden specifying in the cluster itself a different number of nodes.

type FlavourBuilder ¶

type FlavourBuilder struct {
	// contains filtered or unexported fields
}

FlavourBuilder contains the data and logic needed to build 'flavour' objects.

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 NewFlavour ¶

func NewFlavour() *FlavourBuilder

NewFlavour creates a new builder of 'flavour' objects.

func (*FlavourBuilder) AWS ¶

AWS sets the value of the 'AWS' attribute to the given value.

Specification for different classes of nodes inside a flavour.

func (*FlavourBuilder) Build ¶

func (b *FlavourBuilder) Build() (object *Flavour, err error)

Build creates a 'flavour' object using the configuration stored in the builder.

func (*FlavourBuilder) Copy ¶

func (b *FlavourBuilder) Copy(object *Flavour) *FlavourBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*FlavourBuilder) Empty ¶ added in v0.0.329

func (b *FlavourBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*FlavourBuilder) GCP ¶

GCP sets the value of the 'GCP' attribute to the given value.

Specification for different classes of nodes inside a flavour.

func (*FlavourBuilder) HREF ¶

func (b *FlavourBuilder) HREF(value string) *FlavourBuilder

HREF sets the link to the object.

func (*FlavourBuilder) ID ¶

func (b *FlavourBuilder) ID(value string) *FlavourBuilder

ID sets the identifier of the object.

func (b *FlavourBuilder) Link(value bool) *FlavourBuilder

Link sets the flag that indicates if this is a link.

func (*FlavourBuilder) Name ¶

func (b *FlavourBuilder) Name(value string) *FlavourBuilder

Name sets the value of the 'name' attribute to the given value.

func (*FlavourBuilder) Network ¶

func (b *FlavourBuilder) Network(value *NetworkBuilder) *FlavourBuilder

Network sets the value of the 'network' attribute to the given value.

Network configuration of a cluster.

func (*FlavourBuilder) Nodes ¶

Nodes sets the value of the 'nodes' attribute to the given value.

Counts of different classes of nodes inside a flavour.

type FlavourClient ¶

type FlavourClient struct {
	// contains filtered or unexported fields
}

FlavourClient is the client of the 'flavour' resource.

Manages a specific cluster flavour.

func NewFlavourClient ¶

func NewFlavourClient(transport http.RoundTripper, path string) *FlavourClient

NewFlavourClient creates a new client for the 'flavour' resource using the given transport to send the requests and receive the responses.

func (*FlavourClient) Get ¶

func (c *FlavourClient) Get() *FlavourGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the cluster flavour.

func (*FlavourClient) Poll ¶

func (c *FlavourClient) Poll() *FlavourPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*FlavourClient) Update ¶

func (c *FlavourClient) Update() *FlavourUpdateRequest

Update creates a request for the 'update' method.

Updates the flavour.

Attributes that can be updated are:

- `aws.infra_volume` - `aws.infra_instance_type` - `gcp.infra_instance_type`

type FlavourGetRequest ¶

type FlavourGetRequest struct {
	// contains filtered or unexported fields
}

FlavourGetRequest is the request for the 'get' method.

func (*FlavourGetRequest) Header ¶

func (r *FlavourGetRequest) Header(name string, value interface{}) *FlavourGetRequest

Header adds a request header.

func (*FlavourGetRequest) Impersonate ¶ added in v0.0.329

func (r *FlavourGetRequest) Impersonate(user string) *FlavourGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*FlavourGetRequest) Parameter ¶

func (r *FlavourGetRequest) Parameter(name string, value interface{}) *FlavourGetRequest

Parameter adds a query parameter.

func (*FlavourGetRequest) Send ¶

func (r *FlavourGetRequest) Send() (result *FlavourGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*FlavourGetRequest) SendContext ¶

func (r *FlavourGetRequest) SendContext(ctx context.Context) (result *FlavourGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type FlavourGetResponse ¶

type FlavourGetResponse struct {
	// contains filtered or unexported fields
}

FlavourGetResponse is the response for the 'get' method.

func (*FlavourGetResponse) Body ¶

func (r *FlavourGetResponse) Body() *Flavour

Body returns the value of the 'body' parameter.

func (*FlavourGetResponse) Error ¶

func (r *FlavourGetResponse) Error() *errors.Error

Error returns the response error.

func (*FlavourGetResponse) GetBody ¶

func (r *FlavourGetResponse) GetBody() (value *Flavour, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*FlavourGetResponse) Header ¶

func (r *FlavourGetResponse) Header() http.Header

Header returns header of the response.

func (*FlavourGetResponse) Status ¶

func (r *FlavourGetResponse) Status() int

Status returns the response status code.

type FlavourList ¶

type FlavourList struct {
	// contains filtered or unexported fields
}

FlavourList is a list of values of the 'flavour' type.

func (*FlavourList) Each ¶

func (l *FlavourList) Each(f func(item *Flavour) 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 (*FlavourList) Empty ¶

func (l *FlavourList) Empty() bool

Empty returns true if the list is empty.

func (*FlavourList) Get ¶

func (l *FlavourList) Get(i int) *Flavour

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*FlavourList) GetHREF ¶

func (l *FlavourList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*FlavourList) HREF ¶

func (l *FlavourList) HREF() string

HREF returns the link to the list.

func (*FlavourList) Kind ¶

func (l *FlavourList) Kind() string

Kind returns the name of the type of the object.

func (*FlavourList) Len ¶

func (l *FlavourList) Len() int

Len returns the length of the list.

func (l *FlavourList) Link() bool

Link returns true iif this is a link.

func (*FlavourList) Range ¶

func (l *FlavourList) Range(f func(index int, item *Flavour) 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 (*FlavourList) Slice ¶

func (l *FlavourList) Slice() []*Flavour

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 FlavourListBuilder ¶

type FlavourListBuilder struct {
	// contains filtered or unexported fields
}

FlavourListBuilder contains the data and logic needed to build 'flavour' objects.

func NewFlavourList ¶

func NewFlavourList() *FlavourListBuilder

NewFlavourList creates a new builder of 'flavour' objects.

func (*FlavourListBuilder) Build ¶

func (b *FlavourListBuilder) Build() (list *FlavourList, err error)

Build creates a list of 'flavour' objects using the configuration stored in the builder.

func (*FlavourListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*FlavourListBuilder) Empty ¶ added in v0.0.329

func (b *FlavourListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*FlavourListBuilder) Items ¶

Items sets the items of the list.

type FlavourNodes ¶

type FlavourNodes struct {
	// contains filtered or unexported fields
}

FlavourNodes represents the values of the 'flavour_nodes' type.

Counts of different classes of nodes inside a flavour.

func UnmarshalFlavourNodes ¶

func UnmarshalFlavourNodes(source interface{}) (object *FlavourNodes, err error)

UnmarshalFlavourNodes reads a value of the 'flavour_nodes' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalFlavourNodesList ¶

func UnmarshalFlavourNodesList(source interface{}) (items []*FlavourNodes, err error)

UnmarshalFlavourNodesList reads a list of values of the 'flavour_nodes' type from the given source, which can be a slice of bytes, a string or a reader.

func (*FlavourNodes) Empty ¶

func (o *FlavourNodes) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*FlavourNodes) GetMaster ¶

func (o *FlavourNodes) 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 (*FlavourNodes) Master ¶

func (o *FlavourNodes) 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.

type FlavourNodesBuilder ¶

type FlavourNodesBuilder struct {
	// contains filtered or unexported fields
}

FlavourNodesBuilder contains the data and logic needed to build 'flavour_nodes' objects.

Counts of different classes of nodes inside a flavour.

func NewFlavourNodes ¶

func NewFlavourNodes() *FlavourNodesBuilder

NewFlavourNodes creates a new builder of 'flavour_nodes' objects.

func (*FlavourNodesBuilder) Build ¶

func (b *FlavourNodesBuilder) Build() (object *FlavourNodes, err error)

Build creates a 'flavour_nodes' object using the configuration stored in the builder.

func (*FlavourNodesBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*FlavourNodesBuilder) Empty ¶ added in v0.0.329

func (b *FlavourNodesBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*FlavourNodesBuilder) Master ¶

func (b *FlavourNodesBuilder) Master(value int) *FlavourNodesBuilder

Master sets the value of the 'master' attribute to the given value.

type FlavourNodesList ¶

type FlavourNodesList struct {
	// contains filtered or unexported fields
}

FlavourNodesList is a list of values of the 'flavour_nodes' type.

func (*FlavourNodesList) Each ¶

func (l *FlavourNodesList) Each(f func(item *FlavourNodes) 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 (*FlavourNodesList) Empty ¶

func (l *FlavourNodesList) Empty() bool

Empty returns true if the list is empty.

func (*FlavourNodesList) Get ¶

func (l *FlavourNodesList) Get(i int) *FlavourNodes

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*FlavourNodesList) Len ¶

func (l *FlavourNodesList) Len() int

Len returns the length of the list.

func (*FlavourNodesList) Range ¶

func (l *FlavourNodesList) Range(f func(index int, item *FlavourNodes) 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 (*FlavourNodesList) Slice ¶

func (l *FlavourNodesList) Slice() []*FlavourNodes

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 FlavourNodesListBuilder ¶

type FlavourNodesListBuilder struct {
	// contains filtered or unexported fields
}

FlavourNodesListBuilder contains the data and logic needed to build 'flavour_nodes' objects.

func NewFlavourNodesList ¶

func NewFlavourNodesList() *FlavourNodesListBuilder

NewFlavourNodesList creates a new builder of 'flavour_nodes' objects.

func (*FlavourNodesListBuilder) Build ¶

func (b *FlavourNodesListBuilder) Build() (list *FlavourNodesList, err error)

Build creates a list of 'flavour_nodes' objects using the configuration stored in the builder.

func (*FlavourNodesListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*FlavourNodesListBuilder) Empty ¶ added in v0.0.329

func (b *FlavourNodesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*FlavourNodesListBuilder) Items ¶

Items sets the items of the list.

type FlavourPollRequest ¶

type FlavourPollRequest struct {
	// contains filtered or unexported fields
}

FlavourPollRequest is the request for the Poll method.

func (*FlavourPollRequest) Header ¶

func (r *FlavourPollRequest) Header(name string, value interface{}) *FlavourPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*FlavourPollRequest) Interval ¶

func (r *FlavourPollRequest) Interval(value time.Duration) *FlavourPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*FlavourPollRequest) Parameter ¶

func (r *FlavourPollRequest) Parameter(name string, value interface{}) *FlavourPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*FlavourPollRequest) Predicate ¶

func (r *FlavourPollRequest) Predicate(value func(*FlavourGetResponse) bool) *FlavourPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*FlavourPollRequest) StartContext ¶

func (r *FlavourPollRequest) StartContext(ctx context.Context) (response *FlavourPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*FlavourPollRequest) Status ¶

func (r *FlavourPollRequest) Status(value int) *FlavourPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type FlavourPollResponse ¶

type FlavourPollResponse struct {
	// contains filtered or unexported fields
}

FlavourPollResponse is the response for the Poll method.

func (*FlavourPollResponse) Body ¶

func (r *FlavourPollResponse) Body() *Flavour

Body returns the value of the 'body' parameter.

func (*FlavourPollResponse) Error ¶

func (r *FlavourPollResponse) Error() *errors.Error

Error returns the response error.

func (*FlavourPollResponse) GetBody ¶

func (r *FlavourPollResponse) GetBody() (value *Flavour, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*FlavourPollResponse) Header ¶

func (r *FlavourPollResponse) Header() http.Header

Header returns header of the response.

func (*FlavourPollResponse) Status ¶

func (r *FlavourPollResponse) Status() int

Status returns the response status code.

type FlavourUpdateRequest ¶

type FlavourUpdateRequest struct {
	// contains filtered or unexported fields
}

FlavourUpdateRequest is the request for the 'update' method.

func (*FlavourUpdateRequest) Body ¶

Body sets the value of the 'body' parameter.

func (*FlavourUpdateRequest) Header ¶

func (r *FlavourUpdateRequest) Header(name string, value interface{}) *FlavourUpdateRequest

Header adds a request header.

func (*FlavourUpdateRequest) Impersonate ¶ added in v0.0.329

func (r *FlavourUpdateRequest) Impersonate(user string) *FlavourUpdateRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*FlavourUpdateRequest) Parameter ¶

func (r *FlavourUpdateRequest) Parameter(name string, value interface{}) *FlavourUpdateRequest

Parameter adds a query parameter.

func (*FlavourUpdateRequest) Send ¶

func (r *FlavourUpdateRequest) Send() (result *FlavourUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*FlavourUpdateRequest) SendContext ¶

func (r *FlavourUpdateRequest) SendContext(ctx context.Context) (result *FlavourUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type FlavourUpdateResponse ¶

type FlavourUpdateResponse struct {
	// contains filtered or unexported fields
}

FlavourUpdateResponse is the response for the 'update' method.

func (*FlavourUpdateResponse) Body ¶

func (r *FlavourUpdateResponse) Body() *Flavour

Body returns the value of the 'body' parameter.

func (*FlavourUpdateResponse) Error ¶

func (r *FlavourUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*FlavourUpdateResponse) GetBody ¶

func (r *FlavourUpdateResponse) GetBody() (value *Flavour, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*FlavourUpdateResponse) Header ¶

func (r *FlavourUpdateResponse) Header() http.Header

Header returns header of the response.

func (*FlavourUpdateResponse) Status ¶

func (r *FlavourUpdateResponse) Status() int

Status returns the response status code.

type FlavoursClient ¶

type FlavoursClient struct {
	// contains filtered or unexported fields
}

FlavoursClient is the client of the 'flavours' resource.

Manages the collection of cluster flavours.

func NewFlavoursClient ¶

func NewFlavoursClient(transport http.RoundTripper, path string) *FlavoursClient

NewFlavoursClient creates a new client for the 'flavours' resource using the given transport to send the requests and receive the responses.

func (*FlavoursClient) Flavour ¶

func (c *FlavoursClient) Flavour(id string) *FlavourClient

Flavour returns the target 'flavour' resource for the given identifier.

Reference to the resource that manages a specific flavour.

func (*FlavoursClient) List ¶

List creates a request for the 'list' method.

type FlavoursListRequest ¶

type FlavoursListRequest struct {
	// contains filtered or unexported fields
}

FlavoursListRequest is the request for the 'list' method.

func (*FlavoursListRequest) Header ¶

func (r *FlavoursListRequest) Header(name string, value interface{}) *FlavoursListRequest

Header adds a request header.

func (*FlavoursListRequest) Impersonate ¶ added in v0.0.329

func (r *FlavoursListRequest) Impersonate(user string) *FlavoursListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*FlavoursListRequest) Order ¶

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the flavour instead of the names of the columns of a table. For example, in order to sort the flavours descending by name the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*FlavoursListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*FlavoursListRequest) Parameter ¶

func (r *FlavoursListRequest) Parameter(name string, value interface{}) *FlavoursListRequest

Parameter adds a query parameter.

func (*FlavoursListRequest) Search ¶

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the flavour instead of the names of the columns of a table. For example, in order to retrieve all the flavours with a name starting with `my`the value should be:

```sql name like 'my%' ```

If the parameter isn't provided, or if the value is empty, then all the flavours that the user has permission to see will be returned.

func (*FlavoursListRequest) Send ¶

func (r *FlavoursListRequest) Send() (result *FlavoursListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*FlavoursListRequest) SendContext ¶

func (r *FlavoursListRequest) SendContext(ctx context.Context) (result *FlavoursListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*FlavoursListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type FlavoursListResponse ¶

type FlavoursListResponse struct {
	// contains filtered or unexported fields
}

FlavoursListResponse is the response for the 'list' method.

func (*FlavoursListResponse) Error ¶

func (r *FlavoursListResponse) Error() *errors.Error

Error returns the response error.

func (*FlavoursListResponse) GetItems ¶

func (r *FlavoursListResponse) GetItems() (value *FlavourList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of flavours.

func (*FlavoursListResponse) GetPage ¶

func (r *FlavoursListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*FlavoursListResponse) GetSize ¶

func (r *FlavoursListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*FlavoursListResponse) GetTotal ¶

func (r *FlavoursListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*FlavoursListResponse) Header ¶

func (r *FlavoursListResponse) Header() http.Header

Header returns header of the response.

func (*FlavoursListResponse) Items ¶

func (r *FlavoursListResponse) Items() *FlavourList

Items returns the value of the 'items' parameter.

Retrieved list of flavours.

func (*FlavoursListResponse) Page ¶

func (r *FlavoursListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*FlavoursListResponse) Size ¶

func (r *FlavoursListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*FlavoursListResponse) Status ¶

func (r *FlavoursListResponse) Status() int

Status returns the response status code.

func (*FlavoursListResponse) Total ¶

func (r *FlavoursListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type GCP ¶ added in v0.0.329

type GCP struct {
	// contains filtered or unexported fields
}

GCP represents the values of the 'GCP' type.

Google cloud platform settings of a cluster.

func UnmarshalGCP ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) ClientEmail ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *GCP) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GCP) GetAuthProviderX509CertURL ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) GetClientEmail ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) GetProjectID ¶ added in v0.0.329

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 ¶ added in v0.1.383

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) ProjectID ¶ added in v0.0.329

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 ¶ added in v0.1.383

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type GCPBuilder struct {
	// contains filtered or unexported fields
}

GCPBuilder contains the data and logic needed to build 'GCP' objects.

Google cloud platform settings of a cluster.

func NewGCP ¶ added in v0.0.329

func NewGCP() *GCPBuilder

NewGCP creates a new builder of 'GCP' objects.

func (*GCPBuilder) AuthProviderX509CertURL ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *GCPBuilder) AuthURI(value string) *GCPBuilder

AuthURI sets the value of the 'auth_URI' attribute to the given value.

func (*GCPBuilder) Build ¶ added in v0.0.329

func (b *GCPBuilder) Build() (object *GCP, err error)

Build creates a 'GCP' object using the configuration stored in the builder.

func (*GCPBuilder) ClientEmail ¶ added in v0.0.329

func (b *GCPBuilder) ClientEmail(value string) *GCPBuilder

ClientEmail sets the value of the 'client_email' attribute to the given value.

func (*GCPBuilder) ClientID ¶ added in v0.0.329

func (b *GCPBuilder) ClientID(value string) *GCPBuilder

ClientID sets the value of the 'client_ID' attribute to the given value.

func (*GCPBuilder) ClientX509CertURL ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *GCPBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GCPBuilder) PrivateKey ¶ added in v0.0.329

func (b *GCPBuilder) PrivateKey(value string) *GCPBuilder

PrivateKey sets the value of the 'private_key' attribute to the given value.

func (*GCPBuilder) PrivateKeyID ¶ added in v0.0.329

func (b *GCPBuilder) PrivateKeyID(value string) *GCPBuilder

PrivateKeyID sets the value of the 'private_key_ID' attribute to the given value.

func (*GCPBuilder) ProjectID ¶ added in v0.0.329

func (b *GCPBuilder) ProjectID(value string) *GCPBuilder

ProjectID sets the value of the 'project_ID' attribute to the given value.

func (*GCPBuilder) Security ¶ added in v0.1.383

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 ¶ added in v0.0.329

func (b *GCPBuilder) TokenURI(value string) *GCPBuilder

TokenURI sets the value of the 'token_URI' attribute to the given value.

func (*GCPBuilder) Type ¶ added in v0.0.329

func (b *GCPBuilder) Type(value string) *GCPBuilder

Type sets the value of the 'type' attribute to the given value.

type GCPEncryptionKey ¶ added in v0.0.329

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 UnmarshalGCPEncryptionKey ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *GCPEncryptionKey) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GCPEncryptionKey) GetKMSKeyServiceAccount ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type GCPEncryptionKeyBuilder struct {
	// contains filtered or unexported fields
}

GCPEncryptionKeyBuilder contains the data and logic needed to build 'GCP_encryption_key' objects.

GCP Encryption Key for CCS clusters.

func NewGCPEncryptionKey ¶ added in v0.0.329

func NewGCPEncryptionKey() *GCPEncryptionKeyBuilder

NewGCPEncryptionKey creates a new builder of 'GCP_encryption_key' objects.

func (*GCPEncryptionKeyBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GCPEncryptionKeyBuilder) Empty ¶ added in v0.0.329

func (b *GCPEncryptionKeyBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GCPEncryptionKeyBuilder) KMSKeyServiceAccount ¶ added in v0.0.329

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 ¶ added in v0.0.329

KeyLocation sets the value of the 'key_location' attribute to the given value.

func (*GCPEncryptionKeyBuilder) KeyName ¶ added in v0.0.329

KeyName sets the value of the 'key_name' attribute to the given value.

func (*GCPEncryptionKeyBuilder) KeyRing ¶ added in v0.0.329

KeyRing sets the value of the 'key_ring' attribute to the given value.

type GCPEncryptionKeyList ¶ added in v0.0.329

type GCPEncryptionKeyList struct {
	// contains filtered or unexported fields
}

GCPEncryptionKeyList is a list of values of the 'GCP_encryption_key' type.

func (*GCPEncryptionKeyList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *GCPEncryptionKeyList) Empty() bool

Empty returns true if the list is empty.

func (*GCPEncryptionKeyList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GCPEncryptionKeyList) Len ¶ added in v0.0.329

func (l *GCPEncryptionKeyList) Len() int

Len returns the length of the list.

func (*GCPEncryptionKeyList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type GCPEncryptionKeyListBuilder struct {
	// contains filtered or unexported fields
}

GCPEncryptionKeyListBuilder contains the data and logic needed to build 'GCP_encryption_key' objects.

func NewGCPEncryptionKeyList ¶ added in v0.0.329

func NewGCPEncryptionKeyList() *GCPEncryptionKeyListBuilder

NewGCPEncryptionKeyList creates a new builder of 'GCP_encryption_key' objects.

func (*GCPEncryptionKeyListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GCPEncryptionKeyListBuilder) Empty ¶ added in v0.0.329

func (b *GCPEncryptionKeyListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPEncryptionKeyListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type GCPFlavour ¶

type GCPFlavour struct {
	// contains filtered or unexported fields
}

GCPFlavour represents the values of the 'GCP_flavour' type.

Specification for different classes of nodes inside a flavour.

func UnmarshalGCPFlavour ¶

func UnmarshalGCPFlavour(source interface{}) (object *GCPFlavour, err error)

UnmarshalGCPFlavour reads a value of the 'GCP_flavour' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGCPFlavourList ¶

func UnmarshalGCPFlavourList(source interface{}) (items []*GCPFlavour, err error)

UnmarshalGCPFlavourList reads a list of values of the 'GCP_flavour' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GCPFlavour) ComputeInstanceType ¶

func (o *GCPFlavour) ComputeInstanceType() string

ComputeInstanceType returns the value of the 'compute_instance_type' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP default instance type for the worker volume.

User can be overridden specifying in the cluster itself a type for compute node.

func (*GCPFlavour) Empty ¶

func (o *GCPFlavour) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GCPFlavour) GetComputeInstanceType ¶

func (o *GCPFlavour) GetComputeInstanceType() (value string, ok bool)

GetComputeInstanceType returns the value of the 'compute_instance_type' attribute and a flag indicating if the attribute has a value.

GCP default instance type for the worker volume.

User can be overridden specifying in the cluster itself a type for compute node.

func (*GCPFlavour) GetInfraInstanceType ¶

func (o *GCPFlavour) GetInfraInstanceType() (value string, ok bool)

GetInfraInstanceType returns the value of the 'infra_instance_type' attribute and a flag indicating if the attribute has a value.

GCP default instance type for the infra volume.

func (*GCPFlavour) GetInfraVolume ¶ added in v0.0.329

func (o *GCPFlavour) GetInfraVolume() (value *GCPVolume, ok bool)

GetInfraVolume returns the value of the 'infra_volume' attribute and a flag indicating if the attribute has a value.

Infra volume specification.

func (*GCPFlavour) GetMasterInstanceType ¶

func (o *GCPFlavour) GetMasterInstanceType() (value string, ok bool)

GetMasterInstanceType returns the value of the 'master_instance_type' attribute and a flag indicating if the attribute has a value.

GCP default instance type for the master volume.

func (*GCPFlavour) GetMasterVolume ¶ added in v0.0.329

func (o *GCPFlavour) GetMasterVolume() (value *GCPVolume, ok bool)

GetMasterVolume returns the value of the 'master_volume' attribute and a flag indicating if the attribute has a value.

Master volume specification.

func (*GCPFlavour) GetWorkerVolume ¶ added in v0.0.329

func (o *GCPFlavour) GetWorkerVolume() (value *GCPVolume, ok bool)

GetWorkerVolume returns the value of the 'worker_volume' attribute and a flag indicating if the attribute has a value.

Worker volume specification.

func (*GCPFlavour) InfraInstanceType ¶

func (o *GCPFlavour) InfraInstanceType() string

InfraInstanceType returns the value of the 'infra_instance_type' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP default instance type for the infra volume.

func (*GCPFlavour) InfraVolume ¶ added in v0.0.329

func (o *GCPFlavour) InfraVolume() *GCPVolume

InfraVolume returns the value of the 'infra_volume' attribute, or the zero value of the type if the attribute doesn't have a value.

Infra volume specification.

func (*GCPFlavour) MasterInstanceType ¶

func (o *GCPFlavour) MasterInstanceType() string

MasterInstanceType returns the value of the 'master_instance_type' attribute, or the zero value of the type if the attribute doesn't have a value.

GCP default instance type for the master volume.

func (*GCPFlavour) MasterVolume ¶ added in v0.0.329

func (o *GCPFlavour) MasterVolume() *GCPVolume

MasterVolume returns the value of the 'master_volume' attribute, or the zero value of the type if the attribute doesn't have a value.

Master volume specification.

func (*GCPFlavour) WorkerVolume ¶ added in v0.0.329

func (o *GCPFlavour) WorkerVolume() *GCPVolume

WorkerVolume returns the value of the 'worker_volume' attribute, or the zero value of the type if the attribute doesn't have a value.

Worker volume specification.

type GCPFlavourBuilder ¶

type GCPFlavourBuilder struct {
	// contains filtered or unexported fields
}

GCPFlavourBuilder contains the data and logic needed to build 'GCP_flavour' objects.

Specification for different classes of nodes inside a flavour.

func NewGCPFlavour ¶

func NewGCPFlavour() *GCPFlavourBuilder

NewGCPFlavour creates a new builder of 'GCP_flavour' objects.

func (*GCPFlavourBuilder) Build ¶

func (b *GCPFlavourBuilder) Build() (object *GCPFlavour, err error)

Build creates a 'GCP_flavour' object using the configuration stored in the builder.

func (*GCPFlavourBuilder) ComputeInstanceType ¶

func (b *GCPFlavourBuilder) ComputeInstanceType(value string) *GCPFlavourBuilder

ComputeInstanceType sets the value of the 'compute_instance_type' attribute to the given value.

func (*GCPFlavourBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GCPFlavourBuilder) Empty ¶ added in v0.0.329

func (b *GCPFlavourBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GCPFlavourBuilder) InfraInstanceType ¶

func (b *GCPFlavourBuilder) InfraInstanceType(value string) *GCPFlavourBuilder

InfraInstanceType sets the value of the 'infra_instance_type' attribute to the given value.

func (*GCPFlavourBuilder) InfraVolume ¶ added in v0.0.329

func (b *GCPFlavourBuilder) InfraVolume(value *GCPVolumeBuilder) *GCPFlavourBuilder

InfraVolume sets the value of the 'infra_volume' attribute to the given value.

Holds settings for an GCP storage volume.

func (*GCPFlavourBuilder) MasterInstanceType ¶

func (b *GCPFlavourBuilder) MasterInstanceType(value string) *GCPFlavourBuilder

MasterInstanceType sets the value of the 'master_instance_type' attribute to the given value.

func (*GCPFlavourBuilder) MasterVolume ¶ added in v0.0.329

func (b *GCPFlavourBuilder) MasterVolume(value *GCPVolumeBuilder) *GCPFlavourBuilder

MasterVolume sets the value of the 'master_volume' attribute to the given value.

Holds settings for an GCP storage volume.

func (*GCPFlavourBuilder) WorkerVolume ¶ added in v0.0.329

func (b *GCPFlavourBuilder) WorkerVolume(value *GCPVolumeBuilder) *GCPFlavourBuilder

WorkerVolume sets the value of the 'worker_volume' attribute to the given value.

Holds settings for an GCP storage volume.

type GCPFlavourList ¶

type GCPFlavourList struct {
	// contains filtered or unexported fields
}

GCPFlavourList is a list of values of the 'GCP_flavour' type.

func (*GCPFlavourList) Each ¶

func (l *GCPFlavourList) Each(f func(item *GCPFlavour) 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 (*GCPFlavourList) Empty ¶

func (l *GCPFlavourList) Empty() bool

Empty returns true if the list is empty.

func (*GCPFlavourList) Get ¶

func (l *GCPFlavourList) Get(i int) *GCPFlavour

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GCPFlavourList) Len ¶

func (l *GCPFlavourList) Len() int

Len returns the length of the list.

func (*GCPFlavourList) Range ¶

func (l *GCPFlavourList) Range(f func(index int, item *GCPFlavour) 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 (*GCPFlavourList) Slice ¶

func (l *GCPFlavourList) Slice() []*GCPFlavour

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 GCPFlavourListBuilder ¶

type GCPFlavourListBuilder struct {
	// contains filtered or unexported fields
}

GCPFlavourListBuilder contains the data and logic needed to build 'GCP_flavour' objects.

func NewGCPFlavourList ¶

func NewGCPFlavourList() *GCPFlavourListBuilder

NewGCPFlavourList creates a new builder of 'GCP_flavour' objects.

func (*GCPFlavourListBuilder) Build ¶

func (b *GCPFlavourListBuilder) Build() (list *GCPFlavourList, err error)

Build creates a list of 'GCP_flavour' objects using the configuration stored in the builder.

func (*GCPFlavourListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GCPFlavourListBuilder) Empty ¶ added in v0.0.329

func (b *GCPFlavourListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPFlavourListBuilder) Items ¶

Items sets the items of the list.

type GCPImageOverride ¶ added in v0.1.368

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 UnmarshalGCPImageOverride ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

func (o *GCPImageOverride) BillingModel() *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 ¶ added in v0.1.368

func (o *GCPImageOverride) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GCPImageOverride) GetBillingModel ¶ added in v0.1.368

func (o *GCPImageOverride) GetBillingModel() (value *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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

func (o *GCPImageOverride) GetProduct() (value *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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

func (o *GCPImageOverride) HREF() string

HREF returns the link to the object.

func (*GCPImageOverride) ID ¶ added in v0.1.368

func (o *GCPImageOverride) ID() string

ID returns the identifier of the object.

func (*GCPImageOverride) ImageID ¶ added in v0.1.368

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 ¶ added in v0.1.368

func (o *GCPImageOverride) Kind() string

Kind returns the name of the type of the object.

func (o *GCPImageOverride) Link() bool

Link returns true iif this is a link.

func (*GCPImageOverride) Product ¶ added in v0.1.368

func (o *GCPImageOverride) Product() *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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

type GCPImageOverrideBuilder struct {
	// contains filtered or unexported fields
}

GCPImageOverrideBuilder contains the data and logic needed to build 'GCP_image_override' objects.

GcpImageOverride specifies what a GCP VM Image should be used for a particular product and billing model

func NewGCPImageOverride ¶ added in v0.1.368

func NewGCPImageOverride() *GCPImageOverrideBuilder

NewGCPImageOverride creates a new builder of 'GCP_image_override' objects.

func (*GCPImageOverrideBuilder) BillingModel ¶ added in v0.1.368

BillingModel sets the value of the 'billing_model' attribute to the given value.

BillingModelItem represents a billing model

func (*GCPImageOverrideBuilder) Build ¶ added in v0.1.368

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 ¶ added in v0.1.368

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GCPImageOverrideBuilder) Empty ¶ added in v0.1.368

func (b *GCPImageOverrideBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GCPImageOverrideBuilder) HREF ¶ added in v0.1.368

HREF sets the link to the object.

func (*GCPImageOverrideBuilder) ID ¶ added in v0.1.368

ID sets the identifier of the object.

func (*GCPImageOverrideBuilder) ImageID ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

ProjectID sets the value of the 'project_ID' attribute to the given value.

type GCPImageOverrideList ¶ added in v0.1.368

type GCPImageOverrideList struct {
	// contains filtered or unexported fields
}

GCPImageOverrideList is a list of values of the 'GCP_image_override' type.

func (*GCPImageOverrideList) Each ¶ added in v0.1.368

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 ¶ added in v0.1.368

func (l *GCPImageOverrideList) Empty() bool

Empty returns true if the list is empty.

func (*GCPImageOverrideList) Get ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

func (l *GCPImageOverrideList) HREF() string

HREF returns the link to the list.

func (*GCPImageOverrideList) Kind ¶ added in v0.1.368

func (l *GCPImageOverrideList) Kind() string

Kind returns the name of the type of the object.

func (*GCPImageOverrideList) Len ¶ added in v0.1.368

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 ¶ added in v0.1.368

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) Slice ¶ added in v0.1.368

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 ¶ added in v0.1.368

type GCPImageOverrideListBuilder struct {
	// contains filtered or unexported fields
}

GCPImageOverrideListBuilder contains the data and logic needed to build 'GCP_image_override' objects.

func NewGCPImageOverrideList ¶ added in v0.1.368

func NewGCPImageOverrideList() *GCPImageOverrideListBuilder

NewGCPImageOverrideList creates a new builder of 'GCP_image_override' objects.

func (*GCPImageOverrideListBuilder) Build ¶ added in v0.1.368

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 ¶ added in v0.1.368

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GCPImageOverrideListBuilder) Empty ¶ added in v0.1.368

func (b *GCPImageOverrideListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPImageOverrideListBuilder) Items ¶ added in v0.1.368

Items sets the items of the list.

type GCPInquiriesClient ¶ added in v0.0.329

type GCPInquiriesClient struct {
	// contains filtered or unexported fields
}

GCPInquiriesClient is the client of the 'GCP_inquiries' resource.

Manages the collection of gcp inquiries.

func NewGCPInquiriesClient ¶ added in v0.0.329

func NewGCPInquiriesClient(transport http.RoundTripper, path string) *GCPInquiriesClient

NewGCPInquiriesClient creates a new client for the 'GCP_inquiries' resource using the given transport to send the requests and receive the responses.

func (*GCPInquiriesClient) EncryptionKeys ¶ added in v0.0.329

func (c *GCPInquiriesClient) EncryptionKeys() *EncryptionKeysInquiryClient

EncryptionKeys returns the target 'encryption_keys_inquiry' resource.

Reference to the resource that manages a collection of encryption keys.

func (*GCPInquiriesClient) KeyRings ¶ added in v0.0.329

KeyRings returns the target 'key_rings_inquiry' resource.

Reference to the resource that manages a collection of key rings.

func (*GCPInquiriesClient) MachineTypes ¶ added in v0.1.386

MachineTypes returns the target 'GCP_region_machine_types_inquiry' resource.

Reference to the resource that manages gcp machine types by regions.

func (*GCPInquiriesClient) Regions ¶ added in v0.0.329

Regions returns the target 'available_regions_inquiry' resource.

Reference to the resource that manages a collection of regions.

func (*GCPInquiriesClient) Vpcs ¶ added in v0.0.329

Vpcs returns the target 'vpcs_inquiry' resource.

Reference to the resource that manages a collection of vpcs.

type GCPList ¶ added in v0.0.329

type GCPList struct {
	// contains filtered or unexported fields
}

GCPList is a list of values of the 'GCP' type.

func (*GCPList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *GCPList) Empty() bool

Empty returns true if the list is empty.

func (*GCPList) Get ¶ added in v0.0.329

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) Len ¶ added in v0.0.329

func (l *GCPList) Len() int

Len returns the length of the list.

func (*GCPList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type GCPListBuilder struct {
	// contains filtered or unexported fields
}

GCPListBuilder contains the data and logic needed to build 'GCP' objects.

func NewGCPList ¶ added in v0.0.329

func NewGCPList() *GCPListBuilder

NewGCPList creates a new builder of 'GCP' objects.

func (*GCPListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *GCPListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPListBuilder) Items ¶ added in v0.0.329

func (b *GCPListBuilder) Items(values ...*GCPBuilder) *GCPListBuilder

Items sets the items of the list.

type GCPNetwork ¶ added in v0.0.329

type GCPNetwork struct {
	// contains filtered or unexported fields
}

GCPNetwork represents the values of the 'GCP_network' type.

GCP Network configuration of a cluster.

func UnmarshalGCPNetwork ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *GCPNetwork) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GCPNetwork) GetComputeSubnet ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.361

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 ¶ added in v0.0.329

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 ¶ added in v0.1.361

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 ¶ added in v0.0.329

type GCPNetworkBuilder struct {
	// contains filtered or unexported fields
}

GCPNetworkBuilder contains the data and logic needed to build 'GCP_network' objects.

GCP Network configuration of a cluster.

func NewGCPNetwork ¶ added in v0.0.329

func NewGCPNetwork() *GCPNetworkBuilder

NewGCPNetwork creates a new builder of 'GCP_network' objects.

func (*GCPNetworkBuilder) Build ¶ added in v0.0.329

func (b *GCPNetworkBuilder) Build() (object *GCPNetwork, err error)

Build creates a 'GCP_network' object using the configuration stored in the builder.

func (*GCPNetworkBuilder) ComputeSubnet ¶ added in v0.0.329

func (b *GCPNetworkBuilder) ComputeSubnet(value string) *GCPNetworkBuilder

ComputeSubnet sets the value of the 'compute_subnet' attribute to the given value.

func (*GCPNetworkBuilder) ControlPlaneSubnet ¶ added in v0.0.329

func (b *GCPNetworkBuilder) ControlPlaneSubnet(value string) *GCPNetworkBuilder

ControlPlaneSubnet sets the value of the 'control_plane_subnet' attribute to the given value.

func (*GCPNetworkBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GCPNetworkBuilder) Empty ¶ added in v0.0.329

func (b *GCPNetworkBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GCPNetworkBuilder) VPCName ¶ added in v0.0.329

func (b *GCPNetworkBuilder) VPCName(value string) *GCPNetworkBuilder

VPCName sets the value of the 'VPC_name' attribute to the given value.

func (*GCPNetworkBuilder) VPCProjectID ¶ added in v0.1.361

func (b *GCPNetworkBuilder) VPCProjectID(value string) *GCPNetworkBuilder

VPCProjectID sets the value of the 'VPC_project_ID' attribute to the given value.

type GCPNetworkList ¶ added in v0.0.329

type GCPNetworkList struct {
	// contains filtered or unexported fields
}

GCPNetworkList is a list of values of the 'GCP_network' type.

func (*GCPNetworkList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *GCPNetworkList) Empty() bool

Empty returns true if the list is empty.

func (*GCPNetworkList) Get ¶ added in v0.0.329

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) Len ¶ added in v0.0.329

func (l *GCPNetworkList) Len() int

Len returns the length of the list.

func (*GCPNetworkList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type GCPNetworkListBuilder struct {
	// contains filtered or unexported fields
}

GCPNetworkListBuilder contains the data and logic needed to build 'GCP_network' objects.

func NewGCPNetworkList ¶ added in v0.0.329

func NewGCPNetworkList() *GCPNetworkListBuilder

NewGCPNetworkList creates a new builder of 'GCP_network' objects.

func (*GCPNetworkListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GCPNetworkListBuilder) Empty ¶ added in v0.0.329

func (b *GCPNetworkListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPNetworkListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type GCPRegionMachineTypesInquiryClient ¶ added in v0.1.386

type GCPRegionMachineTypesInquiryClient struct {
	// contains filtered or unexported fields
}

GCPRegionMachineTypesInquiryClient is the client of the 'GCP_region_machine_types_inquiry' resource.

Manages machine types in region inquiry.

func NewGCPRegionMachineTypesInquiryClient ¶ added in v0.1.386

func NewGCPRegionMachineTypesInquiryClient(transport http.RoundTripper, path string) *GCPRegionMachineTypesInquiryClient

NewGCPRegionMachineTypesInquiryClient creates a new client for the 'GCP_region_machine_types_inquiry' resource using the given transport to send the requests and receive the responses.

func (*GCPRegionMachineTypesInquiryClient) Search ¶ added in v0.1.386

Search creates a request for the 'search' method.

Retrieves the list of machine types in the provided region.

type GCPRegionMachineTypesInquirySearchRequest ¶ added in v0.1.386

type GCPRegionMachineTypesInquirySearchRequest struct {
	// contains filtered or unexported fields
}

GCPRegionMachineTypesInquirySearchRequest is the request for the 'search' method.

func (*GCPRegionMachineTypesInquirySearchRequest) Body ¶ added in v0.1.386

Body sets the value of the 'body' parameter.

Cloud provider data needed for the inquiry

func (*GCPRegionMachineTypesInquirySearchRequest) Header ¶ added in v0.1.386

Header adds a request header.

func (*GCPRegionMachineTypesInquirySearchRequest) Impersonate ¶ added in v0.1.386

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*GCPRegionMachineTypesInquirySearchRequest) Page ¶ added in v0.1.386

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*GCPRegionMachineTypesInquirySearchRequest) Parameter ¶ added in v0.1.386

Parameter adds a query parameter.

func (*GCPRegionMachineTypesInquirySearchRequest) Send ¶ added in v0.1.386

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*GCPRegionMachineTypesInquirySearchRequest) SendContext ¶ added in v0.1.386

SendContext sends this request, waits for the response, and returns it.

func (*GCPRegionMachineTypesInquirySearchRequest) Size ¶ added in v0.1.386

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type GCPRegionMachineTypesInquirySearchResponse ¶ added in v0.1.386

type GCPRegionMachineTypesInquirySearchResponse struct {
	// contains filtered or unexported fields
}

GCPRegionMachineTypesInquirySearchResponse is the response for the 'search' method.

func (*GCPRegionMachineTypesInquirySearchResponse) Error ¶ added in v0.1.386

Error returns the response error.

func (*GCPRegionMachineTypesInquirySearchResponse) GetItems ¶ added in v0.1.386

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of machine types.

func (*GCPRegionMachineTypesInquirySearchResponse) GetPage ¶ added in v0.1.386

func (r *GCPRegionMachineTypesInquirySearchResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*GCPRegionMachineTypesInquirySearchResponse) GetSize ¶ added in v0.1.386

func (r *GCPRegionMachineTypesInquirySearchResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*GCPRegionMachineTypesInquirySearchResponse) GetTotal ¶ added in v0.1.386

func (r *GCPRegionMachineTypesInquirySearchResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*GCPRegionMachineTypesInquirySearchResponse) Header ¶ added in v0.1.386

Header returns header of the response.

func (*GCPRegionMachineTypesInquirySearchResponse) Items ¶ added in v0.1.386

Items returns the value of the 'items' parameter.

Retrieved list of machine types.

func (*GCPRegionMachineTypesInquirySearchResponse) Page ¶ added in v0.1.386

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*GCPRegionMachineTypesInquirySearchResponse) Size ¶ added in v0.1.386

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*GCPRegionMachineTypesInquirySearchResponse) Status ¶ added in v0.1.386

Status returns the response status code.

func (*GCPRegionMachineTypesInquirySearchResponse) Total ¶ added in v0.1.386

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type GCPVolume ¶ added in v0.0.329

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 UnmarshalGCPVolume ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *GCPVolume) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GCPVolume) GetSize ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type GCPVolumeBuilder struct {
	// contains filtered or unexported fields
}

GCPVolumeBuilder contains the data and logic needed to build 'GCP_volume' objects.

Holds settings for an GCP storage volume.

func NewGCPVolume ¶ added in v0.0.329

func NewGCPVolume() *GCPVolumeBuilder

NewGCPVolume creates a new builder of 'GCP_volume' objects.

func (*GCPVolumeBuilder) Build ¶ added in v0.0.329

func (b *GCPVolumeBuilder) Build() (object *GCPVolume, err error)

Build creates a 'GCP_volume' object using the configuration stored in the builder.

func (*GCPVolumeBuilder) Copy ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *GCPVolumeBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GCPVolumeBuilder) Size ¶ added in v0.0.329

func (b *GCPVolumeBuilder) Size(value int) *GCPVolumeBuilder

Size sets the value of the 'size' attribute to the given value.

type GCPVolumeList ¶ added in v0.0.329

type GCPVolumeList struct {
	// contains filtered or unexported fields
}

GCPVolumeList is a list of values of the 'GCP_volume' type.

func (*GCPVolumeList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *GCPVolumeList) Empty() bool

Empty returns true if the list is empty.

func (*GCPVolumeList) Get ¶ added in v0.0.329

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) Len ¶ added in v0.0.329

func (l *GCPVolumeList) Len() int

Len returns the length of the list.

func (*GCPVolumeList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type GCPVolumeListBuilder struct {
	// contains filtered or unexported fields
}

GCPVolumeListBuilder contains the data and logic needed to build 'GCP_volume' objects.

func NewGCPVolumeList ¶ added in v0.0.329

func NewGCPVolumeList() *GCPVolumeListBuilder

NewGCPVolumeList creates a new builder of 'GCP_volume' objects.

func (*GCPVolumeListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GCPVolumeListBuilder) Empty ¶ added in v0.0.329

func (b *GCPVolumeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GCPVolumeListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type GcpSecurity ¶ added in v0.1.383

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 UnmarshalGcpSecurity ¶ added in v0.1.383

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 ¶ added in v0.1.383

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 ¶ added in v0.1.383

func (o *GcpSecurity) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GcpSecurity) GetSecureBoot ¶ added in v0.1.383

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 ¶ added in v0.1.383

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 ¶ added in v0.1.383

type GcpSecurityBuilder struct {
	// contains filtered or unexported fields
}

GcpSecurityBuilder contains the data and logic needed to build 'gcp_security' objects.

Google cloud platform security settings of a cluster.

func NewGcpSecurity ¶ added in v0.1.383

func NewGcpSecurity() *GcpSecurityBuilder

NewGcpSecurity creates a new builder of 'gcp_security' objects.

func (*GcpSecurityBuilder) Build ¶ added in v0.1.383

func (b *GcpSecurityBuilder) Build() (object *GcpSecurity, err error)

Build creates a 'gcp_security' object using the configuration stored in the builder.

func (*GcpSecurityBuilder) Copy ¶ added in v0.1.383

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GcpSecurityBuilder) Empty ¶ added in v0.1.383

func (b *GcpSecurityBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GcpSecurityBuilder) SecureBoot ¶ added in v0.1.383

func (b *GcpSecurityBuilder) SecureBoot(value bool) *GcpSecurityBuilder

SecureBoot sets the value of the 'secure_boot' attribute to the given value.

type GcpSecurityList ¶ added in v0.1.383

type GcpSecurityList struct {
	// contains filtered or unexported fields
}

GcpSecurityList is a list of values of the 'gcp_security' type.

func (*GcpSecurityList) Each ¶ added in v0.1.383

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 ¶ added in v0.1.383

func (l *GcpSecurityList) Empty() bool

Empty returns true if the list is empty.

func (*GcpSecurityList) Get ¶ added in v0.1.383

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) Len ¶ added in v0.1.383

func (l *GcpSecurityList) Len() int

Len returns the length of the list.

func (*GcpSecurityList) Range ¶ added in v0.1.383

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) Slice ¶ added in v0.1.383

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 ¶ added in v0.1.383

type GcpSecurityListBuilder struct {
	// contains filtered or unexported fields
}

GcpSecurityListBuilder contains the data and logic needed to build 'gcp_security' objects.

func NewGcpSecurityList ¶ added in v0.1.383

func NewGcpSecurityList() *GcpSecurityListBuilder

NewGcpSecurityList creates a new builder of 'gcp_security' objects.

func (*GcpSecurityListBuilder) Build ¶ added in v0.1.383

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 ¶ added in v0.1.383

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GcpSecurityListBuilder) Empty ¶ added in v0.1.383

func (b *GcpSecurityListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GcpSecurityListBuilder) Items ¶ added in v0.1.383

Items sets the items of the list.

type GithubIdentityProvider ¶

type GithubIdentityProvider struct {
	// contains filtered or unexported fields
}

GithubIdentityProvider represents the values of the 'github_identity_provider' type.

Details for `github` identity providers.

func UnmarshalGithubIdentityProvider ¶

func UnmarshalGithubIdentityProvider(source interface{}) (object *GithubIdentityProvider, err error)

UnmarshalGithubIdentityProvider reads a value of the 'github_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGithubIdentityProviderList ¶

func UnmarshalGithubIdentityProviderList(source interface{}) (items []*GithubIdentityProvider, err error)

UnmarshalGithubIdentityProviderList reads a list of values of the 'github_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GithubIdentityProvider) CA ¶

CA returns the value of the 'CA' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional trusted certificate authority bundle to use when making requests tot he server.

func (*GithubIdentityProvider) ClientID ¶

func (o *GithubIdentityProvider) 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.

Client identifier of a registered _GitHub_ OAuth application.

func (*GithubIdentityProvider) ClientSecret ¶

func (o *GithubIdentityProvider) ClientSecret() string

ClientSecret returns the value of the 'client_secret' attribute, or the zero value of the type if the attribute doesn't have a value.

Client secret of a registered _GitHub_ OAuth application.

func (*GithubIdentityProvider) Empty ¶

func (o *GithubIdentityProvider) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GithubIdentityProvider) GetCA ¶

func (o *GithubIdentityProvider) GetCA() (value string, ok bool)

GetCA returns the value of the 'CA' attribute and a flag indicating if the attribute has a value.

Optional trusted certificate authority bundle to use when making requests tot he server.

func (*GithubIdentityProvider) GetClientID ¶

func (o *GithubIdentityProvider) GetClientID() (value string, ok bool)

GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.

Client identifier of a registered _GitHub_ OAuth application.

func (*GithubIdentityProvider) GetClientSecret ¶

func (o *GithubIdentityProvider) GetClientSecret() (value string, ok bool)

GetClientSecret returns the value of the 'client_secret' attribute and a flag indicating if the attribute has a value.

Client secret of a registered _GitHub_ OAuth application.

func (*GithubIdentityProvider) GetHostname ¶

func (o *GithubIdentityProvider) GetHostname() (value string, ok bool)

GetHostname returns the value of the 'hostname' attribute and a flag indicating if the attribute has a value.

For _GitHub Enterprise_ you must provide the host name of your instance, such as `example.com`. This value must match the _GitHub Enterprise_ host name value in the `/setup/settings` file and cannot include a port number.

For plain _GitHub_ omit this parameter.

func (*GithubIdentityProvider) GetOrganizations ¶

func (o *GithubIdentityProvider) GetOrganizations() (value []string, ok bool)

GetOrganizations returns the value of the 'organizations' attribute and a flag indicating if the attribute has a value.

Optional list of organizations. Cannot be used in combination with the Teams field.

func (*GithubIdentityProvider) GetTeams ¶

func (o *GithubIdentityProvider) GetTeams() (value []string, ok bool)

GetTeams returns the value of the 'teams' attribute and a flag indicating if the attribute has a value.

Optional list of teams. Cannot be used in combination with the Organizations field.

func (*GithubIdentityProvider) Hostname ¶

func (o *GithubIdentityProvider) Hostname() string

Hostname returns the value of the 'hostname' attribute, or the zero value of the type if the attribute doesn't have a value.

For _GitHub Enterprise_ you must provide the host name of your instance, such as `example.com`. This value must match the _GitHub Enterprise_ host name value in the `/setup/settings` file and cannot include a port number.

For plain _GitHub_ omit this parameter.

func (*GithubIdentityProvider) Organizations ¶

func (o *GithubIdentityProvider) Organizations() []string

Organizations returns the value of the 'organizations' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional list of organizations. Cannot be used in combination with the Teams field.

func (*GithubIdentityProvider) Teams ¶

func (o *GithubIdentityProvider) Teams() []string

Teams returns the value of the 'teams' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional list of teams. Cannot be used in combination with the Organizations field.

type GithubIdentityProviderBuilder ¶

type GithubIdentityProviderBuilder struct {
	// contains filtered or unexported fields
}

GithubIdentityProviderBuilder contains the data and logic needed to build 'github_identity_provider' objects.

Details for `github` identity providers.

func NewGithubIdentityProvider ¶

func NewGithubIdentityProvider() *GithubIdentityProviderBuilder

NewGithubIdentityProvider creates a new builder of 'github_identity_provider' objects.

func (*GithubIdentityProviderBuilder) Build ¶

Build creates a 'github_identity_provider' object using the configuration stored in the builder.

func (*GithubIdentityProviderBuilder) CA ¶

CA sets the value of the 'CA' attribute to the given value.

func (*GithubIdentityProviderBuilder) ClientID ¶

ClientID sets the value of the 'client_ID' attribute to the given value.

func (*GithubIdentityProviderBuilder) ClientSecret ¶

ClientSecret sets the value of the 'client_secret' attribute to the given value.

func (*GithubIdentityProviderBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GithubIdentityProviderBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GithubIdentityProviderBuilder) Hostname ¶

Hostname sets the value of the 'hostname' attribute to the given value.

func (*GithubIdentityProviderBuilder) Organizations ¶

Organizations sets the value of the 'organizations' attribute to the given values.

func (*GithubIdentityProviderBuilder) Teams ¶

Teams sets the value of the 'teams' attribute to the given values.

type GithubIdentityProviderList ¶

type GithubIdentityProviderList struct {
	// contains filtered or unexported fields
}

GithubIdentityProviderList is a list of values of the 'github_identity_provider' type.

func (*GithubIdentityProviderList) 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 (*GithubIdentityProviderList) Empty ¶

func (l *GithubIdentityProviderList) Empty() bool

Empty returns true if the list is empty.

func (*GithubIdentityProviderList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GithubIdentityProviderList) Len ¶

Len returns the length of the list.

func (*GithubIdentityProviderList) Range ¶

func (l *GithubIdentityProviderList) Range(f func(index int, item *GithubIdentityProvider) 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 (*GithubIdentityProviderList) 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 GithubIdentityProviderListBuilder ¶

type GithubIdentityProviderListBuilder struct {
	// contains filtered or unexported fields
}

GithubIdentityProviderListBuilder contains the data and logic needed to build 'github_identity_provider' objects.

func NewGithubIdentityProviderList ¶

func NewGithubIdentityProviderList() *GithubIdentityProviderListBuilder

NewGithubIdentityProviderList creates a new builder of 'github_identity_provider' objects.

func (*GithubIdentityProviderListBuilder) Build ¶

Build creates a list of 'github_identity_provider' objects using the configuration stored in the builder.

func (*GithubIdentityProviderListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GithubIdentityProviderListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*GithubIdentityProviderListBuilder) Items ¶

Items sets the items of the list.

type GitlabIdentityProvider ¶

type GitlabIdentityProvider struct {
	// contains filtered or unexported fields
}

GitlabIdentityProvider represents the values of the 'gitlab_identity_provider' type.

Details for `gitlab` identity providers.

func UnmarshalGitlabIdentityProvider ¶

func UnmarshalGitlabIdentityProvider(source interface{}) (object *GitlabIdentityProvider, err error)

UnmarshalGitlabIdentityProvider reads a value of the 'gitlab_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGitlabIdentityProviderList ¶

func UnmarshalGitlabIdentityProviderList(source interface{}) (items []*GitlabIdentityProvider, err error)

UnmarshalGitlabIdentityProviderList reads a list of values of the 'gitlab_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GitlabIdentityProvider) CA ¶

CA returns the value of the 'CA' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional trusted certificate authority bundle to use when making requests tot he server.

func (*GitlabIdentityProvider) ClientID ¶

func (o *GitlabIdentityProvider) 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.

Client identifier of a registered _GitLab_ OAuth application.

func (*GitlabIdentityProvider) ClientSecret ¶

func (o *GitlabIdentityProvider) ClientSecret() string

ClientSecret returns the value of the 'client_secret' attribute, or the zero value of the type if the attribute doesn't have a value.

Client secret issued by _GitLab_.

func (*GitlabIdentityProvider) Empty ¶

func (o *GitlabIdentityProvider) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GitlabIdentityProvider) GetCA ¶

func (o *GitlabIdentityProvider) GetCA() (value string, ok bool)

GetCA returns the value of the 'CA' attribute and a flag indicating if the attribute has a value.

Optional trusted certificate authority bundle to use when making requests tot he server.

func (*GitlabIdentityProvider) GetClientID ¶

func (o *GitlabIdentityProvider) GetClientID() (value string, ok bool)

GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.

Client identifier of a registered _GitLab_ OAuth application.

func (*GitlabIdentityProvider) GetClientSecret ¶

func (o *GitlabIdentityProvider) GetClientSecret() (value string, ok bool)

GetClientSecret returns the value of the 'client_secret' attribute and a flag indicating if the attribute has a value.

Client secret issued by _GitLab_.

func (*GitlabIdentityProvider) GetURL ¶

func (o *GitlabIdentityProvider) GetURL() (value string, ok bool)

GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.

URL of the _GitLab_ instance.

func (*GitlabIdentityProvider) URL ¶

func (o *GitlabIdentityProvider) 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 of the _GitLab_ instance.

type GitlabIdentityProviderBuilder ¶

type GitlabIdentityProviderBuilder struct {
	// contains filtered or unexported fields
}

GitlabIdentityProviderBuilder contains the data and logic needed to build 'gitlab_identity_provider' objects.

Details for `gitlab` identity providers.

func NewGitlabIdentityProvider ¶

func NewGitlabIdentityProvider() *GitlabIdentityProviderBuilder

NewGitlabIdentityProvider creates a new builder of 'gitlab_identity_provider' objects.

func (*GitlabIdentityProviderBuilder) Build ¶

Build creates a 'gitlab_identity_provider' object using the configuration stored in the builder.

func (*GitlabIdentityProviderBuilder) CA ¶

CA sets the value of the 'CA' attribute to the given value.

func (*GitlabIdentityProviderBuilder) ClientID ¶

ClientID sets the value of the 'client_ID' attribute to the given value.

func (*GitlabIdentityProviderBuilder) ClientSecret ¶

ClientSecret sets the value of the 'client_secret' attribute to the given value.

func (*GitlabIdentityProviderBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GitlabIdentityProviderBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GitlabIdentityProviderBuilder) URL ¶

URL sets the value of the 'URL' attribute to the given value.

type GitlabIdentityProviderList ¶

type GitlabIdentityProviderList struct {
	// contains filtered or unexported fields
}

GitlabIdentityProviderList is a list of values of the 'gitlab_identity_provider' type.

func (*GitlabIdentityProviderList) 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 (*GitlabIdentityProviderList) Empty ¶

func (l *GitlabIdentityProviderList) Empty() bool

Empty returns true if the list is empty.

func (*GitlabIdentityProviderList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GitlabIdentityProviderList) Len ¶

Len returns the length of the list.

func (*GitlabIdentityProviderList) Range ¶

func (l *GitlabIdentityProviderList) Range(f func(index int, item *GitlabIdentityProvider) 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 (*GitlabIdentityProviderList) 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 GitlabIdentityProviderListBuilder ¶

type GitlabIdentityProviderListBuilder struct {
	// contains filtered or unexported fields
}

GitlabIdentityProviderListBuilder contains the data and logic needed to build 'gitlab_identity_provider' objects.

func NewGitlabIdentityProviderList ¶

func NewGitlabIdentityProviderList() *GitlabIdentityProviderListBuilder

NewGitlabIdentityProviderList creates a new builder of 'gitlab_identity_provider' objects.

func (*GitlabIdentityProviderListBuilder) Build ¶

Build creates a list of 'gitlab_identity_provider' objects using the configuration stored in the builder.

func (*GitlabIdentityProviderListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GitlabIdentityProviderListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*GitlabIdentityProviderListBuilder) Items ¶

Items sets the items of the list.

type GoogleIdentityProvider ¶

type GoogleIdentityProvider struct {
	// contains filtered or unexported fields
}

GoogleIdentityProvider represents the values of the 'google_identity_provider' type.

Details for `google` identity providers.

func UnmarshalGoogleIdentityProvider ¶

func UnmarshalGoogleIdentityProvider(source interface{}) (object *GoogleIdentityProvider, err error)

UnmarshalGoogleIdentityProvider reads a value of the 'google_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGoogleIdentityProviderList ¶

func UnmarshalGoogleIdentityProviderList(source interface{}) (items []*GoogleIdentityProvider, err error)

UnmarshalGoogleIdentityProviderList reads a list of values of the 'google_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.

func (*GoogleIdentityProvider) ClientID ¶

func (o *GoogleIdentityProvider) 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.

Client identifier of a registered _Google_ project.

func (*GoogleIdentityProvider) ClientSecret ¶

func (o *GoogleIdentityProvider) ClientSecret() string

ClientSecret returns the value of the 'client_secret' attribute, or the zero value of the type if the attribute doesn't have a value.

Client secret issued by _Google_.

func (*GoogleIdentityProvider) Empty ¶

func (o *GoogleIdentityProvider) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GoogleIdentityProvider) GetClientID ¶

func (o *GoogleIdentityProvider) GetClientID() (value string, ok bool)

GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.

Client identifier of a registered _Google_ project.

func (*GoogleIdentityProvider) GetClientSecret ¶

func (o *GoogleIdentityProvider) GetClientSecret() (value string, ok bool)

GetClientSecret returns the value of the 'client_secret' attribute and a flag indicating if the attribute has a value.

Client secret issued by _Google_.

func (*GoogleIdentityProvider) GetHostedDomain ¶

func (o *GoogleIdentityProvider) GetHostedDomain() (value string, ok bool)

GetHostedDomain returns the value of the 'hosted_domain' attribute and a flag indicating if the attribute has a value.

Optional hosted domain to restrict sign-in accounts to.

func (*GoogleIdentityProvider) HostedDomain ¶

func (o *GoogleIdentityProvider) HostedDomain() string

HostedDomain returns the value of the 'hosted_domain' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional hosted domain to restrict sign-in accounts to.

type GoogleIdentityProviderBuilder ¶

type GoogleIdentityProviderBuilder struct {
	// contains filtered or unexported fields
}

GoogleIdentityProviderBuilder contains the data and logic needed to build 'google_identity_provider' objects.

Details for `google` identity providers.

func NewGoogleIdentityProvider ¶

func NewGoogleIdentityProvider() *GoogleIdentityProviderBuilder

NewGoogleIdentityProvider creates a new builder of 'google_identity_provider' objects.

func (*GoogleIdentityProviderBuilder) Build ¶

Build creates a 'google_identity_provider' object using the configuration stored in the builder.

func (*GoogleIdentityProviderBuilder) ClientID ¶

ClientID sets the value of the 'client_ID' attribute to the given value.

func (*GoogleIdentityProviderBuilder) ClientSecret ¶

ClientSecret sets the value of the 'client_secret' attribute to the given value.

func (*GoogleIdentityProviderBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GoogleIdentityProviderBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GoogleIdentityProviderBuilder) HostedDomain ¶

HostedDomain sets the value of the 'hosted_domain' attribute to the given value.

type GoogleIdentityProviderList ¶

type GoogleIdentityProviderList struct {
	// contains filtered or unexported fields
}

GoogleIdentityProviderList is a list of values of the 'google_identity_provider' type.

func (*GoogleIdentityProviderList) 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 (*GoogleIdentityProviderList) Empty ¶

func (l *GoogleIdentityProviderList) Empty() bool

Empty returns true if the list is empty.

func (*GoogleIdentityProviderList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GoogleIdentityProviderList) Len ¶

Len returns the length of the list.

func (*GoogleIdentityProviderList) Range ¶

func (l *GoogleIdentityProviderList) Range(f func(index int, item *GoogleIdentityProvider) 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 (*GoogleIdentityProviderList) 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 GoogleIdentityProviderListBuilder ¶

type GoogleIdentityProviderListBuilder struct {
	// contains filtered or unexported fields
}

GoogleIdentityProviderListBuilder contains the data and logic needed to build 'google_identity_provider' objects.

func NewGoogleIdentityProviderList ¶

func NewGoogleIdentityProviderList() *GoogleIdentityProviderListBuilder

NewGoogleIdentityProviderList creates a new builder of 'google_identity_provider' objects.

func (*GoogleIdentityProviderListBuilder) Build ¶

Build creates a list of 'google_identity_provider' objects using the configuration stored in the builder.

func (*GoogleIdentityProviderListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GoogleIdentityProviderListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*GoogleIdentityProviderListBuilder) Items ¶

Items sets the items of the list.

type Group ¶

type Group struct {
	// contains filtered or unexported fields
}

Group represents the values of the 'group' type.

Representation of a group of users.

func UnmarshalGroup ¶

func UnmarshalGroup(source interface{}) (object *Group, err error)

UnmarshalGroup reads a value of the 'group' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalGroupList ¶

func UnmarshalGroupList(source interface{}) (items []*Group, err error)

UnmarshalGroupList reads a list of values of the 'group' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Group) Empty ¶

func (o *Group) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Group) GetHREF ¶

func (o *Group) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Group) GetID ¶

func (o *Group) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Group) GetUsers ¶

func (o *Group) GetUsers() (value *UserList, ok bool)

GetUsers returns the value of the 'users' attribute and a flag indicating if the attribute has a value.

List of users of the group.

func (*Group) HREF ¶

func (o *Group) HREF() string

HREF returns the link to the object.

func (*Group) ID ¶

func (o *Group) ID() string

ID returns the identifier of the object.

func (*Group) Kind ¶

func (o *Group) Kind() string

Kind returns the name of the type of the object.

func (o *Group) Link() bool

Link returns true iif this is a link.

func (*Group) Users ¶

func (o *Group) Users() *UserList

Users returns the value of the 'users' attribute, or the zero value of the type if the attribute doesn't have a value.

List of users of the group.

type GroupBuilder ¶

type GroupBuilder struct {
	// contains filtered or unexported fields
}

GroupBuilder contains the data and logic needed to build 'group' objects.

Representation of a group of users.

func NewGroup ¶

func NewGroup() *GroupBuilder

NewGroup creates a new builder of 'group' objects.

func (*GroupBuilder) Build ¶

func (b *GroupBuilder) Build() (object *Group, err error)

Build creates a 'group' object using the configuration stored in the builder.

func (*GroupBuilder) Copy ¶

func (b *GroupBuilder) Copy(object *Group) *GroupBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GroupBuilder) Empty ¶ added in v0.0.329

func (b *GroupBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GroupBuilder) HREF ¶

func (b *GroupBuilder) HREF(value string) *GroupBuilder

HREF sets the link to the object.

func (*GroupBuilder) ID ¶

func (b *GroupBuilder) ID(value string) *GroupBuilder

ID sets the identifier of the object.

func (b *GroupBuilder) Link(value bool) *GroupBuilder

Link sets the flag that indicates if this is a link.

func (*GroupBuilder) Users ¶

func (b *GroupBuilder) Users(value *UserListBuilder) *GroupBuilder

Users sets the value of the 'users' attribute to the given values.

type GroupClient ¶

type GroupClient struct {
	// contains filtered or unexported fields
}

GroupClient is the client of the 'group' resource.

Manages a specific group.

func NewGroupClient ¶

func NewGroupClient(transport http.RoundTripper, path string) *GroupClient

NewGroupClient creates a new client for the 'group' resource using the given transport to send the requests and receive the responses.

func (*GroupClient) Get ¶

func (c *GroupClient) Get() *GroupGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the group.

func (*GroupClient) Poll ¶

func (c *GroupClient) Poll() *GroupPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*GroupClient) Users ¶

func (c *GroupClient) Users() *UsersClient

Users returns the target 'users' resource.

Reference to the resource that manages the collection of users.

type GroupGetRequest ¶

type GroupGetRequest struct {
	// contains filtered or unexported fields
}

GroupGetRequest is the request for the 'get' method.

func (*GroupGetRequest) Header ¶

func (r *GroupGetRequest) Header(name string, value interface{}) *GroupGetRequest

Header adds a request header.

func (*GroupGetRequest) Impersonate ¶ added in v0.0.329

func (r *GroupGetRequest) Impersonate(user string) *GroupGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*GroupGetRequest) Parameter ¶

func (r *GroupGetRequest) Parameter(name string, value interface{}) *GroupGetRequest

Parameter adds a query parameter.

func (*GroupGetRequest) Send ¶

func (r *GroupGetRequest) Send() (result *GroupGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*GroupGetRequest) SendContext ¶

func (r *GroupGetRequest) SendContext(ctx context.Context) (result *GroupGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type GroupGetResponse ¶

type GroupGetResponse struct {
	// contains filtered or unexported fields
}

GroupGetResponse is the response for the 'get' method.

func (*GroupGetResponse) Body ¶

func (r *GroupGetResponse) Body() *Group

Body returns the value of the 'body' parameter.

func (*GroupGetResponse) Error ¶

func (r *GroupGetResponse) Error() *errors.Error

Error returns the response error.

func (*GroupGetResponse) GetBody ¶

func (r *GroupGetResponse) GetBody() (value *Group, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*GroupGetResponse) Header ¶

func (r *GroupGetResponse) Header() http.Header

Header returns header of the response.

func (*GroupGetResponse) Status ¶

func (r *GroupGetResponse) Status() int

Status returns the response status code.

type GroupList ¶

type GroupList struct {
	// contains filtered or unexported fields
}

GroupList is a list of values of the 'group' type.

func (*GroupList) Each ¶

func (l *GroupList) Each(f func(item *Group) 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 (*GroupList) Empty ¶

func (l *GroupList) Empty() bool

Empty returns true if the list is empty.

func (*GroupList) Get ¶

func (l *GroupList) Get(i int) *Group

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*GroupList) GetHREF ¶

func (l *GroupList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*GroupList) HREF ¶

func (l *GroupList) HREF() string

HREF returns the link to the list.

func (*GroupList) Kind ¶

func (l *GroupList) Kind() string

Kind returns the name of the type of the object.

func (*GroupList) Len ¶

func (l *GroupList) Len() int

Len returns the length of the list.

func (l *GroupList) Link() bool

Link returns true iif this is a link.

func (*GroupList) Range ¶

func (l *GroupList) Range(f func(index int, item *Group) 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 (*GroupList) Slice ¶

func (l *GroupList) Slice() []*Group

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 GroupListBuilder ¶

type GroupListBuilder struct {
	// contains filtered or unexported fields
}

GroupListBuilder contains the data and logic needed to build 'group' objects.

func NewGroupList ¶

func NewGroupList() *GroupListBuilder

NewGroupList creates a new builder of 'group' objects.

func (*GroupListBuilder) Build ¶

func (b *GroupListBuilder) Build() (list *GroupList, err error)

Build creates a list of 'group' objects using the configuration stored in the builder.

func (*GroupListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GroupListBuilder) Empty ¶ added in v0.0.329

func (b *GroupListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GroupListBuilder) Items ¶

func (b *GroupListBuilder) Items(values ...*GroupBuilder) *GroupListBuilder

Items sets the items of the list.

type GroupPollRequest ¶

type GroupPollRequest struct {
	// contains filtered or unexported fields
}

GroupPollRequest is the request for the Poll method.

func (*GroupPollRequest) Header ¶

func (r *GroupPollRequest) Header(name string, value interface{}) *GroupPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*GroupPollRequest) Interval ¶

func (r *GroupPollRequest) Interval(value time.Duration) *GroupPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*GroupPollRequest) Parameter ¶

func (r *GroupPollRequest) Parameter(name string, value interface{}) *GroupPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*GroupPollRequest) Predicate ¶

func (r *GroupPollRequest) Predicate(value func(*GroupGetResponse) bool) *GroupPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*GroupPollRequest) StartContext ¶

func (r *GroupPollRequest) StartContext(ctx context.Context) (response *GroupPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*GroupPollRequest) Status ¶

func (r *GroupPollRequest) Status(value int) *GroupPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type GroupPollResponse ¶

type GroupPollResponse struct {
	// contains filtered or unexported fields
}

GroupPollResponse is the response for the Poll method.

func (*GroupPollResponse) Body ¶

func (r *GroupPollResponse) Body() *Group

Body returns the value of the 'body' parameter.

func (*GroupPollResponse) Error ¶

func (r *GroupPollResponse) Error() *errors.Error

Error returns the response error.

func (*GroupPollResponse) GetBody ¶

func (r *GroupPollResponse) GetBody() (value *Group, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*GroupPollResponse) Header ¶

func (r *GroupPollResponse) Header() http.Header

Header returns header of the response.

func (*GroupPollResponse) Status ¶

func (r *GroupPollResponse) Status() int

Status returns the response status code.

type GroupsClaim ¶ added in v0.1.404

type GroupsClaim struct {
	// contains filtered or unexported fields
}

GroupsClaim represents the values of the 'groups_claim' type.

func UnmarshalGroupsClaim ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (o *GroupsClaim) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*GroupsClaim) GetClaim ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

type GroupsClaimBuilder struct {
	// contains filtered or unexported fields
}

GroupsClaimBuilder contains the data and logic needed to build 'groups_claim' objects.

func NewGroupsClaim ¶ added in v0.1.404

func NewGroupsClaim() *GroupsClaimBuilder

NewGroupsClaim creates a new builder of 'groups_claim' objects.

func (*GroupsClaimBuilder) Build ¶ added in v0.1.404

func (b *GroupsClaimBuilder) Build() (object *GroupsClaim, err error)

Build creates a 'groups_claim' object using the configuration stored in the builder.

func (*GroupsClaimBuilder) Claim ¶ added in v0.1.404

func (b *GroupsClaimBuilder) Claim(value string) *GroupsClaimBuilder

Claim sets the value of the 'claim' attribute to the given value.

func (*GroupsClaimBuilder) Copy ¶ added in v0.1.404

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*GroupsClaimBuilder) Empty ¶ added in v0.1.404

func (b *GroupsClaimBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*GroupsClaimBuilder) Prefix ¶ added in v0.1.404

func (b *GroupsClaimBuilder) Prefix(value string) *GroupsClaimBuilder

Prefix sets the value of the 'prefix' attribute to the given value.

type GroupsClaimList ¶ added in v0.1.404

type GroupsClaimList struct {
	// contains filtered or unexported fields
}

GroupsClaimList is a list of values of the 'groups_claim' type.

func (*GroupsClaimList) Each ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (l *GroupsClaimList) Empty() bool

Empty returns true if the list is empty.

func (*GroupsClaimList) Get ¶ added in v0.1.404

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) Len ¶ added in v0.1.404

func (l *GroupsClaimList) Len() int

Len returns the length of the list.

func (*GroupsClaimList) Range ¶ added in v0.1.404

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) Slice ¶ added in v0.1.404

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 ¶ added in v0.1.404

type GroupsClaimListBuilder struct {
	// contains filtered or unexported fields
}

GroupsClaimListBuilder contains the data and logic needed to build 'groups_claim' objects.

func NewGroupsClaimList ¶ added in v0.1.404

func NewGroupsClaimList() *GroupsClaimListBuilder

NewGroupsClaimList creates a new builder of 'groups_claim' objects.

func (*GroupsClaimListBuilder) Build ¶ added in v0.1.404

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 ¶ added in v0.1.404

Copy copies the items of the given list into this builder, discarding any previous items.

func (*GroupsClaimListBuilder) Empty ¶ added in v0.1.404

func (b *GroupsClaimListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*GroupsClaimListBuilder) Items ¶ added in v0.1.404

Items sets the items of the list.

type GroupsClient ¶

type GroupsClient struct {
	// contains filtered or unexported fields
}

GroupsClient is the client of the 'groups' resource.

Manages the collection of groups of a cluster.

func NewGroupsClient ¶

func NewGroupsClient(transport http.RoundTripper, path string) *GroupsClient

NewGroupsClient creates a new client for the 'groups' resource using the given transport to send the requests and receive the responses.

func (*GroupsClient) Group ¶

func (c *GroupsClient) Group(id string) *GroupClient

Group returns the target 'group' resource for the given identifier.

Reference to the service that manages an specific group.

func (*GroupsClient) List ¶

func (c *GroupsClient) List() *GroupsListRequest

List creates a request for the 'list' method.

Retrieves the list of groups.

type GroupsListRequest ¶

type GroupsListRequest struct {
	// contains filtered or unexported fields
}

GroupsListRequest is the request for the 'list' method.

func (*GroupsListRequest) Header ¶

func (r *GroupsListRequest) Header(name string, value interface{}) *GroupsListRequest

Header adds a request header.

func (*GroupsListRequest) Impersonate ¶ added in v0.0.329

func (r *GroupsListRequest) Impersonate(user string) *GroupsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*GroupsListRequest) Page ¶

func (r *GroupsListRequest) Page(value int) *GroupsListRequest

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*GroupsListRequest) Parameter ¶

func (r *GroupsListRequest) Parameter(name string, value interface{}) *GroupsListRequest

Parameter adds a query parameter.

func (*GroupsListRequest) Send ¶

func (r *GroupsListRequest) Send() (result *GroupsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*GroupsListRequest) SendContext ¶

func (r *GroupsListRequest) SendContext(ctx context.Context) (result *GroupsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*GroupsListRequest) Size ¶

func (r *GroupsListRequest) Size(value int) *GroupsListRequest

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type GroupsListResponse ¶

type GroupsListResponse struct {
	// contains filtered or unexported fields
}

GroupsListResponse is the response for the 'list' method.

func (*GroupsListResponse) Error ¶

func (r *GroupsListResponse) Error() *errors.Error

Error returns the response error.

func (*GroupsListResponse) GetItems ¶

func (r *GroupsListResponse) GetItems() (value *GroupList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of groups.

func (*GroupsListResponse) GetPage ¶

func (r *GroupsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*GroupsListResponse) GetSize ¶

func (r *GroupsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*GroupsListResponse) GetTotal ¶

func (r *GroupsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*GroupsListResponse) Header ¶

func (r *GroupsListResponse) Header() http.Header

Header returns header of the response.

func (*GroupsListResponse) Items ¶

func (r *GroupsListResponse) Items() *GroupList

Items returns the value of the 'items' parameter.

Retrieved list of groups.

func (*GroupsListResponse) Page ¶

func (r *GroupsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*GroupsListResponse) Size ¶

func (r *GroupsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*GroupsListResponse) Status ¶

func (r *GroupsListResponse) Status() int

Status returns the response status code.

func (*GroupsListResponse) Total ¶

func (r *GroupsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type HTPasswdIdentityProvider ¶ added in v0.0.329

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 UnmarshalHTPasswdIdentityProvider ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *HTPasswdIdentityProvider) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*HTPasswdIdentityProvider) GetPassword ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *HTPasswdIdentityProvider) GetUsers() (value *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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type HTPasswdIdentityProviderBuilder struct {
	// contains filtered or unexported fields
}

HTPasswdIdentityProviderBuilder contains the data and logic needed to build 'HT_passwd_identity_provider' objects.

Details for `htpasswd` identity providers.

func NewHTPasswdIdentityProvider ¶ added in v0.0.329

func NewHTPasswdIdentityProvider() *HTPasswdIdentityProviderBuilder

NewHTPasswdIdentityProvider creates a new builder of 'HT_passwd_identity_provider' objects.

func (*HTPasswdIdentityProviderBuilder) Build ¶ added in v0.0.329

Build creates a 'HT_passwd_identity_provider' object using the configuration stored in the builder.

func (*HTPasswdIdentityProviderBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*HTPasswdIdentityProviderBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*HTPasswdIdentityProviderBuilder) Password ¶ added in v0.0.329

Password sets the value of the 'password' attribute to the given value.

func (*HTPasswdIdentityProviderBuilder) Username ¶ added in v0.0.329

Username sets the value of the 'username' attribute to the given value.

func (*HTPasswdIdentityProviderBuilder) Users ¶ added in v0.0.329

Users sets the value of the 'users' attribute to the given values.

type HTPasswdIdentityProviderList ¶ added in v0.0.329

type HTPasswdIdentityProviderList struct {
	// contains filtered or unexported fields
}

HTPasswdIdentityProviderList is a list of values of the 'HT_passwd_identity_provider' type.

func (*HTPasswdIdentityProviderList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*HTPasswdIdentityProviderList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*HTPasswdIdentityProviderList) Len ¶ added in v0.0.329

Len returns the length of the list.

func (*HTPasswdIdentityProviderList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type HTPasswdIdentityProviderListBuilder struct {
	// contains filtered or unexported fields
}

HTPasswdIdentityProviderListBuilder contains the data and logic needed to build 'HT_passwd_identity_provider' objects.

func NewHTPasswdIdentityProviderList ¶ added in v0.0.329

func NewHTPasswdIdentityProviderList() *HTPasswdIdentityProviderListBuilder

NewHTPasswdIdentityProviderList creates a new builder of 'HT_passwd_identity_provider' objects.

func (*HTPasswdIdentityProviderListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'HT_passwd_identity_provider' objects using the configuration stored in the builder.

func (*HTPasswdIdentityProviderListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*HTPasswdIdentityProviderListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*HTPasswdIdentityProviderListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type HTPasswdUser ¶ added in v0.0.329

type HTPasswdUser struct {
	// contains filtered or unexported fields
}

HTPasswdUser represents the values of the 'HT_passwd_user' type.

func UnmarshalHTPasswdUser ¶ added in v0.0.329

func UnmarshalHTPasswdUser(source interface{}) (object *HTPasswdUser, err error)

UnmarshalHTPasswdUser reads a value of the 'HT_passwd_user' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalHTPasswdUserList ¶ added in v0.0.329

func UnmarshalHTPasswdUserList(source interface{}) (items []*HTPasswdUser, err error)

UnmarshalHTPasswdUserList reads a list of values of the 'HT_passwd_user' type from the given source, which can be a slice of bytes, a string or a reader.

func (*HTPasswdUser) Empty ¶ added in v0.0.329

func (o *HTPasswdUser) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*HTPasswdUser) GetHashedPassword ¶ added in v0.1.349

func (o *HTPasswdUser) GetHashedPassword() (value string, ok bool)

GetHashedPassword returns the value of the 'hashed_password' attribute and a flag indicating if the attribute has a value.

HTPasswd Hashed Password for a user in the _HTPasswd_ data file. The value of this field is set as-is in the _HTPasswd_ data file for the HTPasswd IDP

func (*HTPasswdUser) GetID ¶ added in v0.0.329

func (o *HTPasswdUser) 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 a secondary user in the _HTPasswd_ data file.

func (*HTPasswdUser) GetPassword ¶ added in v0.0.329

func (o *HTPasswdUser) GetPassword() (value string, ok bool)

GetPassword returns the value of the 'password' attribute and a flag indicating if the attribute has a value.

Password in plain-text for a user in the _HTPasswd_ data file. The value of this field is hashed before setting it in the _HTPasswd_ data file for the HTPasswd IDP

func (*HTPasswdUser) GetUsername ¶ added in v0.0.329

func (o *HTPasswdUser) GetUsername() (value string, ok bool)

GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.

Username for a secondary user in the _HTPasswd_ data file.

func (*HTPasswdUser) HashedPassword ¶ added in v0.1.349

func (o *HTPasswdUser) HashedPassword() string

HashedPassword returns the value of the 'hashed_password' attribute, or the zero value of the type if the attribute doesn't have a value.

HTPasswd Hashed Password for a user in the _HTPasswd_ data file. The value of this field is set as-is in the _HTPasswd_ data file for the HTPasswd IDP

func (*HTPasswdUser) ID ¶ added in v0.0.329

func (o *HTPasswdUser) 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 a secondary user in the _HTPasswd_ data file.

func (*HTPasswdUser) Password ¶ added in v0.0.329

func (o *HTPasswdUser) 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 in plain-text for a user in the _HTPasswd_ data file. The value of this field is hashed before setting it in the _HTPasswd_ data file for the HTPasswd IDP

func (*HTPasswdUser) Username ¶ added in v0.0.329

func (o *HTPasswdUser) 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 for a secondary user in the _HTPasswd_ data file.

type HTPasswdUserBuilder ¶ added in v0.0.329

type HTPasswdUserBuilder struct {
	// contains filtered or unexported fields
}

HTPasswdUserBuilder contains the data and logic needed to build 'HT_passwd_user' objects.

func NewHTPasswdUser ¶ added in v0.0.329

func NewHTPasswdUser() *HTPasswdUserBuilder

NewHTPasswdUser creates a new builder of 'HT_passwd_user' objects.

func (*HTPasswdUserBuilder) Build ¶ added in v0.0.329

func (b *HTPasswdUserBuilder) Build() (object *HTPasswdUser, err error)

Build creates a 'HT_passwd_user' object using the configuration stored in the builder.

func (*HTPasswdUserBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*HTPasswdUserBuilder) Empty ¶ added in v0.0.329

func (b *HTPasswdUserBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*HTPasswdUserBuilder) HashedPassword ¶ added in v0.1.349

func (b *HTPasswdUserBuilder) HashedPassword(value string) *HTPasswdUserBuilder

HashedPassword sets the value of the 'hashed_password' attribute to the given value.

func (*HTPasswdUserBuilder) ID ¶ added in v0.0.329

ID sets the value of the 'ID' attribute to the given value.

func (*HTPasswdUserBuilder) Password ¶ added in v0.0.329

func (b *HTPasswdUserBuilder) Password(value string) *HTPasswdUserBuilder

Password sets the value of the 'password' attribute to the given value.

func (*HTPasswdUserBuilder) Username ¶ added in v0.0.329

func (b *HTPasswdUserBuilder) Username(value string) *HTPasswdUserBuilder

Username sets the value of the 'username' attribute to the given value.

type HTPasswdUserClient ¶ added in v0.0.329

type HTPasswdUserClient struct {
	// contains filtered or unexported fields
}

HTPasswdUserClient is the client of the 'HT_passwd_user' resource.

Manages a specific _HTPasswd_ user.

func NewHTPasswdUserClient ¶ added in v0.0.329

func NewHTPasswdUserClient(transport http.RoundTripper, path string) *HTPasswdUserClient

NewHTPasswdUserClient creates a new client for the 'HT_passwd_user' resource using the given transport to send the requests and receive the responses.

func (*HTPasswdUserClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the user.

func (*HTPasswdUserClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the user.

func (*HTPasswdUserClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*HTPasswdUserClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Updates the user's password. The username is not editable

type HTPasswdUserDeleteRequest ¶ added in v0.0.329

type HTPasswdUserDeleteRequest struct {
	// contains filtered or unexported fields
}

HTPasswdUserDeleteRequest is the request for the 'delete' method.

func (*HTPasswdUserDeleteRequest) Header ¶ added in v0.0.329

func (r *HTPasswdUserDeleteRequest) Header(name string, value interface{}) *HTPasswdUserDeleteRequest

Header adds a request header.

func (*HTPasswdUserDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HTPasswdUserDeleteRequest) Parameter ¶ added in v0.0.329

func (r *HTPasswdUserDeleteRequest) Parameter(name string, value interface{}) *HTPasswdUserDeleteRequest

Parameter adds a query parameter.

func (*HTPasswdUserDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HTPasswdUserDeleteRequest) SendContext ¶ added in v0.0.329

func (r *HTPasswdUserDeleteRequest) SendContext(ctx context.Context) (result *HTPasswdUserDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type HTPasswdUserDeleteResponse ¶ added in v0.0.329

type HTPasswdUserDeleteResponse struct {
	// contains filtered or unexported fields
}

HTPasswdUserDeleteResponse is the response for the 'delete' method.

func (*HTPasswdUserDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*HTPasswdUserDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*HTPasswdUserDeleteResponse) Status ¶ added in v0.0.329

func (r *HTPasswdUserDeleteResponse) Status() int

Status returns the response status code.

type HTPasswdUserGetRequest ¶ added in v0.0.329

type HTPasswdUserGetRequest struct {
	// contains filtered or unexported fields
}

HTPasswdUserGetRequest is the request for the 'get' method.

func (*HTPasswdUserGetRequest) Header ¶ added in v0.0.329

func (r *HTPasswdUserGetRequest) Header(name string, value interface{}) *HTPasswdUserGetRequest

Header adds a request header.

func (*HTPasswdUserGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HTPasswdUserGetRequest) Parameter ¶ added in v0.0.329

func (r *HTPasswdUserGetRequest) Parameter(name string, value interface{}) *HTPasswdUserGetRequest

Parameter adds a query parameter.

func (*HTPasswdUserGetRequest) Send ¶ added in v0.0.329

func (r *HTPasswdUserGetRequest) Send() (result *HTPasswdUserGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HTPasswdUserGetRequest) SendContext ¶ added in v0.0.329

func (r *HTPasswdUserGetRequest) SendContext(ctx context.Context) (result *HTPasswdUserGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type HTPasswdUserGetResponse ¶ added in v0.0.329

type HTPasswdUserGetResponse struct {
	// contains filtered or unexported fields
}

HTPasswdUserGetResponse is the response for the 'get' method.

func (*HTPasswdUserGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*HTPasswdUserGetResponse) Error ¶ added in v0.0.329

func (r *HTPasswdUserGetResponse) Error() *errors.Error

Error returns the response error.

func (*HTPasswdUserGetResponse) GetBody ¶ added in v0.0.329

func (r *HTPasswdUserGetResponse) GetBody() (value *HTPasswdUser, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*HTPasswdUserGetResponse) Header ¶ added in v0.0.329

func (r *HTPasswdUserGetResponse) Header() http.Header

Header returns header of the response.

func (*HTPasswdUserGetResponse) Status ¶ added in v0.0.329

func (r *HTPasswdUserGetResponse) Status() int

Status returns the response status code.

type HTPasswdUserList ¶ added in v0.0.329

type HTPasswdUserList struct {
	// contains filtered or unexported fields
}

HTPasswdUserList is a list of values of the 'HT_passwd_user' type.

func (*HTPasswdUserList) Each ¶ added in v0.0.329

func (l *HTPasswdUserList) Each(f func(item *HTPasswdUser) 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 (*HTPasswdUserList) Empty ¶ added in v0.0.329

func (l *HTPasswdUserList) Empty() bool

Empty returns true if the list is empty.

func (*HTPasswdUserList) Get ¶ added in v0.0.329

func (l *HTPasswdUserList) Get(i int) *HTPasswdUser

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*HTPasswdUserList) Len ¶ added in v0.0.329

func (l *HTPasswdUserList) Len() int

Len returns the length of the list.

func (*HTPasswdUserList) Range ¶ added in v0.0.329

func (l *HTPasswdUserList) Range(f func(index int, item *HTPasswdUser) 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 (*HTPasswdUserList) Slice ¶ added in v0.0.329

func (l *HTPasswdUserList) Slice() []*HTPasswdUser

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 HTPasswdUserListBuilder ¶ added in v0.0.329

type HTPasswdUserListBuilder struct {
	// contains filtered or unexported fields
}

HTPasswdUserListBuilder contains the data and logic needed to build 'HT_passwd_user' objects.

func NewHTPasswdUserList ¶ added in v0.0.329

func NewHTPasswdUserList() *HTPasswdUserListBuilder

NewHTPasswdUserList creates a new builder of 'HT_passwd_user' objects.

func (*HTPasswdUserListBuilder) Build ¶ added in v0.0.329

func (b *HTPasswdUserListBuilder) Build() (list *HTPasswdUserList, err error)

Build creates a list of 'HT_passwd_user' objects using the configuration stored in the builder.

func (*HTPasswdUserListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*HTPasswdUserListBuilder) Empty ¶ added in v0.0.329

func (b *HTPasswdUserListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*HTPasswdUserListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type HTPasswdUserPollRequest ¶ added in v0.0.329

type HTPasswdUserPollRequest struct {
	// contains filtered or unexported fields
}

HTPasswdUserPollRequest is the request for the Poll method.

func (*HTPasswdUserPollRequest) Header ¶ added in v0.0.329

func (r *HTPasswdUserPollRequest) Header(name string, value interface{}) *HTPasswdUserPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*HTPasswdUserPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*HTPasswdUserPollRequest) Parameter ¶ added in v0.0.329

func (r *HTPasswdUserPollRequest) Parameter(name string, value interface{}) *HTPasswdUserPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*HTPasswdUserPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*HTPasswdUserPollRequest) StartContext ¶ added in v0.0.329

func (r *HTPasswdUserPollRequest) StartContext(ctx context.Context) (response *HTPasswdUserPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*HTPasswdUserPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type HTPasswdUserPollResponse ¶ added in v0.0.329

type HTPasswdUserPollResponse struct {
	// contains filtered or unexported fields
}

HTPasswdUserPollResponse is the response for the Poll method.

func (*HTPasswdUserPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*HTPasswdUserPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*HTPasswdUserPollResponse) GetBody ¶ added in v0.0.329

func (r *HTPasswdUserPollResponse) GetBody() (value *HTPasswdUser, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*HTPasswdUserPollResponse) Header ¶ added in v0.0.329

func (r *HTPasswdUserPollResponse) Header() http.Header

Header returns header of the response.

func (*HTPasswdUserPollResponse) Status ¶ added in v0.0.329

func (r *HTPasswdUserPollResponse) Status() int

Status returns the response status code.

type HTPasswdUserUpdateRequest ¶ added in v0.0.329

type HTPasswdUserUpdateRequest struct {
	// contains filtered or unexported fields
}

HTPasswdUserUpdateRequest is the request for the 'update' method.

func (*HTPasswdUserUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*HTPasswdUserUpdateRequest) Header ¶ added in v0.0.329

func (r *HTPasswdUserUpdateRequest) Header(name string, value interface{}) *HTPasswdUserUpdateRequest

Header adds a request header.

func (*HTPasswdUserUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HTPasswdUserUpdateRequest) Parameter ¶ added in v0.0.329

func (r *HTPasswdUserUpdateRequest) Parameter(name string, value interface{}) *HTPasswdUserUpdateRequest

Parameter adds a query parameter.

func (*HTPasswdUserUpdateRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HTPasswdUserUpdateRequest) SendContext ¶ added in v0.0.329

func (r *HTPasswdUserUpdateRequest) SendContext(ctx context.Context) (result *HTPasswdUserUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type HTPasswdUserUpdateResponse ¶ added in v0.0.329

type HTPasswdUserUpdateResponse struct {
	// contains filtered or unexported fields
}

HTPasswdUserUpdateResponse is the response for the 'update' method.

func (*HTPasswdUserUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*HTPasswdUserUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*HTPasswdUserUpdateResponse) GetBody ¶ added in v0.0.329

func (r *HTPasswdUserUpdateResponse) GetBody() (value *HTPasswdUser, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*HTPasswdUserUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*HTPasswdUserUpdateResponse) Status ¶ added in v0.0.329

func (r *HTPasswdUserUpdateResponse) Status() int

Status returns the response status code.

type HTPasswdUsersAddRequest ¶ added in v0.0.329

type HTPasswdUsersAddRequest struct {
	// contains filtered or unexported fields
}

HTPasswdUsersAddRequest is the request for the 'add' method.

func (*HTPasswdUsersAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

New user to be added

func (*HTPasswdUsersAddRequest) Header ¶ added in v0.0.329

func (r *HTPasswdUsersAddRequest) Header(name string, value interface{}) *HTPasswdUsersAddRequest

Header adds a request header.

func (*HTPasswdUsersAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HTPasswdUsersAddRequest) Parameter ¶ added in v0.0.329

func (r *HTPasswdUsersAddRequest) Parameter(name string, value interface{}) *HTPasswdUsersAddRequest

Parameter adds a query parameter.

func (*HTPasswdUsersAddRequest) Send ¶ added in v0.0.329

func (r *HTPasswdUsersAddRequest) Send() (result *HTPasswdUsersAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HTPasswdUsersAddRequest) SendContext ¶ added in v0.0.329

func (r *HTPasswdUsersAddRequest) SendContext(ctx context.Context) (result *HTPasswdUsersAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type HTPasswdUsersAddResponse ¶ added in v0.0.329

type HTPasswdUsersAddResponse struct {
	// contains filtered or unexported fields
}

HTPasswdUsersAddResponse is the response for the 'add' method.

func (*HTPasswdUsersAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

New user to be added

func (*HTPasswdUsersAddResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*HTPasswdUsersAddResponse) GetBody ¶ added in v0.0.329

func (r *HTPasswdUsersAddResponse) GetBody() (value *HTPasswdUser, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

New user to be added

func (*HTPasswdUsersAddResponse) Header ¶ added in v0.0.329

func (r *HTPasswdUsersAddResponse) Header() http.Header

Header returns header of the response.

func (*HTPasswdUsersAddResponse) Status ¶ added in v0.0.329

func (r *HTPasswdUsersAddResponse) Status() int

Status returns the response status code.

type HTPasswdUsersClient ¶ added in v0.0.329

type HTPasswdUsersClient struct {
	// contains filtered or unexported fields
}

HTPasswdUsersClient is the client of the 'HT_passwd_users' resource.

Manages the collection of users in an _HTPasswd_ IDP of a cluster.

func NewHTPasswdUsersClient ¶ added in v0.0.329

func NewHTPasswdUsersClient(transport http.RoundTripper, path string) *HTPasswdUsersClient

NewHTPasswdUsersClient creates a new client for the 'HT_passwd_users' resource using the given transport to send the requests and receive the responses.

func (*HTPasswdUsersClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new user to the _HTPasswd_ file.

func (*HTPasswdUsersClient) HtpasswdUser ¶ added in v0.0.329

func (c *HTPasswdUsersClient) HtpasswdUser(id string) *HTPasswdUserClient

HtpasswdUser returns the target 'HT_passwd_user' resource for the given identifier.

Reference to the service that manages a specific _HTPasswd_ user.

func (*HTPasswdUsersClient) Import ¶ added in v0.0.329

Import creates a request for the 'import' method.

Adds multiple new users to the _HTPasswd_ file.

func (*HTPasswdUsersClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of _HTPasswd_ IDP users.

type HTPasswdUsersImportRequest ¶ added in v0.0.329

type HTPasswdUsersImportRequest struct {
	// contains filtered or unexported fields
}

HTPasswdUsersImportRequest is the request for the 'import' method.

func (*HTPasswdUsersImportRequest) Header ¶ added in v0.0.329

func (r *HTPasswdUsersImportRequest) Header(name string, value interface{}) *HTPasswdUsersImportRequest

Header adds a request header.

func (*HTPasswdUsersImportRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HTPasswdUsersImportRequest) Items ¶ added in v0.0.329

Items sets the value of the 'items' parameter.

List of users to add to the IDP.

func (*HTPasswdUsersImportRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*HTPasswdUsersImportRequest) Parameter ¶ added in v0.0.329

func (r *HTPasswdUsersImportRequest) Parameter(name string, value interface{}) *HTPasswdUsersImportRequest

Parameter adds a query parameter.

func (*HTPasswdUsersImportRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HTPasswdUsersImportRequest) SendContext ¶ added in v0.0.329

func (r *HTPasswdUsersImportRequest) SendContext(ctx context.Context) (result *HTPasswdUsersImportResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*HTPasswdUsersImportRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type HTPasswdUsersImportResponse ¶ added in v0.0.329

type HTPasswdUsersImportResponse struct {
	// contains filtered or unexported fields
}

HTPasswdUsersImportResponse is the response for the 'import' method.

func (*HTPasswdUsersImportResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*HTPasswdUsersImportResponse) GetItems ¶ added in v0.0.329

func (r *HTPasswdUsersImportResponse) GetItems() (value []*HTPasswdUser, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Updated list of users of the IDP.

func (*HTPasswdUsersImportResponse) GetPage ¶ added in v0.0.329

func (r *HTPasswdUsersImportResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*HTPasswdUsersImportResponse) GetSize ¶ added in v0.0.329

func (r *HTPasswdUsersImportResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*HTPasswdUsersImportResponse) GetTotal ¶ added in v0.0.329

func (r *HTPasswdUsersImportResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*HTPasswdUsersImportResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*HTPasswdUsersImportResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Updated list of users of the IDP.

func (*HTPasswdUsersImportResponse) Page ¶ added in v0.0.329

func (r *HTPasswdUsersImportResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*HTPasswdUsersImportResponse) Size ¶ added in v0.0.329

func (r *HTPasswdUsersImportResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*HTPasswdUsersImportResponse) Status ¶ added in v0.0.329

func (r *HTPasswdUsersImportResponse) Status() int

Status returns the response status code.

func (*HTPasswdUsersImportResponse) Total ¶ added in v0.0.329

func (r *HTPasswdUsersImportResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type HTPasswdUsersListRequest ¶ added in v0.0.329

type HTPasswdUsersListRequest struct {
	// contains filtered or unexported fields
}

HTPasswdUsersListRequest is the request for the 'list' method.

func (*HTPasswdUsersListRequest) Header ¶ added in v0.0.329

func (r *HTPasswdUsersListRequest) Header(name string, value interface{}) *HTPasswdUsersListRequest

Header adds a request header.

func (*HTPasswdUsersListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HTPasswdUsersListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*HTPasswdUsersListRequest) Parameter ¶ added in v0.0.329

func (r *HTPasswdUsersListRequest) Parameter(name string, value interface{}) *HTPasswdUsersListRequest

Parameter adds a query parameter.

func (*HTPasswdUsersListRequest) Send ¶ added in v0.0.329

func (r *HTPasswdUsersListRequest) Send() (result *HTPasswdUsersListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HTPasswdUsersListRequest) SendContext ¶ added in v0.0.329

func (r *HTPasswdUsersListRequest) SendContext(ctx context.Context) (result *HTPasswdUsersListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*HTPasswdUsersListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type HTPasswdUsersListResponse ¶ added in v0.0.329

type HTPasswdUsersListResponse struct {
	// contains filtered or unexported fields
}

HTPasswdUsersListResponse is the response for the 'list' method.

func (*HTPasswdUsersListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*HTPasswdUsersListResponse) GetItems ¶ added in v0.0.329

func (r *HTPasswdUsersListResponse) GetItems() (value *HTPasswdUserList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of users of the IDP.

func (*HTPasswdUsersListResponse) GetPage ¶ added in v0.0.329

func (r *HTPasswdUsersListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*HTPasswdUsersListResponse) GetSize ¶ added in v0.0.329

func (r *HTPasswdUsersListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*HTPasswdUsersListResponse) GetTotal ¶ added in v0.0.329

func (r *HTPasswdUsersListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*HTPasswdUsersListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*HTPasswdUsersListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of users of the IDP.

func (*HTPasswdUsersListResponse) Page ¶ added in v0.0.329

func (r *HTPasswdUsersListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*HTPasswdUsersListResponse) Size ¶ added in v0.0.329

func (r *HTPasswdUsersListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*HTPasswdUsersListResponse) Status ¶ added in v0.0.329

func (r *HTPasswdUsersListResponse) Status() int

Status returns the response status code.

func (*HTPasswdUsersListResponse) Total ¶ added in v0.0.329

func (r *HTPasswdUsersListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type HcpKubeletConfigClient ¶ added in v0.1.419

type HcpKubeletConfigClient struct {
	// contains filtered or unexported fields
}

HcpKubeletConfigClient is the client of the 'hcp_kubelet_config' resource.

Manages KubeletConfig configuration for Hosted Control Plane clusters. This resource does not support POST operations in contrast to the KubeletConfig resource for Classic clusters.

func NewHcpKubeletConfigClient ¶ added in v0.1.419

func NewHcpKubeletConfigClient(transport http.RoundTripper, path string) *HcpKubeletConfigClient

NewHcpKubeletConfigClient creates a new client for the 'hcp_kubelet_config' resource using the given transport to send the requests and receive the responses.

func (*HcpKubeletConfigClient) Delete ¶ added in v0.1.419

Delete creates a request for the 'delete' method.

Deletes the KubeletConfig specified by the id.

func (*HcpKubeletConfigClient) Get ¶ added in v0.1.419

Get creates a request for the 'get' method.

Retrieves the KubeletConfig specified by the id.

func (*HcpKubeletConfigClient) Poll ¶ added in v0.1.419

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*HcpKubeletConfigClient) Update ¶ added in v0.1.419

Update creates a request for the 'update' method.

Updates the KubeletConfig specified by the id.

type HcpKubeletConfigDeleteRequest ¶ added in v0.1.419

type HcpKubeletConfigDeleteRequest struct {
	// contains filtered or unexported fields
}

HcpKubeletConfigDeleteRequest is the request for the 'delete' method.

func (*HcpKubeletConfigDeleteRequest) Header ¶ added in v0.1.419

func (r *HcpKubeletConfigDeleteRequest) Header(name string, value interface{}) *HcpKubeletConfigDeleteRequest

Header adds a request header.

func (*HcpKubeletConfigDeleteRequest) Impersonate ¶ added in v0.1.419

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HcpKubeletConfigDeleteRequest) Parameter ¶ added in v0.1.419

func (r *HcpKubeletConfigDeleteRequest) Parameter(name string, value interface{}) *HcpKubeletConfigDeleteRequest

Parameter adds a query parameter.

func (*HcpKubeletConfigDeleteRequest) Send ¶ added in v0.1.419

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HcpKubeletConfigDeleteRequest) SendContext ¶ added in v0.1.419

SendContext sends this request, waits for the response, and returns it.

type HcpKubeletConfigDeleteResponse ¶ added in v0.1.419

type HcpKubeletConfigDeleteResponse struct {
	// contains filtered or unexported fields
}

HcpKubeletConfigDeleteResponse is the response for the 'delete' method.

func (*HcpKubeletConfigDeleteResponse) Error ¶ added in v0.1.419

Error returns the response error.

func (*HcpKubeletConfigDeleteResponse) Header ¶ added in v0.1.419

Header returns header of the response.

func (*HcpKubeletConfigDeleteResponse) Status ¶ added in v0.1.419

func (r *HcpKubeletConfigDeleteResponse) Status() int

Status returns the response status code.

type HcpKubeletConfigGetRequest ¶ added in v0.1.419

type HcpKubeletConfigGetRequest struct {
	// contains filtered or unexported fields
}

HcpKubeletConfigGetRequest is the request for the 'get' method.

func (*HcpKubeletConfigGetRequest) Header ¶ added in v0.1.419

func (r *HcpKubeletConfigGetRequest) Header(name string, value interface{}) *HcpKubeletConfigGetRequest

Header adds a request header.

func (*HcpKubeletConfigGetRequest) Impersonate ¶ added in v0.1.419

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HcpKubeletConfigGetRequest) Parameter ¶ added in v0.1.419

func (r *HcpKubeletConfigGetRequest) Parameter(name string, value interface{}) *HcpKubeletConfigGetRequest

Parameter adds a query parameter.

func (*HcpKubeletConfigGetRequest) Send ¶ added in v0.1.419

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HcpKubeletConfigGetRequest) SendContext ¶ added in v0.1.419

func (r *HcpKubeletConfigGetRequest) SendContext(ctx context.Context) (result *HcpKubeletConfigGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type HcpKubeletConfigGetResponse ¶ added in v0.1.419

type HcpKubeletConfigGetResponse struct {
	// contains filtered or unexported fields
}

HcpKubeletConfigGetResponse is the response for the 'get' method.

func (*HcpKubeletConfigGetResponse) Body ¶ added in v0.1.419

Body returns the value of the 'body' parameter.

func (*HcpKubeletConfigGetResponse) Error ¶ added in v0.1.419

Error returns the response error.

func (*HcpKubeletConfigGetResponse) GetBody ¶ added in v0.1.419

func (r *HcpKubeletConfigGetResponse) GetBody() (value *KubeletConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*HcpKubeletConfigGetResponse) Header ¶ added in v0.1.419

Header returns header of the response.

func (*HcpKubeletConfigGetResponse) Status ¶ added in v0.1.419

func (r *HcpKubeletConfigGetResponse) Status() int

Status returns the response status code.

type HcpKubeletConfigPollRequest ¶ added in v0.1.419

type HcpKubeletConfigPollRequest struct {
	// contains filtered or unexported fields
}

HcpKubeletConfigPollRequest is the request for the Poll method.

func (*HcpKubeletConfigPollRequest) Header ¶ added in v0.1.419

func (r *HcpKubeletConfigPollRequest) Header(name string, value interface{}) *HcpKubeletConfigPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*HcpKubeletConfigPollRequest) Interval ¶ added in v0.1.419

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*HcpKubeletConfigPollRequest) Parameter ¶ added in v0.1.419

func (r *HcpKubeletConfigPollRequest) Parameter(name string, value interface{}) *HcpKubeletConfigPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*HcpKubeletConfigPollRequest) Predicate ¶ added in v0.1.419

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*HcpKubeletConfigPollRequest) StartContext ¶ added in v0.1.419

func (r *HcpKubeletConfigPollRequest) StartContext(ctx context.Context) (response *HcpKubeletConfigPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*HcpKubeletConfigPollRequest) Status ¶ added in v0.1.419

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type HcpKubeletConfigPollResponse ¶ added in v0.1.419

type HcpKubeletConfigPollResponse struct {
	// contains filtered or unexported fields
}

HcpKubeletConfigPollResponse is the response for the Poll method.

func (*HcpKubeletConfigPollResponse) Body ¶ added in v0.1.419

Body returns the value of the 'body' parameter.

func (*HcpKubeletConfigPollResponse) Error ¶ added in v0.1.419

Error returns the response error.

func (*HcpKubeletConfigPollResponse) GetBody ¶ added in v0.1.419

func (r *HcpKubeletConfigPollResponse) GetBody() (value *KubeletConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*HcpKubeletConfigPollResponse) Header ¶ added in v0.1.419

Header returns header of the response.

func (*HcpKubeletConfigPollResponse) Status ¶ added in v0.1.419

func (r *HcpKubeletConfigPollResponse) Status() int

Status returns the response status code.

type HcpKubeletConfigUpdateRequest ¶ added in v0.1.419

type HcpKubeletConfigUpdateRequest struct {
	// contains filtered or unexported fields
}

HcpKubeletConfigUpdateRequest is the request for the 'update' method.

func (*HcpKubeletConfigUpdateRequest) Body ¶ added in v0.1.419

Body sets the value of the 'body' parameter.

func (*HcpKubeletConfigUpdateRequest) Header ¶ added in v0.1.419

func (r *HcpKubeletConfigUpdateRequest) Header(name string, value interface{}) *HcpKubeletConfigUpdateRequest

Header adds a request header.

func (*HcpKubeletConfigUpdateRequest) Impersonate ¶ added in v0.1.419

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HcpKubeletConfigUpdateRequest) Parameter ¶ added in v0.1.419

func (r *HcpKubeletConfigUpdateRequest) Parameter(name string, value interface{}) *HcpKubeletConfigUpdateRequest

Parameter adds a query parameter.

func (*HcpKubeletConfigUpdateRequest) Send ¶ added in v0.1.419

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HcpKubeletConfigUpdateRequest) SendContext ¶ added in v0.1.419

SendContext sends this request, waits for the response, and returns it.

type HcpKubeletConfigUpdateResponse ¶ added in v0.1.419

type HcpKubeletConfigUpdateResponse struct {
	// contains filtered or unexported fields
}

HcpKubeletConfigUpdateResponse is the response for the 'update' method.

func (*HcpKubeletConfigUpdateResponse) Body ¶ added in v0.1.419

Body returns the value of the 'body' parameter.

func (*HcpKubeletConfigUpdateResponse) Error ¶ added in v0.1.419

Error returns the response error.

func (*HcpKubeletConfigUpdateResponse) GetBody ¶ added in v0.1.419

func (r *HcpKubeletConfigUpdateResponse) GetBody() (value *KubeletConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*HcpKubeletConfigUpdateResponse) Header ¶ added in v0.1.419

Header returns header of the response.

func (*HcpKubeletConfigUpdateResponse) Status ¶ added in v0.1.419

func (r *HcpKubeletConfigUpdateResponse) Status() int

Status returns the response status code.

type Hypershift ¶ added in v0.0.329

type Hypershift struct {
	// contains filtered or unexported fields
}

Hypershift represents the values of the 'hypershift' type.

Hypershift configuration.

func UnmarshalHypershift ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *Hypershift) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Hypershift) Enabled ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type HypershiftBuilder struct {
	// contains filtered or unexported fields
}

HypershiftBuilder contains the data and logic needed to build 'hypershift' objects.

Hypershift configuration.

func NewHypershift ¶ added in v0.0.329

func NewHypershift() *HypershiftBuilder

NewHypershift creates a new builder of 'hypershift' objects.

func (*HypershiftBuilder) Build ¶ added in v0.0.329

func (b *HypershiftBuilder) Build() (object *Hypershift, err error)

Build creates a 'hypershift' object using the configuration stored in the builder.

func (*HypershiftBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*HypershiftBuilder) Empty ¶ added in v0.0.329

func (b *HypershiftBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*HypershiftBuilder) Enabled ¶ added in v0.0.329

func (b *HypershiftBuilder) Enabled(value bool) *HypershiftBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

type HypershiftClient ¶ added in v0.0.329

type HypershiftClient struct {
	// contains filtered or unexported fields
}

HypershiftClient is the client of the 'hypershift' resource.

Manages a specific Hypershift cluster.

func NewHypershiftClient ¶ added in v0.0.329

func NewHypershiftClient(transport http.RoundTripper, path string) *HypershiftClient

NewHypershiftClient creates a new client for the 'hypershift' resource using the given transport to send the requests and receive the responses.

func (*HypershiftClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the Hypershift details for a single cluster.

func (*HypershiftClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*HypershiftClient) Update ¶ added in v0.1.378

Update creates a request for the 'update' method.

Updates the Hypershift details for a single cluster.

type HypershiftConfig ¶ added in v0.0.329

type HypershiftConfig struct {
	// contains filtered or unexported fields
}

HypershiftConfig represents the values of the 'hypershift_config' type.

Hypershift configuration.

func UnmarshalHypershiftConfig ¶ added in v0.0.329

func UnmarshalHypershiftConfig(source interface{}) (object *HypershiftConfig, err error)

UnmarshalHypershiftConfig reads a value of the 'hypershift_config' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalHypershiftConfigList ¶ added in v0.0.329

func UnmarshalHypershiftConfigList(source interface{}) (items []*HypershiftConfig, err error)

UnmarshalHypershiftConfigList reads a list of values of the 'hypershift_config' type from the given source, which can be a slice of bytes, a string or a reader.

func (*HypershiftConfig) Empty ¶ added in v0.0.329

func (o *HypershiftConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*HypershiftConfig) Enabled ¶ added in v0.0.329

func (o *HypershiftConfig) 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 (*HypershiftConfig) GetEnabled ¶ added in v0.0.329

func (o *HypershiftConfig) 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.

func (*HypershiftConfig) GetManagementCluster ¶ added in v0.0.329

func (o *HypershiftConfig) 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 current management cluster for this Hypershift cluster. Empty for non Hypershift clusters.

func (*HypershiftConfig) ManagementCluster ¶ added in v0.0.329

func (o *HypershiftConfig) 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 current management cluster for this Hypershift cluster. Empty for non Hypershift clusters.

type HypershiftConfigBuilder ¶ added in v0.0.329

type HypershiftConfigBuilder struct {
	// contains filtered or unexported fields
}

HypershiftConfigBuilder contains the data and logic needed to build 'hypershift_config' objects.

Hypershift configuration.

func NewHypershiftConfig ¶ added in v0.0.329

func NewHypershiftConfig() *HypershiftConfigBuilder

NewHypershiftConfig creates a new builder of 'hypershift_config' objects.

func (*HypershiftConfigBuilder) Build ¶ added in v0.0.329

func (b *HypershiftConfigBuilder) Build() (object *HypershiftConfig, err error)

Build creates a 'hypershift_config' object using the configuration stored in the builder.

func (*HypershiftConfigBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*HypershiftConfigBuilder) Empty ¶ added in v0.0.329

func (b *HypershiftConfigBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*HypershiftConfigBuilder) Enabled ¶ added in v0.0.329

Enabled sets the value of the 'enabled' attribute to the given value.

func (*HypershiftConfigBuilder) ManagementCluster ¶ added in v0.0.329

func (b *HypershiftConfigBuilder) ManagementCluster(value string) *HypershiftConfigBuilder

ManagementCluster sets the value of the 'management_cluster' attribute to the given value.

type HypershiftConfigList ¶ added in v0.0.329

type HypershiftConfigList struct {
	// contains filtered or unexported fields
}

HypershiftConfigList is a list of values of the 'hypershift_config' type.

func (*HypershiftConfigList) Each ¶ added in v0.0.329

func (l *HypershiftConfigList) Each(f func(item *HypershiftConfig) 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 (*HypershiftConfigList) Empty ¶ added in v0.0.329

func (l *HypershiftConfigList) Empty() bool

Empty returns true if the list is empty.

func (*HypershiftConfigList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*HypershiftConfigList) Len ¶ added in v0.0.329

func (l *HypershiftConfigList) Len() int

Len returns the length of the list.

func (*HypershiftConfigList) Range ¶ added in v0.0.329

func (l *HypershiftConfigList) Range(f func(index int, item *HypershiftConfig) 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 (*HypershiftConfigList) Slice ¶ added in v0.0.329

func (l *HypershiftConfigList) Slice() []*HypershiftConfig

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 HypershiftConfigListBuilder ¶ added in v0.0.329

type HypershiftConfigListBuilder struct {
	// contains filtered or unexported fields
}

HypershiftConfigListBuilder contains the data and logic needed to build 'hypershift_config' objects.

func NewHypershiftConfigList ¶ added in v0.0.329

func NewHypershiftConfigList() *HypershiftConfigListBuilder

NewHypershiftConfigList creates a new builder of 'hypershift_config' objects.

func (*HypershiftConfigListBuilder) Build ¶ added in v0.0.329

func (b *HypershiftConfigListBuilder) Build() (list *HypershiftConfigList, err error)

Build creates a list of 'hypershift_config' objects using the configuration stored in the builder.

func (*HypershiftConfigListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*HypershiftConfigListBuilder) Empty ¶ added in v0.0.329

func (b *HypershiftConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*HypershiftConfigListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type HypershiftGetRequest ¶ added in v0.0.329

type HypershiftGetRequest struct {
	// contains filtered or unexported fields
}

HypershiftGetRequest is the request for the 'get' method.

func (*HypershiftGetRequest) Header ¶ added in v0.0.329

func (r *HypershiftGetRequest) Header(name string, value interface{}) *HypershiftGetRequest

Header adds a request header.

func (*HypershiftGetRequest) Impersonate ¶ added in v0.0.329

func (r *HypershiftGetRequest) Impersonate(user string) *HypershiftGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HypershiftGetRequest) Parameter ¶ added in v0.0.329

func (r *HypershiftGetRequest) Parameter(name string, value interface{}) *HypershiftGetRequest

Parameter adds a query parameter.

func (*HypershiftGetRequest) Send ¶ added in v0.0.329

func (r *HypershiftGetRequest) Send() (result *HypershiftGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HypershiftGetRequest) SendContext ¶ added in v0.0.329

func (r *HypershiftGetRequest) SendContext(ctx context.Context) (result *HypershiftGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type HypershiftGetResponse ¶ added in v0.0.329

type HypershiftGetResponse struct {
	// contains filtered or unexported fields
}

HypershiftGetResponse is the response for the 'get' method.

func (*HypershiftGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*HypershiftGetResponse) Error ¶ added in v0.0.329

func (r *HypershiftGetResponse) Error() *errors.Error

Error returns the response error.

func (*HypershiftGetResponse) GetBody ¶ added in v0.0.329

func (r *HypershiftGetResponse) GetBody() (value *HypershiftConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*HypershiftGetResponse) Header ¶ added in v0.0.329

func (r *HypershiftGetResponse) Header() http.Header

Header returns header of the response.

func (*HypershiftGetResponse) Status ¶ added in v0.0.329

func (r *HypershiftGetResponse) Status() int

Status returns the response status code.

type HypershiftList ¶ added in v0.0.329

type HypershiftList struct {
	// contains filtered or unexported fields
}

HypershiftList is a list of values of the 'hypershift' type.

func (*HypershiftList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *HypershiftList) Empty() bool

Empty returns true if the list is empty.

func (*HypershiftList) Get ¶ added in v0.0.329

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) Len ¶ added in v0.0.329

func (l *HypershiftList) Len() int

Len returns the length of the list.

func (*HypershiftList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type HypershiftListBuilder struct {
	// contains filtered or unexported fields
}

HypershiftListBuilder contains the data and logic needed to build 'hypershift' objects.

func NewHypershiftList ¶ added in v0.0.329

func NewHypershiftList() *HypershiftListBuilder

NewHypershiftList creates a new builder of 'hypershift' objects.

func (*HypershiftListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*HypershiftListBuilder) Empty ¶ added in v0.0.329

func (b *HypershiftListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*HypershiftListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type HypershiftPollRequest ¶ added in v0.0.329

type HypershiftPollRequest struct {
	// contains filtered or unexported fields
}

HypershiftPollRequest is the request for the Poll method.

func (*HypershiftPollRequest) Header ¶ added in v0.0.329

func (r *HypershiftPollRequest) Header(name string, value interface{}) *HypershiftPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*HypershiftPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*HypershiftPollRequest) Parameter ¶ added in v0.0.329

func (r *HypershiftPollRequest) Parameter(name string, value interface{}) *HypershiftPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*HypershiftPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*HypershiftPollRequest) StartContext ¶ added in v0.0.329

func (r *HypershiftPollRequest) StartContext(ctx context.Context) (response *HypershiftPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*HypershiftPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type HypershiftPollResponse ¶ added in v0.0.329

type HypershiftPollResponse struct {
	// contains filtered or unexported fields
}

HypershiftPollResponse is the response for the Poll method.

func (*HypershiftPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*HypershiftPollResponse) Error ¶ added in v0.0.329

func (r *HypershiftPollResponse) Error() *errors.Error

Error returns the response error.

func (*HypershiftPollResponse) GetBody ¶ added in v0.0.329

func (r *HypershiftPollResponse) GetBody() (value *HypershiftConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*HypershiftPollResponse) Header ¶ added in v0.0.329

func (r *HypershiftPollResponse) Header() http.Header

Header returns header of the response.

func (*HypershiftPollResponse) Status ¶ added in v0.0.329

func (r *HypershiftPollResponse) Status() int

Status returns the response status code.

type HypershiftUpdateRequest ¶ added in v0.1.378

type HypershiftUpdateRequest struct {
	// contains filtered or unexported fields
}

HypershiftUpdateRequest is the request for the 'update' method.

func (*HypershiftUpdateRequest) Body ¶ added in v0.1.378

Body sets the value of the 'body' parameter.

func (*HypershiftUpdateRequest) Header ¶ added in v0.1.378

func (r *HypershiftUpdateRequest) Header(name string, value interface{}) *HypershiftUpdateRequest

Header adds a request header.

func (*HypershiftUpdateRequest) Impersonate ¶ added in v0.1.378

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*HypershiftUpdateRequest) Parameter ¶ added in v0.1.378

func (r *HypershiftUpdateRequest) Parameter(name string, value interface{}) *HypershiftUpdateRequest

Parameter adds a query parameter.

func (*HypershiftUpdateRequest) Send ¶ added in v0.1.378

func (r *HypershiftUpdateRequest) Send() (result *HypershiftUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*HypershiftUpdateRequest) SendContext ¶ added in v0.1.378

func (r *HypershiftUpdateRequest) SendContext(ctx context.Context) (result *HypershiftUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type HypershiftUpdateResponse ¶ added in v0.1.378

type HypershiftUpdateResponse struct {
	// contains filtered or unexported fields
}

HypershiftUpdateResponse is the response for the 'update' method.

func (*HypershiftUpdateResponse) Body ¶ added in v0.1.378

Body returns the value of the 'body' parameter.

func (*HypershiftUpdateResponse) Error ¶ added in v0.1.378

Error returns the response error.

func (*HypershiftUpdateResponse) GetBody ¶ added in v0.1.378

func (r *HypershiftUpdateResponse) GetBody() (value *HypershiftConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*HypershiftUpdateResponse) Header ¶ added in v0.1.378

func (r *HypershiftUpdateResponse) Header() http.Header

Header returns header of the response.

func (*HypershiftUpdateResponse) Status ¶ added in v0.1.378

func (r *HypershiftUpdateResponse) Status() int

Status returns the response status code.

type IdentityProvider ¶

type IdentityProvider struct {
	// contains filtered or unexported fields
}

IdentityProvider represents the values of the 'identity_provider' type.

Representation of an identity provider.

func UnmarshalIdentityProvider ¶

func UnmarshalIdentityProvider(source interface{}) (object *IdentityProvider, err error)

UnmarshalIdentityProvider reads a value of the 'identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalIdentityProviderList ¶

func UnmarshalIdentityProviderList(source interface{}) (items []*IdentityProvider, err error)

UnmarshalIdentityProviderList reads a list of values of the 'identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.

func (*IdentityProvider) Challenge ¶

func (o *IdentityProvider) Challenge() bool

Challenge returns the value of the 'challenge' attribute, or the zero value of the type if the attribute doesn't have a value.

When `true` unauthenticated token requests from non-web clients (like the CLI) are sent a `WWW-Authenticate` challenge header for this provider.

func (*IdentityProvider) Empty ¶

func (o *IdentityProvider) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*IdentityProvider) GetChallenge ¶

func (o *IdentityProvider) GetChallenge() (value bool, ok bool)

GetChallenge returns the value of the 'challenge' attribute and a flag indicating if the attribute has a value.

When `true` unauthenticated token requests from non-web clients (like the CLI) are sent a `WWW-Authenticate` challenge header for this provider.

func (*IdentityProvider) GetGithub ¶

func (o *IdentityProvider) GetGithub() (value *GithubIdentityProvider, ok bool)

GetGithub returns the value of the 'github' attribute and a flag indicating if the attribute has a value.

Details for `github` identity providers.

func (*IdentityProvider) GetGitlab ¶

func (o *IdentityProvider) GetGitlab() (value *GitlabIdentityProvider, ok bool)

GetGitlab returns the value of the 'gitlab' attribute and a flag indicating if the attribute has a value.

Details for `gitlab` identity providers.

func (*IdentityProvider) GetGoogle ¶

func (o *IdentityProvider) GetGoogle() (value *GoogleIdentityProvider, ok bool)

GetGoogle returns the value of the 'google' attribute and a flag indicating if the attribute has a value.

Details for `google` identity providers.

func (*IdentityProvider) GetHREF ¶

func (o *IdentityProvider) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*IdentityProvider) GetHtpasswd ¶ added in v0.0.329

func (o *IdentityProvider) 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 providers.

func (*IdentityProvider) GetID ¶

func (o *IdentityProvider) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*IdentityProvider) GetLDAP ¶

func (o *IdentityProvider) GetLDAP() (value *LDAPIdentityProvider, ok bool)

GetLDAP returns the value of the 'LDAP' attribute and a flag indicating if the attribute has a value.

Details for `ldap` identity providers.

func (*IdentityProvider) GetLogin ¶

func (o *IdentityProvider) GetLogin() (value bool, ok bool)

GetLogin returns the value of the 'login' attribute and a flag indicating if the attribute has a value.

When `true` unauthenticated token requests from web clients (like the web console) are redirected to the authorize URL to log in.

func (*IdentityProvider) GetMappingMethod ¶

func (o *IdentityProvider) GetMappingMethod() (value IdentityProviderMappingMethod, ok bool)

GetMappingMethod returns the value of the 'mapping_method' attribute and a flag indicating if the attribute has a value.

Controls how mappings are established between this provider's identities and user objects.

func (*IdentityProvider) GetName ¶

func (o *IdentityProvider) 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 identity provider.

func (*IdentityProvider) GetOpenID ¶

func (o *IdentityProvider) GetOpenID() (value *OpenIDIdentityProvider, ok bool)

GetOpenID returns the value of the 'open_ID' attribute and a flag indicating if the attribute has a value.

Details for `openid` identity providers.

func (*IdentityProvider) GetType ¶

func (o *IdentityProvider) GetType() (value IdentityProviderType, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

Type of identity provider. The rest of the attributes will be populated according to this value. For example, if the type is `github` then only the `github` attribute will be populated.

func (*IdentityProvider) Github ¶

Github returns the value of the 'github' attribute, or the zero value of the type if the attribute doesn't have a value.

Details for `github` identity providers.

func (*IdentityProvider) Gitlab ¶

Gitlab returns the value of the 'gitlab' attribute, or the zero value of the type if the attribute doesn't have a value.

Details for `gitlab` identity providers.

func (*IdentityProvider) Google ¶

Google returns the value of the 'google' attribute, or the zero value of the type if the attribute doesn't have a value.

Details for `google` identity providers.

func (*IdentityProvider) HREF ¶

func (o *IdentityProvider) HREF() string

HREF returns the link to the object.

func (*IdentityProvider) Htpasswd ¶ added in v0.0.329

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 providers.

func (*IdentityProvider) ID ¶

func (o *IdentityProvider) ID() string

ID returns the identifier of the object.

func (*IdentityProvider) Kind ¶

func (o *IdentityProvider) Kind() string

Kind returns the name of the type of the object.

func (*IdentityProvider) LDAP ¶

LDAP returns the value of the 'LDAP' attribute, or the zero value of the type if the attribute doesn't have a value.

Details for `ldap` identity providers.

func (o *IdentityProvider) Link() bool

Link returns true iif this is a link.

func (*IdentityProvider) Login ¶

func (o *IdentityProvider) Login() bool

Login returns the value of the 'login' attribute, or the zero value of the type if the attribute doesn't have a value.

When `true` unauthenticated token requests from web clients (like the web console) are redirected to the authorize URL to log in.

func (*IdentityProvider) MappingMethod ¶

MappingMethod returns the value of the 'mapping_method' attribute, or the zero value of the type if the attribute doesn't have a value.

Controls how mappings are established between this provider's identities and user objects.

func (*IdentityProvider) Name ¶

func (o *IdentityProvider) 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 identity provider.

func (*IdentityProvider) OpenID ¶

OpenID returns the value of the 'open_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Details for `openid` identity providers.

func (*IdentityProvider) 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 identity provider. The rest of the attributes will be populated according to this value. For example, if the type is `github` then only the `github` attribute will be populated.

type IdentityProviderBuilder ¶

type IdentityProviderBuilder struct {
	// contains filtered or unexported fields
}

IdentityProviderBuilder contains the data and logic needed to build 'identity_provider' objects.

Representation of an identity provider.

func NewIdentityProvider ¶

func NewIdentityProvider() *IdentityProviderBuilder

NewIdentityProvider creates a new builder of 'identity_provider' objects.

func (*IdentityProviderBuilder) Build ¶

func (b *IdentityProviderBuilder) Build() (object *IdentityProvider, err error)

Build creates a 'identity_provider' object using the configuration stored in the builder.

func (*IdentityProviderBuilder) Challenge ¶

Challenge sets the value of the 'challenge' attribute to the given value.

func (*IdentityProviderBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*IdentityProviderBuilder) Empty ¶ added in v0.0.329

func (b *IdentityProviderBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*IdentityProviderBuilder) Github ¶

Github sets the value of the 'github' attribute to the given value.

Details for `github` identity providers.

func (*IdentityProviderBuilder) Gitlab ¶

Gitlab sets the value of the 'gitlab' attribute to the given value.

Details for `gitlab` identity providers.

func (*IdentityProviderBuilder) Google ¶

Google sets the value of the 'google' attribute to the given value.

Details for `google` identity providers.

func (*IdentityProviderBuilder) HREF ¶

HREF sets the link to the object.

func (*IdentityProviderBuilder) Htpasswd ¶ added in v0.0.329

Htpasswd sets the value of the 'htpasswd' attribute to the given value.

Details for `htpasswd` identity providers.

func (*IdentityProviderBuilder) ID ¶

ID sets the identifier of the object.

func (*IdentityProviderBuilder) LDAP ¶

LDAP sets the value of the 'LDAP' attribute to the given value.

Details for `ldap` identity providers.

Link sets the flag that indicates if this is a link.

func (*IdentityProviderBuilder) Login ¶

Login sets the value of the 'login' attribute to the given value.

func (*IdentityProviderBuilder) MappingMethod ¶

MappingMethod sets the value of the 'mapping_method' attribute to the given value.

Controls how mappings are established between provider identities and user objects.

func (*IdentityProviderBuilder) Name ¶

Name sets the value of the 'name' attribute to the given value.

func (*IdentityProviderBuilder) OpenID ¶

OpenID sets the value of the 'open_ID' attribute to the given value.

Details for `openid` identity providers.

func (*IdentityProviderBuilder) Type ¶

Type sets the value of the 'type' attribute to the given value.

Type of identity provider.

type IdentityProviderClient ¶

type IdentityProviderClient struct {
	// contains filtered or unexported fields
}

IdentityProviderClient is the client of the 'identity_provider' resource.

Manages a specific identity provider.

func NewIdentityProviderClient ¶

func NewIdentityProviderClient(transport http.RoundTripper, path string) *IdentityProviderClient

NewIdentityProviderClient creates a new client for the 'identity_provider' resource using the given transport to send the requests and receive the responses.

func (*IdentityProviderClient) Delete ¶

Delete creates a request for the 'delete' method.

Deletes the identity provider.

func (*IdentityProviderClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the details of the identity provider.

func (*IdentityProviderClient) HtpasswdUsers ¶ added in v0.0.329

func (c *IdentityProviderClient) HtpasswdUsers() *HTPasswdUsersClient

HtpasswdUsers returns the target 'HT_passwd_users' resource.

Reference to the resource that manages the collection of _HTPasswd_ IDP users

func (*IdentityProviderClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*IdentityProviderClient) Update ¶

Update creates a request for the 'update' method.

Update identity provider in the cluster.

type IdentityProviderDeleteRequest ¶

type IdentityProviderDeleteRequest struct {
	// contains filtered or unexported fields
}

IdentityProviderDeleteRequest is the request for the 'delete' method.

func (*IdentityProviderDeleteRequest) Header ¶

func (r *IdentityProviderDeleteRequest) Header(name string, value interface{}) *IdentityProviderDeleteRequest

Header adds a request header.

func (*IdentityProviderDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IdentityProviderDeleteRequest) Parameter ¶

func (r *IdentityProviderDeleteRequest) Parameter(name string, value interface{}) *IdentityProviderDeleteRequest

Parameter adds a query parameter.

func (*IdentityProviderDeleteRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IdentityProviderDeleteRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type IdentityProviderDeleteResponse ¶

type IdentityProviderDeleteResponse struct {
	// contains filtered or unexported fields
}

IdentityProviderDeleteResponse is the response for the 'delete' method.

func (*IdentityProviderDeleteResponse) Error ¶

Error returns the response error.

func (*IdentityProviderDeleteResponse) Header ¶

Header returns header of the response.

func (*IdentityProviderDeleteResponse) Status ¶

func (r *IdentityProviderDeleteResponse) Status() int

Status returns the response status code.

type IdentityProviderGetRequest ¶

type IdentityProviderGetRequest struct {
	// contains filtered or unexported fields
}

IdentityProviderGetRequest is the request for the 'get' method.

func (*IdentityProviderGetRequest) Header ¶

func (r *IdentityProviderGetRequest) Header(name string, value interface{}) *IdentityProviderGetRequest

Header adds a request header.

func (*IdentityProviderGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IdentityProviderGetRequest) Parameter ¶

func (r *IdentityProviderGetRequest) Parameter(name string, value interface{}) *IdentityProviderGetRequest

Parameter adds a query parameter.

func (*IdentityProviderGetRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IdentityProviderGetRequest) SendContext ¶

func (r *IdentityProviderGetRequest) SendContext(ctx context.Context) (result *IdentityProviderGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type IdentityProviderGetResponse ¶

type IdentityProviderGetResponse struct {
	// contains filtered or unexported fields
}

IdentityProviderGetResponse is the response for the 'get' method.

func (*IdentityProviderGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*IdentityProviderGetResponse) Error ¶

Error returns the response error.

func (*IdentityProviderGetResponse) GetBody ¶

func (r *IdentityProviderGetResponse) GetBody() (value *IdentityProvider, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*IdentityProviderGetResponse) Header ¶

Header returns header of the response.

func (*IdentityProviderGetResponse) Status ¶

func (r *IdentityProviderGetResponse) Status() int

Status returns the response status code.

type IdentityProviderList ¶

type IdentityProviderList struct {
	// contains filtered or unexported fields
}

IdentityProviderList is a list of values of the 'identity_provider' type.

func (*IdentityProviderList) Each ¶

func (l *IdentityProviderList) Each(f func(item *IdentityProvider) 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 (*IdentityProviderList) Empty ¶

func (l *IdentityProviderList) Empty() bool

Empty returns true if the list is empty.

func (*IdentityProviderList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*IdentityProviderList) GetHREF ¶

func (l *IdentityProviderList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*IdentityProviderList) HREF ¶

func (l *IdentityProviderList) HREF() string

HREF returns the link to the list.

func (*IdentityProviderList) Kind ¶

func (l *IdentityProviderList) Kind() string

Kind returns the name of the type of the object.

func (*IdentityProviderList) Len ¶

func (l *IdentityProviderList) Len() int

Len returns the length of the list.

func (l *IdentityProviderList) Link() bool

Link returns true iif this is a link.

func (*IdentityProviderList) Range ¶

func (l *IdentityProviderList) Range(f func(index int, item *IdentityProvider) 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 (*IdentityProviderList) Slice ¶

func (l *IdentityProviderList) Slice() []*IdentityProvider

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 IdentityProviderListBuilder ¶

type IdentityProviderListBuilder struct {
	// contains filtered or unexported fields
}

IdentityProviderListBuilder contains the data and logic needed to build 'identity_provider' objects.

func NewIdentityProviderList ¶

func NewIdentityProviderList() *IdentityProviderListBuilder

NewIdentityProviderList creates a new builder of 'identity_provider' objects.

func (*IdentityProviderListBuilder) Build ¶

func (b *IdentityProviderListBuilder) Build() (list *IdentityProviderList, err error)

Build creates a list of 'identity_provider' objects using the configuration stored in the builder.

func (*IdentityProviderListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*IdentityProviderListBuilder) Empty ¶ added in v0.0.329

func (b *IdentityProviderListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*IdentityProviderListBuilder) Items ¶

Items sets the items of the list.

type IdentityProviderMappingMethod ¶

type IdentityProviderMappingMethod string

IdentityProviderMappingMethod represents the values of the 'identity_provider_mapping_method' enumerated type.

const (
	//
	IdentityProviderMappingMethodAdd IdentityProviderMappingMethod = "add"
	//
	IdentityProviderMappingMethodClaim IdentityProviderMappingMethod = "claim"
	//
	IdentityProviderMappingMethodGenerate IdentityProviderMappingMethod = "generate"
	//
	IdentityProviderMappingMethodLookup IdentityProviderMappingMethod = "lookup"
)

func UnmarshalIdentityProviderMappingMethodList ¶

func UnmarshalIdentityProviderMappingMethodList(source interface{}) (items []IdentityProviderMappingMethod, err error)

UnmarshalIdentityProviderMappingMethodList reads a list of values of the 'identity_provider_mapping_method' type from the given source, which can be a slice of bytes, a string or a reader.

type IdentityProviderPollRequest ¶

type IdentityProviderPollRequest struct {
	// contains filtered or unexported fields
}

IdentityProviderPollRequest is the request for the Poll method.

func (*IdentityProviderPollRequest) Header ¶

func (r *IdentityProviderPollRequest) Header(name string, value interface{}) *IdentityProviderPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*IdentityProviderPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*IdentityProviderPollRequest) Parameter ¶

func (r *IdentityProviderPollRequest) Parameter(name string, value interface{}) *IdentityProviderPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*IdentityProviderPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*IdentityProviderPollRequest) StartContext ¶

func (r *IdentityProviderPollRequest) StartContext(ctx context.Context) (response *IdentityProviderPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*IdentityProviderPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type IdentityProviderPollResponse ¶

type IdentityProviderPollResponse struct {
	// contains filtered or unexported fields
}

IdentityProviderPollResponse is the response for the Poll method.

func (*IdentityProviderPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*IdentityProviderPollResponse) Error ¶

Error returns the response error.

func (*IdentityProviderPollResponse) GetBody ¶

func (r *IdentityProviderPollResponse) GetBody() (value *IdentityProvider, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*IdentityProviderPollResponse) Header ¶

Header returns header of the response.

func (*IdentityProviderPollResponse) Status ¶

func (r *IdentityProviderPollResponse) Status() int

Status returns the response status code.

type IdentityProviderType ¶

type IdentityProviderType string

IdentityProviderType represents the values of the 'identity_provider_type' enumerated type.

const (
	//
	IdentityProviderTypeLDAP IdentityProviderType = "LDAPIdentityProvider"
	//
	IdentityProviderTypeGithub IdentityProviderType = "GithubIdentityProvider"
	//
	IdentityProviderTypeGitlab IdentityProviderType = "GitlabIdentityProvider"
	//
	IdentityProviderTypeGoogle IdentityProviderType = "GoogleIdentityProvider"
	//
	IdentityProviderTypeHtpasswd IdentityProviderType = "HTPasswdIdentityProvider"
	//
	IdentityProviderTypeOpenID IdentityProviderType = "OpenIDIdentityProvider"
)

func UnmarshalIdentityProviderTypeList ¶

func UnmarshalIdentityProviderTypeList(source interface{}) (items []IdentityProviderType, err error)

UnmarshalIdentityProviderTypeList reads a list of values of the 'identity_provider_type' type from the given source, which can be a slice of bytes, a string or a reader.

type IdentityProviderUpdateRequest ¶

type IdentityProviderUpdateRequest struct {
	// contains filtered or unexported fields
}

IdentityProviderUpdateRequest is the request for the 'update' method.

func (*IdentityProviderUpdateRequest) Body ¶

Body sets the value of the 'body' parameter.

func (*IdentityProviderUpdateRequest) Header ¶

func (r *IdentityProviderUpdateRequest) Header(name string, value interface{}) *IdentityProviderUpdateRequest

Header adds a request header.

func (*IdentityProviderUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IdentityProviderUpdateRequest) Parameter ¶

func (r *IdentityProviderUpdateRequest) Parameter(name string, value interface{}) *IdentityProviderUpdateRequest

Parameter adds a query parameter.

func (*IdentityProviderUpdateRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IdentityProviderUpdateRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type IdentityProviderUpdateResponse ¶

type IdentityProviderUpdateResponse struct {
	// contains filtered or unexported fields
}

IdentityProviderUpdateResponse is the response for the 'update' method.

func (*IdentityProviderUpdateResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*IdentityProviderUpdateResponse) Error ¶

Error returns the response error.

func (*IdentityProviderUpdateResponse) GetBody ¶

func (r *IdentityProviderUpdateResponse) GetBody() (value *IdentityProvider, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*IdentityProviderUpdateResponse) Header ¶

Header returns header of the response.

func (*IdentityProviderUpdateResponse) Status ¶

func (r *IdentityProviderUpdateResponse) Status() int

Status returns the response status code.

type IdentityProvidersAddRequest ¶

type IdentityProvidersAddRequest struct {
	// contains filtered or unexported fields
}

IdentityProvidersAddRequest is the request for the 'add' method.

func (*IdentityProvidersAddRequest) Body ¶

Body sets the value of the 'body' parameter.

Description of the cluster.

func (*IdentityProvidersAddRequest) Header ¶

func (r *IdentityProvidersAddRequest) Header(name string, value interface{}) *IdentityProvidersAddRequest

Header adds a request header.

func (*IdentityProvidersAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IdentityProvidersAddRequest) Parameter ¶

func (r *IdentityProvidersAddRequest) Parameter(name string, value interface{}) *IdentityProvidersAddRequest

Parameter adds a query parameter.

func (*IdentityProvidersAddRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IdentityProvidersAddRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type IdentityProvidersAddResponse ¶

type IdentityProvidersAddResponse struct {
	// contains filtered or unexported fields
}

IdentityProvidersAddResponse is the response for the 'add' method.

func (*IdentityProvidersAddResponse) Body ¶

Body returns the value of the 'body' parameter.

Description of the cluster.

func (*IdentityProvidersAddResponse) Error ¶

Error returns the response error.

func (*IdentityProvidersAddResponse) GetBody ¶

func (r *IdentityProvidersAddResponse) GetBody() (value *IdentityProvider, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the cluster.

func (*IdentityProvidersAddResponse) Header ¶

Header returns header of the response.

func (*IdentityProvidersAddResponse) Status ¶

func (r *IdentityProvidersAddResponse) Status() int

Status returns the response status code.

type IdentityProvidersClient ¶

type IdentityProvidersClient struct {
	// contains filtered or unexported fields
}

IdentityProvidersClient is the client of the 'identity_providers' resource.

Manages the collection of identity providers of a cluster.

func NewIdentityProvidersClient ¶

func NewIdentityProvidersClient(transport http.RoundTripper, path string) *IdentityProvidersClient

NewIdentityProvidersClient creates a new client for the 'identity_providers' resource using the given transport to send the requests and receive the responses.

func (*IdentityProvidersClient) Add ¶

Add creates a request for the 'add' method.

Adds a new identity provider to the cluster.

func (*IdentityProvidersClient) IdentityProvider ¶

func (c *IdentityProvidersClient) IdentityProvider(id string) *IdentityProviderClient

IdentityProvider returns the target 'identity_provider' resource for the given identifier.

Reference to the service that manages an specific identity provider.

func (*IdentityProvidersClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of identity providers.

type IdentityProvidersListRequest ¶

type IdentityProvidersListRequest struct {
	// contains filtered or unexported fields
}

IdentityProvidersListRequest is the request for the 'list' method.

func (*IdentityProvidersListRequest) Header ¶

func (r *IdentityProvidersListRequest) Header(name string, value interface{}) *IdentityProvidersListRequest

Header adds a request header.

func (*IdentityProvidersListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IdentityProvidersListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*IdentityProvidersListRequest) Parameter ¶

func (r *IdentityProvidersListRequest) Parameter(name string, value interface{}) *IdentityProvidersListRequest

Parameter adds a query parameter.

func (*IdentityProvidersListRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IdentityProvidersListRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

func (*IdentityProvidersListRequest) Size ¶

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type IdentityProvidersListResponse ¶

type IdentityProvidersListResponse struct {
	// contains filtered or unexported fields
}

IdentityProvidersListResponse is the response for the 'list' method.

func (*IdentityProvidersListResponse) Error ¶

Error returns the response error.

func (*IdentityProvidersListResponse) GetItems ¶

func (r *IdentityProvidersListResponse) GetItems() (value *IdentityProviderList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of identity providers.

func (*IdentityProvidersListResponse) GetPage ¶

func (r *IdentityProvidersListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*IdentityProvidersListResponse) GetSize ¶

func (r *IdentityProvidersListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*IdentityProvidersListResponse) GetTotal ¶

func (r *IdentityProvidersListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*IdentityProvidersListResponse) Header ¶

Header returns header of the response.

func (*IdentityProvidersListResponse) Items ¶

Items returns the value of the 'items' parameter.

Retrieved list of identity providers.

func (*IdentityProvidersListResponse) Page ¶

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*IdentityProvidersListResponse) Size ¶

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*IdentityProvidersListResponse) Status ¶

func (r *IdentityProvidersListResponse) Status() int

Status returns the response status code.

func (*IdentityProvidersListResponse) Total ¶

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type ImageOverrides ¶ added in v0.1.368

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 UnmarshalImageOverrides ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

func (o *ImageOverrides) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ImageOverrides) GCP ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

func (o *ImageOverrides) HREF() string

HREF returns the link to the object.

func (*ImageOverrides) ID ¶ added in v0.1.368

func (o *ImageOverrides) ID() string

ID returns the identifier of the object.

func (*ImageOverrides) Kind ¶ added in v0.1.368

func (o *ImageOverrides) Kind() string

Kind returns the name of the type of the object.

func (o *ImageOverrides) Link() bool

Link returns true iif this is a link.

type ImageOverridesBuilder ¶ added in v0.1.368

type ImageOverridesBuilder struct {
	// contains filtered or unexported fields
}

ImageOverridesBuilder contains the data and logic needed to build 'image_overrides' objects.

ImageOverrides holds the lists of available images per cloud provider.

func NewImageOverrides ¶ added in v0.1.368

func NewImageOverrides() *ImageOverridesBuilder

NewImageOverrides creates a new builder of 'image_overrides' objects.

func (*ImageOverridesBuilder) AWS ¶ added in v0.1.368

AWS sets the value of the 'AWS' attribute to the given values.

func (*ImageOverridesBuilder) Build ¶ added in v0.1.368

func (b *ImageOverridesBuilder) Build() (object *ImageOverrides, err error)

Build creates a 'image_overrides' object using the configuration stored in the builder.

func (*ImageOverridesBuilder) Copy ¶ added in v0.1.368

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ImageOverridesBuilder) Empty ¶ added in v0.1.368

func (b *ImageOverridesBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ImageOverridesBuilder) GCP ¶ added in v0.1.368

GCP sets the value of the 'GCP' attribute to the given values.

func (*ImageOverridesBuilder) HREF ¶ added in v0.1.368

HREF sets the link to the object.

func (*ImageOverridesBuilder) ID ¶ added in v0.1.368

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

type ImageOverridesList ¶ added in v0.1.368

type ImageOverridesList struct {
	// contains filtered or unexported fields
}

ImageOverridesList is a list of values of the 'image_overrides' type.

func (*ImageOverridesList) Each ¶ added in v0.1.368

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 ¶ added in v0.1.368

func (l *ImageOverridesList) Empty() bool

Empty returns true if the list is empty.

func (*ImageOverridesList) Get ¶ added in v0.1.368

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 ¶ added in v0.1.368

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 ¶ added in v0.1.368

func (l *ImageOverridesList) HREF() string

HREF returns the link to the list.

func (*ImageOverridesList) Kind ¶ added in v0.1.368

func (l *ImageOverridesList) Kind() string

Kind returns the name of the type of the object.

func (*ImageOverridesList) Len ¶ added in v0.1.368

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 ¶ added in v0.1.368

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) Slice ¶ added in v0.1.368

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 ¶ added in v0.1.368

type ImageOverridesListBuilder struct {
	// contains filtered or unexported fields
}

ImageOverridesListBuilder contains the data and logic needed to build 'image_overrides' objects.

func NewImageOverridesList ¶ added in v0.1.368

func NewImageOverridesList() *ImageOverridesListBuilder

NewImageOverridesList creates a new builder of 'image_overrides' objects.

func (*ImageOverridesListBuilder) Build ¶ added in v0.1.368

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 ¶ added in v0.1.368

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ImageOverridesListBuilder) Empty ¶ added in v0.1.368

func (b *ImageOverridesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ImageOverridesListBuilder) Items ¶ added in v0.1.368

Items sets the items of the list.

type InflightCheck ¶ added in v0.0.329

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 UnmarshalInflightCheck ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *InflightCheck) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*InflightCheck) EndedAt ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *InflightCheck) HREF() string

HREF returns the link to the object.

func (*InflightCheck) ID ¶ added in v0.0.329

func (o *InflightCheck) ID() string

ID returns the identifier of the object.

func (*InflightCheck) Kind ¶ added in v0.0.329

func (o *InflightCheck) Kind() string

Kind returns the name of the type of the object.

func (o *InflightCheck) Link() bool

Link returns true iif this is a link.

func (*InflightCheck) Name ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type InflightCheckBuilder struct {
	// contains filtered or unexported fields
}

InflightCheckBuilder contains the data and logic needed to build 'inflight_check' objects.

Representation of check running before the cluster is provisioned.

func NewInflightCheck ¶ added in v0.0.329

func NewInflightCheck() *InflightCheckBuilder

NewInflightCheck creates a new builder of 'inflight_check' objects.

func (*InflightCheckBuilder) Build ¶ added in v0.0.329

func (b *InflightCheckBuilder) Build() (object *InflightCheck, err error)

Build creates a 'inflight_check' object using the configuration stored in the builder.

func (*InflightCheckBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*InflightCheckBuilder) Details ¶ added in v0.0.329

func (b *InflightCheckBuilder) Details(value interface{}) *InflightCheckBuilder

Details sets the value of the 'details' attribute to the given value.

func (*InflightCheckBuilder) Empty ¶ added in v0.0.329

func (b *InflightCheckBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*InflightCheckBuilder) EndedAt ¶ added in v0.0.329

EndedAt sets the value of the 'ended_at' attribute to the given value.

func (*InflightCheckBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*InflightCheckBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*InflightCheckBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

func (*InflightCheckBuilder) Restarts ¶ added in v0.0.329

func (b *InflightCheckBuilder) Restarts(value int) *InflightCheckBuilder

Restarts sets the value of the 'restarts' attribute to the given value.

func (*InflightCheckBuilder) StartedAt ¶ added in v0.0.329

func (b *InflightCheckBuilder) StartedAt(value time.Time) *InflightCheckBuilder

StartedAt sets the value of the 'started_at' attribute to the given value.

func (*InflightCheckBuilder) State ¶ added in v0.0.329

State sets the value of the 'state' attribute to the given value.

State of an inflight check.

type InflightCheckClient ¶ added in v0.0.329

type InflightCheckClient struct {
	// contains filtered or unexported fields
}

InflightCheckClient is the client of the 'inflight_check' resource.

Manages a specific inflight check.

func NewInflightCheckClient ¶ added in v0.0.329

func NewInflightCheckClient(transport http.RoundTripper, path string) *InflightCheckClient

NewInflightCheckClient creates a new client for the 'inflight_check' resource using the given transport to send the requests and receive the responses.

func (*InflightCheckClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the inflight check.

func (*InflightCheckClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type InflightCheckGetRequest ¶ added in v0.0.329

type InflightCheckGetRequest struct {
	// contains filtered or unexported fields
}

InflightCheckGetRequest is the request for the 'get' method.

func (*InflightCheckGetRequest) Header ¶ added in v0.0.329

func (r *InflightCheckGetRequest) Header(name string, value interface{}) *InflightCheckGetRequest

Header adds a request header.

func (*InflightCheckGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*InflightCheckGetRequest) Parameter ¶ added in v0.0.329

func (r *InflightCheckGetRequest) Parameter(name string, value interface{}) *InflightCheckGetRequest

Parameter adds a query parameter.

func (*InflightCheckGetRequest) Send ¶ added in v0.0.329

func (r *InflightCheckGetRequest) Send() (result *InflightCheckGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*InflightCheckGetRequest) SendContext ¶ added in v0.0.329

func (r *InflightCheckGetRequest) SendContext(ctx context.Context) (result *InflightCheckGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type InflightCheckGetResponse ¶ added in v0.0.329

type InflightCheckGetResponse struct {
	// contains filtered or unexported fields
}

InflightCheckGetResponse is the response for the 'get' method.

func (*InflightCheckGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*InflightCheckGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*InflightCheckGetResponse) GetBody ¶ added in v0.0.329

func (r *InflightCheckGetResponse) GetBody() (value *InflightCheck, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*InflightCheckGetResponse) Header ¶ added in v0.0.329

func (r *InflightCheckGetResponse) Header() http.Header

Header returns header of the response.

func (*InflightCheckGetResponse) Status ¶ added in v0.0.329

func (r *InflightCheckGetResponse) Status() int

Status returns the response status code.

type InflightCheckList ¶ added in v0.0.329

type InflightCheckList struct {
	// contains filtered or unexported fields
}

InflightCheckList is a list of values of the 'inflight_check' type.

func (*InflightCheckList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *InflightCheckList) Empty() bool

Empty returns true if the list is empty.

func (*InflightCheckList) Get ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *InflightCheckList) HREF() string

HREF returns the link to the list.

func (*InflightCheckList) Kind ¶ added in v0.0.329

func (l *InflightCheckList) Kind() string

Kind returns the name of the type of the object.

func (*InflightCheckList) Len ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type InflightCheckListBuilder struct {
	// contains filtered or unexported fields
}

InflightCheckListBuilder contains the data and logic needed to build 'inflight_check' objects.

func NewInflightCheckList ¶ added in v0.0.329

func NewInflightCheckList() *InflightCheckListBuilder

NewInflightCheckList creates a new builder of 'inflight_check' objects.

func (*InflightCheckListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*InflightCheckListBuilder) Empty ¶ added in v0.0.329

func (b *InflightCheckListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*InflightCheckListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type InflightCheckPollRequest ¶ added in v0.0.329

type InflightCheckPollRequest struct {
	// contains filtered or unexported fields
}

InflightCheckPollRequest is the request for the Poll method.

func (*InflightCheckPollRequest) Header ¶ added in v0.0.329

func (r *InflightCheckPollRequest) Header(name string, value interface{}) *InflightCheckPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*InflightCheckPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*InflightCheckPollRequest) Parameter ¶ added in v0.0.329

func (r *InflightCheckPollRequest) Parameter(name string, value interface{}) *InflightCheckPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*InflightCheckPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*InflightCheckPollRequest) StartContext ¶ added in v0.0.329

func (r *InflightCheckPollRequest) StartContext(ctx context.Context) (response *InflightCheckPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*InflightCheckPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type InflightCheckPollResponse ¶ added in v0.0.329

type InflightCheckPollResponse struct {
	// contains filtered or unexported fields
}

InflightCheckPollResponse is the response for the Poll method.

func (*InflightCheckPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*InflightCheckPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*InflightCheckPollResponse) GetBody ¶ added in v0.0.329

func (r *InflightCheckPollResponse) GetBody() (value *InflightCheck, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*InflightCheckPollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*InflightCheckPollResponse) Status ¶ added in v0.0.329

func (r *InflightCheckPollResponse) Status() int

Status returns the response status code.

type InflightCheckState ¶ added in v0.0.329

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 UnmarshalInflightCheckStateList ¶ added in v0.0.329

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 InflightChecksClient ¶ added in v0.0.329

type InflightChecksClient struct {
	// contains filtered or unexported fields
}

InflightChecksClient is the client of the 'inflight_checks' resource.

Manages the collection of inflight checks.

func NewInflightChecksClient ¶ added in v0.0.329

func NewInflightChecksClient(transport http.RoundTripper, path string) *InflightChecksClient

NewInflightChecksClient creates a new client for the 'inflight_checks' resource using the given transport to send the requests and receive the responses.

func (*InflightChecksClient) InflightCheck ¶ added in v0.0.329

func (c *InflightChecksClient) InflightCheck(id string) *InflightCheckClient

InflightCheck returns the target 'inflight_check' resource for the given identifier.

Returns a reference to the service that manages a specific inflight check.

func (*InflightChecksClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of inflight checks.

type InflightChecksListRequest ¶ added in v0.0.329

type InflightChecksListRequest struct {
	// contains filtered or unexported fields
}

InflightChecksListRequest is the request for the 'list' method.

func (*InflightChecksListRequest) Header ¶ added in v0.0.329

func (r *InflightChecksListRequest) Header(name string, value interface{}) *InflightChecksListRequest

Header adds a request header.

func (*InflightChecksListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*InflightChecksListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*InflightChecksListRequest) Parameter ¶ added in v0.0.329

func (r *InflightChecksListRequest) Parameter(name string, value interface{}) *InflightChecksListRequest

Parameter adds a query parameter.

func (*InflightChecksListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*InflightChecksListRequest) SendContext ¶ added in v0.0.329

func (r *InflightChecksListRequest) SendContext(ctx context.Context) (result *InflightChecksListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*InflightChecksListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type InflightChecksListResponse ¶ added in v0.0.329

type InflightChecksListResponse struct {
	// contains filtered or unexported fields
}

InflightChecksListResponse is the response for the 'list' method.

func (*InflightChecksListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*InflightChecksListResponse) GetItems ¶ added in v0.0.329

func (r *InflightChecksListResponse) GetItems() (value *InflightCheckList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of inflight checks.

func (*InflightChecksListResponse) GetPage ¶ added in v0.0.329

func (r *InflightChecksListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*InflightChecksListResponse) GetSize ¶ added in v0.0.329

func (r *InflightChecksListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*InflightChecksListResponse) GetTotal ¶ added in v0.0.329

func (r *InflightChecksListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*InflightChecksListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*InflightChecksListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of inflight checks.

func (*InflightChecksListResponse) Page ¶ added in v0.0.329

func (r *InflightChecksListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*InflightChecksListResponse) Size ¶ added in v0.0.329

func (r *InflightChecksListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*InflightChecksListResponse) Status ¶ added in v0.0.329

func (r *InflightChecksListResponse) Status() int

Status returns the response status code.

func (*InflightChecksListResponse) Total ¶ added in v0.0.329

func (r *InflightChecksListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type Ingress ¶

type Ingress struct {
	// contains filtered or unexported fields
}

Ingress represents the values of the 'ingress' type.

Representation of an ingress.

func UnmarshalIngress ¶

func UnmarshalIngress(source interface{}) (object *Ingress, err error)

UnmarshalIngress reads a value of the 'ingress' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalIngressList ¶

func UnmarshalIngressList(source interface{}) (items []*Ingress, err error)

UnmarshalIngressList reads a list of values of the 'ingress' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Ingress) ClusterRoutesHostname ¶ added in v0.1.352

func (o *Ingress) ClusterRoutesHostname() string

ClusterRoutesHostname returns the value of the 'cluster_routes_hostname' attribute, or the zero value of the type if the attribute doesn't have a value.

Cluster routes hostname.

func (*Ingress) ClusterRoutesTlsSecretRef ¶ added in v0.1.352

func (o *Ingress) ClusterRoutesTlsSecretRef() string

ClusterRoutesTlsSecretRef returns the value of the 'cluster_routes_tls_secret_ref' attribute, or the zero value of the type if the attribute doesn't have a value.

Cluster routes TLS Secret reference.

func (*Ingress) ComponentRoutes ¶ added in v0.1.407

func (o *Ingress) ComponentRoutes() map[string]*ComponentRoute

ComponentRoutes returns the value of the 'component_routes' attribute, or the zero value of the type if the attribute doesn't have a value.

Component Routes settings.

func (*Ingress) DNSName ¶

func (o *Ingress) DNSName() string

DNSName returns the value of the 'DNS_name' attribute, or the zero value of the type if the attribute doesn't have a value.

DNS Name of the ingress.

func (*Ingress) Default ¶

func (o *Ingress) 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 is the default ingress.

func (*Ingress) Empty ¶

func (o *Ingress) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Ingress) ExcludedNamespaces ¶ added in v0.1.352

func (o *Ingress) ExcludedNamespaces() []string

ExcludedNamespaces returns the value of the 'excluded_namespaces' attribute, or the zero value of the type if the attribute doesn't have a value.

A set of excluded namespaces for the ingress.

func (*Ingress) GetClusterRoutesHostname ¶ added in v0.1.352

func (o *Ingress) GetClusterRoutesHostname() (value string, ok bool)

GetClusterRoutesHostname returns the value of the 'cluster_routes_hostname' attribute and a flag indicating if the attribute has a value.

Cluster routes hostname.

func (*Ingress) GetClusterRoutesTlsSecretRef ¶ added in v0.1.352

func (o *Ingress) GetClusterRoutesTlsSecretRef() (value string, ok bool)

GetClusterRoutesTlsSecretRef returns the value of the 'cluster_routes_tls_secret_ref' attribute and a flag indicating if the attribute has a value.

Cluster routes TLS Secret reference.

func (*Ingress) GetComponentRoutes ¶ added in v0.1.407

func (o *Ingress) GetComponentRoutes() (value map[string]*ComponentRoute, ok bool)

GetComponentRoutes returns the value of the 'component_routes' attribute and a flag indicating if the attribute has a value.

Component Routes settings.

func (*Ingress) GetDNSName ¶

func (o *Ingress) GetDNSName() (value string, ok bool)

GetDNSName returns the value of the 'DNS_name' attribute and a flag indicating if the attribute has a value.

DNS Name of the ingress.

func (*Ingress) GetDefault ¶

func (o *Ingress) 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 is the default ingress.

func (*Ingress) GetExcludedNamespaces ¶ added in v0.1.352

func (o *Ingress) GetExcludedNamespaces() (value []string, ok bool)

GetExcludedNamespaces returns the value of the 'excluded_namespaces' attribute and a flag indicating if the attribute has a value.

A set of excluded namespaces for the ingress.

func (*Ingress) GetHREF ¶

func (o *Ingress) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Ingress) GetID ¶

func (o *Ingress) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Ingress) GetListening ¶

func (o *Ingress) GetListening() (value ListeningMethod, ok bool)

GetListening returns the value of the 'listening' attribute and a flag indicating if the attribute has a value.

Listening method of the ingress

func (*Ingress) GetLoadBalancerType ¶ added in v0.1.346

func (o *Ingress) GetLoadBalancerType() (value LoadBalancerFlavor, ok bool)

GetLoadBalancerType returns the value of the 'load_balancer_type' attribute and a flag indicating if the attribute has a value.

Load Balancer type of the ingress

func (*Ingress) GetRouteNamespaceOwnershipPolicy ¶ added in v0.1.352

func (o *Ingress) GetRouteNamespaceOwnershipPolicy() (value NamespaceOwnershipPolicy, ok bool)

GetRouteNamespaceOwnershipPolicy returns the value of the 'route_namespace_ownership_policy' attribute and a flag indicating if the attribute has a value.

Namespace Ownership Policy for the ingress.

func (*Ingress) GetRouteSelectors ¶

func (o *Ingress) GetRouteSelectors() (value map[string]string, ok bool)

GetRouteSelectors returns the value of the 'route_selectors' attribute and a flag indicating if the attribute has a value.

A set of labels for the ingress.

func (*Ingress) GetRouteWildcardPolicy ¶ added in v0.1.352

func (o *Ingress) GetRouteWildcardPolicy() (value WildcardPolicy, ok bool)

GetRouteWildcardPolicy returns the value of the 'route_wildcard_policy' attribute and a flag indicating if the attribute has a value.

Wildcard policy for the ingress.

func (*Ingress) HREF ¶

func (o *Ingress) HREF() string

HREF returns the link to the object.

func (*Ingress) ID ¶

func (o *Ingress) ID() string

ID returns the identifier of the object.

func (*Ingress) Kind ¶

func (o *Ingress) Kind() string

Kind returns the name of the type of the object.

func (o *Ingress) Link() bool

Link returns true iif this is a link.

func (*Ingress) Listening ¶

func (o *Ingress) 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.

Listening method of the ingress

func (*Ingress) LoadBalancerType ¶ added in v0.1.346

func (o *Ingress) LoadBalancerType() LoadBalancerFlavor

LoadBalancerType returns the value of the 'load_balancer_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Load Balancer type of the ingress

func (*Ingress) RouteNamespaceOwnershipPolicy ¶ added in v0.1.352

func (o *Ingress) RouteNamespaceOwnershipPolicy() NamespaceOwnershipPolicy

RouteNamespaceOwnershipPolicy returns the value of the 'route_namespace_ownership_policy' attribute, or the zero value of the type if the attribute doesn't have a value.

Namespace Ownership Policy for the ingress.

func (*Ingress) RouteSelectors ¶

func (o *Ingress) RouteSelectors() map[string]string

RouteSelectors returns the value of the 'route_selectors' attribute, or the zero value of the type if the attribute doesn't have a value.

A set of labels for the ingress.

func (*Ingress) RouteWildcardPolicy ¶ added in v0.1.352

func (o *Ingress) RouteWildcardPolicy() WildcardPolicy

RouteWildcardPolicy returns the value of the 'route_wildcard_policy' attribute, or the zero value of the type if the attribute doesn't have a value.

Wildcard policy for the ingress.

type IngressBuilder ¶

type IngressBuilder struct {
	// contains filtered or unexported fields
}

IngressBuilder contains the data and logic needed to build 'ingress' objects.

Representation of an ingress.

func NewIngress ¶

func NewIngress() *IngressBuilder

NewIngress creates a new builder of 'ingress' objects.

func (*IngressBuilder) Build ¶

func (b *IngressBuilder) Build() (object *Ingress, err error)

Build creates a 'ingress' object using the configuration stored in the builder.

func (*IngressBuilder) ClusterRoutesHostname ¶ added in v0.1.352

func (b *IngressBuilder) ClusterRoutesHostname(value string) *IngressBuilder

ClusterRoutesHostname sets the value of the 'cluster_routes_hostname' attribute to the given value.

func (*IngressBuilder) ClusterRoutesTlsSecretRef ¶ added in v0.1.352

func (b *IngressBuilder) ClusterRoutesTlsSecretRef(value string) *IngressBuilder

ClusterRoutesTlsSecretRef sets the value of the 'cluster_routes_tls_secret_ref' attribute to the given value.

func (*IngressBuilder) ComponentRoutes ¶ added in v0.1.407

func (b *IngressBuilder) ComponentRoutes(value map[string]*ComponentRouteBuilder) *IngressBuilder

ComponentRoutes sets the value of the 'component_routes' attribute to the given value.

func (*IngressBuilder) Copy ¶

func (b *IngressBuilder) Copy(object *Ingress) *IngressBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*IngressBuilder) DNSName ¶

func (b *IngressBuilder) DNSName(value string) *IngressBuilder

DNSName sets the value of the 'DNS_name' attribute to the given value.

func (*IngressBuilder) Default ¶

func (b *IngressBuilder) Default(value bool) *IngressBuilder

Default sets the value of the 'default' attribute to the given value.

func (*IngressBuilder) Empty ¶ added in v0.0.329

func (b *IngressBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*IngressBuilder) ExcludedNamespaces ¶ added in v0.1.352

func (b *IngressBuilder) ExcludedNamespaces(values ...string) *IngressBuilder

ExcludedNamespaces sets the value of the 'excluded_namespaces' attribute to the given values.

func (*IngressBuilder) HREF ¶

func (b *IngressBuilder) HREF(value string) *IngressBuilder

HREF sets the link to the object.

func (*IngressBuilder) ID ¶

func (b *IngressBuilder) ID(value string) *IngressBuilder

ID sets the identifier of the object.

func (b *IngressBuilder) Link(value bool) *IngressBuilder

Link sets the flag that indicates if this is a link.

func (*IngressBuilder) Listening ¶

func (b *IngressBuilder) Listening(value ListeningMethod) *IngressBuilder

Listening sets the value of the 'listening' attribute to the given value.

Cluster components listening method.

func (*IngressBuilder) LoadBalancerType ¶ added in v0.1.346

func (b *IngressBuilder) LoadBalancerType(value LoadBalancerFlavor) *IngressBuilder

LoadBalancerType sets the value of the 'load_balancer_type' attribute to the given value.

Type of load balancer for AWS cloud provider parameters.

func (*IngressBuilder) RouteNamespaceOwnershipPolicy ¶ added in v0.1.352

func (b *IngressBuilder) RouteNamespaceOwnershipPolicy(value NamespaceOwnershipPolicy) *IngressBuilder

RouteNamespaceOwnershipPolicy sets the value of the 'route_namespace_ownership_policy' attribute to the given value.

Type of Namespace Ownership Policy.

func (*IngressBuilder) RouteSelectors ¶

func (b *IngressBuilder) RouteSelectors(value map[string]string) *IngressBuilder

RouteSelectors sets the value of the 'route_selectors' attribute to the given value.

func (*IngressBuilder) RouteWildcardPolicy ¶ added in v0.1.352

func (b *IngressBuilder) RouteWildcardPolicy(value WildcardPolicy) *IngressBuilder

RouteWildcardPolicy sets the value of the 'route_wildcard_policy' attribute to the given value.

Type of wildcard policy.

type IngressClient ¶

type IngressClient struct {
	// contains filtered or unexported fields
}

IngressClient is the client of the 'ingress' resource.

Manages a specific ingress.

func NewIngressClient ¶

func NewIngressClient(transport http.RoundTripper, path string) *IngressClient

NewIngressClient creates a new client for the 'ingress' resource using the given transport to send the requests and receive the responses.

func (*IngressClient) Delete ¶

func (c *IngressClient) Delete() *IngressDeleteRequest

Delete creates a request for the 'delete' method.

Deletes the ingress.

func (*IngressClient) Get ¶

func (c *IngressClient) Get() *IngressGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the ingress.

func (*IngressClient) Poll ¶

func (c *IngressClient) Poll() *IngressPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*IngressClient) Update ¶

func (c *IngressClient) Update() *IngressUpdateRequest

Update creates a request for the 'update' method.

Updates the ingress.

type IngressDeleteRequest ¶

type IngressDeleteRequest struct {
	// contains filtered or unexported fields
}

IngressDeleteRequest is the request for the 'delete' method.

func (*IngressDeleteRequest) Header ¶

func (r *IngressDeleteRequest) Header(name string, value interface{}) *IngressDeleteRequest

Header adds a request header.

func (*IngressDeleteRequest) Impersonate ¶ added in v0.0.329

func (r *IngressDeleteRequest) Impersonate(user string) *IngressDeleteRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IngressDeleteRequest) Parameter ¶

func (r *IngressDeleteRequest) Parameter(name string, value interface{}) *IngressDeleteRequest

Parameter adds a query parameter.

func (*IngressDeleteRequest) Send ¶

func (r *IngressDeleteRequest) Send() (result *IngressDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IngressDeleteRequest) SendContext ¶

func (r *IngressDeleteRequest) SendContext(ctx context.Context) (result *IngressDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type IngressDeleteResponse ¶

type IngressDeleteResponse struct {
	// contains filtered or unexported fields
}

IngressDeleteResponse is the response for the 'delete' method.

func (*IngressDeleteResponse) Error ¶

func (r *IngressDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*IngressDeleteResponse) Header ¶

func (r *IngressDeleteResponse) Header() http.Header

Header returns header of the response.

func (*IngressDeleteResponse) Status ¶

func (r *IngressDeleteResponse) Status() int

Status returns the response status code.

type IngressGetRequest ¶

type IngressGetRequest struct {
	// contains filtered or unexported fields
}

IngressGetRequest is the request for the 'get' method.

func (*IngressGetRequest) Header ¶

func (r *IngressGetRequest) Header(name string, value interface{}) *IngressGetRequest

Header adds a request header.

func (*IngressGetRequest) Impersonate ¶ added in v0.0.329

func (r *IngressGetRequest) Impersonate(user string) *IngressGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IngressGetRequest) Parameter ¶

func (r *IngressGetRequest) Parameter(name string, value interface{}) *IngressGetRequest

Parameter adds a query parameter.

func (*IngressGetRequest) Send ¶

func (r *IngressGetRequest) Send() (result *IngressGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IngressGetRequest) SendContext ¶

func (r *IngressGetRequest) SendContext(ctx context.Context) (result *IngressGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type IngressGetResponse ¶

type IngressGetResponse struct {
	// contains filtered or unexported fields
}

IngressGetResponse is the response for the 'get' method.

func (*IngressGetResponse) Body ¶

func (r *IngressGetResponse) Body() *Ingress

Body returns the value of the 'body' parameter.

func (*IngressGetResponse) Error ¶

func (r *IngressGetResponse) Error() *errors.Error

Error returns the response error.

func (*IngressGetResponse) GetBody ¶

func (r *IngressGetResponse) GetBody() (value *Ingress, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*IngressGetResponse) Header ¶

func (r *IngressGetResponse) Header() http.Header

Header returns header of the response.

func (*IngressGetResponse) Status ¶

func (r *IngressGetResponse) Status() int

Status returns the response status code.

type IngressList ¶

type IngressList struct {
	// contains filtered or unexported fields
}

IngressList is a list of values of the 'ingress' type.

func (*IngressList) Each ¶

func (l *IngressList) Each(f func(item *Ingress) 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 (*IngressList) Empty ¶

func (l *IngressList) Empty() bool

Empty returns true if the list is empty.

func (*IngressList) Get ¶

func (l *IngressList) Get(i int) *Ingress

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*IngressList) GetHREF ¶

func (l *IngressList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*IngressList) HREF ¶

func (l *IngressList) HREF() string

HREF returns the link to the list.

func (*IngressList) Kind ¶

func (l *IngressList) Kind() string

Kind returns the name of the type of the object.

func (*IngressList) Len ¶

func (l *IngressList) Len() int

Len returns the length of the list.

func (l *IngressList) Link() bool

Link returns true iif this is a link.

func (*IngressList) Range ¶

func (l *IngressList) Range(f func(index int, item *Ingress) 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 (*IngressList) Slice ¶

func (l *IngressList) Slice() []*Ingress

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 IngressListBuilder ¶

type IngressListBuilder struct {
	// contains filtered or unexported fields
}

IngressListBuilder contains the data and logic needed to build 'ingress' objects.

func NewIngressList ¶

func NewIngressList() *IngressListBuilder

NewIngressList creates a new builder of 'ingress' objects.

func (*IngressListBuilder) Build ¶

func (b *IngressListBuilder) Build() (list *IngressList, err error)

Build creates a list of 'ingress' objects using the configuration stored in the builder.

func (*IngressListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*IngressListBuilder) Empty ¶ added in v0.0.329

func (b *IngressListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*IngressListBuilder) Items ¶

Items sets the items of the list.

type IngressPollRequest ¶

type IngressPollRequest struct {
	// contains filtered or unexported fields
}

IngressPollRequest is the request for the Poll method.

func (*IngressPollRequest) Header ¶

func (r *IngressPollRequest) Header(name string, value interface{}) *IngressPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*IngressPollRequest) Interval ¶

func (r *IngressPollRequest) Interval(value time.Duration) *IngressPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*IngressPollRequest) Parameter ¶

func (r *IngressPollRequest) Parameter(name string, value interface{}) *IngressPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*IngressPollRequest) Predicate ¶

func (r *IngressPollRequest) Predicate(value func(*IngressGetResponse) bool) *IngressPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*IngressPollRequest) StartContext ¶

func (r *IngressPollRequest) StartContext(ctx context.Context) (response *IngressPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*IngressPollRequest) Status ¶

func (r *IngressPollRequest) Status(value int) *IngressPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type IngressPollResponse ¶

type IngressPollResponse struct {
	// contains filtered or unexported fields
}

IngressPollResponse is the response for the Poll method.

func (*IngressPollResponse) Body ¶

func (r *IngressPollResponse) Body() *Ingress

Body returns the value of the 'body' parameter.

func (*IngressPollResponse) Error ¶

func (r *IngressPollResponse) Error() *errors.Error

Error returns the response error.

func (*IngressPollResponse) GetBody ¶

func (r *IngressPollResponse) GetBody() (value *Ingress, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*IngressPollResponse) Header ¶

func (r *IngressPollResponse) Header() http.Header

Header returns header of the response.

func (*IngressPollResponse) Status ¶

func (r *IngressPollResponse) Status() int

Status returns the response status code.

type IngressUpdateRequest ¶

type IngressUpdateRequest struct {
	// contains filtered or unexported fields
}

IngressUpdateRequest is the request for the 'update' method.

func (*IngressUpdateRequest) Body ¶

Body sets the value of the 'body' parameter.

func (*IngressUpdateRequest) Header ¶

func (r *IngressUpdateRequest) Header(name string, value interface{}) *IngressUpdateRequest

Header adds a request header.

func (*IngressUpdateRequest) Impersonate ¶ added in v0.0.329

func (r *IngressUpdateRequest) Impersonate(user string) *IngressUpdateRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IngressUpdateRequest) Parameter ¶

func (r *IngressUpdateRequest) Parameter(name string, value interface{}) *IngressUpdateRequest

Parameter adds a query parameter.

func (*IngressUpdateRequest) Send ¶

func (r *IngressUpdateRequest) Send() (result *IngressUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IngressUpdateRequest) SendContext ¶

func (r *IngressUpdateRequest) SendContext(ctx context.Context) (result *IngressUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type IngressUpdateResponse ¶

type IngressUpdateResponse struct {
	// contains filtered or unexported fields
}

IngressUpdateResponse is the response for the 'update' method.

func (*IngressUpdateResponse) Body ¶

func (r *IngressUpdateResponse) Body() *Ingress

Body returns the value of the 'body' parameter.

func (*IngressUpdateResponse) Error ¶

func (r *IngressUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*IngressUpdateResponse) GetBody ¶

func (r *IngressUpdateResponse) GetBody() (value *Ingress, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*IngressUpdateResponse) Header ¶

func (r *IngressUpdateResponse) Header() http.Header

Header returns header of the response.

func (*IngressUpdateResponse) Status ¶

func (r *IngressUpdateResponse) Status() int

Status returns the response status code.

type IngressesAddRequest ¶

type IngressesAddRequest struct {
	// contains filtered or unexported fields
}

IngressesAddRequest is the request for the 'add' method.

func (*IngressesAddRequest) Body ¶

Body sets the value of the 'body' parameter.

Description of the ingress

func (*IngressesAddRequest) Header ¶

func (r *IngressesAddRequest) Header(name string, value interface{}) *IngressesAddRequest

Header adds a request header.

func (*IngressesAddRequest) Impersonate ¶ added in v0.0.329

func (r *IngressesAddRequest) Impersonate(user string) *IngressesAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IngressesAddRequest) Parameter ¶

func (r *IngressesAddRequest) Parameter(name string, value interface{}) *IngressesAddRequest

Parameter adds a query parameter.

func (*IngressesAddRequest) Send ¶

func (r *IngressesAddRequest) Send() (result *IngressesAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IngressesAddRequest) SendContext ¶

func (r *IngressesAddRequest) SendContext(ctx context.Context) (result *IngressesAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type IngressesAddResponse ¶

type IngressesAddResponse struct {
	// contains filtered or unexported fields
}

IngressesAddResponse is the response for the 'add' method.

func (*IngressesAddResponse) Body ¶

func (r *IngressesAddResponse) Body() *Ingress

Body returns the value of the 'body' parameter.

Description of the ingress

func (*IngressesAddResponse) Error ¶

func (r *IngressesAddResponse) Error() *errors.Error

Error returns the response error.

func (*IngressesAddResponse) GetBody ¶

func (r *IngressesAddResponse) GetBody() (value *Ingress, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the ingress

func (*IngressesAddResponse) Header ¶

func (r *IngressesAddResponse) Header() http.Header

Header returns header of the response.

func (*IngressesAddResponse) Status ¶

func (r *IngressesAddResponse) Status() int

Status returns the response status code.

type IngressesClient ¶

type IngressesClient struct {
	// contains filtered or unexported fields
}

IngressesClient is the client of the 'ingresses' resource.

Manages the collection of ingresses of a cluster.

func NewIngressesClient ¶

func NewIngressesClient(transport http.RoundTripper, path string) *IngressesClient

NewIngressesClient creates a new client for the 'ingresses' resource using the given transport to send the requests and receive the responses.

func (*IngressesClient) Add ¶

Add creates a request for the 'add' method.

Adds a new ingress to the cluster.

func (*IngressesClient) Ingress ¶

func (c *IngressesClient) Ingress(id string) *IngressClient

Ingress returns the target 'ingress' resource for the given identifier.

Reference to the service that manages a specific ingress.

func (*IngressesClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of ingresses.

func (*IngressesClient) Update ¶

Update creates a request for the 'update' method.

Updates all ingresses

type IngressesListRequest ¶

type IngressesListRequest struct {
	// contains filtered or unexported fields
}

IngressesListRequest is the request for the 'list' method.

func (*IngressesListRequest) Header ¶

func (r *IngressesListRequest) Header(name string, value interface{}) *IngressesListRequest

Header adds a request header.

func (*IngressesListRequest) Impersonate ¶ added in v0.0.329

func (r *IngressesListRequest) Impersonate(user string) *IngressesListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IngressesListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*IngressesListRequest) Parameter ¶

func (r *IngressesListRequest) Parameter(name string, value interface{}) *IngressesListRequest

Parameter adds a query parameter.

func (*IngressesListRequest) Send ¶

func (r *IngressesListRequest) Send() (result *IngressesListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IngressesListRequest) SendContext ¶

func (r *IngressesListRequest) SendContext(ctx context.Context) (result *IngressesListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*IngressesListRequest) Size ¶

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type IngressesListResponse ¶

type IngressesListResponse struct {
	// contains filtered or unexported fields
}

IngressesListResponse is the response for the 'list' method.

func (*IngressesListResponse) Error ¶

func (r *IngressesListResponse) Error() *errors.Error

Error returns the response error.

func (*IngressesListResponse) GetItems ¶

func (r *IngressesListResponse) GetItems() (value *IngressList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of ingresses.

func (*IngressesListResponse) GetPage ¶

func (r *IngressesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*IngressesListResponse) GetSize ¶

func (r *IngressesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*IngressesListResponse) GetTotal ¶

func (r *IngressesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*IngressesListResponse) Header ¶

func (r *IngressesListResponse) Header() http.Header

Header returns header of the response.

func (*IngressesListResponse) Items ¶

func (r *IngressesListResponse) Items() *IngressList

Items returns the value of the 'items' parameter.

Retrieved list of ingresses.

func (*IngressesListResponse) Page ¶

func (r *IngressesListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*IngressesListResponse) Size ¶

func (r *IngressesListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*IngressesListResponse) Status ¶

func (r *IngressesListResponse) Status() int

Status returns the response status code.

func (*IngressesListResponse) Total ¶

func (r *IngressesListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type IngressesUpdateRequest ¶

type IngressesUpdateRequest struct {
	// contains filtered or unexported fields
}

IngressesUpdateRequest is the request for the 'update' method.

func (*IngressesUpdateRequest) Body ¶

Body sets the value of the 'body' parameter.

func (*IngressesUpdateRequest) Header ¶

func (r *IngressesUpdateRequest) Header(name string, value interface{}) *IngressesUpdateRequest

Header adds a request header.

func (*IngressesUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*IngressesUpdateRequest) Parameter ¶

func (r *IngressesUpdateRequest) Parameter(name string, value interface{}) *IngressesUpdateRequest

Parameter adds a query parameter.

func (*IngressesUpdateRequest) Send ¶

func (r *IngressesUpdateRequest) Send() (result *IngressesUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*IngressesUpdateRequest) SendContext ¶

func (r *IngressesUpdateRequest) SendContext(ctx context.Context) (result *IngressesUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type IngressesUpdateResponse ¶

type IngressesUpdateResponse struct {
	// contains filtered or unexported fields
}

IngressesUpdateResponse is the response for the 'update' method.

func (*IngressesUpdateResponse) Body ¶

func (r *IngressesUpdateResponse) Body() []*Ingress

Body returns the value of the 'body' parameter.

func (*IngressesUpdateResponse) Error ¶

func (r *IngressesUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*IngressesUpdateResponse) GetBody ¶

func (r *IngressesUpdateResponse) GetBody() (value []*Ingress, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*IngressesUpdateResponse) Header ¶

func (r *IngressesUpdateResponse) Header() http.Header

Header returns header of the response.

func (*IngressesUpdateResponse) Status ¶

func (r *IngressesUpdateResponse) Status() int

Status returns the response status code.

type InstanceIAMRoles ¶ added in v0.0.329

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 UnmarshalInstanceIAMRoles ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *InstanceIAMRoles) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*InstanceIAMRoles) GetMasterRoleARN ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type InstanceIAMRolesBuilder struct {
	// contains filtered or unexported fields
}

InstanceIAMRolesBuilder contains the data and logic needed to build 'instance_IAM_roles' objects.

Contains the necessary attributes to support role-based authentication on AWS.

func NewInstanceIAMRoles ¶ added in v0.0.329

func NewInstanceIAMRoles() *InstanceIAMRolesBuilder

NewInstanceIAMRoles creates a new builder of 'instance_IAM_roles' objects.

func (*InstanceIAMRolesBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*InstanceIAMRolesBuilder) Empty ¶ added in v0.0.329

func (b *InstanceIAMRolesBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*InstanceIAMRolesBuilder) MasterRoleARN ¶ added in v0.0.329

func (b *InstanceIAMRolesBuilder) MasterRoleARN(value string) *InstanceIAMRolesBuilder

MasterRoleARN sets the value of the 'master_role_ARN' attribute to the given value.

func (*InstanceIAMRolesBuilder) WorkerRoleARN ¶ added in v0.0.329

func (b *InstanceIAMRolesBuilder) WorkerRoleARN(value string) *InstanceIAMRolesBuilder

WorkerRoleARN sets the value of the 'worker_role_ARN' attribute to the given value.

type InstanceIAMRolesList ¶ added in v0.0.329

type InstanceIAMRolesList struct {
	// contains filtered or unexported fields
}

InstanceIAMRolesList is a list of values of the 'instance_IAM_roles' type.

func (*InstanceIAMRolesList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *InstanceIAMRolesList) Empty() bool

Empty returns true if the list is empty.

func (*InstanceIAMRolesList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*InstanceIAMRolesList) Len ¶ added in v0.0.329

func (l *InstanceIAMRolesList) Len() int

Len returns the length of the list.

func (*InstanceIAMRolesList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type InstanceIAMRolesListBuilder struct {
	// contains filtered or unexported fields
}

InstanceIAMRolesListBuilder contains the data and logic needed to build 'instance_IAM_roles' objects.

func NewInstanceIAMRolesList ¶ added in v0.0.329

func NewInstanceIAMRolesList() *InstanceIAMRolesListBuilder

NewInstanceIAMRolesList creates a new builder of 'instance_IAM_roles' objects.

func (*InstanceIAMRolesListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*InstanceIAMRolesListBuilder) Empty ¶ added in v0.0.329

func (b *InstanceIAMRolesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*InstanceIAMRolesListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type KeyRing ¶ added in v0.0.329

type KeyRing struct {
	// contains filtered or unexported fields
}

KeyRing represents the values of the 'key_ring' type.

Description of a cloud provider key ring.

func UnmarshalKeyRing ¶ added in v0.0.329

func UnmarshalKeyRing(source interface{}) (object *KeyRing, err error)

UnmarshalKeyRing reads a value of the 'key_ring' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalKeyRingList ¶ added in v0.0.329

func UnmarshalKeyRingList(source interface{}) (items []*KeyRing, err error)

UnmarshalKeyRingList reads a list of values of the 'key_ring' type from the given source, which can be a slice of bytes, a string or a reader.

func (*KeyRing) Empty ¶ added in v0.0.329

func (o *KeyRing) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*KeyRing) GetHREF ¶ added in v0.0.329

func (o *KeyRing) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*KeyRing) GetID ¶ added in v0.0.329

func (o *KeyRing) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*KeyRing) GetName ¶ added in v0.0.329

func (o *KeyRing) 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 key ring.

func (*KeyRing) HREF ¶ added in v0.0.329

func (o *KeyRing) HREF() string

HREF returns the link to the object.

func (*KeyRing) ID ¶ added in v0.0.329

func (o *KeyRing) ID() string

ID returns the identifier of the object.

func (*KeyRing) Kind ¶ added in v0.0.329

func (o *KeyRing) Kind() string

Kind returns the name of the type of the object.

func (o *KeyRing) Link() bool

Link returns true iif this is a link.

func (*KeyRing) Name ¶ added in v0.0.329

func (o *KeyRing) 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 key ring.

type KeyRingBuilder ¶ added in v0.0.329

type KeyRingBuilder struct {
	// contains filtered or unexported fields
}

KeyRingBuilder contains the data and logic needed to build 'key_ring' objects.

Description of a cloud provider key ring.

func NewKeyRing ¶ added in v0.0.329

func NewKeyRing() *KeyRingBuilder

NewKeyRing creates a new builder of 'key_ring' objects.

func (*KeyRingBuilder) Build ¶ added in v0.0.329

func (b *KeyRingBuilder) Build() (object *KeyRing, err error)

Build creates a 'key_ring' object using the configuration stored in the builder.

func (*KeyRingBuilder) Copy ¶ added in v0.0.329

func (b *KeyRingBuilder) Copy(object *KeyRing) *KeyRingBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*KeyRingBuilder) Empty ¶ added in v0.0.329

func (b *KeyRingBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*KeyRingBuilder) HREF ¶ added in v0.0.329

func (b *KeyRingBuilder) HREF(value string) *KeyRingBuilder

HREF sets the link to the object.

func (*KeyRingBuilder) ID ¶ added in v0.0.329

func (b *KeyRingBuilder) ID(value string) *KeyRingBuilder

ID sets the identifier of the object.

func (b *KeyRingBuilder) Link(value bool) *KeyRingBuilder

Link sets the flag that indicates if this is a link.

func (*KeyRingBuilder) Name ¶ added in v0.0.329

func (b *KeyRingBuilder) Name(value string) *KeyRingBuilder

Name sets the value of the 'name' attribute to the given value.

type KeyRingList ¶ added in v0.0.329

type KeyRingList struct {
	// contains filtered or unexported fields
}

KeyRingList is a list of values of the 'key_ring' type.

func (*KeyRingList) Each ¶ added in v0.0.329

func (l *KeyRingList) Each(f func(item *KeyRing) 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 (*KeyRingList) Empty ¶ added in v0.0.329

func (l *KeyRingList) Empty() bool

Empty returns true if the list is empty.

func (*KeyRingList) Get ¶ added in v0.0.329

func (l *KeyRingList) Get(i int) *KeyRing

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*KeyRingList) GetHREF ¶ added in v0.0.329

func (l *KeyRingList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*KeyRingList) HREF ¶ added in v0.0.329

func (l *KeyRingList) HREF() string

HREF returns the link to the list.

func (*KeyRingList) Kind ¶ added in v0.0.329

func (l *KeyRingList) Kind() string

Kind returns the name of the type of the object.

func (*KeyRingList) Len ¶ added in v0.0.329

func (l *KeyRingList) Len() int

Len returns the length of the list.

func (l *KeyRingList) Link() bool

Link returns true iif this is a link.

func (*KeyRingList) Range ¶ added in v0.0.329

func (l *KeyRingList) Range(f func(index int, item *KeyRing) 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 (*KeyRingList) Slice ¶ added in v0.0.329

func (l *KeyRingList) Slice() []*KeyRing

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 KeyRingListBuilder ¶ added in v0.0.329

type KeyRingListBuilder struct {
	// contains filtered or unexported fields
}

KeyRingListBuilder contains the data and logic needed to build 'key_ring' objects.

func NewKeyRingList ¶ added in v0.0.329

func NewKeyRingList() *KeyRingListBuilder

NewKeyRingList creates a new builder of 'key_ring' objects.

func (*KeyRingListBuilder) Build ¶ added in v0.0.329

func (b *KeyRingListBuilder) Build() (list *KeyRingList, err error)

Build creates a list of 'key_ring' objects using the configuration stored in the builder.

func (*KeyRingListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*KeyRingListBuilder) Empty ¶ added in v0.0.329

func (b *KeyRingListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*KeyRingListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type KeyRingsInquiryClient ¶ added in v0.0.329

type KeyRingsInquiryClient struct {
	// contains filtered or unexported fields
}

KeyRingsInquiryClient is the client of the 'key_rings_inquiry' resource.

Manages the collection of key rings inquiry.

func NewKeyRingsInquiryClient ¶ added in v0.0.329

func NewKeyRingsInquiryClient(transport http.RoundTripper, path string) *KeyRingsInquiryClient

NewKeyRingsInquiryClient creates a new client for the 'key_rings_inquiry' resource using the given transport to send the requests and receive the responses.

func (*KeyRingsInquiryClient) Search ¶ added in v0.0.329

Search creates a request for the 'search' method.

Retrieves the list of available key rings of the cloud provider. IMPORTANT: This collection doesn't currently support paging or searching, so the returned `page` will always be 1 and `size` and `total` will always be the total number of available regions of the provider.

type KeyRingsInquirySearchRequest ¶ added in v0.0.329

type KeyRingsInquirySearchRequest struct {
	// contains filtered or unexported fields
}

KeyRingsInquirySearchRequest is the request for the 'search' method.

func (*KeyRingsInquirySearchRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Cloud provider data needed for the inquiry

func (*KeyRingsInquirySearchRequest) Header ¶ added in v0.0.329

func (r *KeyRingsInquirySearchRequest) Header(name string, value interface{}) *KeyRingsInquirySearchRequest

Header adds a request header.

func (*KeyRingsInquirySearchRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*KeyRingsInquirySearchRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*KeyRingsInquirySearchRequest) Parameter ¶ added in v0.0.329

func (r *KeyRingsInquirySearchRequest) Parameter(name string, value interface{}) *KeyRingsInquirySearchRequest

Parameter adds a query parameter.

func (*KeyRingsInquirySearchRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*KeyRingsInquirySearchRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*KeyRingsInquirySearchRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of key rings of the provider.

type KeyRingsInquirySearchResponse ¶ added in v0.0.329

type KeyRingsInquirySearchResponse struct {
	// contains filtered or unexported fields
}

KeyRingsInquirySearchResponse is the response for the 'search' method.

func (*KeyRingsInquirySearchResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*KeyRingsInquirySearchResponse) GetItems ¶ added in v0.0.329

func (r *KeyRingsInquirySearchResponse) GetItems() (value *KeyRingList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of key rings.

func (*KeyRingsInquirySearchResponse) GetPage ¶ added in v0.0.329

func (r *KeyRingsInquirySearchResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*KeyRingsInquirySearchResponse) GetSize ¶ added in v0.0.329

func (r *KeyRingsInquirySearchResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of key rings of the provider.

func (*KeyRingsInquirySearchResponse) GetTotal ¶ added in v0.0.329

func (r *KeyRingsInquirySearchResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available key rings of the provider.

func (*KeyRingsInquirySearchResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*KeyRingsInquirySearchResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of key rings.

func (*KeyRingsInquirySearchResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*KeyRingsInquirySearchResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of key rings of the provider.

func (*KeyRingsInquirySearchResponse) Status ¶ added in v0.0.329

func (r *KeyRingsInquirySearchResponse) Status() int

Status returns the response status code.

func (*KeyRingsInquirySearchResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available key rings of the provider.

type KubeletConfig ¶ added in v0.1.381

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 UnmarshalKubeletConfig ¶ added in v0.1.381

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 ¶ added in v0.1.381

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 ¶ added in v0.1.381

func (o *KubeletConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*KubeletConfig) GetHREF ¶ added in v0.1.381

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 ¶ added in v0.1.381

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 ¶ added in v0.1.419

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 ¶ added in v0.1.381

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 ¶ added in v0.1.381

func (o *KubeletConfig) HREF() string

HREF returns the link to the object.

func (*KubeletConfig) ID ¶ added in v0.1.381

func (o *KubeletConfig) ID() string

ID returns the identifier of the object.

func (*KubeletConfig) Kind ¶ added in v0.1.381

func (o *KubeletConfig) Kind() string

Kind returns the name of the type of the object.

func (o *KubeletConfig) Link() bool

Link returns true iif this is a link.

func (*KubeletConfig) Name ¶ added in v0.1.419

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 ¶ added in v0.1.381

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 ¶ added in v0.1.381

type KubeletConfigBuilder struct {
	// contains filtered or unexported fields
}

KubeletConfigBuilder contains the data and logic needed to build 'kubelet_config' objects.

OCM representation of KubeletConfig, exposing the fields of Kubernetes KubeletConfig that can be managed by users

func NewKubeletConfig ¶ added in v0.1.381

func NewKubeletConfig() *KubeletConfigBuilder

NewKubeletConfig creates a new builder of 'kubelet_config' objects.

func (*KubeletConfigBuilder) Build ¶ added in v0.1.381

func (b *KubeletConfigBuilder) Build() (object *KubeletConfig, err error)

Build creates a 'kubelet_config' object using the configuration stored in the builder.

func (*KubeletConfigBuilder) Copy ¶ added in v0.1.381

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*KubeletConfigBuilder) Empty ¶ added in v0.1.381

func (b *KubeletConfigBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*KubeletConfigBuilder) HREF ¶ added in v0.1.381

HREF sets the link to the object.

func (*KubeletConfigBuilder) ID ¶ added in v0.1.381

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*KubeletConfigBuilder) Name ¶ added in v0.1.419

Name sets the value of the 'name' attribute to the given value.

func (*KubeletConfigBuilder) PodPidsLimit ¶ added in v0.1.381

func (b *KubeletConfigBuilder) PodPidsLimit(value int) *KubeletConfigBuilder

PodPidsLimit sets the value of the 'pod_pids_limit' attribute to the given value.

type KubeletConfigClient ¶ added in v0.1.381

type KubeletConfigClient struct {
	// contains filtered or unexported fields
}

KubeletConfigClient is the client of the 'kubelet_config' resource.

Manages global KubeletConfig configuration for worker nodes in a cluster.

func NewKubeletConfigClient ¶ added in v0.1.381

func NewKubeletConfigClient(transport http.RoundTripper, path string) *KubeletConfigClient

NewKubeletConfigClient creates a new client for the 'kubelet_config' resource using the given transport to send the requests and receive the responses.

func (*KubeletConfigClient) Delete ¶ added in v0.1.381

Delete creates a request for the 'delete' method.

Deletes the cluster KubeletConfig

func (*KubeletConfigClient) Get ¶ added in v0.1.381

Get creates a request for the 'get' method.

Retrieves the KubeletConfig for a cluster

func (*KubeletConfigClient) Poll ¶ added in v0.1.381

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*KubeletConfigClient) Post ¶ added in v0.1.381

Post creates a request for the 'post' method.

Creates a new cluster KubeletConfig

func (*KubeletConfigClient) Update ¶ added in v0.1.381

Update creates a request for the 'update' method.

Updates the existing cluster KubeletConfig

type KubeletConfigDeleteRequest ¶ added in v0.1.381

type KubeletConfigDeleteRequest struct {
	// contains filtered or unexported fields
}

KubeletConfigDeleteRequest is the request for the 'delete' method.

func (*KubeletConfigDeleteRequest) Header ¶ added in v0.1.381

func (r *KubeletConfigDeleteRequest) Header(name string, value interface{}) *KubeletConfigDeleteRequest

Header adds a request header.

func (*KubeletConfigDeleteRequest) Impersonate ¶ added in v0.1.381

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*KubeletConfigDeleteRequest) Parameter ¶ added in v0.1.381

func (r *KubeletConfigDeleteRequest) Parameter(name string, value interface{}) *KubeletConfigDeleteRequest

Parameter adds a query parameter.

func (*KubeletConfigDeleteRequest) Send ¶ added in v0.1.381

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*KubeletConfigDeleteRequest) SendContext ¶ added in v0.1.381

func (r *KubeletConfigDeleteRequest) SendContext(ctx context.Context) (result *KubeletConfigDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type KubeletConfigDeleteResponse ¶ added in v0.1.381

type KubeletConfigDeleteResponse struct {
	// contains filtered or unexported fields
}

KubeletConfigDeleteResponse is the response for the 'delete' method.

func (*KubeletConfigDeleteResponse) Error ¶ added in v0.1.381

Error returns the response error.

func (*KubeletConfigDeleteResponse) Header ¶ added in v0.1.381

Header returns header of the response.

func (*KubeletConfigDeleteResponse) Status ¶ added in v0.1.381

func (r *KubeletConfigDeleteResponse) Status() int

Status returns the response status code.

type KubeletConfigGetRequest ¶ added in v0.1.381

type KubeletConfigGetRequest struct {
	// contains filtered or unexported fields
}

KubeletConfigGetRequest is the request for the 'get' method.

func (*KubeletConfigGetRequest) Header ¶ added in v0.1.381

func (r *KubeletConfigGetRequest) Header(name string, value interface{}) *KubeletConfigGetRequest

Header adds a request header.

func (*KubeletConfigGetRequest) Impersonate ¶ added in v0.1.381

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*KubeletConfigGetRequest) Parameter ¶ added in v0.1.381

func (r *KubeletConfigGetRequest) Parameter(name string, value interface{}) *KubeletConfigGetRequest

Parameter adds a query parameter.

func (*KubeletConfigGetRequest) Send ¶ added in v0.1.381

func (r *KubeletConfigGetRequest) Send() (result *KubeletConfigGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*KubeletConfigGetRequest) SendContext ¶ added in v0.1.381

func (r *KubeletConfigGetRequest) SendContext(ctx context.Context) (result *KubeletConfigGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type KubeletConfigGetResponse ¶ added in v0.1.381

type KubeletConfigGetResponse struct {
	// contains filtered or unexported fields
}

KubeletConfigGetResponse is the response for the 'get' method.

func (*KubeletConfigGetResponse) Body ¶ added in v0.1.381

Body returns the value of the 'body' parameter.

func (*KubeletConfigGetResponse) Error ¶ added in v0.1.381

Error returns the response error.

func (*KubeletConfigGetResponse) GetBody ¶ added in v0.1.381

func (r *KubeletConfigGetResponse) GetBody() (value *KubeletConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*KubeletConfigGetResponse) Header ¶ added in v0.1.381

func (r *KubeletConfigGetResponse) Header() http.Header

Header returns header of the response.

func (*KubeletConfigGetResponse) Status ¶ added in v0.1.381

func (r *KubeletConfigGetResponse) Status() int

Status returns the response status code.

type KubeletConfigList ¶ added in v0.1.381

type KubeletConfigList struct {
	// contains filtered or unexported fields
}

KubeletConfigList is a list of values of the 'kubelet_config' type.

func (*KubeletConfigList) Each ¶ added in v0.1.381

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 ¶ added in v0.1.381

func (l *KubeletConfigList) Empty() bool

Empty returns true if the list is empty.

func (*KubeletConfigList) Get ¶ added in v0.1.381

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 ¶ added in v0.1.381

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 ¶ added in v0.1.381

func (l *KubeletConfigList) HREF() string

HREF returns the link to the list.

func (*KubeletConfigList) Kind ¶ added in v0.1.381

func (l *KubeletConfigList) Kind() string

Kind returns the name of the type of the object.

func (*KubeletConfigList) Len ¶ added in v0.1.381

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 ¶ added in v0.1.381

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) Slice ¶ added in v0.1.381

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 ¶ added in v0.1.381

type KubeletConfigListBuilder struct {
	// contains filtered or unexported fields
}

KubeletConfigListBuilder contains the data and logic needed to build 'kubelet_config' objects.

func NewKubeletConfigList ¶ added in v0.1.381

func NewKubeletConfigList() *KubeletConfigListBuilder

NewKubeletConfigList creates a new builder of 'kubelet_config' objects.

func (*KubeletConfigListBuilder) Build ¶ added in v0.1.381

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 ¶ added in v0.1.381

Copy copies the items of the given list into this builder, discarding any previous items.

func (*KubeletConfigListBuilder) Empty ¶ added in v0.1.381

func (b *KubeletConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*KubeletConfigListBuilder) Items ¶ added in v0.1.381

Items sets the items of the list.

type KubeletConfigPollRequest ¶ added in v0.1.381

type KubeletConfigPollRequest struct {
	// contains filtered or unexported fields
}

KubeletConfigPollRequest is the request for the Poll method.

func (*KubeletConfigPollRequest) Header ¶ added in v0.1.381

func (r *KubeletConfigPollRequest) Header(name string, value interface{}) *KubeletConfigPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*KubeletConfigPollRequest) Interval ¶ added in v0.1.381

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*KubeletConfigPollRequest) Parameter ¶ added in v0.1.381

func (r *KubeletConfigPollRequest) Parameter(name string, value interface{}) *KubeletConfigPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*KubeletConfigPollRequest) Predicate ¶ added in v0.1.381

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*KubeletConfigPollRequest) StartContext ¶ added in v0.1.381

func (r *KubeletConfigPollRequest) StartContext(ctx context.Context) (response *KubeletConfigPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*KubeletConfigPollRequest) Status ¶ added in v0.1.381

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type KubeletConfigPollResponse ¶ added in v0.1.381

type KubeletConfigPollResponse struct {
	// contains filtered or unexported fields
}

KubeletConfigPollResponse is the response for the Poll method.

func (*KubeletConfigPollResponse) Body ¶ added in v0.1.381

Body returns the value of the 'body' parameter.

func (*KubeletConfigPollResponse) Error ¶ added in v0.1.381

Error returns the response error.

func (*KubeletConfigPollResponse) GetBody ¶ added in v0.1.381

func (r *KubeletConfigPollResponse) GetBody() (value *KubeletConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*KubeletConfigPollResponse) Header ¶ added in v0.1.381

Header returns header of the response.

func (*KubeletConfigPollResponse) Status ¶ added in v0.1.381

func (r *KubeletConfigPollResponse) Status() int

Status returns the response status code.

type KubeletConfigPostRequest ¶ added in v0.1.381

type KubeletConfigPostRequest struct {
	// contains filtered or unexported fields
}

KubeletConfigPostRequest is the request for the 'post' method.

func (*KubeletConfigPostRequest) Body ¶ added in v0.1.384

Body sets the value of the 'body' parameter.

func (*KubeletConfigPostRequest) Header ¶ added in v0.1.381

func (r *KubeletConfigPostRequest) Header(name string, value interface{}) *KubeletConfigPostRequest

Header adds a request header.

func (*KubeletConfigPostRequest) Impersonate ¶ added in v0.1.381

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*KubeletConfigPostRequest) Parameter ¶ added in v0.1.381

func (r *KubeletConfigPostRequest) Parameter(name string, value interface{}) *KubeletConfigPostRequest

Parameter adds a query parameter.

func (*KubeletConfigPostRequest) Send ¶ added in v0.1.381

func (r *KubeletConfigPostRequest) Send() (result *KubeletConfigPostResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*KubeletConfigPostRequest) SendContext ¶ added in v0.1.381

func (r *KubeletConfigPostRequest) SendContext(ctx context.Context) (result *KubeletConfigPostResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type KubeletConfigPostResponse ¶ added in v0.1.381

type KubeletConfigPostResponse struct {
	// contains filtered or unexported fields
}

KubeletConfigPostResponse is the response for the 'post' method.

func (*KubeletConfigPostResponse) Body ¶ added in v0.1.381

Body returns the value of the 'body' parameter.

func (*KubeletConfigPostResponse) Error ¶ added in v0.1.381

Error returns the response error.

func (*KubeletConfigPostResponse) GetBody ¶ added in v0.1.381

func (r *KubeletConfigPostResponse) GetBody() (value *KubeletConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*KubeletConfigPostResponse) Header ¶ added in v0.1.381

Header returns header of the response.

func (*KubeletConfigPostResponse) Status ¶ added in v0.1.381

func (r *KubeletConfigPostResponse) Status() int

Status returns the response status code.

type KubeletConfigUpdateRequest ¶ added in v0.1.381

type KubeletConfigUpdateRequest struct {
	// contains filtered or unexported fields
}

KubeletConfigUpdateRequest is the request for the 'update' method.

func (*KubeletConfigUpdateRequest) Body ¶ added in v0.1.381

Body sets the value of the 'body' parameter.

func (*KubeletConfigUpdateRequest) Header ¶ added in v0.1.381

func (r *KubeletConfigUpdateRequest) Header(name string, value interface{}) *KubeletConfigUpdateRequest

Header adds a request header.

func (*KubeletConfigUpdateRequest) Impersonate ¶ added in v0.1.381

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*KubeletConfigUpdateRequest) Parameter ¶ added in v0.1.381

func (r *KubeletConfigUpdateRequest) Parameter(name string, value interface{}) *KubeletConfigUpdateRequest

Parameter adds a query parameter.

func (*KubeletConfigUpdateRequest) Send ¶ added in v0.1.381

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*KubeletConfigUpdateRequest) SendContext ¶ added in v0.1.381

func (r *KubeletConfigUpdateRequest) SendContext(ctx context.Context) (result *KubeletConfigUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type KubeletConfigUpdateResponse ¶ added in v0.1.381

type KubeletConfigUpdateResponse struct {
	// contains filtered or unexported fields
}

KubeletConfigUpdateResponse is the response for the 'update' method.

func (*KubeletConfigUpdateResponse) Body ¶ added in v0.1.381

Body returns the value of the 'body' parameter.

func (*KubeletConfigUpdateResponse) Error ¶ added in v0.1.381

Error returns the response error.

func (*KubeletConfigUpdateResponse) GetBody ¶ added in v0.1.381

func (r *KubeletConfigUpdateResponse) GetBody() (value *KubeletConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*KubeletConfigUpdateResponse) Header ¶ added in v0.1.381

Header returns header of the response.

func (*KubeletConfigUpdateResponse) Status ¶ added in v0.1.381

func (r *KubeletConfigUpdateResponse) Status() int

Status returns the response status code.

type KubeletConfigsAddRequest ¶ added in v0.1.419

type KubeletConfigsAddRequest struct {
	// contains filtered or unexported fields
}

KubeletConfigsAddRequest is the request for the 'add' method.

func (*KubeletConfigsAddRequest) Body ¶ added in v0.1.419

Body sets the value of the 'body' parameter.

Description of the KubeletConfig.

func (*KubeletConfigsAddRequest) Header ¶ added in v0.1.419

func (r *KubeletConfigsAddRequest) Header(name string, value interface{}) *KubeletConfigsAddRequest

Header adds a request header.

func (*KubeletConfigsAddRequest) Impersonate ¶ added in v0.1.419

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*KubeletConfigsAddRequest) Parameter ¶ added in v0.1.419

func (r *KubeletConfigsAddRequest) Parameter(name string, value interface{}) *KubeletConfigsAddRequest

Parameter adds a query parameter.

func (*KubeletConfigsAddRequest) Send ¶ added in v0.1.419

func (r *KubeletConfigsAddRequest) Send() (result *KubeletConfigsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*KubeletConfigsAddRequest) SendContext ¶ added in v0.1.419

func (r *KubeletConfigsAddRequest) SendContext(ctx context.Context) (result *KubeletConfigsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type KubeletConfigsAddResponse ¶ added in v0.1.419

type KubeletConfigsAddResponse struct {
	// contains filtered or unexported fields
}

KubeletConfigsAddResponse is the response for the 'add' method.

func (*KubeletConfigsAddResponse) Body ¶ added in v0.1.419

Body returns the value of the 'body' parameter.

Description of the KubeletConfig.

func (*KubeletConfigsAddResponse) Error ¶ added in v0.1.419

Error returns the response error.

func (*KubeletConfigsAddResponse) GetBody ¶ added in v0.1.419

func (r *KubeletConfigsAddResponse) GetBody() (value *KubeletConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the KubeletConfig.

func (*KubeletConfigsAddResponse) Header ¶ added in v0.1.419

Header returns header of the response.

func (*KubeletConfigsAddResponse) Status ¶ added in v0.1.419

func (r *KubeletConfigsAddResponse) Status() int

Status returns the response status code.

type KubeletConfigsClient ¶ added in v0.1.419

type KubeletConfigsClient struct {
	// contains filtered or unexported fields
}

KubeletConfigsClient is the client of the 'kubelet_configs' resource.

Manages the collection of KubeletConfigs for a cluster.

func NewKubeletConfigsClient ¶ added in v0.1.419

func NewKubeletConfigsClient(transport http.RoundTripper, path string) *KubeletConfigsClient

NewKubeletConfigsClient creates a new client for the 'kubelet_configs' resource using the given transport to send the requests and receive the responses.

func (*KubeletConfigsClient) Add ¶ added in v0.1.419

Add creates a request for the 'add' method.

Adds a new KubeletConfig to the cluster.

func (*KubeletConfigsClient) KubeletConfig ¶ added in v0.1.419

func (c *KubeletConfigsClient) KubeletConfig(id string) *HcpKubeletConfigClient

KubeletConfig returns the target 'hcp_kubelet_config' resource for the given identifier.

Reference to the service that manages a specific KubeletConfig.

func (*KubeletConfigsClient) List ¶ added in v0.1.419

List creates a request for the 'list' method.

Retrieves the list of KubeletConfigs for the cluster.

type KubeletConfigsListRequest ¶ added in v0.1.419

type KubeletConfigsListRequest struct {
	// contains filtered or unexported fields
}

KubeletConfigsListRequest is the request for the 'list' method.

func (*KubeletConfigsListRequest) Header ¶ added in v0.1.419

func (r *KubeletConfigsListRequest) Header(name string, value interface{}) *KubeletConfigsListRequest

Header adds a request header.

func (*KubeletConfigsListRequest) Impersonate ¶ added in v0.1.419

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*KubeletConfigsListRequest) Page ¶ added in v0.1.419

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*KubeletConfigsListRequest) Parameter ¶ added in v0.1.419

func (r *KubeletConfigsListRequest) Parameter(name string, value interface{}) *KubeletConfigsListRequest

Parameter adds a query parameter.

func (*KubeletConfigsListRequest) Send ¶ added in v0.1.419

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*KubeletConfigsListRequest) SendContext ¶ added in v0.1.419

func (r *KubeletConfigsListRequest) SendContext(ctx context.Context) (result *KubeletConfigsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*KubeletConfigsListRequest) Size ¶ added in v0.1.419

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type KubeletConfigsListResponse ¶ added in v0.1.419

type KubeletConfigsListResponse struct {
	// contains filtered or unexported fields
}

KubeletConfigsListResponse is the response for the 'list' method.

func (*KubeletConfigsListResponse) Error ¶ added in v0.1.419

Error returns the response error.

func (*KubeletConfigsListResponse) GetItems ¶ added in v0.1.419

func (r *KubeletConfigsListResponse) GetItems() (value *KubeletConfigList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of KubeletConfigs.

func (*KubeletConfigsListResponse) GetPage ¶ added in v0.1.419

func (r *KubeletConfigsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*KubeletConfigsListResponse) GetSize ¶ added in v0.1.419

func (r *KubeletConfigsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*KubeletConfigsListResponse) GetTotal ¶ added in v0.1.419

func (r *KubeletConfigsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*KubeletConfigsListResponse) Header ¶ added in v0.1.419

Header returns header of the response.

func (*KubeletConfigsListResponse) Items ¶ added in v0.1.419

Items returns the value of the 'items' parameter.

Retrieved list of KubeletConfigs.

func (*KubeletConfigsListResponse) Page ¶ added in v0.1.419

func (r *KubeletConfigsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*KubeletConfigsListResponse) Size ¶ added in v0.1.419

func (r *KubeletConfigsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*KubeletConfigsListResponse) Status ¶ added in v0.1.419

func (r *KubeletConfigsListResponse) Status() int

Status returns the response status code.

func (*KubeletConfigsListResponse) Total ¶ added in v0.1.419

func (r *KubeletConfigsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type LDAPAttributes ¶

type LDAPAttributes struct {
	// contains filtered or unexported fields
}

LDAPAttributes represents the values of the 'LDAP_attributes' type.

LDAP attributes used to configure the LDAP identity provider.

func UnmarshalLDAPAttributes ¶

func UnmarshalLDAPAttributes(source interface{}) (object *LDAPAttributes, err error)

UnmarshalLDAPAttributes reads a value of the 'LDAP_attributes' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalLDAPAttributesList ¶

func UnmarshalLDAPAttributesList(source interface{}) (items []*LDAPAttributes, err error)

UnmarshalLDAPAttributesList reads a list of values of the 'LDAP_attributes' type from the given source, which can be a slice of bytes, a string or a reader.

func (*LDAPAttributes) Email ¶

func (o *LDAPAttributes) Email() []string

Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.

List of attributes to use as the mail address.

func (*LDAPAttributes) Empty ¶

func (o *LDAPAttributes) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*LDAPAttributes) GetEmail ¶

func (o *LDAPAttributes) GetEmail() (value []string, ok bool)

GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.

List of attributes to use as the mail address.

func (*LDAPAttributes) GetID ¶

func (o *LDAPAttributes) GetID() (value []string, ok bool)

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

List of attributes to use as the identity.

func (*LDAPAttributes) GetName ¶

func (o *LDAPAttributes) GetName() (value []string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

List of attributes to use as the display name.

func (*LDAPAttributes) GetPreferredUsername ¶

func (o *LDAPAttributes) GetPreferredUsername() (value []string, ok bool)

GetPreferredUsername returns the value of the 'preferred_username' attribute and a flag indicating if the attribute has a value.

List of attributes to use as the preferred user name when provisioning a user.

func (*LDAPAttributes) ID ¶

func (o *LDAPAttributes) 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.

List of attributes to use as the identity.

func (*LDAPAttributes) Name ¶

func (o *LDAPAttributes) 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.

List of attributes to use as the display name.

func (*LDAPAttributes) PreferredUsername ¶

func (o *LDAPAttributes) PreferredUsername() []string

PreferredUsername returns the value of the 'preferred_username' attribute, or the zero value of the type if the attribute doesn't have a value.

List of attributes to use as the preferred user name when provisioning a user.

type LDAPAttributesBuilder ¶

type LDAPAttributesBuilder struct {
	// contains filtered or unexported fields
}

LDAPAttributesBuilder contains the data and logic needed to build 'LDAP_attributes' objects.

LDAP attributes used to configure the LDAP identity provider.

func NewLDAPAttributes ¶

func NewLDAPAttributes() *LDAPAttributesBuilder

NewLDAPAttributes creates a new builder of 'LDAP_attributes' objects.

func (*LDAPAttributesBuilder) Build ¶

func (b *LDAPAttributesBuilder) Build() (object *LDAPAttributes, err error)

Build creates a 'LDAP_attributes' object using the configuration stored in the builder.

func (*LDAPAttributesBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*LDAPAttributesBuilder) Email ¶

func (b *LDAPAttributesBuilder) Email(values ...string) *LDAPAttributesBuilder

Email sets the value of the 'email' attribute to the given values.

func (*LDAPAttributesBuilder) Empty ¶ added in v0.0.329

func (b *LDAPAttributesBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*LDAPAttributesBuilder) ID ¶

ID sets the value of the 'ID' attribute to the given values.

func (*LDAPAttributesBuilder) Name ¶

Name sets the value of the 'name' attribute to the given values.

func (*LDAPAttributesBuilder) PreferredUsername ¶

func (b *LDAPAttributesBuilder) PreferredUsername(values ...string) *LDAPAttributesBuilder

PreferredUsername sets the value of the 'preferred_username' attribute to the given values.

type LDAPAttributesList ¶

type LDAPAttributesList struct {
	// contains filtered or unexported fields
}

LDAPAttributesList is a list of values of the 'LDAP_attributes' type.

func (*LDAPAttributesList) Each ¶

func (l *LDAPAttributesList) Each(f func(item *LDAPAttributes) 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 (*LDAPAttributesList) Empty ¶

func (l *LDAPAttributesList) Empty() bool

Empty returns true if the list is empty.

func (*LDAPAttributesList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*LDAPAttributesList) Len ¶

func (l *LDAPAttributesList) Len() int

Len returns the length of the list.

func (*LDAPAttributesList) Range ¶

func (l *LDAPAttributesList) Range(f func(index int, item *LDAPAttributes) 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 (*LDAPAttributesList) Slice ¶

func (l *LDAPAttributesList) Slice() []*LDAPAttributes

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 LDAPAttributesListBuilder ¶

type LDAPAttributesListBuilder struct {
	// contains filtered or unexported fields
}

LDAPAttributesListBuilder contains the data and logic needed to build 'LDAP_attributes' objects.

func NewLDAPAttributesList ¶

func NewLDAPAttributesList() *LDAPAttributesListBuilder

NewLDAPAttributesList creates a new builder of 'LDAP_attributes' objects.

func (*LDAPAttributesListBuilder) Build ¶

func (b *LDAPAttributesListBuilder) Build() (list *LDAPAttributesList, err error)

Build creates a list of 'LDAP_attributes' objects using the configuration stored in the builder.

func (*LDAPAttributesListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*LDAPAttributesListBuilder) Empty ¶ added in v0.0.329

func (b *LDAPAttributesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*LDAPAttributesListBuilder) Items ¶

Items sets the items of the list.

type LDAPIdentityProvider ¶

type LDAPIdentityProvider struct {
	// contains filtered or unexported fields
}

LDAPIdentityProvider represents the values of the 'LDAP_identity_provider' type.

Details for `ldap` identity providers.

func UnmarshalLDAPIdentityProvider ¶

func UnmarshalLDAPIdentityProvider(source interface{}) (object *LDAPIdentityProvider, err error)

UnmarshalLDAPIdentityProvider reads a value of the 'LDAP_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalLDAPIdentityProviderList ¶

func UnmarshalLDAPIdentityProviderList(source interface{}) (items []*LDAPIdentityProvider, err error)

UnmarshalLDAPIdentityProviderList reads a list of values of the 'LDAP_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.

func (*LDAPIdentityProvider) Attributes ¶

func (o *LDAPIdentityProvider) Attributes() *LDAPAttributes

Attributes returns the value of the 'attributes' attribute, or the zero value of the type if the attribute doesn't have a value.

LDAP attributes used to configure the provider.

func (*LDAPIdentityProvider) BindDN ¶

func (o *LDAPIdentityProvider) BindDN() string

BindDN returns the value of the 'bind_DN' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional distinguished name to use to bind during the search phase.

func (*LDAPIdentityProvider) BindPassword ¶

func (o *LDAPIdentityProvider) BindPassword() string

BindPassword returns the value of the 'bind_password' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional password to use to bind during the search phase.

func (*LDAPIdentityProvider) CA ¶

func (o *LDAPIdentityProvider) 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 (*LDAPIdentityProvider) Empty ¶

func (o *LDAPIdentityProvider) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*LDAPIdentityProvider) GetAttributes ¶

func (o *LDAPIdentityProvider) GetAttributes() (value *LDAPAttributes, ok bool)

GetAttributes returns the value of the 'attributes' attribute and a flag indicating if the attribute has a value.

LDAP attributes used to configure the provider.

func (*LDAPIdentityProvider) GetBindDN ¶

func (o *LDAPIdentityProvider) GetBindDN() (value string, ok bool)

GetBindDN returns the value of the 'bind_DN' attribute and a flag indicating if the attribute has a value.

Optional distinguished name to use to bind during the search phase.

func (*LDAPIdentityProvider) GetBindPassword ¶

func (o *LDAPIdentityProvider) GetBindPassword() (value string, ok bool)

GetBindPassword returns the value of the 'bind_password' attribute and a flag indicating if the attribute has a value.

Optional password to use to bind during the search phase.

func (*LDAPIdentityProvider) GetCA ¶

func (o *LDAPIdentityProvider) 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 (*LDAPIdentityProvider) GetInsecure ¶

func (o *LDAPIdentityProvider) GetInsecure() (value bool, ok bool)

GetInsecure returns the value of the 'insecure' attribute and a flag indicating if the attribute has a value.

When `true` no TLS connection is made to the server. When `false` `ldaps://...` URLs connect using TLS and `ldap://...` are upgraded to TLS.

func (*LDAPIdentityProvider) GetURL ¶

func (o *LDAPIdentityProvider) GetURL() (value string, ok bool)

GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.

An https://tools.ietf.org/html/rfc2255[RFC 2255] URL which specifies the LDAP host and search parameters to use.

func (*LDAPIdentityProvider) Insecure ¶

func (o *LDAPIdentityProvider) 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.

When `true` no TLS connection is made to the server. When `false` `ldaps://...` URLs connect using TLS and `ldap://...` are upgraded to TLS.

func (*LDAPIdentityProvider) URL ¶

func (o *LDAPIdentityProvider) 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.

An https://tools.ietf.org/html/rfc2255[RFC 2255] URL which specifies the LDAP host and search parameters to use.

type LDAPIdentityProviderBuilder ¶

type LDAPIdentityProviderBuilder struct {
	// contains filtered or unexported fields
}

LDAPIdentityProviderBuilder contains the data and logic needed to build 'LDAP_identity_provider' objects.

Details for `ldap` identity providers.

func NewLDAPIdentityProvider ¶

func NewLDAPIdentityProvider() *LDAPIdentityProviderBuilder

NewLDAPIdentityProvider creates a new builder of 'LDAP_identity_provider' objects.

func (*LDAPIdentityProviderBuilder) Attributes ¶

Attributes sets the value of the 'attributes' attribute to the given value.

LDAP attributes used to configure the LDAP identity provider.

func (*LDAPIdentityProviderBuilder) BindDN ¶

BindDN sets the value of the 'bind_DN' attribute to the given value.

func (*LDAPIdentityProviderBuilder) BindPassword ¶

BindPassword sets the value of the 'bind_password' attribute to the given value.

func (*LDAPIdentityProviderBuilder) Build ¶

func (b *LDAPIdentityProviderBuilder) Build() (object *LDAPIdentityProvider, err error)

Build creates a 'LDAP_identity_provider' object using the configuration stored in the builder.

func (*LDAPIdentityProviderBuilder) CA ¶

CA sets the value of the 'CA' attribute to the given value.

func (*LDAPIdentityProviderBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*LDAPIdentityProviderBuilder) Empty ¶ added in v0.0.329

func (b *LDAPIdentityProviderBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*LDAPIdentityProviderBuilder) Insecure ¶

Insecure sets the value of the 'insecure' attribute to the given value.

func (*LDAPIdentityProviderBuilder) URL ¶

URL sets the value of the 'URL' attribute to the given value.

type LDAPIdentityProviderList ¶

type LDAPIdentityProviderList struct {
	// contains filtered or unexported fields
}

LDAPIdentityProviderList is a list of values of the 'LDAP_identity_provider' type.

func (*LDAPIdentityProviderList) Each ¶

func (l *LDAPIdentityProviderList) Each(f func(item *LDAPIdentityProvider) 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 (*LDAPIdentityProviderList) Empty ¶

func (l *LDAPIdentityProviderList) Empty() bool

Empty returns true if the list is empty.

func (*LDAPIdentityProviderList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*LDAPIdentityProviderList) Len ¶

func (l *LDAPIdentityProviderList) Len() int

Len returns the length of the list.

func (*LDAPIdentityProviderList) Range ¶

func (l *LDAPIdentityProviderList) Range(f func(index int, item *LDAPIdentityProvider) 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 (*LDAPIdentityProviderList) 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 LDAPIdentityProviderListBuilder ¶

type LDAPIdentityProviderListBuilder struct {
	// contains filtered or unexported fields
}

LDAPIdentityProviderListBuilder contains the data and logic needed to build 'LDAP_identity_provider' objects.

func NewLDAPIdentityProviderList ¶

func NewLDAPIdentityProviderList() *LDAPIdentityProviderListBuilder

NewLDAPIdentityProviderList creates a new builder of 'LDAP_identity_provider' objects.

func (*LDAPIdentityProviderListBuilder) Build ¶

Build creates a list of 'LDAP_identity_provider' objects using the configuration stored in the builder.

func (*LDAPIdentityProviderListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*LDAPIdentityProviderListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*LDAPIdentityProviderListBuilder) Items ¶

Items sets the items of the list.

type Label ¶

type Label struct {
	// contains filtered or unexported fields
}

Label represents the values of the 'label' type.

Representation of a label in clusterdeployment.

func UnmarshalLabel ¶

func UnmarshalLabel(source interface{}) (object *Label, err error)

UnmarshalLabel reads a value of the 'label' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalLabelList ¶

func UnmarshalLabelList(source interface{}) (items []*Label, err error)

UnmarshalLabelList reads a list of values of the 'label' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Label) Empty ¶

func (o *Label) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Label) GetHREF ¶

func (o *Label) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Label) GetID ¶

func (o *Label) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Label) GetKey ¶ added in v0.0.329

func (o *Label) 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 of the label

func (*Label) GetValue ¶

func (o *Label) 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 to set in the label

func (*Label) HREF ¶

func (o *Label) HREF() string

HREF returns the link to the object.

func (*Label) ID ¶

func (o *Label) ID() string

ID returns the identifier of the object.

func (*Label) Key ¶ added in v0.0.329

func (o *Label) 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 of the label

func (*Label) Kind ¶

func (o *Label) Kind() string

Kind returns the name of the type of the object.

func (o *Label) Link() bool

Link returns true iif this is a link.

func (*Label) Value ¶

func (o *Label) 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 to set in the label

type LabelBuilder ¶

type LabelBuilder struct {
	// contains filtered or unexported fields
}

LabelBuilder contains the data and logic needed to build 'label' objects.

Representation of a label in clusterdeployment.

func NewLabel ¶

func NewLabel() *LabelBuilder

NewLabel creates a new builder of 'label' objects.

func (*LabelBuilder) Build ¶

func (b *LabelBuilder) Build() (object *Label, err error)

Build creates a 'label' object using the configuration stored in the builder.

func (*LabelBuilder) Copy ¶

func (b *LabelBuilder) Copy(object *Label) *LabelBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*LabelBuilder) Empty ¶ added in v0.0.329

func (b *LabelBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*LabelBuilder) HREF ¶

func (b *LabelBuilder) HREF(value string) *LabelBuilder

HREF sets the link to the object.

func (*LabelBuilder) ID ¶

func (b *LabelBuilder) ID(value string) *LabelBuilder

ID sets the identifier of the object.

func (*LabelBuilder) Key ¶ added in v0.0.329

func (b *LabelBuilder) Key(value string) *LabelBuilder

Key sets the value of the 'key' attribute to the given value.

func (b *LabelBuilder) Link(value bool) *LabelBuilder

Link sets the flag that indicates if this is a link.

func (*LabelBuilder) Value ¶

func (b *LabelBuilder) Value(value string) *LabelBuilder

Value sets the value of the 'value' attribute to the given value.

type LabelClient ¶

type LabelClient struct {
	// contains filtered or unexported fields
}

LabelClient is the client of the 'label' resource.

Manages a specific label.

func NewLabelClient ¶

func NewLabelClient(transport http.RoundTripper, path string) *LabelClient

NewLabelClient creates a new client for the 'label' resource using the given transport to send the requests and receive the responses.

func (*LabelClient) Delete ¶

func (c *LabelClient) Delete() *LabelDeleteRequest

Delete creates a request for the 'delete' method.

Deletes the label.

func (*LabelClient) Get ¶

func (c *LabelClient) Get() *LabelGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the label.

func (*LabelClient) Poll ¶

func (c *LabelClient) Poll() *LabelPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*LabelClient) Update ¶

func (c *LabelClient) Update() *LabelUpdateRequest

Update creates a request for the 'update' method.

Update the label.

type LabelDeleteRequest ¶

type LabelDeleteRequest struct {
	// contains filtered or unexported fields
}

LabelDeleteRequest is the request for the 'delete' method.

func (*LabelDeleteRequest) Header ¶

func (r *LabelDeleteRequest) Header(name string, value interface{}) *LabelDeleteRequest

Header adds a request header.

func (*LabelDeleteRequest) Impersonate ¶ added in v0.0.329

func (r *LabelDeleteRequest) Impersonate(user string) *LabelDeleteRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LabelDeleteRequest) Parameter ¶

func (r *LabelDeleteRequest) Parameter(name string, value interface{}) *LabelDeleteRequest

Parameter adds a query parameter.

func (*LabelDeleteRequest) Send ¶

func (r *LabelDeleteRequest) Send() (result *LabelDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LabelDeleteRequest) SendContext ¶

func (r *LabelDeleteRequest) SendContext(ctx context.Context) (result *LabelDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type LabelDeleteResponse ¶

type LabelDeleteResponse struct {
	// contains filtered or unexported fields
}

LabelDeleteResponse is the response for the 'delete' method.

func (*LabelDeleteResponse) Error ¶

func (r *LabelDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*LabelDeleteResponse) Header ¶

func (r *LabelDeleteResponse) Header() http.Header

Header returns header of the response.

func (*LabelDeleteResponse) Status ¶

func (r *LabelDeleteResponse) Status() int

Status returns the response status code.

type LabelGetRequest ¶

type LabelGetRequest struct {
	// contains filtered or unexported fields
}

LabelGetRequest is the request for the 'get' method.

func (*LabelGetRequest) Header ¶

func (r *LabelGetRequest) Header(name string, value interface{}) *LabelGetRequest

Header adds a request header.

func (*LabelGetRequest) Impersonate ¶ added in v0.0.329

func (r *LabelGetRequest) Impersonate(user string) *LabelGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LabelGetRequest) Parameter ¶

func (r *LabelGetRequest) Parameter(name string, value interface{}) *LabelGetRequest

Parameter adds a query parameter.

func (*LabelGetRequest) Send ¶

func (r *LabelGetRequest) Send() (result *LabelGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LabelGetRequest) SendContext ¶

func (r *LabelGetRequest) SendContext(ctx context.Context) (result *LabelGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type LabelGetResponse ¶

type LabelGetResponse struct {
	// contains filtered or unexported fields
}

LabelGetResponse is the response for the 'get' method.

func (*LabelGetResponse) Body ¶

func (r *LabelGetResponse) Body() *Label

Body returns the value of the 'body' parameter.

func (*LabelGetResponse) Error ¶

func (r *LabelGetResponse) Error() *errors.Error

Error returns the response error.

func (*LabelGetResponse) GetBody ¶

func (r *LabelGetResponse) GetBody() (value *Label, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*LabelGetResponse) Header ¶

func (r *LabelGetResponse) Header() http.Header

Header returns header of the response.

func (*LabelGetResponse) Status ¶

func (r *LabelGetResponse) Status() int

Status returns the response status code.

type LabelList ¶

type LabelList struct {
	// contains filtered or unexported fields
}

LabelList is a list of values of the 'label' type.

func (*LabelList) Each ¶

func (l *LabelList) Each(f func(item *Label) 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 (*LabelList) Empty ¶

func (l *LabelList) Empty() bool

Empty returns true if the list is empty.

func (*LabelList) Get ¶

func (l *LabelList) Get(i int) *Label

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*LabelList) GetHREF ¶

func (l *LabelList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*LabelList) HREF ¶

func (l *LabelList) HREF() string

HREF returns the link to the list.

func (*LabelList) Kind ¶

func (l *LabelList) Kind() string

Kind returns the name of the type of the object.

func (*LabelList) Len ¶

func (l *LabelList) Len() int

Len returns the length of the list.

func (l *LabelList) Link() bool

Link returns true iif this is a link.

func (*LabelList) Range ¶

func (l *LabelList) Range(f func(index int, item *Label) 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 (*LabelList) Slice ¶

func (l *LabelList) Slice() []*Label

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 LabelListBuilder ¶

type LabelListBuilder struct {
	// contains filtered or unexported fields
}

LabelListBuilder contains the data and logic needed to build 'label' objects.

func NewLabelList ¶

func NewLabelList() *LabelListBuilder

NewLabelList creates a new builder of 'label' objects.

func (*LabelListBuilder) Build ¶

func (b *LabelListBuilder) Build() (list *LabelList, err error)

Build creates a list of 'label' objects using the configuration stored in the builder.

func (*LabelListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*LabelListBuilder) Empty ¶ added in v0.0.329

func (b *LabelListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*LabelListBuilder) Items ¶

func (b *LabelListBuilder) Items(values ...*LabelBuilder) *LabelListBuilder

Items sets the items of the list.

type LabelPollRequest ¶

type LabelPollRequest struct {
	// contains filtered or unexported fields
}

LabelPollRequest is the request for the Poll method.

func (*LabelPollRequest) Header ¶

func (r *LabelPollRequest) Header(name string, value interface{}) *LabelPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*LabelPollRequest) Interval ¶

func (r *LabelPollRequest) Interval(value time.Duration) *LabelPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*LabelPollRequest) Parameter ¶

func (r *LabelPollRequest) Parameter(name string, value interface{}) *LabelPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*LabelPollRequest) Predicate ¶

func (r *LabelPollRequest) Predicate(value func(*LabelGetResponse) bool) *LabelPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*LabelPollRequest) StartContext ¶

func (r *LabelPollRequest) StartContext(ctx context.Context) (response *LabelPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*LabelPollRequest) Status ¶

func (r *LabelPollRequest) Status(value int) *LabelPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type LabelPollResponse ¶

type LabelPollResponse struct {
	// contains filtered or unexported fields
}

LabelPollResponse is the response for the Poll method.

func (*LabelPollResponse) Body ¶

func (r *LabelPollResponse) Body() *Label

Body returns the value of the 'body' parameter.

func (*LabelPollResponse) Error ¶

func (r *LabelPollResponse) Error() *errors.Error

Error returns the response error.

func (*LabelPollResponse) GetBody ¶

func (r *LabelPollResponse) GetBody() (value *Label, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*LabelPollResponse) Header ¶

func (r *LabelPollResponse) Header() http.Header

Header returns header of the response.

func (*LabelPollResponse) Status ¶

func (r *LabelPollResponse) Status() int

Status returns the response status code.

type LabelUpdateRequest ¶

type LabelUpdateRequest struct {
	// contains filtered or unexported fields
}

LabelUpdateRequest is the request for the 'update' method.

func (*LabelUpdateRequest) Body ¶

func (r *LabelUpdateRequest) Body(value *Label) *LabelUpdateRequest

Body sets the value of the 'body' parameter.

func (*LabelUpdateRequest) Header ¶

func (r *LabelUpdateRequest) Header(name string, value interface{}) *LabelUpdateRequest

Header adds a request header.

func (*LabelUpdateRequest) Impersonate ¶ added in v0.0.329

func (r *LabelUpdateRequest) Impersonate(user string) *LabelUpdateRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LabelUpdateRequest) Parameter ¶

func (r *LabelUpdateRequest) Parameter(name string, value interface{}) *LabelUpdateRequest

Parameter adds a query parameter.

func (*LabelUpdateRequest) Send ¶

func (r *LabelUpdateRequest) Send() (result *LabelUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LabelUpdateRequest) SendContext ¶

func (r *LabelUpdateRequest) SendContext(ctx context.Context) (result *LabelUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type LabelUpdateResponse ¶

type LabelUpdateResponse struct {
	// contains filtered or unexported fields
}

LabelUpdateResponse is the response for the 'update' method.

func (*LabelUpdateResponse) Body ¶

func (r *LabelUpdateResponse) Body() *Label

Body returns the value of the 'body' parameter.

func (*LabelUpdateResponse) Error ¶

func (r *LabelUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*LabelUpdateResponse) GetBody ¶

func (r *LabelUpdateResponse) GetBody() (value *Label, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*LabelUpdateResponse) Header ¶

func (r *LabelUpdateResponse) Header() http.Header

Header returns header of the response.

func (*LabelUpdateResponse) Status ¶

func (r *LabelUpdateResponse) Status() int

Status returns the response status code.

type LabelsAddRequest ¶

type LabelsAddRequest struct {
	// contains filtered or unexported fields
}

LabelsAddRequest is the request for the 'add' method.

func (*LabelsAddRequest) Body ¶

func (r *LabelsAddRequest) Body(value *Label) *LabelsAddRequest

Body sets the value of the 'body' parameter.

Description of the label.

func (*LabelsAddRequest) Header ¶

func (r *LabelsAddRequest) Header(name string, value interface{}) *LabelsAddRequest

Header adds a request header.

func (*LabelsAddRequest) Impersonate ¶ added in v0.0.329

func (r *LabelsAddRequest) Impersonate(user string) *LabelsAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LabelsAddRequest) Parameter ¶

func (r *LabelsAddRequest) Parameter(name string, value interface{}) *LabelsAddRequest

Parameter adds a query parameter.

func (*LabelsAddRequest) Send ¶

func (r *LabelsAddRequest) Send() (result *LabelsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LabelsAddRequest) SendContext ¶

func (r *LabelsAddRequest) SendContext(ctx context.Context) (result *LabelsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type LabelsAddResponse ¶

type LabelsAddResponse struct {
	// contains filtered or unexported fields
}

LabelsAddResponse is the response for the 'add' method.

func (*LabelsAddResponse) Body ¶

func (r *LabelsAddResponse) Body() *Label

Body returns the value of the 'body' parameter.

Description of the label.

func (*LabelsAddResponse) Error ¶

func (r *LabelsAddResponse) Error() *errors.Error

Error returns the response error.

func (*LabelsAddResponse) GetBody ¶

func (r *LabelsAddResponse) GetBody() (value *Label, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the label.

func (*LabelsAddResponse) Header ¶

func (r *LabelsAddResponse) Header() http.Header

Header returns header of the response.

func (*LabelsAddResponse) Status ¶

func (r *LabelsAddResponse) Status() int

Status returns the response status code.

type LabelsClient ¶

type LabelsClient struct {
	// contains filtered or unexported fields
}

LabelsClient is the client of the 'labels' resource.

Manages the collection of labels of a cluster.

func NewLabelsClient ¶

func NewLabelsClient(transport http.RoundTripper, path string) *LabelsClient

NewLabelsClient creates a new client for the 'labels' resource using the given transport to send the requests and receive the responses.

func (*LabelsClient) Add ¶

func (c *LabelsClient) Add() *LabelsAddRequest

Add creates a request for the 'add' method.

Adds a new label to the cluster.

func (*LabelsClient) Label ¶

func (c *LabelsClient) Label(id string) *LabelClient

Label returns the target 'label' resource for the given identifier.

Reference to the service that manages an specific label.

func (*LabelsClient) List ¶

func (c *LabelsClient) List() *LabelsListRequest

List creates a request for the 'list' method.

Retrieves the list of labels.

type LabelsListRequest ¶

type LabelsListRequest struct {
	// contains filtered or unexported fields
}

LabelsListRequest is the request for the 'list' method.

func (*LabelsListRequest) Header ¶

func (r *LabelsListRequest) Header(name string, value interface{}) *LabelsListRequest

Header adds a request header.

func (*LabelsListRequest) Impersonate ¶ added in v0.0.329

func (r *LabelsListRequest) Impersonate(user string) *LabelsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LabelsListRequest) Page ¶

func (r *LabelsListRequest) Page(value int) *LabelsListRequest

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*LabelsListRequest) Parameter ¶

func (r *LabelsListRequest) Parameter(name string, value interface{}) *LabelsListRequest

Parameter adds a query parameter.

func (*LabelsListRequest) Send ¶

func (r *LabelsListRequest) Send() (result *LabelsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LabelsListRequest) SendContext ¶

func (r *LabelsListRequest) SendContext(ctx context.Context) (result *LabelsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*LabelsListRequest) Size ¶

func (r *LabelsListRequest) Size(value int) *LabelsListRequest

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type LabelsListResponse ¶

type LabelsListResponse struct {
	// contains filtered or unexported fields
}

LabelsListResponse is the response for the 'list' method.

func (*LabelsListResponse) Error ¶

func (r *LabelsListResponse) Error() *errors.Error

Error returns the response error.

func (*LabelsListResponse) GetItems ¶

func (r *LabelsListResponse) GetItems() (value *LabelList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of labels.

func (*LabelsListResponse) GetPage ¶

func (r *LabelsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*LabelsListResponse) GetSize ¶

func (r *LabelsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*LabelsListResponse) GetTotal ¶

func (r *LabelsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*LabelsListResponse) Header ¶

func (r *LabelsListResponse) Header() http.Header

Header returns header of the response.

func (*LabelsListResponse) Items ¶

func (r *LabelsListResponse) Items() *LabelList

Items returns the value of the 'items' parameter.

Retrieved list of labels.

func (*LabelsListResponse) Page ¶

func (r *LabelsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*LabelsListResponse) Size ¶

func (r *LabelsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*LabelsListResponse) Status ¶

func (r *LabelsListResponse) Status() int

Status returns the response status code.

func (*LabelsListResponse) Total ¶

func (r *LabelsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type LimitedSupportReason ¶ added in v0.0.329

type LimitedSupportReason struct {
	// contains filtered or unexported fields
}

LimitedSupportReason represents the values of the 'limited_support_reason' type.

A reason that a cluster is in limited support.

func UnmarshalLimitedSupportReason ¶ added in v0.0.329

func UnmarshalLimitedSupportReason(source interface{}) (object *LimitedSupportReason, err error)

UnmarshalLimitedSupportReason reads a value of the 'limited_support_reason' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalLimitedSupportReasonList ¶ added in v0.0.329

func UnmarshalLimitedSupportReasonList(source interface{}) (items []*LimitedSupportReason, err error)

UnmarshalLimitedSupportReasonList reads a list of values of the 'limited_support_reason' type from the given source, which can be a slice of bytes, a string or a reader.

func (*LimitedSupportReason) CreationTimestamp ¶ added in v0.0.329

func (o *LimitedSupportReason) 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.

The time the reason was detected.

func (*LimitedSupportReason) Details ¶ added in v0.0.329

func (o *LimitedSupportReason) Details() string

Details returns the value of the 'details' attribute, or the zero value of the type if the attribute doesn't have a value.

URL with a link to a detailed description of the reason.

func (*LimitedSupportReason) DetectionType ¶ added in v0.0.329

func (o *LimitedSupportReason) DetectionType() DetectionType

DetectionType returns the value of the 'detection_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates if the reason was detected automatically or manually. When creating a new reason this field should be empty or "manual".

func (*LimitedSupportReason) Empty ¶ added in v0.0.329

func (o *LimitedSupportReason) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*LimitedSupportReason) GetCreationTimestamp ¶ added in v0.0.329

func (o *LimitedSupportReason) 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.

The time the reason was detected.

func (*LimitedSupportReason) GetDetails ¶ added in v0.0.329

func (o *LimitedSupportReason) GetDetails() (value string, ok bool)

GetDetails returns the value of the 'details' attribute and a flag indicating if the attribute has a value.

URL with a link to a detailed description of the reason.

func (*LimitedSupportReason) GetDetectionType ¶ added in v0.0.329

func (o *LimitedSupportReason) GetDetectionType() (value DetectionType, ok bool)

GetDetectionType returns the value of the 'detection_type' attribute and a flag indicating if the attribute has a value.

Indicates if the reason was detected automatically or manually. When creating a new reason this field should be empty or "manual".

func (*LimitedSupportReason) GetHREF ¶ added in v0.0.329

func (o *LimitedSupportReason) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*LimitedSupportReason) GetID ¶ added in v0.0.329

func (o *LimitedSupportReason) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*LimitedSupportReason) GetSummary ¶ added in v0.0.329

func (o *LimitedSupportReason) GetSummary() (value string, ok bool)

GetSummary returns the value of the 'summary' attribute and a flag indicating if the attribute has a value.

Summary of the reason.

func (*LimitedSupportReason) GetTemplate ¶ added in v0.0.329

func (o *LimitedSupportReason) GetTemplate() (value *LimitedSupportReasonTemplate, ok bool)

GetTemplate returns the value of the 'template' attribute and a flag indicating if the attribute has a value.

Optional link to a template with summary and details.

func (*LimitedSupportReason) HREF ¶ added in v0.0.329

func (o *LimitedSupportReason) HREF() string

HREF returns the link to the object.

func (*LimitedSupportReason) ID ¶ added in v0.0.329

func (o *LimitedSupportReason) ID() string

ID returns the identifier of the object.

func (*LimitedSupportReason) Kind ¶ added in v0.0.329

func (o *LimitedSupportReason) Kind() string

Kind returns the name of the type of the object.

func (o *LimitedSupportReason) Link() bool

Link returns true iif this is a link.

func (*LimitedSupportReason) Summary ¶ added in v0.0.329

func (o *LimitedSupportReason) Summary() string

Summary returns the value of the 'summary' attribute, or the zero value of the type if the attribute doesn't have a value.

Summary of the reason.

func (*LimitedSupportReason) Template ¶ added in v0.0.329

Template returns the value of the 'template' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional link to a template with summary and details.

type LimitedSupportReasonBuilder ¶ added in v0.0.329

type LimitedSupportReasonBuilder struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonBuilder contains the data and logic needed to build 'limited_support_reason' objects.

A reason that a cluster is in limited support.

func NewLimitedSupportReason ¶ added in v0.0.329

func NewLimitedSupportReason() *LimitedSupportReasonBuilder

NewLimitedSupportReason creates a new builder of 'limited_support_reason' objects.

func (*LimitedSupportReasonBuilder) Build ¶ added in v0.0.329

func (b *LimitedSupportReasonBuilder) Build() (object *LimitedSupportReason, err error)

Build creates a 'limited_support_reason' object using the configuration stored in the builder.

func (*LimitedSupportReasonBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*LimitedSupportReasonBuilder) CreationTimestamp ¶ added in v0.0.329

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*LimitedSupportReasonBuilder) Details ¶ added in v0.0.329

Details sets the value of the 'details' attribute to the given value.

func (*LimitedSupportReasonBuilder) DetectionType ¶ added in v0.0.329

DetectionType sets the value of the 'detection_type' attribute to the given value.

func (*LimitedSupportReasonBuilder) Empty ¶ added in v0.0.329

func (b *LimitedSupportReasonBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*LimitedSupportReasonBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*LimitedSupportReasonBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*LimitedSupportReasonBuilder) Summary ¶ added in v0.0.329

Summary sets the value of the 'summary' attribute to the given value.

func (*LimitedSupportReasonBuilder) Template ¶ added in v0.0.329

Template sets the value of the 'template' attribute to the given value.

A template for cluster limited support reason.

type LimitedSupportReasonClient ¶ added in v0.0.329

type LimitedSupportReasonClient struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonClient is the client of the 'limited_support_reason' resource.

Manages a specific reason.

func NewLimitedSupportReasonClient ¶ added in v0.0.329

func NewLimitedSupportReasonClient(transport http.RoundTripper, path string) *LimitedSupportReasonClient

NewLimitedSupportReasonClient creates a new client for the 'limited_support_reason' resource using the given transport to send the requests and receive the responses.

func (*LimitedSupportReasonClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the reason.

func (*LimitedSupportReasonClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the reason.

func (*LimitedSupportReasonClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type LimitedSupportReasonDeleteRequest ¶ added in v0.0.329

type LimitedSupportReasonDeleteRequest struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonDeleteRequest is the request for the 'delete' method.

func (*LimitedSupportReasonDeleteRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*LimitedSupportReasonDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LimitedSupportReasonDeleteRequest) Parameter ¶ added in v0.0.329

func (r *LimitedSupportReasonDeleteRequest) Parameter(name string, value interface{}) *LimitedSupportReasonDeleteRequest

Parameter adds a query parameter.

func (*LimitedSupportReasonDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LimitedSupportReasonDeleteRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type LimitedSupportReasonDeleteResponse ¶ added in v0.0.329

type LimitedSupportReasonDeleteResponse struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonDeleteResponse is the response for the 'delete' method.

func (*LimitedSupportReasonDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*LimitedSupportReasonDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*LimitedSupportReasonDeleteResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type LimitedSupportReasonGetRequest ¶ added in v0.0.329

type LimitedSupportReasonGetRequest struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonGetRequest is the request for the 'get' method.

func (*LimitedSupportReasonGetRequest) Header ¶ added in v0.0.329

func (r *LimitedSupportReasonGetRequest) Header(name string, value interface{}) *LimitedSupportReasonGetRequest

Header adds a request header.

func (*LimitedSupportReasonGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LimitedSupportReasonGetRequest) Parameter ¶ added in v0.0.329

func (r *LimitedSupportReasonGetRequest) Parameter(name string, value interface{}) *LimitedSupportReasonGetRequest

Parameter adds a query parameter.

func (*LimitedSupportReasonGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LimitedSupportReasonGetRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type LimitedSupportReasonGetResponse ¶ added in v0.0.329

type LimitedSupportReasonGetResponse struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonGetResponse is the response for the 'get' method.

func (*LimitedSupportReasonGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*LimitedSupportReasonGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*LimitedSupportReasonGetResponse) GetBody ¶ added in v0.0.329

func (r *LimitedSupportReasonGetResponse) GetBody() (value *LimitedSupportReason, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*LimitedSupportReasonGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*LimitedSupportReasonGetResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type LimitedSupportReasonList ¶ added in v0.0.329

type LimitedSupportReasonList struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonList is a list of values of the 'limited_support_reason' type.

func (*LimitedSupportReasonList) Each ¶ added in v0.0.329

func (l *LimitedSupportReasonList) Each(f func(item *LimitedSupportReason) 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 (*LimitedSupportReasonList) Empty ¶ added in v0.0.329

func (l *LimitedSupportReasonList) Empty() bool

Empty returns true if the list is empty.

func (*LimitedSupportReasonList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*LimitedSupportReasonList) GetHREF ¶ added in v0.0.329

func (l *LimitedSupportReasonList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*LimitedSupportReasonList) HREF ¶ added in v0.0.329

func (l *LimitedSupportReasonList) HREF() string

HREF returns the link to the list.

func (*LimitedSupportReasonList) Kind ¶ added in v0.0.329

func (l *LimitedSupportReasonList) Kind() string

Kind returns the name of the type of the object.

func (*LimitedSupportReasonList) Len ¶ added in v0.0.329

func (l *LimitedSupportReasonList) Len() int

Len returns the length of the list.

func (l *LimitedSupportReasonList) Link() bool

Link returns true iif this is a link.

func (*LimitedSupportReasonList) Range ¶ added in v0.0.329

func (l *LimitedSupportReasonList) Range(f func(index int, item *LimitedSupportReason) 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 (*LimitedSupportReasonList) Slice ¶ added in v0.0.329

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 LimitedSupportReasonListBuilder ¶ added in v0.0.329

type LimitedSupportReasonListBuilder struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonListBuilder contains the data and logic needed to build 'limited_support_reason' objects.

func NewLimitedSupportReasonList ¶ added in v0.0.329

func NewLimitedSupportReasonList() *LimitedSupportReasonListBuilder

NewLimitedSupportReasonList creates a new builder of 'limited_support_reason' objects.

func (*LimitedSupportReasonListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'limited_support_reason' objects using the configuration stored in the builder.

func (*LimitedSupportReasonListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*LimitedSupportReasonListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*LimitedSupportReasonListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type LimitedSupportReasonPollRequest ¶ added in v0.0.329

type LimitedSupportReasonPollRequest struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonPollRequest is the request for the Poll method.

func (*LimitedSupportReasonPollRequest) Header ¶ added in v0.0.329

func (r *LimitedSupportReasonPollRequest) Header(name string, value interface{}) *LimitedSupportReasonPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*LimitedSupportReasonPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*LimitedSupportReasonPollRequest) Parameter ¶ added in v0.0.329

func (r *LimitedSupportReasonPollRequest) Parameter(name string, value interface{}) *LimitedSupportReasonPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*LimitedSupportReasonPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*LimitedSupportReasonPollRequest) StartContext ¶ added in v0.0.329

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*LimitedSupportReasonPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type LimitedSupportReasonPollResponse ¶ added in v0.0.329

type LimitedSupportReasonPollResponse struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonPollResponse is the response for the Poll method.

func (*LimitedSupportReasonPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*LimitedSupportReasonPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*LimitedSupportReasonPollResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*LimitedSupportReasonPollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*LimitedSupportReasonPollResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type LimitedSupportReasonTemplate ¶ added in v0.0.329

type LimitedSupportReasonTemplate struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplate represents the values of the 'limited_support_reason_template' type.

A template for cluster limited support reason.

func UnmarshalLimitedSupportReasonTemplate ¶ added in v0.0.329

func UnmarshalLimitedSupportReasonTemplate(source interface{}) (object *LimitedSupportReasonTemplate, err error)

UnmarshalLimitedSupportReasonTemplate reads a value of the 'limited_support_reason_template' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalLimitedSupportReasonTemplateList ¶ added in v0.0.329

func UnmarshalLimitedSupportReasonTemplateList(source interface{}) (items []*LimitedSupportReasonTemplate, err error)

UnmarshalLimitedSupportReasonTemplateList reads a list of values of the 'limited_support_reason_template' type from the given source, which can be a slice of bytes, a string or a reader.

func (*LimitedSupportReasonTemplate) Details ¶ added in v0.0.329

func (o *LimitedSupportReasonTemplate) Details() string

Details returns the value of the 'details' attribute, or the zero value of the type if the attribute doesn't have a value.

A detailed description of the reason.

func (*LimitedSupportReasonTemplate) Empty ¶ added in v0.0.329

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*LimitedSupportReasonTemplate) GetDetails ¶ added in v0.0.329

func (o *LimitedSupportReasonTemplate) GetDetails() (value string, ok bool)

GetDetails returns the value of the 'details' attribute and a flag indicating if the attribute has a value.

A detailed description of the reason.

func (*LimitedSupportReasonTemplate) GetHREF ¶ added in v0.0.329

func (o *LimitedSupportReasonTemplate) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*LimitedSupportReasonTemplate) GetID ¶ added in v0.0.329

func (o *LimitedSupportReasonTemplate) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*LimitedSupportReasonTemplate) GetSummary ¶ added in v0.0.329

func (o *LimitedSupportReasonTemplate) GetSummary() (value string, ok bool)

GetSummary returns the value of the 'summary' attribute and a flag indicating if the attribute has a value.

Summary of the reason.

func (*LimitedSupportReasonTemplate) HREF ¶ added in v0.0.329

HREF returns the link to the object.

func (*LimitedSupportReasonTemplate) ID ¶ added in v0.0.329

ID returns the identifier of the object.

func (*LimitedSupportReasonTemplate) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

Link returns true iif this is a link.

func (*LimitedSupportReasonTemplate) Summary ¶ added in v0.0.329

func (o *LimitedSupportReasonTemplate) Summary() string

Summary returns the value of the 'summary' attribute, or the zero value of the type if the attribute doesn't have a value.

Summary of the reason.

type LimitedSupportReasonTemplateBuilder ¶ added in v0.0.329

type LimitedSupportReasonTemplateBuilder struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplateBuilder contains the data and logic needed to build 'limited_support_reason_template' objects.

A template for cluster limited support reason.

func NewLimitedSupportReasonTemplate ¶ added in v0.0.329

func NewLimitedSupportReasonTemplate() *LimitedSupportReasonTemplateBuilder

NewLimitedSupportReasonTemplate creates a new builder of 'limited_support_reason_template' objects.

func (*LimitedSupportReasonTemplateBuilder) Build ¶ added in v0.0.329

Build creates a 'limited_support_reason_template' object using the configuration stored in the builder.

func (*LimitedSupportReasonTemplateBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*LimitedSupportReasonTemplateBuilder) Details ¶ added in v0.0.329

Details sets the value of the 'details' attribute to the given value.

func (*LimitedSupportReasonTemplateBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*LimitedSupportReasonTemplateBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*LimitedSupportReasonTemplateBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*LimitedSupportReasonTemplateBuilder) Summary ¶ added in v0.0.329

Summary sets the value of the 'summary' attribute to the given value.

type LimitedSupportReasonTemplateClient ¶ added in v0.0.329

type LimitedSupportReasonTemplateClient struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplateClient is the client of the 'limited_support_reason_template' resource.

Manages a specific limited support reason template.

func NewLimitedSupportReasonTemplateClient ¶ added in v0.0.329

func NewLimitedSupportReasonTemplateClient(transport http.RoundTripper, path string) *LimitedSupportReasonTemplateClient

NewLimitedSupportReasonTemplateClient creates a new client for the 'limited_support_reason_template' resource using the given transport to send the requests and receive the responses.

func (*LimitedSupportReasonTemplateClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the template.

func (*LimitedSupportReasonTemplateClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type LimitedSupportReasonTemplateGetRequest ¶ added in v0.0.329

type LimitedSupportReasonTemplateGetRequest struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplateGetRequest is the request for the 'get' method.

func (*LimitedSupportReasonTemplateGetRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*LimitedSupportReasonTemplateGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LimitedSupportReasonTemplateGetRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*LimitedSupportReasonTemplateGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LimitedSupportReasonTemplateGetRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type LimitedSupportReasonTemplateGetResponse ¶ added in v0.0.329

type LimitedSupportReasonTemplateGetResponse struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplateGetResponse is the response for the 'get' method.

func (*LimitedSupportReasonTemplateGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*LimitedSupportReasonTemplateGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*LimitedSupportReasonTemplateGetResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*LimitedSupportReasonTemplateGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*LimitedSupportReasonTemplateGetResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type LimitedSupportReasonTemplateList ¶ added in v0.0.329

type LimitedSupportReasonTemplateList struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplateList is a list of values of the 'limited_support_reason_template' type.

func (*LimitedSupportReasonTemplateList) Each ¶ added in v0.0.329

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 (*LimitedSupportReasonTemplateList) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*LimitedSupportReasonTemplateList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*LimitedSupportReasonTemplateList) GetHREF ¶ added in v0.0.329

func (l *LimitedSupportReasonTemplateList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*LimitedSupportReasonTemplateList) HREF ¶ added in v0.0.329

HREF returns the link to the list.

func (*LimitedSupportReasonTemplateList) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

func (*LimitedSupportReasonTemplateList) Len ¶ added in v0.0.329

Len returns the length of the list.

Link returns true iif this is a link.

func (*LimitedSupportReasonTemplateList) Range ¶ added in v0.0.329

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 (*LimitedSupportReasonTemplateList) Slice ¶ added in v0.0.329

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 LimitedSupportReasonTemplateListBuilder ¶ added in v0.0.329

type LimitedSupportReasonTemplateListBuilder struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplateListBuilder contains the data and logic needed to build 'limited_support_reason_template' objects.

func NewLimitedSupportReasonTemplateList ¶ added in v0.0.329

func NewLimitedSupportReasonTemplateList() *LimitedSupportReasonTemplateListBuilder

NewLimitedSupportReasonTemplateList creates a new builder of 'limited_support_reason_template' objects.

func (*LimitedSupportReasonTemplateListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'limited_support_reason_template' objects using the configuration stored in the builder.

func (*LimitedSupportReasonTemplateListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*LimitedSupportReasonTemplateListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*LimitedSupportReasonTemplateListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type LimitedSupportReasonTemplatePollRequest ¶ added in v0.0.329

type LimitedSupportReasonTemplatePollRequest struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplatePollRequest is the request for the Poll method.

func (*LimitedSupportReasonTemplatePollRequest) Header ¶ added in v0.0.329

Header adds a request header to all the requests that will be used to retrieve the object.

func (*LimitedSupportReasonTemplatePollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*LimitedSupportReasonTemplatePollRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*LimitedSupportReasonTemplatePollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*LimitedSupportReasonTemplatePollRequest) StartContext ¶ added in v0.0.329

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*LimitedSupportReasonTemplatePollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type LimitedSupportReasonTemplatePollResponse ¶ added in v0.0.329

type LimitedSupportReasonTemplatePollResponse struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplatePollResponse is the response for the Poll method.

func (*LimitedSupportReasonTemplatePollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*LimitedSupportReasonTemplatePollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*LimitedSupportReasonTemplatePollResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*LimitedSupportReasonTemplatePollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*LimitedSupportReasonTemplatePollResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type LimitedSupportReasonTemplatesClient ¶ added in v0.0.329

type LimitedSupportReasonTemplatesClient struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplatesClient is the client of the 'limited_support_reason_templates' resource.

Manages the collection of limited support reason templates.

func NewLimitedSupportReasonTemplatesClient ¶ added in v0.0.329

func NewLimitedSupportReasonTemplatesClient(transport http.RoundTripper, path string) *LimitedSupportReasonTemplatesClient

NewLimitedSupportReasonTemplatesClient creates a new client for the 'limited_support_reason_templates' resource using the given transport to send the requests and receive the responses.

func (*LimitedSupportReasonTemplatesClient) LimitedSupportReasonTemplate ¶ added in v0.0.329

LimitedSupportReasonTemplate returns the target 'limited_support_reason_template' resource for the given identifier.

Reference to the service that manages an specific template.

func (*LimitedSupportReasonTemplatesClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of templates.

type LimitedSupportReasonTemplatesListRequest ¶ added in v0.0.329

type LimitedSupportReasonTemplatesListRequest struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplatesListRequest is the request for the 'list' method.

func (*LimitedSupportReasonTemplatesListRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*LimitedSupportReasonTemplatesListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LimitedSupportReasonTemplatesListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*LimitedSupportReasonTemplatesListRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*LimitedSupportReasonTemplatesListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LimitedSupportReasonTemplatesListRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*LimitedSupportReasonTemplatesListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type LimitedSupportReasonTemplatesListResponse ¶ added in v0.0.329

type LimitedSupportReasonTemplatesListResponse struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonTemplatesListResponse is the response for the 'list' method.

func (*LimitedSupportReasonTemplatesListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*LimitedSupportReasonTemplatesListResponse) GetItems ¶ added in v0.0.329

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of template.

func (*LimitedSupportReasonTemplatesListResponse) GetPage ¶ added in v0.0.329

func (r *LimitedSupportReasonTemplatesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*LimitedSupportReasonTemplatesListResponse) GetSize ¶ added in v0.0.329

func (r *LimitedSupportReasonTemplatesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*LimitedSupportReasonTemplatesListResponse) GetTotal ¶ added in v0.0.329

func (r *LimitedSupportReasonTemplatesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*LimitedSupportReasonTemplatesListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*LimitedSupportReasonTemplatesListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of template.

func (*LimitedSupportReasonTemplatesListResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*LimitedSupportReasonTemplatesListResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*LimitedSupportReasonTemplatesListResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*LimitedSupportReasonTemplatesListResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type LimitedSupportReasonsAddRequest ¶ added in v0.0.329

type LimitedSupportReasonsAddRequest struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonsAddRequest is the request for the 'add' method.

func (*LimitedSupportReasonsAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Description of the reason.

func (*LimitedSupportReasonsAddRequest) Header ¶ added in v0.0.329

func (r *LimitedSupportReasonsAddRequest) Header(name string, value interface{}) *LimitedSupportReasonsAddRequest

Header adds a request header.

func (*LimitedSupportReasonsAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LimitedSupportReasonsAddRequest) Parameter ¶ added in v0.0.329

func (r *LimitedSupportReasonsAddRequest) Parameter(name string, value interface{}) *LimitedSupportReasonsAddRequest

Parameter adds a query parameter.

func (*LimitedSupportReasonsAddRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LimitedSupportReasonsAddRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type LimitedSupportReasonsAddResponse ¶ added in v0.0.329

type LimitedSupportReasonsAddResponse struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonsAddResponse is the response for the 'add' method.

func (*LimitedSupportReasonsAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Description of the reason.

func (*LimitedSupportReasonsAddResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*LimitedSupportReasonsAddResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the reason.

func (*LimitedSupportReasonsAddResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*LimitedSupportReasonsAddResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type LimitedSupportReasonsClient ¶ added in v0.0.329

type LimitedSupportReasonsClient struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonsClient is the client of the 'limited_support_reasons' resource.

Manages the collection of limited support reason on a cluster.

func NewLimitedSupportReasonsClient ¶ added in v0.0.329

func NewLimitedSupportReasonsClient(transport http.RoundTripper, path string) *LimitedSupportReasonsClient

NewLimitedSupportReasonsClient creates a new client for the 'limited_support_reasons' resource using the given transport to send the requests and receive the responses.

func (*LimitedSupportReasonsClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new reason to the cluster.

func (*LimitedSupportReasonsClient) LimitedSupportReason ¶ added in v0.0.329

func (c *LimitedSupportReasonsClient) LimitedSupportReason(id string) *LimitedSupportReasonClient

LimitedSupportReason returns the target 'limited_support_reason' resource for the given identifier.

Reference to the service that manages an specific reason.

func (*LimitedSupportReasonsClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of reasons.

type LimitedSupportReasonsListRequest ¶ added in v0.0.329

type LimitedSupportReasonsListRequest struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonsListRequest is the request for the 'list' method.

func (*LimitedSupportReasonsListRequest) Header ¶ added in v0.0.329

func (r *LimitedSupportReasonsListRequest) Header(name string, value interface{}) *LimitedSupportReasonsListRequest

Header adds a request header.

func (*LimitedSupportReasonsListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LimitedSupportReasonsListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*LimitedSupportReasonsListRequest) Parameter ¶ added in v0.0.329

func (r *LimitedSupportReasonsListRequest) Parameter(name string, value interface{}) *LimitedSupportReasonsListRequest

Parameter adds a query parameter.

func (*LimitedSupportReasonsListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LimitedSupportReasonsListRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*LimitedSupportReasonsListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type LimitedSupportReasonsListResponse ¶ added in v0.0.329

type LimitedSupportReasonsListResponse struct {
	// contains filtered or unexported fields
}

LimitedSupportReasonsListResponse is the response for the 'list' method.

func (*LimitedSupportReasonsListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*LimitedSupportReasonsListResponse) GetItems ¶ added in v0.0.329

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of template.

func (*LimitedSupportReasonsListResponse) GetPage ¶ added in v0.0.329

func (r *LimitedSupportReasonsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*LimitedSupportReasonsListResponse) GetSize ¶ added in v0.0.329

func (r *LimitedSupportReasonsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*LimitedSupportReasonsListResponse) GetTotal ¶ added in v0.0.329

func (r *LimitedSupportReasonsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*LimitedSupportReasonsListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*LimitedSupportReasonsListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of template.

func (*LimitedSupportReasonsListResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*LimitedSupportReasonsListResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*LimitedSupportReasonsListResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*LimitedSupportReasonsListResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection.

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 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 LoadBalancerFlavor ¶ added in v0.1.346

type LoadBalancerFlavor string

LoadBalancerFlavor represents the values of the 'load_balancer_flavor' enumerated type.

const (
	// Classic Load Balancer.
	LoadBalancerFlavorClassic LoadBalancerFlavor = "classic"
	// Network Load Balancer.
	LoadBalancerFlavorNlb LoadBalancerFlavor = "nlb"
)

func UnmarshalLoadBalancerFlavorList ¶ added in v0.1.346

func UnmarshalLoadBalancerFlavorList(source interface{}) (items []LoadBalancerFlavor, err error)

UnmarshalLoadBalancerFlavorList reads a list of values of the 'load_balancer_flavor' type from the given source, which can be a slice of bytes, a string or a reader.

type LoadBalancerQuotaValuesClient ¶ added in v0.1.415

type LoadBalancerQuotaValuesClient struct {
	// contains filtered or unexported fields
}

LoadBalancerQuotaValuesClient is the client of the 'load_balancer_quota_values' resource.

Manages load balancer quota values.

func NewLoadBalancerQuotaValuesClient ¶ added in v0.1.415

func NewLoadBalancerQuotaValuesClient(transport http.RoundTripper, path string) *LoadBalancerQuotaValuesClient

NewLoadBalancerQuotaValuesClient creates a new client for the 'load_balancer_quota_values' resource using the given transport to send the requests and receive the responses.

func (*LoadBalancerQuotaValuesClient) List ¶ added in v0.1.415

List creates a request for the 'list' method.

Retrieves the list of Load Balancer Quota Values.

type LoadBalancerQuotaValuesListRequest ¶ added in v0.1.415

type LoadBalancerQuotaValuesListRequest struct {
	// contains filtered or unexported fields
}

LoadBalancerQuotaValuesListRequest is the request for the 'list' method.

func (*LoadBalancerQuotaValuesListRequest) Header ¶ added in v0.1.415

Header adds a request header.

func (*LoadBalancerQuotaValuesListRequest) Impersonate ¶ added in v0.1.415

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LoadBalancerQuotaValuesListRequest) Page ¶ added in v0.1.415

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*LoadBalancerQuotaValuesListRequest) Parameter ¶ added in v0.1.415

func (r *LoadBalancerQuotaValuesListRequest) Parameter(name string, value interface{}) *LoadBalancerQuotaValuesListRequest

Parameter adds a query parameter.

func (*LoadBalancerQuotaValuesListRequest) Send ¶ added in v0.1.415

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LoadBalancerQuotaValuesListRequest) SendContext ¶ added in v0.1.415

SendContext sends this request, waits for the response, and returns it.

func (*LoadBalancerQuotaValuesListRequest) Size ¶ added in v0.1.415

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type LoadBalancerQuotaValuesListResponse ¶ added in v0.1.415

type LoadBalancerQuotaValuesListResponse struct {
	// contains filtered or unexported fields
}

LoadBalancerQuotaValuesListResponse is the response for the 'list' method.

func (*LoadBalancerQuotaValuesListResponse) Error ¶ added in v0.1.415

Error returns the response error.

func (*LoadBalancerQuotaValuesListResponse) GetItems ¶ added in v0.1.415

func (r *LoadBalancerQuotaValuesListResponse) GetItems() (value []int, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of values.

func (*LoadBalancerQuotaValuesListResponse) GetPage ¶ added in v0.1.415

func (r *LoadBalancerQuotaValuesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*LoadBalancerQuotaValuesListResponse) GetSize ¶ added in v0.1.415

func (r *LoadBalancerQuotaValuesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*LoadBalancerQuotaValuesListResponse) GetTotal ¶ added in v0.1.415

func (r *LoadBalancerQuotaValuesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*LoadBalancerQuotaValuesListResponse) Header ¶ added in v0.1.415

Header returns header of the response.

func (*LoadBalancerQuotaValuesListResponse) Items ¶ added in v0.1.415

Items returns the value of the 'items' parameter.

Retrieved list of values.

func (*LoadBalancerQuotaValuesListResponse) Page ¶ added in v0.1.415

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*LoadBalancerQuotaValuesListResponse) Size ¶ added in v0.1.415

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*LoadBalancerQuotaValuesListResponse) Status ¶ added in v0.1.415

Status returns the response status code.

func (*LoadBalancerQuotaValuesListResponse) Total ¶ added in v0.1.415

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type Log ¶

type Log struct {
	// contains filtered or unexported fields
}

Log represents the values of the 'log' type.

Log of the cluster.

func UnmarshalLog ¶

func UnmarshalLog(source interface{}) (object *Log, err error)

UnmarshalLog reads a value of the 'log' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalLogList ¶

func UnmarshalLogList(source interface{}) (items []*Log, err error)

UnmarshalLogList reads a list of values of the 'log' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Log) Content ¶

func (o *Log) Content() string

Content returns the value of the 'content' attribute, or the zero value of the type if the attribute doesn't have a value.

Content of the log.

func (*Log) Empty ¶

func (o *Log) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Log) GetContent ¶

func (o *Log) GetContent() (value string, ok bool)

GetContent returns the value of the 'content' attribute and a flag indicating if the attribute has a value.

Content of the log.

func (*Log) GetHREF ¶

func (o *Log) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Log) GetID ¶

func (o *Log) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Log) HREF ¶

func (o *Log) HREF() string

HREF returns the link to the object.

func (*Log) ID ¶

func (o *Log) ID() string

ID returns the identifier of the object.

func (*Log) Kind ¶

func (o *Log) Kind() string

Kind returns the name of the type of the object.

func (o *Log) Link() bool

Link returns true iif this is a link.

type LogBuilder ¶

type LogBuilder struct {
	// contains filtered or unexported fields
}

LogBuilder contains the data and logic needed to build 'log' objects.

Log of the cluster.

func NewLog ¶

func NewLog() *LogBuilder

NewLog creates a new builder of 'log' objects.

func (*LogBuilder) Build ¶

func (b *LogBuilder) Build() (object *Log, err error)

Build creates a 'log' object using the configuration stored in the builder.

func (*LogBuilder) Content ¶

func (b *LogBuilder) Content(value string) *LogBuilder

Content sets the value of the 'content' attribute to the given value.

func (*LogBuilder) Copy ¶

func (b *LogBuilder) Copy(object *Log) *LogBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*LogBuilder) Empty ¶ added in v0.0.329

func (b *LogBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*LogBuilder) HREF ¶

func (b *LogBuilder) HREF(value string) *LogBuilder

HREF sets the link to the object.

func (*LogBuilder) ID ¶

func (b *LogBuilder) ID(value string) *LogBuilder

ID sets the identifier of the object.

func (b *LogBuilder) Link(value bool) *LogBuilder

Link sets the flag that indicates if this is a link.

type LogClient ¶

type LogClient struct {
	// contains filtered or unexported fields
}

LogClient is the client of the 'log' resource.

Manages a specific log.

func NewLogClient ¶

func NewLogClient(transport http.RoundTripper, path string) *LogClient

NewLogClient creates a new client for the 'log' resource using the given transport to send the requests and receive the responses.

func (*LogClient) Get ¶

func (c *LogClient) Get() *LogGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the log.

func (*LogClient) Poll ¶

func (c *LogClient) Poll() *LogPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type LogGetRequest ¶

type LogGetRequest struct {
	// contains filtered or unexported fields
}

LogGetRequest is the request for the 'get' method.

func (*LogGetRequest) Header ¶

func (r *LogGetRequest) Header(name string, value interface{}) *LogGetRequest

Header adds a request header.

func (*LogGetRequest) Impersonate ¶ added in v0.0.329

func (r *LogGetRequest) Impersonate(user string) *LogGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LogGetRequest) Offset ¶

func (r *LogGetRequest) Offset(value int) *LogGetRequest

Offset sets the value of the 'offset' parameter.

Line offset to start logs from. if 0 retreive entire log. If offset > #lines return an empty log.

func (*LogGetRequest) Parameter ¶

func (r *LogGetRequest) Parameter(name string, value interface{}) *LogGetRequest

Parameter adds a query parameter.

func (*LogGetRequest) Send ¶

func (r *LogGetRequest) Send() (result *LogGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LogGetRequest) SendContext ¶

func (r *LogGetRequest) SendContext(ctx context.Context) (result *LogGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*LogGetRequest) Tail ¶

func (r *LogGetRequest) Tail(value int) *LogGetRequest

Tail sets the value of the 'tail' parameter.

Returns the number of tail lines from the end of the log. If there are no line breaks or the number of lines < tail return the entire log. Either 'tail' or 'offset' can be set. Not both.

type LogGetResponse ¶

type LogGetResponse struct {
	// contains filtered or unexported fields
}

LogGetResponse is the response for the 'get' method.

func (*LogGetResponse) Body ¶

func (r *LogGetResponse) Body() *Log

Body returns the value of the 'body' parameter.

Retreived log.

func (*LogGetResponse) Error ¶

func (r *LogGetResponse) Error() *errors.Error

Error returns the response error.

func (*LogGetResponse) GetBody ¶

func (r *LogGetResponse) GetBody() (value *Log, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Retreived log.

func (*LogGetResponse) Header ¶

func (r *LogGetResponse) Header() http.Header

Header returns header of the response.

func (*LogGetResponse) Status ¶

func (r *LogGetResponse) Status() int

Status returns the response status code.

type LogList ¶

type LogList struct {
	// contains filtered or unexported fields
}

LogList is a list of values of the 'log' type.

func (*LogList) Each ¶

func (l *LogList) Each(f func(item *Log) 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 (*LogList) Empty ¶

func (l *LogList) Empty() bool

Empty returns true if the list is empty.

func (*LogList) Get ¶

func (l *LogList) Get(i int) *Log

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*LogList) GetHREF ¶

func (l *LogList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*LogList) HREF ¶

func (l *LogList) HREF() string

HREF returns the link to the list.

func (*LogList) Kind ¶

func (l *LogList) Kind() string

Kind returns the name of the type of the object.

func (*LogList) Len ¶

func (l *LogList) Len() int

Len returns the length of the list.

func (l *LogList) Link() bool

Link returns true iif this is a link.

func (*LogList) Range ¶

func (l *LogList) Range(f func(index int, item *Log) 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 (*LogList) Slice ¶

func (l *LogList) Slice() []*Log

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 LogListBuilder ¶

type LogListBuilder struct {
	// contains filtered or unexported fields
}

LogListBuilder contains the data and logic needed to build 'log' objects.

func NewLogList ¶

func NewLogList() *LogListBuilder

NewLogList creates a new builder of 'log' objects.

func (*LogListBuilder) Build ¶

func (b *LogListBuilder) Build() (list *LogList, err error)

Build creates a list of 'log' objects using the configuration stored in the builder.

func (*LogListBuilder) Copy ¶

func (b *LogListBuilder) Copy(list *LogList) *LogListBuilder

Copy copies the items of the given list into this builder, discarding any previous items.

func (*LogListBuilder) Empty ¶ added in v0.0.329

func (b *LogListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*LogListBuilder) Items ¶

func (b *LogListBuilder) Items(values ...*LogBuilder) *LogListBuilder

Items sets the items of the list.

type LogPollRequest ¶

type LogPollRequest struct {
	// contains filtered or unexported fields
}

LogPollRequest is the request for the Poll method.

func (*LogPollRequest) Header ¶

func (r *LogPollRequest) Header(name string, value interface{}) *LogPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*LogPollRequest) Interval ¶

func (r *LogPollRequest) Interval(value time.Duration) *LogPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*LogPollRequest) Offset ¶

func (r *LogPollRequest) Offset(value int) *LogPollRequest

Offset sets the value of the 'offset' parameter for all the requests that will be used to retrieve the object.

Line offset to start logs from. if 0 retreive entire log. If offset > #lines return an empty log.

func (*LogPollRequest) Parameter ¶

func (r *LogPollRequest) Parameter(name string, value interface{}) *LogPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*LogPollRequest) Predicate ¶

func (r *LogPollRequest) Predicate(value func(*LogGetResponse) bool) *LogPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*LogPollRequest) StartContext ¶

func (r *LogPollRequest) StartContext(ctx context.Context) (response *LogPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*LogPollRequest) Status ¶

func (r *LogPollRequest) Status(value int) *LogPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

func (*LogPollRequest) Tail ¶

func (r *LogPollRequest) Tail(value int) *LogPollRequest

Tail sets the value of the 'tail' parameter for all the requests that will be used to retrieve the object.

Returns the number of tail lines from the end of the log. If there are no line breaks or the number of lines < tail return the entire log. Either 'tail' or 'offset' can be set. Not both.

type LogPollResponse ¶

type LogPollResponse struct {
	// contains filtered or unexported fields
}

LogPollResponse is the response for the Poll method.

func (*LogPollResponse) Body ¶

func (r *LogPollResponse) Body() *Log

Body returns the value of the 'body' parameter.

Retreived log.

func (*LogPollResponse) Error ¶

func (r *LogPollResponse) Error() *errors.Error

Error returns the response error.

func (*LogPollResponse) GetBody ¶

func (r *LogPollResponse) GetBody() (value *Log, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Retreived log.

func (*LogPollResponse) Header ¶

func (r *LogPollResponse) Header() http.Header

Header returns header of the response.

func (*LogPollResponse) Status ¶

func (r *LogPollResponse) Status() int

Status returns the response status code.

type LogsClient ¶

type LogsClient struct {
	// contains filtered or unexported fields
}

LogsClient is the client of the 'logs' resource.

Manages a collection of log links.

func NewLogsClient ¶

func NewLogsClient(transport http.RoundTripper, path string) *LogsClient

NewLogsClient creates a new client for the 'logs' resource using the given transport to send the requests and receive the responses.

func (*LogsClient) Install ¶

func (c *LogsClient) Install() *LogClient

Install returns the target 'log' resource.

func (*LogsClient) List ¶

func (c *LogsClient) List() *LogsListRequest

List creates a request for the 'list' method.

Retrieves the list of log links.

func (*LogsClient) Uninstall ¶

func (c *LogsClient) Uninstall() *LogClient

Uninstall returns the target 'log' resource.

type LogsListRequest ¶

type LogsListRequest struct {
	// contains filtered or unexported fields
}

LogsListRequest is the request for the 'list' method.

func (*LogsListRequest) Header ¶

func (r *LogsListRequest) Header(name string, value interface{}) *LogsListRequest

Header adds a request header.

func (*LogsListRequest) Impersonate ¶ added in v0.0.329

func (r *LogsListRequest) Impersonate(user string) *LogsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*LogsListRequest) Page ¶

func (r *LogsListRequest) Page(value int) *LogsListRequest

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*LogsListRequest) Parameter ¶

func (r *LogsListRequest) Parameter(name string, value interface{}) *LogsListRequest

Parameter adds a query parameter.

func (*LogsListRequest) Send ¶

func (r *LogsListRequest) Send() (result *LogsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*LogsListRequest) SendContext ¶

func (r *LogsListRequest) SendContext(ctx context.Context) (result *LogsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*LogsListRequest) Size ¶

func (r *LogsListRequest) Size(value int) *LogsListRequest

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type LogsListResponse ¶

type LogsListResponse struct {
	// contains filtered or unexported fields
}

LogsListResponse is the response for the 'list' method.

func (*LogsListResponse) Error ¶

func (r *LogsListResponse) Error() *errors.Error

Error returns the response error.

func (*LogsListResponse) GetItems ¶

func (r *LogsListResponse) GetItems() (value *LogList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of log links.

func (*LogsListResponse) GetPage ¶

func (r *LogsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*LogsListResponse) GetSize ¶

func (r *LogsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*LogsListResponse) GetTotal ¶

func (r *LogsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*LogsListResponse) Header ¶

func (r *LogsListResponse) Header() http.Header

Header returns header of the response.

func (*LogsListResponse) Items ¶

func (r *LogsListResponse) Items() *LogList

Items returns the value of the 'items' parameter.

Retrieved list of log links.

func (*LogsListResponse) Page ¶

func (r *LogsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*LogsListResponse) Size ¶

func (r *LogsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*LogsListResponse) Status ¶

func (r *LogsListResponse) Status() int

Status returns the response status code.

func (*LogsListResponse) Total ¶

func (r *LogsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type MachinePool ¶ added in v0.0.329

type MachinePool struct {
	// contains filtered or unexported fields
}

MachinePool represents the values of the 'machine_pool' type.

Representation of a machine pool in a cluster.

func UnmarshalMachinePool ¶ added in v0.0.329

func UnmarshalMachinePool(source interface{}) (object *MachinePool, err error)

UnmarshalMachinePool reads a value of the 'machine_pool' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalMachinePoolList ¶ added in v0.0.329

func UnmarshalMachinePoolList(source interface{}) (items []*MachinePool, err error)

UnmarshalMachinePoolList reads a list of values of the 'machine_pool' type from the given source, which can be a slice of bytes, a string or a reader.

func (*MachinePool) AWS ¶ added in v0.0.329

func (o *MachinePool) AWS() *AWSMachinePool

AWS returns the value of the 'AWS' attribute, or the zero value of the type if the attribute doesn't have a value.

AWS specific parameters (Optional).

func (*MachinePool) Autoscaling ¶ added in v0.0.329

func (o *MachinePool) Autoscaling() *MachinePoolAutoscaling

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 (*MachinePool) AvailabilityZones ¶ added in v0.0.329

func (o *MachinePool) 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 (*MachinePool) Empty ¶ added in v0.0.329

func (o *MachinePool) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*MachinePool) GetAWS ¶ added in v0.0.329

func (o *MachinePool) GetAWS() (value *AWSMachinePool, ok bool)

GetAWS returns the value of the 'AWS' attribute and a flag indicating if the attribute has a value.

AWS specific parameters (Optional).

func (*MachinePool) GetAutoscaling ¶ added in v0.0.329

func (o *MachinePool) GetAutoscaling() (value *MachinePoolAutoscaling, 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 (*MachinePool) GetAvailabilityZones ¶ added in v0.0.329

func (o *MachinePool) 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 (*MachinePool) GetHREF ¶ added in v0.0.329

func (o *MachinePool) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*MachinePool) GetID ¶ added in v0.0.329

func (o *MachinePool) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*MachinePool) GetInstanceType ¶ added in v0.0.329

func (o *MachinePool) GetInstanceType() (value string, ok bool)

GetInstanceType returns the value of the 'instance_type' attribute and a flag indicating if the attribute has a value.

The instance type of Nodes to create.

func (*MachinePool) GetLabels ¶ added in v0.0.329

func (o *MachinePool) 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 (*MachinePool) GetReplicas ¶ added in v0.0.329

func (o *MachinePool) 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 (*MachinePool) GetRootVolume ¶ added in v0.1.343

func (o *MachinePool) GetRootVolume() (value *RootVolume, ok bool)

GetRootVolume returns the value of the 'root_volume' attribute and a flag indicating if the attribute has a value.

The machine root volume capabilities.

func (*MachinePool) GetSecurityGroupFilters ¶ added in v0.0.329

func (o *MachinePool) 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 MachinePool (Optional)

func (*MachinePool) GetSubnets ¶ added in v0.0.329

func (o *MachinePool) GetSubnets() (value []string, ok bool)

GetSubnets returns the value of the 'subnets' attribute and a flag indicating if the attribute has a value.

The subnets upon which the nodes are created.

func (*MachinePool) GetTaints ¶ added in v0.0.329

func (o *MachinePool) 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 (*MachinePool) HREF ¶ added in v0.0.329

func (o *MachinePool) HREF() string

HREF returns the link to the object.

func (*MachinePool) ID ¶ added in v0.0.329

func (o *MachinePool) ID() string

ID returns the identifier of the object.

func (*MachinePool) InstanceType ¶ added in v0.0.329

func (o *MachinePool) 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.

The instance type of Nodes to create.

func (*MachinePool) Kind ¶ added in v0.0.329

func (o *MachinePool) Kind() string

Kind returns the name of the type of the object.

func (*MachinePool) Labels ¶ added in v0.0.329

func (o *MachinePool) 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 *MachinePool) Link() bool

Link returns true iif this is a link.

func (*MachinePool) Replicas ¶ added in v0.0.329

func (o *MachinePool) 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 (*MachinePool) RootVolume ¶ added in v0.1.343

func (o *MachinePool) RootVolume() *RootVolume

RootVolume returns the value of the 'root_volume' attribute, or the zero value of the type if the attribute doesn't have a value.

The machine root volume capabilities.

func (*MachinePool) SecurityGroupFilters ¶ added in v0.0.329

func (o *MachinePool) 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 MachinePool (Optional)

func (*MachinePool) Subnets ¶ added in v0.0.329

func (o *MachinePool) Subnets() []string

Subnets returns the value of the 'subnets' attribute, or the zero value of the type if the attribute doesn't have a value.

The subnets upon which the nodes are created.

func (*MachinePool) Taints ¶ added in v0.0.329

func (o *MachinePool) 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.

type MachinePoolAutoscaling ¶ added in v0.0.329

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 UnmarshalMachinePoolAutoscaling ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *MachinePoolAutoscaling) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*MachinePoolAutoscaling) GetHREF ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *MachinePoolAutoscaling) HREF() string

HREF returns the link to the object.

func (*MachinePoolAutoscaling) ID ¶ added in v0.0.329

ID returns the identifier of the object.

func (*MachinePoolAutoscaling) Kind ¶ added in v0.0.329

func (o *MachinePoolAutoscaling) Kind() string

Kind returns the name of the type of the object.

func (o *MachinePoolAutoscaling) Link() bool

Link returns true iif this is a link.

func (*MachinePoolAutoscaling) MaxReplicas ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type MachinePoolAutoscalingBuilder struct {
	// contains filtered or unexported fields
}

MachinePoolAutoscalingBuilder contains the data and logic needed to build 'machine_pool_autoscaling' objects.

Representation of a autoscaling in a machine pool.

func NewMachinePoolAutoscaling ¶ added in v0.0.329

func NewMachinePoolAutoscaling() *MachinePoolAutoscalingBuilder

NewMachinePoolAutoscaling creates a new builder of 'machine_pool_autoscaling' objects.

func (*MachinePoolAutoscalingBuilder) Build ¶ added in v0.0.329

Build creates a 'machine_pool_autoscaling' object using the configuration stored in the builder.

func (*MachinePoolAutoscalingBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*MachinePoolAutoscalingBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*MachinePoolAutoscalingBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*MachinePoolAutoscalingBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*MachinePoolAutoscalingBuilder) MaxReplicas ¶ added in v0.0.329

MaxReplicas sets the value of the 'max_replicas' attribute to the given value.

func (*MachinePoolAutoscalingBuilder) MinReplicas ¶ added in v0.0.329

MinReplicas sets the value of the 'min_replicas' attribute to the given value.

type MachinePoolAutoscalingList ¶ added in v0.0.329

type MachinePoolAutoscalingList struct {
	// contains filtered or unexported fields
}

MachinePoolAutoscalingList is a list of values of the 'machine_pool_autoscaling' type.

func (*MachinePoolAutoscalingList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *MachinePoolAutoscalingList) Empty() bool

Empty returns true if the list is empty.

func (*MachinePoolAutoscalingList) Get ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

HREF returns the link to the list.

func (*MachinePoolAutoscalingList) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

func (*MachinePoolAutoscalingList) Len ¶ added in v0.0.329

Len returns the length of the list.

func (l *MachinePoolAutoscalingList) Link() bool

Link returns true iif this is a link.

func (*MachinePoolAutoscalingList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type MachinePoolAutoscalingListBuilder struct {
	// contains filtered or unexported fields
}

MachinePoolAutoscalingListBuilder contains the data and logic needed to build 'machine_pool_autoscaling' objects.

func NewMachinePoolAutoscalingList ¶ added in v0.0.329

func NewMachinePoolAutoscalingList() *MachinePoolAutoscalingListBuilder

NewMachinePoolAutoscalingList creates a new builder of 'machine_pool_autoscaling' objects.

func (*MachinePoolAutoscalingListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'machine_pool_autoscaling' objects using the configuration stored in the builder.

func (*MachinePoolAutoscalingListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*MachinePoolAutoscalingListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*MachinePoolAutoscalingListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type MachinePoolBuilder ¶ added in v0.0.329

type MachinePoolBuilder struct {
	// contains filtered or unexported fields
}

MachinePoolBuilder contains the data and logic needed to build 'machine_pool' objects.

Representation of a machine pool in a cluster.

func NewMachinePool ¶ added in v0.0.329

func NewMachinePool() *MachinePoolBuilder

NewMachinePool creates a new builder of 'machine_pool' objects.

func (*MachinePoolBuilder) AWS ¶ added in v0.0.329

AWS sets the value of the 'AWS' attribute to the given value.

Representation of aws machine pool specific parameters.

func (*MachinePoolBuilder) Autoscaling ¶ added in v0.0.329

Autoscaling sets the value of the 'autoscaling' attribute to the given value.

Representation of a autoscaling in a machine pool.

func (*MachinePoolBuilder) AvailabilityZones ¶ added in v0.0.329

func (b *MachinePoolBuilder) AvailabilityZones(values ...string) *MachinePoolBuilder

AvailabilityZones sets the value of the 'availability_zones' attribute to the given values.

func (*MachinePoolBuilder) Build ¶ added in v0.0.329

func (b *MachinePoolBuilder) Build() (object *MachinePool, err error)

Build creates a 'machine_pool' object using the configuration stored in the builder.

func (*MachinePoolBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*MachinePoolBuilder) Empty ¶ added in v0.0.329

func (b *MachinePoolBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*MachinePoolBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*MachinePoolBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

func (*MachinePoolBuilder) InstanceType ¶ added in v0.0.329

func (b *MachinePoolBuilder) InstanceType(value string) *MachinePoolBuilder

InstanceType sets the value of the 'instance_type' attribute to the given value.

func (*MachinePoolBuilder) Labels ¶ added in v0.0.329

func (b *MachinePoolBuilder) Labels(value map[string]string) *MachinePoolBuilder

Labels sets the value of the 'labels' attribute to the given value.

func (b *MachinePoolBuilder) Link(value bool) *MachinePoolBuilder

Link sets the flag that indicates if this is a link.

func (*MachinePoolBuilder) Replicas ¶ added in v0.0.329

func (b *MachinePoolBuilder) Replicas(value int) *MachinePoolBuilder

Replicas sets the value of the 'replicas' attribute to the given value.

func (*MachinePoolBuilder) RootVolume ¶ added in v0.1.343

RootVolume sets the value of the 'root_volume' attribute to the given value.

Root volume capabilities.

func (*MachinePoolBuilder) SecurityGroupFilters ¶ added in v0.0.329

SecurityGroupFilters sets the value of the 'security_group_filters' attribute to the given values.

func (*MachinePoolBuilder) Subnets ¶ added in v0.0.329

func (b *MachinePoolBuilder) Subnets(values ...string) *MachinePoolBuilder

Subnets sets the value of the 'subnets' attribute to the given values.

func (*MachinePoolBuilder) Taints ¶ added in v0.0.329

func (b *MachinePoolBuilder) Taints(values ...*TaintBuilder) *MachinePoolBuilder

Taints sets the value of the 'taints' attribute to the given values.

type MachinePoolClient ¶ added in v0.0.329

type MachinePoolClient struct {
	// contains filtered or unexported fields
}

MachinePoolClient is the client of the 'machine_pool' resource.

Manages a specific machine pool.

func NewMachinePoolClient ¶ added in v0.0.329

func NewMachinePoolClient(transport http.RoundTripper, path string) *MachinePoolClient

NewMachinePoolClient creates a new client for the 'machine_pool' resource using the given transport to send the requests and receive the responses.

func (*MachinePoolClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the machine pool.

func (*MachinePoolClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the machine pool.

func (*MachinePoolClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*MachinePoolClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Updates the machine pool.

type MachinePoolDeleteRequest ¶ added in v0.0.329

type MachinePoolDeleteRequest struct {
	// contains filtered or unexported fields
}

MachinePoolDeleteRequest is the request for the 'delete' method.

func (*MachinePoolDeleteRequest) Header ¶ added in v0.0.329

func (r *MachinePoolDeleteRequest) Header(name string, value interface{}) *MachinePoolDeleteRequest

Header adds a request header.

func (*MachinePoolDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*MachinePoolDeleteRequest) Parameter ¶ added in v0.0.329

func (r *MachinePoolDeleteRequest) Parameter(name string, value interface{}) *MachinePoolDeleteRequest

Parameter adds a query parameter.

func (*MachinePoolDeleteRequest) Send ¶ added in v0.0.329

func (r *MachinePoolDeleteRequest) Send() (result *MachinePoolDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*MachinePoolDeleteRequest) SendContext ¶ added in v0.0.329

func (r *MachinePoolDeleteRequest) SendContext(ctx context.Context) (result *MachinePoolDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type MachinePoolDeleteResponse ¶ added in v0.0.329

type MachinePoolDeleteResponse struct {
	// contains filtered or unexported fields
}

MachinePoolDeleteResponse is the response for the 'delete' method.

func (*MachinePoolDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*MachinePoolDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*MachinePoolDeleteResponse) Status ¶ added in v0.0.329

func (r *MachinePoolDeleteResponse) Status() int

Status returns the response status code.

type MachinePoolGetRequest ¶ added in v0.0.329

type MachinePoolGetRequest struct {
	// contains filtered or unexported fields
}

MachinePoolGetRequest is the request for the 'get' method.

func (*MachinePoolGetRequest) Header ¶ added in v0.0.329

func (r *MachinePoolGetRequest) Header(name string, value interface{}) *MachinePoolGetRequest

Header adds a request header.

func (*MachinePoolGetRequest) Impersonate ¶ added in v0.0.329

func (r *MachinePoolGetRequest) Impersonate(user string) *MachinePoolGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*MachinePoolGetRequest) Parameter ¶ added in v0.0.329

func (r *MachinePoolGetRequest) Parameter(name string, value interface{}) *MachinePoolGetRequest

Parameter adds a query parameter.

func (*MachinePoolGetRequest) Send ¶ added in v0.0.329

func (r *MachinePoolGetRequest) Send() (result *MachinePoolGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*MachinePoolGetRequest) SendContext ¶ added in v0.0.329

func (r *MachinePoolGetRequest) SendContext(ctx context.Context) (result *MachinePoolGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type MachinePoolGetResponse ¶ added in v0.0.329

type MachinePoolGetResponse struct {
	// contains filtered or unexported fields
}

MachinePoolGetResponse is the response for the 'get' method.

func (*MachinePoolGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*MachinePoolGetResponse) Error ¶ added in v0.0.329

func (r *MachinePoolGetResponse) Error() *errors.Error

Error returns the response error.

func (*MachinePoolGetResponse) GetBody ¶ added in v0.0.329

func (r *MachinePoolGetResponse) GetBody() (value *MachinePool, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*MachinePoolGetResponse) Header ¶ added in v0.0.329

func (r *MachinePoolGetResponse) Header() http.Header

Header returns header of the response.

func (*MachinePoolGetResponse) Status ¶ added in v0.0.329

func (r *MachinePoolGetResponse) Status() int

Status returns the response status code.

type MachinePoolList ¶ added in v0.0.329

type MachinePoolList struct {
	// contains filtered or unexported fields
}

MachinePoolList is a list of values of the 'machine_pool' type.

func (*MachinePoolList) Each ¶ added in v0.0.329

func (l *MachinePoolList) Each(f func(item *MachinePool) 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 (*MachinePoolList) Empty ¶ added in v0.0.329

func (l *MachinePoolList) Empty() bool

Empty returns true if the list is empty.

func (*MachinePoolList) Get ¶ added in v0.0.329

func (l *MachinePoolList) Get(i int) *MachinePool

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*MachinePoolList) GetHREF ¶ added in v0.0.329

func (l *MachinePoolList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*MachinePoolList) HREF ¶ added in v0.0.329

func (l *MachinePoolList) HREF() string

HREF returns the link to the list.

func (*MachinePoolList) Kind ¶ added in v0.0.329

func (l *MachinePoolList) Kind() string

Kind returns the name of the type of the object.

func (*MachinePoolList) Len ¶ added in v0.0.329

func (l *MachinePoolList) Len() int

Len returns the length of the list.

func (l *MachinePoolList) Link() bool

Link returns true iif this is a link.

func (*MachinePoolList) Range ¶ added in v0.0.329

func (l *MachinePoolList) Range(f func(index int, item *MachinePool) 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 (*MachinePoolList) Slice ¶ added in v0.0.329

func (l *MachinePoolList) Slice() []*MachinePool

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 MachinePoolListBuilder ¶ added in v0.0.329

type MachinePoolListBuilder struct {
	// contains filtered or unexported fields
}

MachinePoolListBuilder contains the data and logic needed to build 'machine_pool' objects.

func NewMachinePoolList ¶ added in v0.0.329

func NewMachinePoolList() *MachinePoolListBuilder

NewMachinePoolList creates a new builder of 'machine_pool' objects.

func (*MachinePoolListBuilder) Build ¶ added in v0.0.329

func (b *MachinePoolListBuilder) Build() (list *MachinePoolList, err error)

Build creates a list of 'machine_pool' objects using the configuration stored in the builder.

func (*MachinePoolListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*MachinePoolListBuilder) Empty ¶ added in v0.0.329

func (b *MachinePoolListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*MachinePoolListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type MachinePoolPollRequest ¶ added in v0.0.329

type MachinePoolPollRequest struct {
	// contains filtered or unexported fields
}

MachinePoolPollRequest is the request for the Poll method.

func (*MachinePoolPollRequest) Header ¶ added in v0.0.329

func (r *MachinePoolPollRequest) Header(name string, value interface{}) *MachinePoolPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*MachinePoolPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*MachinePoolPollRequest) Parameter ¶ added in v0.0.329

func (r *MachinePoolPollRequest) Parameter(name string, value interface{}) *MachinePoolPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*MachinePoolPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*MachinePoolPollRequest) StartContext ¶ added in v0.0.329

func (r *MachinePoolPollRequest) StartContext(ctx context.Context) (response *MachinePoolPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*MachinePoolPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type MachinePoolPollResponse ¶ added in v0.0.329

type MachinePoolPollResponse struct {
	// contains filtered or unexported fields
}

MachinePoolPollResponse is the response for the Poll method.

func (*MachinePoolPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*MachinePoolPollResponse) Error ¶ added in v0.0.329

func (r *MachinePoolPollResponse) Error() *errors.Error

Error returns the response error.

func (*MachinePoolPollResponse) GetBody ¶ added in v0.0.329

func (r *MachinePoolPollResponse) GetBody() (value *MachinePool, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*MachinePoolPollResponse) Header ¶ added in v0.0.329

func (r *MachinePoolPollResponse) Header() http.Header

Header returns header of the response.

func (*MachinePoolPollResponse) Status ¶ added in v0.0.329

func (r *MachinePoolPollResponse) Status() int

Status returns the response status code.

type MachinePoolSecurityGroupFilter ¶ added in v0.0.329

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 UnmarshalMachinePoolSecurityGroupFilter ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*MachinePoolSecurityGroupFilter) GetName ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type MachinePoolSecurityGroupFilterBuilder struct {
	// contains filtered or unexported fields
}

MachinePoolSecurityGroupFilterBuilder contains the data and logic needed to build 'machine_pool_security_group_filter' objects.

Security Group Filter object, containing name of the filter tag and value of the filter tag

func NewMachinePoolSecurityGroupFilter ¶ added in v0.0.329

func NewMachinePoolSecurityGroupFilter() *MachinePoolSecurityGroupFilterBuilder

NewMachinePoolSecurityGroupFilter creates a new builder of 'machine_pool_security_group_filter' objects.

func (*MachinePoolSecurityGroupFilterBuilder) Build ¶ added in v0.0.329

Build creates a 'machine_pool_security_group_filter' object using the configuration stored in the builder.

func (*MachinePoolSecurityGroupFilterBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*MachinePoolSecurityGroupFilterBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*MachinePoolSecurityGroupFilterBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

func (*MachinePoolSecurityGroupFilterBuilder) Value ¶ added in v0.0.329

Value sets the value of the 'value' attribute to the given value.

type MachinePoolSecurityGroupFilterList ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*MachinePoolSecurityGroupFilterList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*MachinePoolSecurityGroupFilterList) Len ¶ added in v0.0.329

Len returns the length of the list.

func (*MachinePoolSecurityGroupFilterList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func NewMachinePoolSecurityGroupFilterList() *MachinePoolSecurityGroupFilterListBuilder

NewMachinePoolSecurityGroupFilterList creates a new builder of 'machine_pool_security_group_filter' objects.

func (*MachinePoolSecurityGroupFilterListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'machine_pool_security_group_filter' objects using the configuration stored in the builder.

func (*MachinePoolSecurityGroupFilterListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*MachinePoolSecurityGroupFilterListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*MachinePoolSecurityGroupFilterListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type MachinePoolUpdateRequest ¶ added in v0.0.329

type MachinePoolUpdateRequest struct {
	// contains filtered or unexported fields
}

MachinePoolUpdateRequest is the request for the 'update' method.

func (*MachinePoolUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*MachinePoolUpdateRequest) Header ¶ added in v0.0.329

func (r *MachinePoolUpdateRequest) Header(name string, value interface{}) *MachinePoolUpdateRequest

Header adds a request header.

func (*MachinePoolUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*MachinePoolUpdateRequest) Parameter ¶ added in v0.0.329

func (r *MachinePoolUpdateRequest) Parameter(name string, value interface{}) *MachinePoolUpdateRequest

Parameter adds a query parameter.

func (*MachinePoolUpdateRequest) Send ¶ added in v0.0.329

func (r *MachinePoolUpdateRequest) Send() (result *MachinePoolUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*MachinePoolUpdateRequest) SendContext ¶ added in v0.0.329

func (r *MachinePoolUpdateRequest) SendContext(ctx context.Context) (result *MachinePoolUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type MachinePoolUpdateResponse ¶ added in v0.0.329

type MachinePoolUpdateResponse struct {
	// contains filtered or unexported fields
}

MachinePoolUpdateResponse is the response for the 'update' method.

func (*MachinePoolUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*MachinePoolUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*MachinePoolUpdateResponse) GetBody ¶ added in v0.0.329

func (r *MachinePoolUpdateResponse) GetBody() (value *MachinePool, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*MachinePoolUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*MachinePoolUpdateResponse) Status ¶ added in v0.0.329

func (r *MachinePoolUpdateResponse) Status() int

Status returns the response status code.

type MachinePoolsAddRequest ¶ added in v0.0.329

type MachinePoolsAddRequest struct {
	// contains filtered or unexported fields
}

MachinePoolsAddRequest is the request for the 'add' method.

func (*MachinePoolsAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Description of the machine pool

func (*MachinePoolsAddRequest) Header ¶ added in v0.0.329

func (r *MachinePoolsAddRequest) Header(name string, value interface{}) *MachinePoolsAddRequest

Header adds a request header.

func (*MachinePoolsAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*MachinePoolsAddRequest) Parameter ¶ added in v0.0.329

func (r *MachinePoolsAddRequest) Parameter(name string, value interface{}) *MachinePoolsAddRequest

Parameter adds a query parameter.

func (*MachinePoolsAddRequest) Send ¶ added in v0.0.329

func (r *MachinePoolsAddRequest) Send() (result *MachinePoolsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*MachinePoolsAddRequest) SendContext ¶ added in v0.0.329

func (r *MachinePoolsAddRequest) SendContext(ctx context.Context) (result *MachinePoolsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type MachinePoolsAddResponse ¶ added in v0.0.329

type MachinePoolsAddResponse struct {
	// contains filtered or unexported fields
}

MachinePoolsAddResponse is the response for the 'add' method.

func (*MachinePoolsAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Description of the machine pool

func (*MachinePoolsAddResponse) Error ¶ added in v0.0.329

func (r *MachinePoolsAddResponse) Error() *errors.Error

Error returns the response error.

func (*MachinePoolsAddResponse) GetBody ¶ added in v0.0.329

func (r *MachinePoolsAddResponse) GetBody() (value *MachinePool, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the machine pool

func (*MachinePoolsAddResponse) Header ¶ added in v0.0.329

func (r *MachinePoolsAddResponse) Header() http.Header

Header returns header of the response.

func (*MachinePoolsAddResponse) Status ¶ added in v0.0.329

func (r *MachinePoolsAddResponse) Status() int

Status returns the response status code.

type MachinePoolsClient ¶ added in v0.0.329

type MachinePoolsClient struct {
	// contains filtered or unexported fields
}

MachinePoolsClient is the client of the 'machine_pools' resource.

Manages the collection of machine pools of a cluster.

func NewMachinePoolsClient ¶ added in v0.0.329

func NewMachinePoolsClient(transport http.RoundTripper, path string) *MachinePoolsClient

NewMachinePoolsClient creates a new client for the 'machine_pools' resource using the given transport to send the requests and receive the responses.

func (*MachinePoolsClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new machine pool to the cluster.

func (*MachinePoolsClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of machine pools.

func (*MachinePoolsClient) MachinePool ¶ added in v0.0.329

func (c *MachinePoolsClient) MachinePool(id string) *MachinePoolClient

MachinePool returns the target 'machine_pool' resource for the given identifier.

Reference to the service that manages a specific machine pool.

type MachinePoolsListRequest ¶ added in v0.0.329

type MachinePoolsListRequest struct {
	// contains filtered or unexported fields
}

MachinePoolsListRequest is the request for the 'list' method.

func (*MachinePoolsListRequest) Header ¶ added in v0.0.329

func (r *MachinePoolsListRequest) Header(name string, value interface{}) *MachinePoolsListRequest

Header adds a request header.

func (*MachinePoolsListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*MachinePoolsListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*MachinePoolsListRequest) Parameter ¶ added in v0.0.329

func (r *MachinePoolsListRequest) Parameter(name string, value interface{}) *MachinePoolsListRequest

Parameter adds a query parameter.

func (*MachinePoolsListRequest) Send ¶ added in v0.0.329

func (r *MachinePoolsListRequest) Send() (result *MachinePoolsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*MachinePoolsListRequest) SendContext ¶ added in v0.0.329

func (r *MachinePoolsListRequest) SendContext(ctx context.Context) (result *MachinePoolsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*MachinePoolsListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type MachinePoolsListResponse ¶ added in v0.0.329

type MachinePoolsListResponse struct {
	// contains filtered or unexported fields
}

MachinePoolsListResponse is the response for the 'list' method.

func (*MachinePoolsListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*MachinePoolsListResponse) GetItems ¶ added in v0.0.329

func (r *MachinePoolsListResponse) GetItems() (value *MachinePoolList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of machine pools.

func (*MachinePoolsListResponse) GetPage ¶ added in v0.0.329

func (r *MachinePoolsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*MachinePoolsListResponse) GetSize ¶ added in v0.0.329

func (r *MachinePoolsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*MachinePoolsListResponse) GetTotal ¶ added in v0.0.329

func (r *MachinePoolsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*MachinePoolsListResponse) Header ¶ added in v0.0.329

func (r *MachinePoolsListResponse) Header() http.Header

Header returns header of the response.

func (*MachinePoolsListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of machine pools.

func (*MachinePoolsListResponse) Page ¶ added in v0.0.329

func (r *MachinePoolsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*MachinePoolsListResponse) Size ¶ added in v0.0.329

func (r *MachinePoolsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*MachinePoolsListResponse) Status ¶ added in v0.0.329

func (r *MachinePoolsListResponse) Status() int

Status returns the response status code.

func (*MachinePoolsListResponse) Total ¶ added in v0.0.329

func (r *MachinePoolsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type MachineType ¶

type MachineType struct {
	// contains filtered or unexported fields
}

MachineType represents the values of the 'machine_type' type.

Machine type.

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) CCSOnly ¶ added in v0.0.329

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() *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 ¶ added in v0.0.329

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) GetCCSOnly ¶ added in v0.0.329

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 *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 ¶ added in v0.0.329

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 iif 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
}

MachineTypeBuilder contains the data and logic needed to build 'machine_type' objects.

Machine type.

func NewMachineType ¶

func NewMachineType() *MachineTypeBuilder

NewMachineType creates a new builder of 'machine_type' objects.

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *MachineTypeBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*MachineTypeBuilder) GenericName ¶ added in v0.0.329

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 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 MachineTypeClient ¶

type MachineTypeClient struct {
	// contains filtered or unexported fields
}

MachineTypeClient is the client of the 'machine_type' resource.

Manages a specific machine type.

func NewMachineTypeClient ¶

func NewMachineTypeClient(transport http.RoundTripper, path string) *MachineTypeClient

NewMachineTypeClient creates a new client for the 'machine_type' resource using the given transport to send the requests and receive the responses.

func (*MachineTypeClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the details of the machine type.

func (*MachineTypeClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type MachineTypeGetRequest ¶

type MachineTypeGetRequest struct {
	// contains filtered or unexported fields
}

MachineTypeGetRequest is the request for the 'get' method.

func (*MachineTypeGetRequest) Header ¶

func (r *MachineTypeGetRequest) Header(name string, value interface{}) *MachineTypeGetRequest

Header adds a request header.

func (*MachineTypeGetRequest) Impersonate ¶ added in v0.0.329

func (r *MachineTypeGetRequest) Impersonate(user string) *MachineTypeGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*MachineTypeGetRequest) Parameter ¶

func (r *MachineTypeGetRequest) Parameter(name string, value interface{}) *MachineTypeGetRequest

Parameter adds a query parameter.

func (*MachineTypeGetRequest) Send ¶

func (r *MachineTypeGetRequest) Send() (result *MachineTypeGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*MachineTypeGetRequest) SendContext ¶

func (r *MachineTypeGetRequest) SendContext(ctx context.Context) (result *MachineTypeGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type MachineTypeGetResponse ¶

type MachineTypeGetResponse struct {
	// contains filtered or unexported fields
}

MachineTypeGetResponse is the response for the 'get' method.

func (*MachineTypeGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*MachineTypeGetResponse) Error ¶

func (r *MachineTypeGetResponse) Error() *errors.Error

Error returns the response error.

func (*MachineTypeGetResponse) GetBody ¶

func (r *MachineTypeGetResponse) GetBody() (value *MachineType, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*MachineTypeGetResponse) Header ¶

func (r *MachineTypeGetResponse) Header() http.Header

Header returns header of the response.

func (*MachineTypeGetResponse) Status ¶

func (r *MachineTypeGetResponse) Status() int

Status returns the response status code.

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) 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) 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 ¶ added in v0.0.329

func (b *MachineTypeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*MachineTypeListBuilder) Items ¶

Items sets the items of the list.

type MachineTypePollRequest ¶

type MachineTypePollRequest struct {
	// contains filtered or unexported fields
}

MachineTypePollRequest is the request for the Poll method.

func (*MachineTypePollRequest) Header ¶

func (r *MachineTypePollRequest) Header(name string, value interface{}) *MachineTypePollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*MachineTypePollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*MachineTypePollRequest) Parameter ¶

func (r *MachineTypePollRequest) Parameter(name string, value interface{}) *MachineTypePollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*MachineTypePollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*MachineTypePollRequest) StartContext ¶

func (r *MachineTypePollRequest) StartContext(ctx context.Context) (response *MachineTypePollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*MachineTypePollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type MachineTypePollResponse ¶

type MachineTypePollResponse struct {
	// contains filtered or unexported fields
}

MachineTypePollResponse is the response for the Poll method.

func (*MachineTypePollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*MachineTypePollResponse) Error ¶

func (r *MachineTypePollResponse) Error() *errors.Error

Error returns the response error.

func (*MachineTypePollResponse) GetBody ¶

func (r *MachineTypePollResponse) GetBody() (value *MachineType, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*MachineTypePollResponse) Header ¶

func (r *MachineTypePollResponse) Header() http.Header

Header returns header of the response.

func (*MachineTypePollResponse) Status ¶

func (r *MachineTypePollResponse) Status() int

Status returns the response status code.

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 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 MachineTypesClient ¶

type MachineTypesClient struct {
	// contains filtered or unexported fields
}

MachineTypesClient is the client of the 'machine_types' resource.

Manages machine types.

func NewMachineTypesClient ¶

func NewMachineTypesClient(transport http.RoundTripper, path string) *MachineTypesClient

NewMachineTypesClient creates a new client for the 'machine_types' resource using the given transport to send the requests and receive the responses.

func (*MachineTypesClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of machine types.

func (*MachineTypesClient) MachineType ¶ added in v0.0.329

func (c *MachineTypesClient) MachineType(id string) *MachineTypeClient

MachineType returns the target 'machine_type' resource for the given identifier.

Returns a reference to the service that manages an specific MachineType.

type MachineTypesListRequest ¶

type MachineTypesListRequest struct {
	// contains filtered or unexported fields
}

MachineTypesListRequest is the request for the 'list' method.

func (*MachineTypesListRequest) Header ¶

func (r *MachineTypesListRequest) Header(name string, value interface{}) *MachineTypesListRequest

Header adds a request header.

func (*MachineTypesListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*MachineTypesListRequest) Order ¶

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the machine type instead of the names of the columns of a table. For example, in order to sort the machine types descending by name identifier the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*MachineTypesListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*MachineTypesListRequest) Parameter ¶

func (r *MachineTypesListRequest) Parameter(name string, value interface{}) *MachineTypesListRequest

Parameter adds a query parameter.

func (*MachineTypesListRequest) Search ¶

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the machine type instead of the names of the columns of a table. For example, in order to retrieve all the machine types with a name starting with `A` the value should be:

```sql name like 'A%' ```

If the parameter isn't provided, or if the value is empty, then all the machine types that the user has permission to see will be returned.

func (*MachineTypesListRequest) Send ¶

func (r *MachineTypesListRequest) Send() (result *MachineTypesListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*MachineTypesListRequest) SendContext ¶

func (r *MachineTypesListRequest) SendContext(ctx context.Context) (result *MachineTypesListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*MachineTypesListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type MachineTypesListResponse ¶

type MachineTypesListResponse struct {
	// contains filtered or unexported fields
}

MachineTypesListResponse is the response for the 'list' method.

func (*MachineTypesListResponse) Error ¶

Error returns the response error.

func (*MachineTypesListResponse) GetItems ¶

func (r *MachineTypesListResponse) GetItems() (value *MachineTypeList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of cloud providers.

func (*MachineTypesListResponse) GetPage ¶

func (r *MachineTypesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*MachineTypesListResponse) GetSize ¶

func (r *MachineTypesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*MachineTypesListResponse) GetTotal ¶

func (r *MachineTypesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*MachineTypesListResponse) Header ¶

func (r *MachineTypesListResponse) Header() http.Header

Header returns header of the response.

func (*MachineTypesListResponse) Items ¶

Items returns the value of the 'items' parameter.

Retrieved list of cloud providers.

func (*MachineTypesListResponse) Page ¶

func (r *MachineTypesListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*MachineTypesListResponse) Size ¶

func (r *MachineTypesListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*MachineTypesListResponse) Status ¶

func (r *MachineTypesListResponse) Status() int

Status returns the response status code.

func (*MachineTypesListResponse) Total ¶

func (r *MachineTypesListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type ManagedService ¶ added in v0.0.329

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 UnmarshalManagedService ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *ManagedService) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ManagedService) Enabled ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type ManagedServiceBuilder struct {
	// contains filtered or unexported fields
}

ManagedServiceBuilder contains the data and logic needed to build 'managed_service' objects.

Contains the necessary attributes to support role-based authentication on AWS.

func NewManagedService ¶ added in v0.0.329

func NewManagedService() *ManagedServiceBuilder

NewManagedService creates a new builder of 'managed_service' objects.

func (*ManagedServiceBuilder) Build ¶ added in v0.0.329

func (b *ManagedServiceBuilder) Build() (object *ManagedService, err error)

Build creates a 'managed_service' object using the configuration stored in the builder.

func (*ManagedServiceBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ManagedServiceBuilder) Empty ¶ added in v0.0.329

func (b *ManagedServiceBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ManagedServiceBuilder) Enabled ¶ added in v0.0.329

Enabled sets the value of the 'enabled' attribute to the given value.

type ManagedServiceList ¶ added in v0.0.329

type ManagedServiceList struct {
	// contains filtered or unexported fields
}

ManagedServiceList is a list of values of the 'managed_service' type.

func (*ManagedServiceList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *ManagedServiceList) Empty() bool

Empty returns true if the list is empty.

func (*ManagedServiceList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ManagedServiceList) Len ¶ added in v0.0.329

func (l *ManagedServiceList) Len() int

Len returns the length of the list.

func (*ManagedServiceList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type ManagedServiceListBuilder struct {
	// contains filtered or unexported fields
}

ManagedServiceListBuilder contains the data and logic needed to build 'managed_service' objects.

func NewManagedServiceList ¶ added in v0.0.329

func NewManagedServiceList() *ManagedServiceListBuilder

NewManagedServiceList creates a new builder of 'managed_service' objects.

func (*ManagedServiceListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ManagedServiceListBuilder) Empty ¶ added in v0.0.329

func (b *ManagedServiceListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ManagedServiceListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type Manifest ¶ added in v0.0.329

type Manifest struct {
	// contains filtered or unexported fields
}

Manifest represents the values of the 'manifest' type.

Representation of a manifestwork.

func UnmarshalManifest ¶ added in v0.0.329

func UnmarshalManifest(source interface{}) (object *Manifest, err error)

UnmarshalManifest reads a value of the 'manifest' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalManifestList ¶ added in v0.0.329

func UnmarshalManifestList(source interface{}) (items []*Manifest, err error)

UnmarshalManifestList reads a list of values of the 'manifest' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Manifest) Empty ¶ added in v0.0.329

func (o *Manifest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Manifest) GetHREF ¶ added in v0.0.329

func (o *Manifest) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Manifest) GetID ¶ added in v0.0.329

func (o *Manifest) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Manifest) GetWorkloads ¶ added in v0.0.329

func (o *Manifest) GetWorkloads() (value []interface{}, ok bool)

GetWorkloads returns the value of the 'workloads' attribute and a flag indicating if the attribute has a value.

List of k8s objects to deploy on a hosted cluster.

func (*Manifest) HREF ¶ added in v0.0.329

func (o *Manifest) HREF() string

HREF returns the link to the object.

func (*Manifest) ID ¶ added in v0.0.329

func (o *Manifest) ID() string

ID returns the identifier of the object.

func (*Manifest) Kind ¶ added in v0.0.329

func (o *Manifest) Kind() string

Kind returns the name of the type of the object.

func (o *Manifest) Link() bool

Link returns true iif this is a link.

func (*Manifest) Workloads ¶ added in v0.0.329

func (o *Manifest) Workloads() []interface{}

Workloads returns the value of the 'workloads' attribute, or the zero value of the type if the attribute doesn't have a value.

List of k8s objects to deploy on a hosted cluster.

type ManifestBuilder ¶ added in v0.0.329

type ManifestBuilder struct {
	// contains filtered or unexported fields
}

ManifestBuilder contains the data and logic needed to build 'manifest' objects.

Representation of a manifestwork.

func NewManifest ¶ added in v0.0.329

func NewManifest() *ManifestBuilder

NewManifest creates a new builder of 'manifest' objects.

func (*ManifestBuilder) Build ¶ added in v0.0.329

func (b *ManifestBuilder) Build() (object *Manifest, err error)

Build creates a 'manifest' object using the configuration stored in the builder.

func (*ManifestBuilder) Copy ¶ added in v0.0.329

func (b *ManifestBuilder) Copy(object *Manifest) *ManifestBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ManifestBuilder) Empty ¶ added in v0.0.329

func (b *ManifestBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ManifestBuilder) HREF ¶ added in v0.0.329

func (b *ManifestBuilder) HREF(value string) *ManifestBuilder

HREF sets the link to the object.

func (*ManifestBuilder) ID ¶ added in v0.0.329

func (b *ManifestBuilder) ID(value string) *ManifestBuilder

ID sets the identifier of the object.

func (b *ManifestBuilder) Link(value bool) *ManifestBuilder

Link sets the flag that indicates if this is a link.

func (*ManifestBuilder) Workloads ¶ added in v0.0.329

func (b *ManifestBuilder) Workloads(values ...interface{}) *ManifestBuilder

Workloads sets the value of the 'workloads' attribute to the given values.

type ManifestClient ¶ added in v0.0.329

type ManifestClient struct {
	// contains filtered or unexported fields
}

ManifestClient is the client of the 'manifest' resource.

Manages a specific Manifest.

func NewManifestClient ¶ added in v0.0.329

func NewManifestClient(transport http.RoundTripper, path string) *ManifestClient

NewManifestClient creates a new client for the 'manifest' resource using the given transport to send the requests and receive the responses.

func (*ManifestClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the manifest.

func (*ManifestClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the manifest.

func (*ManifestClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*ManifestClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Update the manifest.

type ManifestDeleteRequest ¶ added in v0.0.329

type ManifestDeleteRequest struct {
	// contains filtered or unexported fields
}

ManifestDeleteRequest is the request for the 'delete' method.

func (*ManifestDeleteRequest) Header ¶ added in v0.0.329

func (r *ManifestDeleteRequest) Header(name string, value interface{}) *ManifestDeleteRequest

Header adds a request header.

func (*ManifestDeleteRequest) Impersonate ¶ added in v0.0.329

func (r *ManifestDeleteRequest) Impersonate(user string) *ManifestDeleteRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ManifestDeleteRequest) Parameter ¶ added in v0.0.329

func (r *ManifestDeleteRequest) Parameter(name string, value interface{}) *ManifestDeleteRequest

Parameter adds a query parameter.

func (*ManifestDeleteRequest) Send ¶ added in v0.0.329

func (r *ManifestDeleteRequest) Send() (result *ManifestDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ManifestDeleteRequest) SendContext ¶ added in v0.0.329

func (r *ManifestDeleteRequest) SendContext(ctx context.Context) (result *ManifestDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ManifestDeleteResponse ¶ added in v0.0.329

type ManifestDeleteResponse struct {
	// contains filtered or unexported fields
}

ManifestDeleteResponse is the response for the 'delete' method.

func (*ManifestDeleteResponse) Error ¶ added in v0.0.329

func (r *ManifestDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*ManifestDeleteResponse) Header ¶ added in v0.0.329

func (r *ManifestDeleteResponse) Header() http.Header

Header returns header of the response.

func (*ManifestDeleteResponse) Status ¶ added in v0.0.329

func (r *ManifestDeleteResponse) Status() int

Status returns the response status code.

type ManifestGetRequest ¶ added in v0.0.329

type ManifestGetRequest struct {
	// contains filtered or unexported fields
}

ManifestGetRequest is the request for the 'get' method.

func (*ManifestGetRequest) Header ¶ added in v0.0.329

func (r *ManifestGetRequest) Header(name string, value interface{}) *ManifestGetRequest

Header adds a request header.

func (*ManifestGetRequest) Impersonate ¶ added in v0.0.329

func (r *ManifestGetRequest) Impersonate(user string) *ManifestGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ManifestGetRequest) Parameter ¶ added in v0.0.329

func (r *ManifestGetRequest) Parameter(name string, value interface{}) *ManifestGetRequest

Parameter adds a query parameter.

func (*ManifestGetRequest) Send ¶ added in v0.0.329

func (r *ManifestGetRequest) Send() (result *ManifestGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ManifestGetRequest) SendContext ¶ added in v0.0.329

func (r *ManifestGetRequest) SendContext(ctx context.Context) (result *ManifestGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ManifestGetResponse ¶ added in v0.0.329

type ManifestGetResponse struct {
	// contains filtered or unexported fields
}

ManifestGetResponse is the response for the 'get' method.

func (*ManifestGetResponse) Body ¶ added in v0.0.329

func (r *ManifestGetResponse) Body() *Manifest

Body returns the value of the 'body' parameter.

func (*ManifestGetResponse) Error ¶ added in v0.0.329

func (r *ManifestGetResponse) Error() *errors.Error

Error returns the response error.

func (*ManifestGetResponse) GetBody ¶ added in v0.0.329

func (r *ManifestGetResponse) GetBody() (value *Manifest, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ManifestGetResponse) Header ¶ added in v0.0.329

func (r *ManifestGetResponse) Header() http.Header

Header returns header of the response.

func (*ManifestGetResponse) Status ¶ added in v0.0.329

func (r *ManifestGetResponse) Status() int

Status returns the response status code.

type ManifestList ¶ added in v0.0.329

type ManifestList struct {
	// contains filtered or unexported fields
}

ManifestList is a list of values of the 'manifest' type.

func (*ManifestList) Each ¶ added in v0.0.329

func (l *ManifestList) Each(f func(item *Manifest) 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 (*ManifestList) Empty ¶ added in v0.0.329

func (l *ManifestList) Empty() bool

Empty returns true if the list is empty.

func (*ManifestList) Get ¶ added in v0.0.329

func (l *ManifestList) Get(i int) *Manifest

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ManifestList) GetHREF ¶ added in v0.0.329

func (l *ManifestList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ManifestList) HREF ¶ added in v0.0.329

func (l *ManifestList) HREF() string

HREF returns the link to the list.

func (*ManifestList) Kind ¶ added in v0.0.329

func (l *ManifestList) Kind() string

Kind returns the name of the type of the object.

func (*ManifestList) Len ¶ added in v0.0.329

func (l *ManifestList) Len() int

Len returns the length of the list.

func (l *ManifestList) Link() bool

Link returns true iif this is a link.

func (*ManifestList) Range ¶ added in v0.0.329

func (l *ManifestList) Range(f func(index int, item *Manifest) 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 (*ManifestList) Slice ¶ added in v0.0.329

func (l *ManifestList) Slice() []*Manifest

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 ManifestListBuilder ¶ added in v0.0.329

type ManifestListBuilder struct {
	// contains filtered or unexported fields
}

ManifestListBuilder contains the data and logic needed to build 'manifest' objects.

func NewManifestList ¶ added in v0.0.329

func NewManifestList() *ManifestListBuilder

NewManifestList creates a new builder of 'manifest' objects.

func (*ManifestListBuilder) Build ¶ added in v0.0.329

func (b *ManifestListBuilder) Build() (list *ManifestList, err error)

Build creates a list of 'manifest' objects using the configuration stored in the builder.

func (*ManifestListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ManifestListBuilder) Empty ¶ added in v0.0.329

func (b *ManifestListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ManifestListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type ManifestPollRequest ¶ added in v0.0.329

type ManifestPollRequest struct {
	// contains filtered or unexported fields
}

ManifestPollRequest is the request for the Poll method.

func (*ManifestPollRequest) Header ¶ added in v0.0.329

func (r *ManifestPollRequest) Header(name string, value interface{}) *ManifestPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ManifestPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ManifestPollRequest) Parameter ¶ added in v0.0.329

func (r *ManifestPollRequest) Parameter(name string, value interface{}) *ManifestPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ManifestPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ManifestPollRequest) StartContext ¶ added in v0.0.329

func (r *ManifestPollRequest) StartContext(ctx context.Context) (response *ManifestPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ManifestPollRequest) Status ¶ added in v0.0.329

func (r *ManifestPollRequest) Status(value int) *ManifestPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ManifestPollResponse ¶ added in v0.0.329

type ManifestPollResponse struct {
	// contains filtered or unexported fields
}

ManifestPollResponse is the response for the Poll method.

func (*ManifestPollResponse) Body ¶ added in v0.0.329

func (r *ManifestPollResponse) Body() *Manifest

Body returns the value of the 'body' parameter.

func (*ManifestPollResponse) Error ¶ added in v0.0.329

func (r *ManifestPollResponse) Error() *errors.Error

Error returns the response error.

func (*ManifestPollResponse) GetBody ¶ added in v0.0.329

func (r *ManifestPollResponse) GetBody() (value *Manifest, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ManifestPollResponse) Header ¶ added in v0.0.329

func (r *ManifestPollResponse) Header() http.Header

Header returns header of the response.

func (*ManifestPollResponse) Status ¶ added in v0.0.329

func (r *ManifestPollResponse) Status() int

Status returns the response status code.

type ManifestUpdateRequest ¶ added in v0.0.329

type ManifestUpdateRequest struct {
	// contains filtered or unexported fields
}

ManifestUpdateRequest is the request for the 'update' method.

func (*ManifestUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*ManifestUpdateRequest) Header ¶ added in v0.0.329

func (r *ManifestUpdateRequest) Header(name string, value interface{}) *ManifestUpdateRequest

Header adds a request header.

func (*ManifestUpdateRequest) Impersonate ¶ added in v0.0.329

func (r *ManifestUpdateRequest) Impersonate(user string) *ManifestUpdateRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ManifestUpdateRequest) Parameter ¶ added in v0.0.329

func (r *ManifestUpdateRequest) Parameter(name string, value interface{}) *ManifestUpdateRequest

Parameter adds a query parameter.

func (*ManifestUpdateRequest) Send ¶ added in v0.0.329

func (r *ManifestUpdateRequest) Send() (result *ManifestUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ManifestUpdateRequest) SendContext ¶ added in v0.0.329

func (r *ManifestUpdateRequest) SendContext(ctx context.Context) (result *ManifestUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ManifestUpdateResponse ¶ added in v0.0.329

type ManifestUpdateResponse struct {
	// contains filtered or unexported fields
}

ManifestUpdateResponse is the response for the 'update' method.

func (*ManifestUpdateResponse) Body ¶ added in v0.0.329

func (r *ManifestUpdateResponse) Body() *Manifest

Body returns the value of the 'body' parameter.

func (*ManifestUpdateResponse) Error ¶ added in v0.0.329

func (r *ManifestUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*ManifestUpdateResponse) GetBody ¶ added in v0.0.329

func (r *ManifestUpdateResponse) GetBody() (value *Manifest, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ManifestUpdateResponse) Header ¶ added in v0.0.329

func (r *ManifestUpdateResponse) Header() http.Header

Header returns header of the response.

func (*ManifestUpdateResponse) Status ¶ added in v0.0.329

func (r *ManifestUpdateResponse) Status() int

Status returns the response status code.

type ManifestsAddRequest ¶ added in v0.0.329

type ManifestsAddRequest struct {
	// contains filtered or unexported fields
}

ManifestsAddRequest is the request for the 'add' method.

func (*ManifestsAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Description of the manifest.

func (*ManifestsAddRequest) Header ¶ added in v0.0.329

func (r *ManifestsAddRequest) Header(name string, value interface{}) *ManifestsAddRequest

Header adds a request header.

func (*ManifestsAddRequest) Impersonate ¶ added in v0.0.329

func (r *ManifestsAddRequest) Impersonate(user string) *ManifestsAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ManifestsAddRequest) Parameter ¶ added in v0.0.329

func (r *ManifestsAddRequest) Parameter(name string, value interface{}) *ManifestsAddRequest

Parameter adds a query parameter.

func (*ManifestsAddRequest) Send ¶ added in v0.0.329

func (r *ManifestsAddRequest) Send() (result *ManifestsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ManifestsAddRequest) SendContext ¶ added in v0.0.329

func (r *ManifestsAddRequest) SendContext(ctx context.Context) (result *ManifestsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ManifestsAddResponse ¶ added in v0.0.329

type ManifestsAddResponse struct {
	// contains filtered or unexported fields
}

ManifestsAddResponse is the response for the 'add' method.

func (*ManifestsAddResponse) Body ¶ added in v0.0.329

func (r *ManifestsAddResponse) Body() *Manifest

Body returns the value of the 'body' parameter.

Description of the manifest.

func (*ManifestsAddResponse) Error ¶ added in v0.0.329

func (r *ManifestsAddResponse) Error() *errors.Error

Error returns the response error.

func (*ManifestsAddResponse) GetBody ¶ added in v0.0.329

func (r *ManifestsAddResponse) GetBody() (value *Manifest, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the manifest.

func (*ManifestsAddResponse) Header ¶ added in v0.0.329

func (r *ManifestsAddResponse) Header() http.Header

Header returns header of the response.

func (*ManifestsAddResponse) Status ¶ added in v0.0.329

func (r *ManifestsAddResponse) Status() int

Status returns the response status code.

type ManifestsClient ¶ added in v0.0.329

type ManifestsClient struct {
	// contains filtered or unexported fields
}

ManifestsClient is the client of the 'manifests' resource.

Manages the collection of Manifests of a cluster.

func NewManifestsClient ¶ added in v0.0.329

func NewManifestsClient(transport http.RoundTripper, path string) *ManifestsClient

NewManifestsClient creates a new client for the 'manifests' resource using the given transport to send the requests and receive the responses.

func (*ManifestsClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new manifest to a cluster.

func (*ManifestsClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of manifests.

func (*ManifestsClient) Manifest ¶ added in v0.0.329

func (c *ManifestsClient) Manifest(id string) *ManifestClient

Manifest returns the target 'manifest' resource for the given identifier.

Reference to the service that manages a specific manifest.

type ManifestsListRequest ¶ added in v0.0.329

type ManifestsListRequest struct {
	// contains filtered or unexported fields
}

ManifestsListRequest is the request for the 'list' method.

func (*ManifestsListRequest) Header ¶ added in v0.0.329

func (r *ManifestsListRequest) Header(name string, value interface{}) *ManifestsListRequest

Header adds a request header.

func (*ManifestsListRequest) Impersonate ¶ added in v0.0.329

func (r *ManifestsListRequest) Impersonate(user string) *ManifestsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ManifestsListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ManifestsListRequest) Parameter ¶ added in v0.0.329

func (r *ManifestsListRequest) Parameter(name string, value interface{}) *ManifestsListRequest

Parameter adds a query parameter.

func (*ManifestsListRequest) Send ¶ added in v0.0.329

func (r *ManifestsListRequest) Send() (result *ManifestsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ManifestsListRequest) SendContext ¶ added in v0.0.329

func (r *ManifestsListRequest) SendContext(ctx context.Context) (result *ManifestsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*ManifestsListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type ManifestsListResponse ¶ added in v0.0.329

type ManifestsListResponse struct {
	// contains filtered or unexported fields
}

ManifestsListResponse is the response for the 'list' method.

func (*ManifestsListResponse) Error ¶ added in v0.0.329

func (r *ManifestsListResponse) Error() *errors.Error

Error returns the response error.

func (*ManifestsListResponse) GetItems ¶ added in v0.0.329

func (r *ManifestsListResponse) GetItems() (value *ManifestList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of Manifests.

func (*ManifestsListResponse) GetPage ¶ added in v0.0.329

func (r *ManifestsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*ManifestsListResponse) GetSize ¶ added in v0.0.329

func (r *ManifestsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*ManifestsListResponse) GetTotal ¶ added in v0.0.329

func (r *ManifestsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*ManifestsListResponse) Header ¶ added in v0.0.329

func (r *ManifestsListResponse) Header() http.Header

Header returns header of the response.

func (*ManifestsListResponse) Items ¶ added in v0.0.329

func (r *ManifestsListResponse) Items() *ManifestList

Items returns the value of the 'items' parameter.

Retrieved list of Manifests.

func (*ManifestsListResponse) Page ¶ added in v0.0.329

func (r *ManifestsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ManifestsListResponse) Size ¶ added in v0.0.329

func (r *ManifestsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*ManifestsListResponse) Status ¶ added in v0.0.329

func (r *ManifestsListResponse) Status() int

Status returns the response status code.

func (*ManifestsListResponse) Total ¶ added in v0.0.329

func (r *ManifestsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type Metadata ¶

type Metadata struct {
	// contains filtered or unexported fields
}

Metadata contains the version metadata.

func UnmarshalMetadata ¶

func UnmarshalMetadata(source interface{}) (object *Metadata, err error)

UnmarshalMetadata reads a value of the metadata type from the given source, which which can be a reader, a slice of byte or a string.

func (*Metadata) GetServerVersion ¶

func (m *Metadata) GetServerVersion() (value string, ok bool)

GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.

func (*Metadata) ServerVersion ¶

func (m *Metadata) ServerVersion() string

ServerVersion returns the version of the server.

type MetadataRequest ¶

type MetadataRequest struct {
	// contains filtered or unexported fields
}

MetadataRequest is the request to retrieve the metadata.

func (*MetadataRequest) Header ¶

func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest

Header adds a request header.

func (*MetadataRequest) Parameter ¶

func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest

Parameter adds a query parameter.

func (*MetadataRequest) Send ¶

func (r *MetadataRequest) Send() (result *MetadataResponse, err error)

Send sends the metadata request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*MetadataRequest) SendContext ¶

func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)

SendContext sends the metadata request, waits for the response, and returns it.

type MetadataResponse ¶

type MetadataResponse struct {
	// contains filtered or unexported fields
}

MetadataResponse is the response for the metadata request.

func (*MetadataResponse) Body ¶

func (r *MetadataResponse) Body() *Metadata

Body returns the response body.

func (*MetadataResponse) Error ¶

func (r *MetadataResponse) Error() *errors.Error

Error returns the response error.

func (*MetadataResponse) Header ¶

func (r *MetadataResponse) Header() http.Header

Header returns header of the response.

func (*MetadataResponse) Status ¶

func (r *MetadataResponse) Status() int

Status returns the response status code.

type MetricQueriesClient ¶

type MetricQueriesClient struct {
	// contains filtered or unexported fields
}

MetricQueriesClient is the client of the 'metric_queries' resource.

Manages telemetry queries for a cluster.

func NewMetricQueriesClient ¶

func NewMetricQueriesClient(transport http.RoundTripper, path string) *MetricQueriesClient

NewMetricQueriesClient creates a new client for the 'metric_queries' resource using the given transport to send the requests and receive the responses.

func (*MetricQueriesClient) Alerts ¶

Alerts returns the target 'alerts_metric_query' resource.

Reference to the resource that retrieves the firing alerts in the cluster.

func (*MetricQueriesClient) CPUTotalByNodeRolesOS ¶

func (c *MetricQueriesClient) CPUTotalByNodeRolesOS() *CPUTotalByNodeRolesOSMetricQueryClient

CPUTotalByNodeRolesOS returns the target 'CPU_total_by_node_roles_OS_metric_query' resource.

Reference to the resource that retrieves the total cpu capacity in the cluster by node role and operating system.

func (*MetricQueriesClient) ClusterOperators ¶

ClusterOperators returns the target 'cluster_operators_metric_query' resource.

Reference to the resource that retrieves the cluster operator status metrics.

func (*MetricQueriesClient) Nodes ¶

Nodes returns the target 'nodes_metric_query' resource.

Reference to the resource that retrieves the nodes in the cluster.

func (*MetricQueriesClient) SocketTotalByNodeRolesOS ¶

func (c *MetricQueriesClient) SocketTotalByNodeRolesOS() *SocketTotalByNodeRolesOSMetricQueryClient

SocketTotalByNodeRolesOS returns the target 'socket_total_by_node_roles_OS_metric_query' resource.

Reference to the resource that retrieves the total socket capacity in the cluster by node role and operating system.

type NamespaceOwnershipPolicy ¶ added in v0.1.352

type NamespaceOwnershipPolicy string

NamespaceOwnershipPolicy represents the values of the 'namespace_ownership_policy' enumerated type.

const (
	// InterNamespaceAllowed.
	NamespaceOwnershipPolicyInterNamespaceAllowed NamespaceOwnershipPolicy = "InterNamespaceAllowed"
	// Strict.
	NamespaceOwnershipPolicyStrict NamespaceOwnershipPolicy = "Strict"
)

func UnmarshalNamespaceOwnershipPolicyList ¶ added in v0.1.352

func UnmarshalNamespaceOwnershipPolicyList(source interface{}) (items []NamespaceOwnershipPolicy, err error)

UnmarshalNamespaceOwnershipPolicyList reads a list of values of the 'namespace_ownership_policy' type from the given source, which can be a slice of bytes, a string or a reader.

type Network ¶

type Network struct {
	// contains filtered or unexported fields
}

Network represents the values of the 'network' type.

Network configuration of a cluster.

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *Network) Type() string

Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.

The main controller responsible for rendering the core networking components.

type NetworkBuilder ¶

type NetworkBuilder struct {
	// contains filtered or unexported fields
}

NetworkBuilder contains the data and logic needed to build 'network' objects.

Network configuration of a cluster.

func NewNetwork ¶

func NewNetwork() *NetworkBuilder

NewNetwork creates a new builder of 'network' objects.

func (*NetworkBuilder) Build ¶

func (b *NetworkBuilder) Build() (object *Network, err error)

Build creates a 'network' object using the configuration stored in the builder.

func (*NetworkBuilder) Copy ¶

func (b *NetworkBuilder) Copy(object *Network) *NetworkBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NetworkBuilder) Empty ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) 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) 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 ¶ added in v0.0.329

func (b *NetworkListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*NetworkListBuilder) Items ¶

Items sets the items of the list.

type NetworkVerification ¶ added in v0.1.348

type NetworkVerification struct {
	// contains filtered or unexported fields
}

NetworkVerification represents the values of the 'network_verification' type.

func UnmarshalNetworkVerification ¶ added in v0.1.348

func UnmarshalNetworkVerification(source interface{}) (object *NetworkVerification, err error)

UnmarshalNetworkVerification reads a value of the 'network_verification' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalNetworkVerificationList ¶ added in v0.1.348

func UnmarshalNetworkVerificationList(source interface{}) (items []*NetworkVerification, err error)

UnmarshalNetworkVerificationList reads a list of values of the 'network_verification' type from the given source, which can be a slice of bytes, a string or a reader.

func (*NetworkVerification) CloudProviderData ¶ added in v0.1.348

func (o *NetworkVerification) CloudProviderData() *CloudProviderData

CloudProviderData returns the value of the 'cloud_provider_data' attribute, or the zero value of the type if the attribute doesn't have a value.

Cloud provider data to execute the network verification.

func (*NetworkVerification) ClusterId ¶ added in v0.1.377

func (o *NetworkVerification) ClusterId() string

ClusterId returns the value of the 'cluster_id' attribute, or the zero value of the type if the attribute doesn't have a value.

Cluster ID needed to execute the network verification.

func (*NetworkVerification) Empty ¶ added in v0.1.348

func (o *NetworkVerification) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*NetworkVerification) GetCloudProviderData ¶ added in v0.1.348

func (o *NetworkVerification) GetCloudProviderData() (value *CloudProviderData, ok bool)

GetCloudProviderData returns the value of the 'cloud_provider_data' attribute and a flag indicating if the attribute has a value.

Cloud provider data to execute the network verification.

func (*NetworkVerification) GetClusterId ¶ added in v0.1.377

func (o *NetworkVerification) GetClusterId() (value string, ok bool)

GetClusterId returns the value of the 'cluster_id' attribute and a flag indicating if the attribute has a value.

Cluster ID needed to execute the network verification.

func (*NetworkVerification) GetItems ¶ added in v0.1.348

func (o *NetworkVerification) GetItems() (value []*SubnetNetworkVerification, ok bool)

GetItems returns the value of the 'items' attribute and a flag indicating if the attribute has a value.

Details about each subnet network verification.

func (*NetworkVerification) GetPlatform ¶ added in v0.1.387

func (o *NetworkVerification) GetPlatform() (value Platform, ok bool)

GetPlatform returns the value of the 'platform' attribute and a flag indicating if the attribute has a value.

Platform needed to execute the network verification.

func (*NetworkVerification) GetTotal ¶ added in v0.1.348

func (o *NetworkVerification) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' attribute and a flag indicating if the attribute has a value.

Amount of network verifier executions started.

func (*NetworkVerification) Items ¶ added in v0.1.348

Items returns the value of the 'items' attribute, or the zero value of the type if the attribute doesn't have a value.

Details about each subnet network verification.

func (*NetworkVerification) Platform ¶ added in v0.1.387

func (o *NetworkVerification) Platform() Platform

Platform returns the value of the 'platform' attribute, or the zero value of the type if the attribute doesn't have a value.

Platform needed to execute the network verification.

func (*NetworkVerification) Total ¶ added in v0.1.348

func (o *NetworkVerification) 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.

Amount of network verifier executions started.

type NetworkVerificationBuilder ¶ added in v0.1.348

type NetworkVerificationBuilder struct {
	// contains filtered or unexported fields
}

NetworkVerificationBuilder contains the data and logic needed to build 'network_verification' objects.

func NewNetworkVerification ¶ added in v0.1.348

func NewNetworkVerification() *NetworkVerificationBuilder

NewNetworkVerification creates a new builder of 'network_verification' objects.

func (*NetworkVerificationBuilder) Build ¶ added in v0.1.348

func (b *NetworkVerificationBuilder) Build() (object *NetworkVerification, err error)

Build creates a 'network_verification' object using the configuration stored in the builder.

func (*NetworkVerificationBuilder) CloudProviderData ¶ added in v0.1.348

CloudProviderData sets the value of the 'cloud_provider_data' attribute to the given value.

Description of a cloud provider data used for cloud provider inquiries.

func (*NetworkVerificationBuilder) ClusterId ¶ added in v0.1.377

ClusterId sets the value of the 'cluster_id' attribute to the given value.

func (*NetworkVerificationBuilder) Copy ¶ added in v0.1.348

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NetworkVerificationBuilder) Empty ¶ added in v0.1.348

func (b *NetworkVerificationBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*NetworkVerificationBuilder) Items ¶ added in v0.1.348

Items sets the value of the 'items' attribute to the given values.

func (*NetworkVerificationBuilder) Platform ¶ added in v0.1.387

Platform sets the value of the 'platform' attribute to the given value.

Representation of an platform type field.

func (*NetworkVerificationBuilder) Total ¶ added in v0.1.348

Total sets the value of the 'total' attribute to the given value.

type NetworkVerificationClient ¶ added in v0.1.348

type NetworkVerificationClient struct {
	// contains filtered or unexported fields
}

NetworkVerificationClient is the client of the 'network_verification' resource.

Manages a subnet network verification.

func NewNetworkVerificationClient ¶ added in v0.1.348

func NewNetworkVerificationClient(transport http.RoundTripper, path string) *NetworkVerificationClient

NewNetworkVerificationClient creates a new client for the 'network_verification' resource using the given transport to send the requests and receive the responses.

func (*NetworkVerificationClient) Get ¶ added in v0.1.348

Get creates a request for the 'get' method.

Retrieves the details of a subnet network verification.

func (*NetworkVerificationClient) Poll ¶ added in v0.1.348

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type NetworkVerificationGetRequest ¶ added in v0.1.348

type NetworkVerificationGetRequest struct {
	// contains filtered or unexported fields
}

NetworkVerificationGetRequest is the request for the 'get' method.

func (*NetworkVerificationGetRequest) Header ¶ added in v0.1.348

func (r *NetworkVerificationGetRequest) Header(name string, value interface{}) *NetworkVerificationGetRequest

Header adds a request header.

func (*NetworkVerificationGetRequest) Impersonate ¶ added in v0.1.348

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NetworkVerificationGetRequest) Parameter ¶ added in v0.1.348

func (r *NetworkVerificationGetRequest) Parameter(name string, value interface{}) *NetworkVerificationGetRequest

Parameter adds a query parameter.

func (*NetworkVerificationGetRequest) Send ¶ added in v0.1.348

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NetworkVerificationGetRequest) SendContext ¶ added in v0.1.348

SendContext sends this request, waits for the response, and returns it.

type NetworkVerificationGetResponse ¶ added in v0.1.348

type NetworkVerificationGetResponse struct {
	// contains filtered or unexported fields
}

NetworkVerificationGetResponse is the response for the 'get' method.

func (*NetworkVerificationGetResponse) Body ¶ added in v0.1.348

Body returns the value of the 'body' parameter.

func (*NetworkVerificationGetResponse) Error ¶ added in v0.1.348

Error returns the response error.

func (*NetworkVerificationGetResponse) GetBody ¶ added in v0.1.348

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NetworkVerificationGetResponse) Header ¶ added in v0.1.348

Header returns header of the response.

func (*NetworkVerificationGetResponse) Status ¶ added in v0.1.348

func (r *NetworkVerificationGetResponse) Status() int

Status returns the response status code.

type NetworkVerificationList ¶ added in v0.1.348

type NetworkVerificationList struct {
	// contains filtered or unexported fields
}

NetworkVerificationList is a list of values of the 'network_verification' type.

func (*NetworkVerificationList) Each ¶ added in v0.1.348

func (l *NetworkVerificationList) Each(f func(item *NetworkVerification) 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 (*NetworkVerificationList) Empty ¶ added in v0.1.348

func (l *NetworkVerificationList) Empty() bool

Empty returns true if the list is empty.

func (*NetworkVerificationList) Get ¶ added in v0.1.348

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*NetworkVerificationList) Len ¶ added in v0.1.348

func (l *NetworkVerificationList) Len() int

Len returns the length of the list.

func (*NetworkVerificationList) Range ¶ added in v0.1.348

func (l *NetworkVerificationList) Range(f func(index int, item *NetworkVerification) 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 (*NetworkVerificationList) Slice ¶ added in v0.1.348

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 NetworkVerificationListBuilder ¶ added in v0.1.348

type NetworkVerificationListBuilder struct {
	// contains filtered or unexported fields
}

NetworkVerificationListBuilder contains the data and logic needed to build 'network_verification' objects.

func NewNetworkVerificationList ¶ added in v0.1.348

func NewNetworkVerificationList() *NetworkVerificationListBuilder

NewNetworkVerificationList creates a new builder of 'network_verification' objects.

func (*NetworkVerificationListBuilder) Build ¶ added in v0.1.348

Build creates a list of 'network_verification' objects using the configuration stored in the builder.

func (*NetworkVerificationListBuilder) Copy ¶ added in v0.1.348

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NetworkVerificationListBuilder) Empty ¶ added in v0.1.348

Empty returns true if the list is empty.

func (*NetworkVerificationListBuilder) Items ¶ added in v0.1.348

Items sets the items of the list.

type NetworkVerificationPollRequest ¶ added in v0.1.348

type NetworkVerificationPollRequest struct {
	// contains filtered or unexported fields
}

NetworkVerificationPollRequest is the request for the Poll method.

func (*NetworkVerificationPollRequest) Header ¶ added in v0.1.348

func (r *NetworkVerificationPollRequest) Header(name string, value interface{}) *NetworkVerificationPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*NetworkVerificationPollRequest) Interval ¶ added in v0.1.348

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*NetworkVerificationPollRequest) Parameter ¶ added in v0.1.348

func (r *NetworkVerificationPollRequest) Parameter(name string, value interface{}) *NetworkVerificationPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*NetworkVerificationPollRequest) Predicate ¶ added in v0.1.348

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*NetworkVerificationPollRequest) StartContext ¶ added in v0.1.348

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*NetworkVerificationPollRequest) Status ¶ added in v0.1.348

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type NetworkVerificationPollResponse ¶ added in v0.1.348

type NetworkVerificationPollResponse struct {
	// contains filtered or unexported fields
}

NetworkVerificationPollResponse is the response for the Poll method.

func (*NetworkVerificationPollResponse) Body ¶ added in v0.1.348

Body returns the value of the 'body' parameter.

func (*NetworkVerificationPollResponse) Error ¶ added in v0.1.348

Error returns the response error.

func (*NetworkVerificationPollResponse) GetBody ¶ added in v0.1.348

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NetworkVerificationPollResponse) Header ¶ added in v0.1.348

Header returns header of the response.

func (*NetworkVerificationPollResponse) Status ¶ added in v0.1.348

Status returns the response status code.

type NetworkVerificationsAddRequest ¶ added in v0.1.348

type NetworkVerificationsAddRequest struct {
	// contains filtered or unexported fields
}

NetworkVerificationsAddRequest is the request for the 'add' method.

func (*NetworkVerificationsAddRequest) Body ¶ added in v0.1.348

Body sets the value of the 'body' parameter.

func (*NetworkVerificationsAddRequest) Header ¶ added in v0.1.348

func (r *NetworkVerificationsAddRequest) Header(name string, value interface{}) *NetworkVerificationsAddRequest

Header adds a request header.

func (*NetworkVerificationsAddRequest) Impersonate ¶ added in v0.1.348

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NetworkVerificationsAddRequest) Parameter ¶ added in v0.1.348

func (r *NetworkVerificationsAddRequest) Parameter(name string, value interface{}) *NetworkVerificationsAddRequest

Parameter adds a query parameter.

func (*NetworkVerificationsAddRequest) Send ¶ added in v0.1.348

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NetworkVerificationsAddRequest) SendContext ¶ added in v0.1.348

SendContext sends this request, waits for the response, and returns it.

type NetworkVerificationsAddResponse ¶ added in v0.1.348

type NetworkVerificationsAddResponse struct {
	// contains filtered or unexported fields
}

NetworkVerificationsAddResponse is the response for the 'add' method.

func (*NetworkVerificationsAddResponse) Body ¶ added in v0.1.348

Body returns the value of the 'body' parameter.

func (*NetworkVerificationsAddResponse) Error ¶ added in v0.1.348

Error returns the response error.

func (*NetworkVerificationsAddResponse) GetBody ¶ added in v0.1.348

func (r *NetworkVerificationsAddResponse) GetBody() (value *NetworkVerification, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NetworkVerificationsAddResponse) Header ¶ added in v0.1.348

Header returns header of the response.

func (*NetworkVerificationsAddResponse) Status ¶ added in v0.1.348

Status returns the response status code.

type NetworkVerificationsClient ¶ added in v0.1.348

type NetworkVerificationsClient struct {
	// contains filtered or unexported fields
}

NetworkVerificationsClient is the client of the 'network_verifications' resource.

Manages the collection of subnet network verifications.

func NewNetworkVerificationsClient ¶ added in v0.1.348

func NewNetworkVerificationsClient(transport http.RoundTripper, path string) *NetworkVerificationsClient

NewNetworkVerificationsClient creates a new client for the 'network_verifications' resource using the given transport to send the requests and receive the responses.

func (*NetworkVerificationsClient) Add ¶ added in v0.1.348

Add creates a request for the 'add' method.

Creates an entry for a network verification for each subnet supplied setting then to initial state.

func (*NetworkVerificationsClient) NetworkVerification ¶ added in v0.1.348

func (c *NetworkVerificationsClient) NetworkVerification(id string) *NetworkVerificationClient

NetworkVerification returns the target 'network_verification' resource for the given identifier.

Reference to the service that manages a specific network verification.

type NodeInfo ¶

type NodeInfo struct {
	// contains filtered or unexported fields
}

NodeInfo represents the values of the 'node_info' type.

Provides information about a node from specific type in the cluster.

func UnmarshalNodeInfo ¶

func UnmarshalNodeInfo(source interface{}) (object *NodeInfo, err error)

UnmarshalNodeInfo reads a value of the 'node_info' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalNodeInfoList ¶

func UnmarshalNodeInfoList(source interface{}) (items []*NodeInfo, err error)

UnmarshalNodeInfoList reads a list of values of the 'node_info' type from the given source, which can be a slice of bytes, a string or a reader.

func (*NodeInfo) Amount ¶

func (o *NodeInfo) Amount() int

Amount returns the value of the 'amount' attribute, or the zero value of the type if the attribute doesn't have a value.

The amount of the nodes from this type.

func (*NodeInfo) Empty ¶

func (o *NodeInfo) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*NodeInfo) GetAmount ¶

func (o *NodeInfo) GetAmount() (value int, ok bool)

GetAmount returns the value of the 'amount' attribute and a flag indicating if the attribute has a value.

The amount of the nodes from this type.

func (*NodeInfo) GetType ¶

func (o *NodeInfo) GetType() (value NodeType, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

The Node type.

func (*NodeInfo) Type ¶

func (o *NodeInfo) Type() NodeType

Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.

The Node type.

type NodeInfoBuilder ¶

type NodeInfoBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoBuilder contains the data and logic needed to build 'node_info' objects.

Provides information about a node from specific type in the cluster.

func NewNodeInfo ¶

func NewNodeInfo() *NodeInfoBuilder

NewNodeInfo creates a new builder of 'node_info' objects.

func (*NodeInfoBuilder) Amount ¶

func (b *NodeInfoBuilder) Amount(value int) *NodeInfoBuilder

Amount sets the value of the 'amount' attribute to the given value.

func (*NodeInfoBuilder) Build ¶

func (b *NodeInfoBuilder) Build() (object *NodeInfo, err error)

Build creates a 'node_info' object using the configuration stored in the builder.

func (*NodeInfoBuilder) Copy ¶

func (b *NodeInfoBuilder) Copy(object *NodeInfo) *NodeInfoBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NodeInfoBuilder) Empty ¶ added in v0.0.329

func (b *NodeInfoBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*NodeInfoBuilder) Type ¶

func (b *NodeInfoBuilder) Type(value NodeType) *NodeInfoBuilder

Type sets the value of the 'type' attribute to the given value.

Type of node received via telemetry.

type NodeInfoList ¶

type NodeInfoList struct {
	// contains filtered or unexported fields
}

NodeInfoList is a list of values of the 'node_info' type.

func (*NodeInfoList) Each ¶

func (l *NodeInfoList) Each(f func(item *NodeInfo) 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 (*NodeInfoList) Empty ¶

func (l *NodeInfoList) Empty() bool

Empty returns true if the list is empty.

func (*NodeInfoList) Get ¶

func (l *NodeInfoList) Get(i int) *NodeInfo

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*NodeInfoList) Len ¶

func (l *NodeInfoList) Len() int

Len returns the length of the list.

func (*NodeInfoList) Range ¶

func (l *NodeInfoList) Range(f func(index int, item *NodeInfo) 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 (*NodeInfoList) Slice ¶

func (l *NodeInfoList) Slice() []*NodeInfo

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 NodeInfoListBuilder ¶

type NodeInfoListBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoListBuilder contains the data and logic needed to build 'node_info' objects.

func NewNodeInfoList ¶

func NewNodeInfoList() *NodeInfoListBuilder

NewNodeInfoList creates a new builder of 'node_info' objects.

func (*NodeInfoListBuilder) Build ¶

func (b *NodeInfoListBuilder) Build() (list *NodeInfoList, err error)

Build creates a list of 'node_info' objects using the configuration stored in the builder.

func (*NodeInfoListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodeInfoListBuilder) Empty ¶ added in v0.0.329

func (b *NodeInfoListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*NodeInfoListBuilder) Items ¶

Items sets the items of the list.

type NodePool ¶ added in v0.0.329

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 UnmarshalNodePool ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) Empty ¶ added in v0.0.329

func (o *NodePool) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*NodePool) GetAWSNodePool ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) GetHREF ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.419

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 ¶ added in v0.0.329

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) GetNodeDrainGracePeriod ¶ added in v0.1.409

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.334

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *NodePool) HREF() string

HREF returns the link to the object.

func (*NodePool) ID ¶ added in v0.0.329

func (o *NodePool) ID() string

ID returns the identifier of the object.

func (*NodePool) Kind ¶ added in v0.0.329

func (o *NodePool) Kind() string

Kind returns the name of the type of the object.

func (*NodePool) KubeletConfigs ¶ added in v0.1.419

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 ¶ added in v0.0.329

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 iif this is a link.

func (*NodePool) NodeDrainGracePeriod ¶ added in v0.1.409

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.334

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 UnmarshalNodePoolAutoscaling ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *NodePoolAutoscaling) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*NodePoolAutoscaling) GetHREF ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *NodePoolAutoscaling) HREF() string

HREF returns the link to the object.

func (*NodePoolAutoscaling) ID ¶ added in v0.0.329

func (o *NodePoolAutoscaling) ID() string

ID returns the identifier of the object.

func (*NodePoolAutoscaling) Kind ¶ added in v0.0.329

func (o *NodePoolAutoscaling) Kind() string

Kind returns the name of the type of the object.

func (o *NodePoolAutoscaling) Link() bool

Link returns true iif this is a link.

func (*NodePoolAutoscaling) MaxReplica ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type NodePoolAutoscalingBuilder struct {
	// contains filtered or unexported fields
}

NodePoolAutoscalingBuilder contains the data and logic needed to build 'node_pool_autoscaling' objects.

Representation of a autoscaling in a node pool.

func NewNodePoolAutoscaling ¶ added in v0.0.329

func NewNodePoolAutoscaling() *NodePoolAutoscalingBuilder

NewNodePoolAutoscaling creates a new builder of 'node_pool_autoscaling' objects.

func (*NodePoolAutoscalingBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NodePoolAutoscalingBuilder) Empty ¶ added in v0.0.329

func (b *NodePoolAutoscalingBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*NodePoolAutoscalingBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*NodePoolAutoscalingBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*NodePoolAutoscalingBuilder) MaxReplica ¶ added in v0.0.329

MaxReplica sets the value of the 'max_replica' attribute to the given value.

func (*NodePoolAutoscalingBuilder) MinReplica ¶ added in v0.0.329

MinReplica sets the value of the 'min_replica' attribute to the given value.

type NodePoolAutoscalingList ¶ added in v0.0.329

type NodePoolAutoscalingList struct {
	// contains filtered or unexported fields
}

NodePoolAutoscalingList is a list of values of the 'node_pool_autoscaling' type.

func (*NodePoolAutoscalingList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *NodePoolAutoscalingList) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolAutoscalingList) Get ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *NodePoolAutoscalingList) HREF() string

HREF returns the link to the list.

func (*NodePoolAutoscalingList) Kind ¶ added in v0.0.329

func (l *NodePoolAutoscalingList) Kind() string

Kind returns the name of the type of the object.

func (*NodePoolAutoscalingList) Len ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type NodePoolAutoscalingListBuilder struct {
	// contains filtered or unexported fields
}

NodePoolAutoscalingListBuilder contains the data and logic needed to build 'node_pool_autoscaling' objects.

func NewNodePoolAutoscalingList ¶ added in v0.0.329

func NewNodePoolAutoscalingList() *NodePoolAutoscalingListBuilder

NewNodePoolAutoscalingList creates a new builder of 'node_pool_autoscaling' objects.

func (*NodePoolAutoscalingListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'node_pool_autoscaling' objects using the configuration stored in the builder.

func (*NodePoolAutoscalingListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodePoolAutoscalingListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*NodePoolAutoscalingListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type NodePoolBuilder ¶ added in v0.0.329

type NodePoolBuilder struct {
	// contains filtered or unexported fields
}

NodePoolBuilder contains the data and logic needed to build 'node_pool' objects.

Representation of a node pool in a cluster.

func NewNodePool ¶ added in v0.0.329

func NewNodePool() *NodePoolBuilder

NewNodePool creates a new builder of 'node_pool' objects.

func (*NodePoolBuilder) AWSNodePool ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *NodePoolBuilder) AutoRepair(value bool) *NodePoolBuilder

AutoRepair sets the value of the 'auto_repair' attribute to the given value.

func (*NodePoolBuilder) Autoscaling ¶ added in v0.0.329

Autoscaling sets the value of the 'autoscaling' attribute to the given value.

Representation of a autoscaling in a node pool.

func (*NodePoolBuilder) AvailabilityZone ¶ added in v0.0.329

func (b *NodePoolBuilder) AvailabilityZone(value string) *NodePoolBuilder

AvailabilityZone sets the value of the 'availability_zone' attribute to the given value.

func (*NodePoolBuilder) Build ¶ added in v0.0.329

func (b *NodePoolBuilder) Build() (object *NodePool, err error)

Build creates a 'node_pool' object using the configuration stored in the builder.

func (*NodePoolBuilder) Copy ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *NodePoolBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*NodePoolBuilder) HREF ¶ added in v0.0.329

func (b *NodePoolBuilder) HREF(value string) *NodePoolBuilder

HREF sets the link to the object.

func (*NodePoolBuilder) ID ¶ added in v0.0.329

func (b *NodePoolBuilder) ID(value string) *NodePoolBuilder

ID sets the identifier of the object.

func (*NodePoolBuilder) KubeletConfigs ¶ added in v0.1.419

func (b *NodePoolBuilder) KubeletConfigs(values ...string) *NodePoolBuilder

KubeletConfigs sets the value of the 'kubelet_configs' attribute to the given values.

func (*NodePoolBuilder) Labels ¶ added in v0.0.329

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) NodeDrainGracePeriod ¶ added in v0.1.409

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 ¶ added in v0.0.329

func (b *NodePoolBuilder) Replicas(value int) *NodePoolBuilder

Replicas sets the value of the 'replicas' attribute to the given value.

func (*NodePoolBuilder) Status ¶ added in v0.0.329

Status sets the value of the 'status' attribute to the given value.

Representation of the status of a node pool.

func (*NodePoolBuilder) Subnet ¶ added in v0.0.329

func (b *NodePoolBuilder) Subnet(value string) *NodePoolBuilder

Subnet sets the value of the 'subnet' attribute to the given value.

func (*NodePoolBuilder) Taints ¶ added in v0.0.329

func (b *NodePoolBuilder) Taints(values ...*TaintBuilder) *NodePoolBuilder

Taints sets the value of the 'taints' attribute to the given values.

func (*NodePoolBuilder) TuningConfigs ¶ added in v0.1.334

func (b *NodePoolBuilder) TuningConfigs(values ...string) *NodePoolBuilder

TuningConfigs sets the value of the 'tuning_configs' attribute to the given values.

func (*NodePoolBuilder) Version ¶ added in v0.0.329

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 NodePoolClient ¶ added in v0.0.329

type NodePoolClient struct {
	// contains filtered or unexported fields
}

NodePoolClient is the client of the 'node_pool' resource.

Manages a specific nodepool.

func NewNodePoolClient ¶ added in v0.0.329

func NewNodePoolClient(transport http.RoundTripper, path string) *NodePoolClient

NewNodePoolClient creates a new client for the 'node_pool' resource using the given transport to send the requests and receive the responses.

func (*NodePoolClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the node pool.

func (*NodePoolClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the node pool.

func (*NodePoolClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*NodePoolClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Updates the node pool.

func (*NodePoolClient) UpgradePolicies ¶ added in v0.1.341

func (c *NodePoolClient) UpgradePolicies() *NodePoolUpgradePoliciesClient

UpgradePolicies returns the target 'node_pool_upgrade_policies' resource.

Reference to the state of the upgrade policy.

type NodePoolDeleteRequest ¶ added in v0.0.329

type NodePoolDeleteRequest struct {
	// contains filtered or unexported fields
}

NodePoolDeleteRequest is the request for the 'delete' method.

func (*NodePoolDeleteRequest) Header ¶ added in v0.0.329

func (r *NodePoolDeleteRequest) Header(name string, value interface{}) *NodePoolDeleteRequest

Header adds a request header.

func (*NodePoolDeleteRequest) Impersonate ¶ added in v0.0.329

func (r *NodePoolDeleteRequest) Impersonate(user string) *NodePoolDeleteRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodePoolDeleteRequest) Parameter ¶ added in v0.0.329

func (r *NodePoolDeleteRequest) Parameter(name string, value interface{}) *NodePoolDeleteRequest

Parameter adds a query parameter.

func (*NodePoolDeleteRequest) Send ¶ added in v0.0.329

func (r *NodePoolDeleteRequest) Send() (result *NodePoolDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodePoolDeleteRequest) SendContext ¶ added in v0.0.329

func (r *NodePoolDeleteRequest) SendContext(ctx context.Context) (result *NodePoolDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type NodePoolDeleteResponse ¶ added in v0.0.329

type NodePoolDeleteResponse struct {
	// contains filtered or unexported fields
}

NodePoolDeleteResponse is the response for the 'delete' method.

func (*NodePoolDeleteResponse) Error ¶ added in v0.0.329

func (r *NodePoolDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*NodePoolDeleteResponse) Header ¶ added in v0.0.329

func (r *NodePoolDeleteResponse) Header() http.Header

Header returns header of the response.

func (*NodePoolDeleteResponse) Status ¶ added in v0.0.329

func (r *NodePoolDeleteResponse) Status() int

Status returns the response status code.

type NodePoolGetRequest ¶ added in v0.0.329

type NodePoolGetRequest struct {
	// contains filtered or unexported fields
}

NodePoolGetRequest is the request for the 'get' method.

func (*NodePoolGetRequest) Header ¶ added in v0.0.329

func (r *NodePoolGetRequest) Header(name string, value interface{}) *NodePoolGetRequest

Header adds a request header.

func (*NodePoolGetRequest) Impersonate ¶ added in v0.0.329

func (r *NodePoolGetRequest) Impersonate(user string) *NodePoolGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodePoolGetRequest) Parameter ¶ added in v0.0.329

func (r *NodePoolGetRequest) Parameter(name string, value interface{}) *NodePoolGetRequest

Parameter adds a query parameter.

func (*NodePoolGetRequest) Send ¶ added in v0.0.329

func (r *NodePoolGetRequest) Send() (result *NodePoolGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodePoolGetRequest) SendContext ¶ added in v0.0.329

func (r *NodePoolGetRequest) SendContext(ctx context.Context) (result *NodePoolGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type NodePoolGetResponse ¶ added in v0.0.329

type NodePoolGetResponse struct {
	// contains filtered or unexported fields
}

NodePoolGetResponse is the response for the 'get' method.

func (*NodePoolGetResponse) Body ¶ added in v0.0.329

func (r *NodePoolGetResponse) Body() *NodePool

Body returns the value of the 'body' parameter.

func (*NodePoolGetResponse) Error ¶ added in v0.0.329

func (r *NodePoolGetResponse) Error() *errors.Error

Error returns the response error.

func (*NodePoolGetResponse) GetBody ¶ added in v0.0.329

func (r *NodePoolGetResponse) GetBody() (value *NodePool, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NodePoolGetResponse) Header ¶ added in v0.0.329

func (r *NodePoolGetResponse) Header() http.Header

Header returns header of the response.

func (*NodePoolGetResponse) Status ¶ added in v0.0.329

func (r *NodePoolGetResponse) Status() int

Status returns the response status code.

type NodePoolList ¶ added in v0.0.329

type NodePoolList struct {
	// contains filtered or unexported fields
}

NodePoolList is a list of values of the 'node_pool' type.

func (*NodePoolList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *NodePoolList) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolList) Get ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *NodePoolList) HREF() string

HREF returns the link to the list.

func (*NodePoolList) Kind ¶ added in v0.0.329

func (l *NodePoolList) Kind() string

Kind returns the name of the type of the object.

func (*NodePoolList) Len ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type NodePoolListBuilder struct {
	// contains filtered or unexported fields
}

NodePoolListBuilder contains the data and logic needed to build 'node_pool' objects.

func NewNodePoolList ¶ added in v0.0.329

func NewNodePoolList() *NodePoolListBuilder

NewNodePoolList creates a new builder of 'node_pool' objects.

func (*NodePoolListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodePoolListBuilder) Empty ¶ added in v0.0.329

func (b *NodePoolListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type NodePoolPollRequest ¶ added in v0.0.329

type NodePoolPollRequest struct {
	// contains filtered or unexported fields
}

NodePoolPollRequest is the request for the Poll method.

func (*NodePoolPollRequest) Header ¶ added in v0.0.329

func (r *NodePoolPollRequest) Header(name string, value interface{}) *NodePoolPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*NodePoolPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*NodePoolPollRequest) Parameter ¶ added in v0.0.329

func (r *NodePoolPollRequest) Parameter(name string, value interface{}) *NodePoolPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*NodePoolPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*NodePoolPollRequest) StartContext ¶ added in v0.0.329

func (r *NodePoolPollRequest) StartContext(ctx context.Context) (response *NodePoolPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*NodePoolPollRequest) Status ¶ added in v0.0.329

func (r *NodePoolPollRequest) Status(value int) *NodePoolPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type NodePoolPollResponse ¶ added in v0.0.329

type NodePoolPollResponse struct {
	// contains filtered or unexported fields
}

NodePoolPollResponse is the response for the Poll method.

func (*NodePoolPollResponse) Body ¶ added in v0.0.329

func (r *NodePoolPollResponse) Body() *NodePool

Body returns the value of the 'body' parameter.

func (*NodePoolPollResponse) Error ¶ added in v0.0.329

func (r *NodePoolPollResponse) Error() *errors.Error

Error returns the response error.

func (*NodePoolPollResponse) GetBody ¶ added in v0.0.329

func (r *NodePoolPollResponse) GetBody() (value *NodePool, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NodePoolPollResponse) Header ¶ added in v0.0.329

func (r *NodePoolPollResponse) Header() http.Header

Header returns header of the response.

func (*NodePoolPollResponse) Status ¶ added in v0.0.329

func (r *NodePoolPollResponse) Status() int

Status returns the response status code.

type NodePoolStatus ¶ added in v0.0.329

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 UnmarshalNodePoolStatus ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *NodePoolStatus) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*NodePoolStatus) GetCurrentReplicas ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) HREF ¶ added in v0.0.329

func (o *NodePoolStatus) HREF() string

HREF returns the link to the object.

func (*NodePoolStatus) ID ¶ added in v0.0.329

func (o *NodePoolStatus) ID() string

ID returns the identifier of the object.

func (*NodePoolStatus) Kind ¶ added in v0.0.329

func (o *NodePoolStatus) Kind() string

Kind returns the name of the type of the object.

func (o *NodePoolStatus) Link() bool

Link returns true iif this is a link.

func (*NodePoolStatus) Message ¶ added in v0.0.329

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.

type NodePoolStatusBuilder ¶ added in v0.0.329

type NodePoolStatusBuilder struct {
	// contains filtered or unexported fields
}

NodePoolStatusBuilder contains the data and logic needed to build 'node_pool_status' objects.

Representation of the status of a node pool.

func NewNodePoolStatus ¶ added in v0.0.329

func NewNodePoolStatus() *NodePoolStatusBuilder

NewNodePoolStatus creates a new builder of 'node_pool_status' objects.

func (*NodePoolStatusBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NodePoolStatusBuilder) CurrentReplicas ¶ added in v0.0.329

func (b *NodePoolStatusBuilder) CurrentReplicas(value int) *NodePoolStatusBuilder

CurrentReplicas sets the value of the 'current_replicas' attribute to the given value.

func (*NodePoolStatusBuilder) Empty ¶ added in v0.0.329

func (b *NodePoolStatusBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*NodePoolStatusBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*NodePoolStatusBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*NodePoolStatusBuilder) Message ¶ added in v0.0.329

Message sets the value of the 'message' attribute to the given value.

type NodePoolStatusList ¶ added in v0.0.329

type NodePoolStatusList struct {
	// contains filtered or unexported fields
}

NodePoolStatusList is a list of values of the 'node_pool_status' type.

func (*NodePoolStatusList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *NodePoolStatusList) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolStatusList) Get ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *NodePoolStatusList) HREF() string

HREF returns the link to the list.

func (*NodePoolStatusList) Kind ¶ added in v0.0.329

func (l *NodePoolStatusList) Kind() string

Kind returns the name of the type of the object.

func (*NodePoolStatusList) Len ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type NodePoolStatusListBuilder struct {
	// contains filtered or unexported fields
}

NodePoolStatusListBuilder contains the data and logic needed to build 'node_pool_status' objects.

func NewNodePoolStatusList ¶ added in v0.0.329

func NewNodePoolStatusList() *NodePoolStatusListBuilder

NewNodePoolStatusList creates a new builder of 'node_pool_status' objects.

func (*NodePoolStatusListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodePoolStatusListBuilder) Empty ¶ added in v0.0.329

func (b *NodePoolStatusListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolStatusListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type NodePoolUpdateRequest ¶ added in v0.0.329

type NodePoolUpdateRequest struct {
	// contains filtered or unexported fields
}

NodePoolUpdateRequest is the request for the 'update' method.

func (*NodePoolUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*NodePoolUpdateRequest) Header ¶ added in v0.0.329

func (r *NodePoolUpdateRequest) Header(name string, value interface{}) *NodePoolUpdateRequest

Header adds a request header.

func (*NodePoolUpdateRequest) Impersonate ¶ added in v0.0.329

func (r *NodePoolUpdateRequest) Impersonate(user string) *NodePoolUpdateRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodePoolUpdateRequest) Parameter ¶ added in v0.0.329

func (r *NodePoolUpdateRequest) Parameter(name string, value interface{}) *NodePoolUpdateRequest

Parameter adds a query parameter.

func (*NodePoolUpdateRequest) Send ¶ added in v0.0.329

func (r *NodePoolUpdateRequest) Send() (result *NodePoolUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodePoolUpdateRequest) SendContext ¶ added in v0.0.329

func (r *NodePoolUpdateRequest) SendContext(ctx context.Context) (result *NodePoolUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type NodePoolUpdateResponse ¶ added in v0.0.329

type NodePoolUpdateResponse struct {
	// contains filtered or unexported fields
}

NodePoolUpdateResponse is the response for the 'update' method.

func (*NodePoolUpdateResponse) Body ¶ added in v0.0.329

func (r *NodePoolUpdateResponse) Body() *NodePool

Body returns the value of the 'body' parameter.

func (*NodePoolUpdateResponse) Error ¶ added in v0.0.329

func (r *NodePoolUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*NodePoolUpdateResponse) GetBody ¶ added in v0.0.329

func (r *NodePoolUpdateResponse) GetBody() (value *NodePool, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NodePoolUpdateResponse) Header ¶ added in v0.0.329

func (r *NodePoolUpdateResponse) Header() http.Header

Header returns header of the response.

func (*NodePoolUpdateResponse) Status ¶ added in v0.0.329

func (r *NodePoolUpdateResponse) Status() int

Status returns the response status code.

type NodePoolUpgradePoliciesAddRequest ¶ added in v0.1.341

type NodePoolUpgradePoliciesAddRequest struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePoliciesAddRequest is the request for the 'add' method.

func (*NodePoolUpgradePoliciesAddRequest) Body ¶ added in v0.1.341

Body sets the value of the 'body' parameter.

Description of the upgrade policy.

func (*NodePoolUpgradePoliciesAddRequest) Header ¶ added in v0.1.341

Header adds a request header.

func (*NodePoolUpgradePoliciesAddRequest) Impersonate ¶ added in v0.1.341

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodePoolUpgradePoliciesAddRequest) Parameter ¶ added in v0.1.341

func (r *NodePoolUpgradePoliciesAddRequest) Parameter(name string, value interface{}) *NodePoolUpgradePoliciesAddRequest

Parameter adds a query parameter.

func (*NodePoolUpgradePoliciesAddRequest) Send ¶ added in v0.1.341

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodePoolUpgradePoliciesAddRequest) SendContext ¶ added in v0.1.341

SendContext sends this request, waits for the response, and returns it.

type NodePoolUpgradePoliciesAddResponse ¶ added in v0.1.341

type NodePoolUpgradePoliciesAddResponse struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePoliciesAddResponse is the response for the 'add' method.

func (*NodePoolUpgradePoliciesAddResponse) Body ¶ added in v0.1.341

Body returns the value of the 'body' parameter.

Description of the upgrade policy.

func (*NodePoolUpgradePoliciesAddResponse) Error ¶ added in v0.1.341

Error returns the response error.

func (*NodePoolUpgradePoliciesAddResponse) GetBody ¶ added in v0.1.341

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the upgrade policy.

func (*NodePoolUpgradePoliciesAddResponse) Header ¶ added in v0.1.341

Header returns header of the response.

func (*NodePoolUpgradePoliciesAddResponse) Status ¶ added in v0.1.341

Status returns the response status code.

type NodePoolUpgradePoliciesClient ¶ added in v0.1.341

type NodePoolUpgradePoliciesClient struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePoliciesClient is the client of the 'node_pool_upgrade_policies' resource.

Manages the collection of upgrade policies for the node pool of a cluster.

func NewNodePoolUpgradePoliciesClient ¶ added in v0.1.341

func NewNodePoolUpgradePoliciesClient(transport http.RoundTripper, path string) *NodePoolUpgradePoliciesClient

NewNodePoolUpgradePoliciesClient creates a new client for the 'node_pool_upgrade_policies' resource using the given transport to send the requests and receive the responses.

func (*NodePoolUpgradePoliciesClient) Add ¶ added in v0.1.341

Add creates a request for the 'add' method.

Adds a new upgrade policy to the node pool of the cluster.

func (*NodePoolUpgradePoliciesClient) List ¶ added in v0.1.341

List creates a request for the 'list' method.

Retrieves the list of upgrade policies for the node pool.

func (*NodePoolUpgradePoliciesClient) NodePoolUpgradePolicy ¶ added in v0.1.341

NodePoolUpgradePolicy returns the target 'node_pool_upgrade_policy' resource for the given identifier.

Reference to the service that manages an specific upgrade policy for the node pool.

type NodePoolUpgradePoliciesListRequest ¶ added in v0.1.341

type NodePoolUpgradePoliciesListRequest struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePoliciesListRequest is the request for the 'list' method.

func (*NodePoolUpgradePoliciesListRequest) Header ¶ added in v0.1.341

Header adds a request header.

func (*NodePoolUpgradePoliciesListRequest) Impersonate ¶ added in v0.1.341

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodePoolUpgradePoliciesListRequest) Page ¶ added in v0.1.341

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*NodePoolUpgradePoliciesListRequest) Parameter ¶ added in v0.1.341

func (r *NodePoolUpgradePoliciesListRequest) Parameter(name string, value interface{}) *NodePoolUpgradePoliciesListRequest

Parameter adds a query parameter.

func (*NodePoolUpgradePoliciesListRequest) Send ¶ added in v0.1.341

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodePoolUpgradePoliciesListRequest) SendContext ¶ added in v0.1.341

SendContext sends this request, waits for the response, and returns it.

func (*NodePoolUpgradePoliciesListRequest) Size ¶ added in v0.1.341

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type NodePoolUpgradePoliciesListResponse ¶ added in v0.1.341

type NodePoolUpgradePoliciesListResponse struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePoliciesListResponse is the response for the 'list' method.

func (*NodePoolUpgradePoliciesListResponse) Error ¶ added in v0.1.341

Error returns the response error.

func (*NodePoolUpgradePoliciesListResponse) GetItems ¶ added in v0.1.341

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of upgrade policy.

func (*NodePoolUpgradePoliciesListResponse) GetPage ¶ added in v0.1.341

func (r *NodePoolUpgradePoliciesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*NodePoolUpgradePoliciesListResponse) GetSize ¶ added in v0.1.341

func (r *NodePoolUpgradePoliciesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*NodePoolUpgradePoliciesListResponse) GetTotal ¶ added in v0.1.341

func (r *NodePoolUpgradePoliciesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*NodePoolUpgradePoliciesListResponse) Header ¶ added in v0.1.341

Header returns header of the response.

func (*NodePoolUpgradePoliciesListResponse) Items ¶ added in v0.1.341

Items returns the value of the 'items' parameter.

Retrieved list of upgrade policy.

func (*NodePoolUpgradePoliciesListResponse) Page ¶ added in v0.1.341

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*NodePoolUpgradePoliciesListResponse) Size ¶ added in v0.1.341

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*NodePoolUpgradePoliciesListResponse) Status ¶ added in v0.1.341

Status returns the response status code.

func (*NodePoolUpgradePoliciesListResponse) Total ¶ added in v0.1.341

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type NodePoolUpgradePolicy ¶ added in v0.1.341

type NodePoolUpgradePolicy struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicy represents the values of the 'node_pool_upgrade_policy' type.

Representation of an upgrade policy that can be set for a node pool.

func UnmarshalNodePoolUpgradePolicy ¶ added in v0.1.341

func UnmarshalNodePoolUpgradePolicy(source interface{}) (object *NodePoolUpgradePolicy, err error)

UnmarshalNodePoolUpgradePolicy reads a value of the 'node_pool_upgrade_policy' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalNodePoolUpgradePolicyList ¶ added in v0.1.341

func UnmarshalNodePoolUpgradePolicyList(source interface{}) (items []*NodePoolUpgradePolicy, err error)

UnmarshalNodePoolUpgradePolicyList reads a list of values of the 'node_pool_upgrade_policy' type from the given source, which can be a slice of bytes, a string or a reader.

func (*NodePoolUpgradePolicy) ClusterID ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Cluster ID this upgrade policy for node pool is defined for.

func (*NodePoolUpgradePolicy) CreationTimestamp ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) 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.

Timestamp for creation of resource.

func (*NodePoolUpgradePolicy) Empty ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*NodePoolUpgradePolicy) EnableMinorVersionUpgrades ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) EnableMinorVersionUpgrades() bool

EnableMinorVersionUpgrades returns the value of the 'enable_minor_version_upgrades' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates if minor version upgrades are allowed for automatic upgrades (for manual it's always allowed).

func (*NodePoolUpgradePolicy) GetClusterID ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Cluster ID this upgrade policy for node pool is defined for.

func (*NodePoolUpgradePolicy) GetCreationTimestamp ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) 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.

Timestamp for creation of resource.

func (*NodePoolUpgradePolicy) GetEnableMinorVersionUpgrades ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetEnableMinorVersionUpgrades() (value bool, ok bool)

GetEnableMinorVersionUpgrades returns the value of the 'enable_minor_version_upgrades' attribute and a flag indicating if the attribute has a value.

Indicates if minor version upgrades are allowed for automatic upgrades (for manual it's always allowed).

func (*NodePoolUpgradePolicy) GetHREF ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*NodePoolUpgradePolicy) GetID ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*NodePoolUpgradePolicy) GetLastUpdateTimestamp ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) 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.

Timestamp for last update that happened to resource.

func (*NodePoolUpgradePolicy) GetNextRun ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetNextRun() (value time.Time, ok bool)

GetNextRun returns the value of the 'next_run' attribute and a flag indicating if the attribute has a value.

Next time the upgrade should run.

func (*NodePoolUpgradePolicy) GetNodePoolID ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetNodePoolID() (value string, ok bool)

GetNodePoolID returns the value of the 'node_pool_ID' attribute and a flag indicating if the attribute has a value.

Node Pool ID this upgrade policy is defined for.

func (*NodePoolUpgradePolicy) GetSchedule ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetSchedule() (value string, ok bool)

GetSchedule returns the value of the 'schedule' attribute and a flag indicating if the attribute has a value.

Schedule cron expression that defines automatic upgrade scheduling.

func (*NodePoolUpgradePolicy) GetScheduleType ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetScheduleType() (value ScheduleType, ok bool)

GetScheduleType returns the value of the 'schedule_type' attribute and a flag indicating if the attribute has a value.

Schedule type of the upgrade.

func (*NodePoolUpgradePolicy) GetState ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetState() (value *UpgradePolicyState, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

State of the upgrade policy for the node pool.

func (*NodePoolUpgradePolicy) GetUpgradeType ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetUpgradeType() (value UpgradeType, ok bool)

GetUpgradeType returns the value of the 'upgrade_type' attribute and a flag indicating if the attribute has a value.

Upgrade type of the node pool.

func (*NodePoolUpgradePolicy) GetVersion ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) GetVersion() (value string, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

Version is the desired upgrade version.

func (*NodePoolUpgradePolicy) HREF ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) HREF() string

HREF returns the link to the object.

func (*NodePoolUpgradePolicy) ID ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) ID() string

ID returns the identifier of the object.

func (*NodePoolUpgradePolicy) Kind ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) Kind() string

Kind returns the name of the type of the object.

func (*NodePoolUpgradePolicy) LastUpdateTimestamp ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) 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.

Timestamp for last update that happened to resource.

func (o *NodePoolUpgradePolicy) Link() bool

Link returns true iif this is a link.

func (*NodePoolUpgradePolicy) NextRun ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) NextRun() time.Time

NextRun returns the value of the 'next_run' attribute, or the zero value of the type if the attribute doesn't have a value.

Next time the upgrade should run.

func (*NodePoolUpgradePolicy) NodePoolID ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) NodePoolID() string

NodePoolID returns the value of the 'node_pool_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Node Pool ID this upgrade policy is defined for.

func (*NodePoolUpgradePolicy) Schedule ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) Schedule() string

Schedule returns the value of the 'schedule' attribute, or the zero value of the type if the attribute doesn't have a value.

Schedule cron expression that defines automatic upgrade scheduling.

func (*NodePoolUpgradePolicy) ScheduleType ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) ScheduleType() ScheduleType

ScheduleType returns the value of the 'schedule_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Schedule type of the upgrade.

func (*NodePoolUpgradePolicy) State ¶ added in v0.1.341

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 upgrade policy for the node pool.

func (*NodePoolUpgradePolicy) UpgradeType ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) UpgradeType() UpgradeType

UpgradeType returns the value of the 'upgrade_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Upgrade type of the node pool.

func (*NodePoolUpgradePolicy) Version ¶ added in v0.1.341

func (o *NodePoolUpgradePolicy) Version() string

Version returns the value of the 'version' attribute, or the zero value of the type if the attribute doesn't have a value.

Version is the desired upgrade version.

type NodePoolUpgradePolicyBuilder ¶ added in v0.1.341

type NodePoolUpgradePolicyBuilder struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyBuilder contains the data and logic needed to build 'node_pool_upgrade_policy' objects.

Representation of an upgrade policy that can be set for a node pool.

func NewNodePoolUpgradePolicy ¶ added in v0.1.341

func NewNodePoolUpgradePolicy() *NodePoolUpgradePolicyBuilder

NewNodePoolUpgradePolicy creates a new builder of 'node_pool_upgrade_policy' objects.

func (*NodePoolUpgradePolicyBuilder) Build ¶ added in v0.1.341

func (b *NodePoolUpgradePolicyBuilder) Build() (object *NodePoolUpgradePolicy, err error)

Build creates a 'node_pool_upgrade_policy' object using the configuration stored in the builder.

func (*NodePoolUpgradePolicyBuilder) ClusterID ¶ added in v0.1.341

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*NodePoolUpgradePolicyBuilder) Copy ¶ added in v0.1.341

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NodePoolUpgradePolicyBuilder) CreationTimestamp ¶ added in v0.1.341

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*NodePoolUpgradePolicyBuilder) Empty ¶ added in v0.1.341

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*NodePoolUpgradePolicyBuilder) EnableMinorVersionUpgrades ¶ added in v0.1.341

func (b *NodePoolUpgradePolicyBuilder) EnableMinorVersionUpgrades(value bool) *NodePoolUpgradePolicyBuilder

EnableMinorVersionUpgrades sets the value of the 'enable_minor_version_upgrades' attribute to the given value.

func (*NodePoolUpgradePolicyBuilder) HREF ¶ added in v0.1.341

HREF sets the link to the object.

func (*NodePoolUpgradePolicyBuilder) ID ¶ added in v0.1.341

ID sets the identifier of the object.

func (*NodePoolUpgradePolicyBuilder) LastUpdateTimestamp ¶ added in v0.1.341

func (b *NodePoolUpgradePolicyBuilder) LastUpdateTimestamp(value time.Time) *NodePoolUpgradePolicyBuilder

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 (*NodePoolUpgradePolicyBuilder) NextRun ¶ added in v0.1.341

NextRun sets the value of the 'next_run' attribute to the given value.

func (*NodePoolUpgradePolicyBuilder) NodePoolID ¶ added in v0.1.341

NodePoolID sets the value of the 'node_pool_ID' attribute to the given value.

func (*NodePoolUpgradePolicyBuilder) Schedule ¶ added in v0.1.341

Schedule sets the value of the 'schedule' attribute to the given value.

func (*NodePoolUpgradePolicyBuilder) ScheduleType ¶ added in v0.1.341

ScheduleType sets the value of the 'schedule_type' attribute to the given value.

ScheduleType defines which type of scheduling should be used for the upgrade policy.

func (*NodePoolUpgradePolicyBuilder) State ¶ added in v0.1.341

State sets the value of the 'state' attribute to the given value.

Representation of an upgrade policy state that that is set for a cluster.

func (*NodePoolUpgradePolicyBuilder) UpgradeType ¶ added in v0.1.341

UpgradeType sets the value of the 'upgrade_type' attribute to the given value.

UpgradeType defines which type of upgrade should be used.

func (*NodePoolUpgradePolicyBuilder) Version ¶ added in v0.1.341

Version sets the value of the 'version' attribute to the given value.

type NodePoolUpgradePolicyClient ¶ added in v0.1.341

type NodePoolUpgradePolicyClient struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyClient is the client of the 'node_pool_upgrade_policy' resource.

Manages a specific upgrade policy for the node pool.

func NewNodePoolUpgradePolicyClient ¶ added in v0.1.341

func NewNodePoolUpgradePolicyClient(transport http.RoundTripper, path string) *NodePoolUpgradePolicyClient

NewNodePoolUpgradePolicyClient creates a new client for the 'node_pool_upgrade_policy' resource using the given transport to send the requests and receive the responses.

func (*NodePoolUpgradePolicyClient) Delete ¶ added in v0.1.341

Delete creates a request for the 'delete' method.

Deletes the upgrade policy for the node pool.

func (*NodePoolUpgradePolicyClient) Get ¶ added in v0.1.341

Get creates a request for the 'get' method.

Retrieves the details of the upgrade policy for the node pool.

func (*NodePoolUpgradePolicyClient) Poll ¶ added in v0.1.341

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*NodePoolUpgradePolicyClient) Update ¶ added in v0.1.341

Update creates a request for the 'update' method.

Update the upgrade policy for the node pool.

type NodePoolUpgradePolicyDeleteRequest ¶ added in v0.1.341

type NodePoolUpgradePolicyDeleteRequest struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyDeleteRequest is the request for the 'delete' method.

func (*NodePoolUpgradePolicyDeleteRequest) Header ¶ added in v0.1.341

Header adds a request header.

func (*NodePoolUpgradePolicyDeleteRequest) Impersonate ¶ added in v0.1.341

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodePoolUpgradePolicyDeleteRequest) Parameter ¶ added in v0.1.341

func (r *NodePoolUpgradePolicyDeleteRequest) Parameter(name string, value interface{}) *NodePoolUpgradePolicyDeleteRequest

Parameter adds a query parameter.

func (*NodePoolUpgradePolicyDeleteRequest) Send ¶ added in v0.1.341

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodePoolUpgradePolicyDeleteRequest) SendContext ¶ added in v0.1.341

SendContext sends this request, waits for the response, and returns it.

type NodePoolUpgradePolicyDeleteResponse ¶ added in v0.1.341

type NodePoolUpgradePolicyDeleteResponse struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyDeleteResponse is the response for the 'delete' method.

func (*NodePoolUpgradePolicyDeleteResponse) Error ¶ added in v0.1.341

Error returns the response error.

func (*NodePoolUpgradePolicyDeleteResponse) Header ¶ added in v0.1.341

Header returns header of the response.

func (*NodePoolUpgradePolicyDeleteResponse) Status ¶ added in v0.1.341

Status returns the response status code.

type NodePoolUpgradePolicyGetRequest ¶ added in v0.1.341

type NodePoolUpgradePolicyGetRequest struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyGetRequest is the request for the 'get' method.

func (*NodePoolUpgradePolicyGetRequest) Header ¶ added in v0.1.341

func (r *NodePoolUpgradePolicyGetRequest) Header(name string, value interface{}) *NodePoolUpgradePolicyGetRequest

Header adds a request header.

func (*NodePoolUpgradePolicyGetRequest) Impersonate ¶ added in v0.1.341

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodePoolUpgradePolicyGetRequest) Parameter ¶ added in v0.1.341

func (r *NodePoolUpgradePolicyGetRequest) Parameter(name string, value interface{}) *NodePoolUpgradePolicyGetRequest

Parameter adds a query parameter.

func (*NodePoolUpgradePolicyGetRequest) Send ¶ added in v0.1.341

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodePoolUpgradePolicyGetRequest) SendContext ¶ added in v0.1.341

SendContext sends this request, waits for the response, and returns it.

type NodePoolUpgradePolicyGetResponse ¶ added in v0.1.341

type NodePoolUpgradePolicyGetResponse struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyGetResponse is the response for the 'get' method.

func (*NodePoolUpgradePolicyGetResponse) Body ¶ added in v0.1.341

Body returns the value of the 'body' parameter.

func (*NodePoolUpgradePolicyGetResponse) Error ¶ added in v0.1.341

Error returns the response error.

func (*NodePoolUpgradePolicyGetResponse) GetBody ¶ added in v0.1.341

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NodePoolUpgradePolicyGetResponse) Header ¶ added in v0.1.341

Header returns header of the response.

func (*NodePoolUpgradePolicyGetResponse) Status ¶ added in v0.1.341

Status returns the response status code.

type NodePoolUpgradePolicyList ¶ added in v0.1.341

type NodePoolUpgradePolicyList struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyList is a list of values of the 'node_pool_upgrade_policy' type.

func (*NodePoolUpgradePolicyList) Each ¶ added in v0.1.341

func (l *NodePoolUpgradePolicyList) Each(f func(item *NodePoolUpgradePolicy) 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 (*NodePoolUpgradePolicyList) Empty ¶ added in v0.1.341

func (l *NodePoolUpgradePolicyList) Empty() bool

Empty returns true if the list is empty.

func (*NodePoolUpgradePolicyList) Get ¶ added in v0.1.341

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*NodePoolUpgradePolicyList) GetHREF ¶ added in v0.1.341

func (l *NodePoolUpgradePolicyList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*NodePoolUpgradePolicyList) HREF ¶ added in v0.1.341

HREF returns the link to the list.

func (*NodePoolUpgradePolicyList) Kind ¶ added in v0.1.341

Kind returns the name of the type of the object.

func (*NodePoolUpgradePolicyList) Len ¶ added in v0.1.341

func (l *NodePoolUpgradePolicyList) Len() int

Len returns the length of the list.

func (l *NodePoolUpgradePolicyList) Link() bool

Link returns true iif this is a link.

func (*NodePoolUpgradePolicyList) Range ¶ added in v0.1.341

func (l *NodePoolUpgradePolicyList) Range(f func(index int, item *NodePoolUpgradePolicy) 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 (*NodePoolUpgradePolicyList) Slice ¶ added in v0.1.341

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 NodePoolUpgradePolicyListBuilder ¶ added in v0.1.341

type NodePoolUpgradePolicyListBuilder struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyListBuilder contains the data and logic needed to build 'node_pool_upgrade_policy' objects.

func NewNodePoolUpgradePolicyList ¶ added in v0.1.341

func NewNodePoolUpgradePolicyList() *NodePoolUpgradePolicyListBuilder

NewNodePoolUpgradePolicyList creates a new builder of 'node_pool_upgrade_policy' objects.

func (*NodePoolUpgradePolicyListBuilder) Build ¶ added in v0.1.341

Build creates a list of 'node_pool_upgrade_policy' objects using the configuration stored in the builder.

func (*NodePoolUpgradePolicyListBuilder) Copy ¶ added in v0.1.341

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodePoolUpgradePolicyListBuilder) Empty ¶ added in v0.1.341

Empty returns true if the list is empty.

func (*NodePoolUpgradePolicyListBuilder) Items ¶ added in v0.1.341

Items sets the items of the list.

type NodePoolUpgradePolicyPollRequest ¶ added in v0.1.341

type NodePoolUpgradePolicyPollRequest struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyPollRequest is the request for the Poll method.

func (*NodePoolUpgradePolicyPollRequest) Header ¶ added in v0.1.341

func (r *NodePoolUpgradePolicyPollRequest) Header(name string, value interface{}) *NodePoolUpgradePolicyPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*NodePoolUpgradePolicyPollRequest) Interval ¶ added in v0.1.341

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*NodePoolUpgradePolicyPollRequest) Parameter ¶ added in v0.1.341

func (r *NodePoolUpgradePolicyPollRequest) Parameter(name string, value interface{}) *NodePoolUpgradePolicyPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*NodePoolUpgradePolicyPollRequest) Predicate ¶ added in v0.1.341

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*NodePoolUpgradePolicyPollRequest) StartContext ¶ added in v0.1.341

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*NodePoolUpgradePolicyPollRequest) Status ¶ added in v0.1.341

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type NodePoolUpgradePolicyPollResponse ¶ added in v0.1.341

type NodePoolUpgradePolicyPollResponse struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyPollResponse is the response for the Poll method.

func (*NodePoolUpgradePolicyPollResponse) Body ¶ added in v0.1.341

Body returns the value of the 'body' parameter.

func (*NodePoolUpgradePolicyPollResponse) Error ¶ added in v0.1.341

Error returns the response error.

func (*NodePoolUpgradePolicyPollResponse) GetBody ¶ added in v0.1.341

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NodePoolUpgradePolicyPollResponse) Header ¶ added in v0.1.341

Header returns header of the response.

func (*NodePoolUpgradePolicyPollResponse) Status ¶ added in v0.1.341

Status returns the response status code.

type NodePoolUpgradePolicyUpdateRequest ¶ added in v0.1.341

type NodePoolUpgradePolicyUpdateRequest struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyUpdateRequest is the request for the 'update' method.

func (*NodePoolUpgradePolicyUpdateRequest) Body ¶ added in v0.1.341

Body sets the value of the 'body' parameter.

func (*NodePoolUpgradePolicyUpdateRequest) Header ¶ added in v0.1.341

Header adds a request header.

func (*NodePoolUpgradePolicyUpdateRequest) Impersonate ¶ added in v0.1.341

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodePoolUpgradePolicyUpdateRequest) Parameter ¶ added in v0.1.341

func (r *NodePoolUpgradePolicyUpdateRequest) Parameter(name string, value interface{}) *NodePoolUpgradePolicyUpdateRequest

Parameter adds a query parameter.

func (*NodePoolUpgradePolicyUpdateRequest) Send ¶ added in v0.1.341

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodePoolUpgradePolicyUpdateRequest) SendContext ¶ added in v0.1.341

SendContext sends this request, waits for the response, and returns it.

type NodePoolUpgradePolicyUpdateResponse ¶ added in v0.1.341

type NodePoolUpgradePolicyUpdateResponse struct {
	// contains filtered or unexported fields
}

NodePoolUpgradePolicyUpdateResponse is the response for the 'update' method.

func (*NodePoolUpgradePolicyUpdateResponse) Body ¶ added in v0.1.341

Body returns the value of the 'body' parameter.

func (*NodePoolUpgradePolicyUpdateResponse) Error ¶ added in v0.1.341

Error returns the response error.

func (*NodePoolUpgradePolicyUpdateResponse) GetBody ¶ added in v0.1.341

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NodePoolUpgradePolicyUpdateResponse) Header ¶ added in v0.1.341

Header returns header of the response.

func (*NodePoolUpgradePolicyUpdateResponse) Status ¶ added in v0.1.341

Status returns the response status code.

type NodePoolsAddRequest ¶ added in v0.0.329

type NodePoolsAddRequest struct {
	// contains filtered or unexported fields
}

NodePoolsAddRequest is the request for the 'add' method.

func (*NodePoolsAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Description of the node pool

func (*NodePoolsAddRequest) Header ¶ added in v0.0.329

func (r *NodePoolsAddRequest) Header(name string, value interface{}) *NodePoolsAddRequest

Header adds a request header.

func (*NodePoolsAddRequest) Impersonate ¶ added in v0.0.329

func (r *NodePoolsAddRequest) Impersonate(user string) *NodePoolsAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodePoolsAddRequest) Parameter ¶ added in v0.0.329

func (r *NodePoolsAddRequest) Parameter(name string, value interface{}) *NodePoolsAddRequest

Parameter adds a query parameter.

func (*NodePoolsAddRequest) Send ¶ added in v0.0.329

func (r *NodePoolsAddRequest) Send() (result *NodePoolsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodePoolsAddRequest) SendContext ¶ added in v0.0.329

func (r *NodePoolsAddRequest) SendContext(ctx context.Context) (result *NodePoolsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type NodePoolsAddResponse ¶ added in v0.0.329

type NodePoolsAddResponse struct {
	// contains filtered or unexported fields
}

NodePoolsAddResponse is the response for the 'add' method.

func (*NodePoolsAddResponse) Body ¶ added in v0.0.329

func (r *NodePoolsAddResponse) Body() *NodePool

Body returns the value of the 'body' parameter.

Description of the node pool

func (*NodePoolsAddResponse) Error ¶ added in v0.0.329

func (r *NodePoolsAddResponse) Error() *errors.Error

Error returns the response error.

func (*NodePoolsAddResponse) GetBody ¶ added in v0.0.329

func (r *NodePoolsAddResponse) GetBody() (value *NodePool, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the node pool

func (*NodePoolsAddResponse) Header ¶ added in v0.0.329

func (r *NodePoolsAddResponse) Header() http.Header

Header returns header of the response.

func (*NodePoolsAddResponse) Status ¶ added in v0.0.329

func (r *NodePoolsAddResponse) Status() int

Status returns the response status code.

type NodePoolsClient ¶ added in v0.0.329

type NodePoolsClient struct {
	// contains filtered or unexported fields
}

NodePoolsClient is the client of the 'node_pools' resource.

Manages the collection of node pools of a cluster.

func NewNodePoolsClient ¶ added in v0.0.329

func NewNodePoolsClient(transport http.RoundTripper, path string) *NodePoolsClient

NewNodePoolsClient creates a new client for the 'node_pools' resource using the given transport to send the requests and receive the responses.

func (*NodePoolsClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new node pool to the cluster.

func (*NodePoolsClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of node pools.

func (*NodePoolsClient) NodePool ¶ added in v0.0.329

func (c *NodePoolsClient) NodePool(id string) *NodePoolClient

NodePool returns the target 'node_pool' resource for the given identifier.

Reference to the service that manages a specific node pool.

type NodePoolsListRequest ¶ added in v0.0.329

type NodePoolsListRequest struct {
	// contains filtered or unexported fields
}

NodePoolsListRequest is the request for the 'list' method.

func (*NodePoolsListRequest) Header ¶ added in v0.0.329

func (r *NodePoolsListRequest) Header(name string, value interface{}) *NodePoolsListRequest

Header adds a request header.

func (*NodePoolsListRequest) Impersonate ¶ added in v0.0.329

func (r *NodePoolsListRequest) Impersonate(user string) *NodePoolsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodePoolsListRequest) Order ¶ added in v0.1.389

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the node pools instead of the names of the columns of a table. For example, in order to sort the node pools descending by identifier the value should be:

```sql id desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*NodePoolsListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*NodePoolsListRequest) Parameter ¶ added in v0.0.329

func (r *NodePoolsListRequest) Parameter(name string, value interface{}) *NodePoolsListRequest

Parameter adds a query parameter.

func (*NodePoolsListRequest) Search ¶ added in v0.1.389

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the node pools instead of the names of the columns of a table. For example, in order to retrieve all the node pools with replicas of two the following is required:

```sql replicas = 2 ```

If the parameter isn't provided, or if the value is empty, then all the node pools that the user has permission to see will be returned.

func (*NodePoolsListRequest) Send ¶ added in v0.0.329

func (r *NodePoolsListRequest) Send() (result *NodePoolsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodePoolsListRequest) SendContext ¶ added in v0.0.329

func (r *NodePoolsListRequest) SendContext(ctx context.Context) (result *NodePoolsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*NodePoolsListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type NodePoolsListResponse ¶ added in v0.0.329

type NodePoolsListResponse struct {
	// contains filtered or unexported fields
}

NodePoolsListResponse is the response for the 'list' method.

func (*NodePoolsListResponse) Error ¶ added in v0.0.329

func (r *NodePoolsListResponse) Error() *errors.Error

Error returns the response error.

func (*NodePoolsListResponse) GetItems ¶ added in v0.0.329

func (r *NodePoolsListResponse) GetItems() (value *NodePoolList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of node pools.

func (*NodePoolsListResponse) GetPage ¶ added in v0.0.329

func (r *NodePoolsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*NodePoolsListResponse) GetSize ¶ added in v0.0.329

func (r *NodePoolsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*NodePoolsListResponse) GetTotal ¶ added in v0.0.329

func (r *NodePoolsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*NodePoolsListResponse) Header ¶ added in v0.0.329

func (r *NodePoolsListResponse) Header() http.Header

Header returns header of the response.

func (*NodePoolsListResponse) Items ¶ added in v0.0.329

func (r *NodePoolsListResponse) Items() *NodePoolList

Items returns the value of the 'items' parameter.

Retrieved list of node pools.

func (*NodePoolsListResponse) Page ¶ added in v0.0.329

func (r *NodePoolsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*NodePoolsListResponse) Size ¶ added in v0.0.329

func (r *NodePoolsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*NodePoolsListResponse) Status ¶ added in v0.0.329

func (r *NodePoolsListResponse) Status() int

Status returns the response status code.

func (*NodePoolsListResponse) Total ¶ added in v0.0.329

func (r *NodePoolsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type NodeType ¶

type NodeType string

NodeType represents the values of the 'node_type' enumerated type.

const (
	// Compute.
	NodeTypeCompute NodeType = "compute"
	// Infra.
	NodeTypeInfra NodeType = "infra"
	// Master.
	NodeTypeMaster NodeType = "master"
)

func UnmarshalNodeTypeList ¶

func UnmarshalNodeTypeList(source interface{}) (items []NodeType, err error)

UnmarshalNodeTypeList reads a list of values of the 'node_type' type from the given source, which can be a slice of bytes, a string or a reader.

type NodesInfo ¶

type NodesInfo struct {
	// contains filtered or unexported fields
}

NodesInfo represents the values of the 'nodes_info' type.

Provides information about the nodes in the cluster.

func UnmarshalNodesInfo ¶

func UnmarshalNodesInfo(source interface{}) (object *NodesInfo, err error)

UnmarshalNodesInfo reads a value of the 'nodes_info' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalNodesInfoList ¶

func UnmarshalNodesInfoList(source interface{}) (items []*NodesInfo, err error)

UnmarshalNodesInfoList reads a list of values of the 'nodes_info' type from the given source, which can be a slice of bytes, a string or a reader.

func (*NodesInfo) Empty ¶

func (o *NodesInfo) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*NodesInfo) GetNodes ¶

func (o *NodesInfo) GetNodes() (value []*NodeInfo, ok bool)

GetNodes returns the value of the 'nodes' attribute and a flag indicating if the attribute has a value.

func (*NodesInfo) Nodes ¶

func (o *NodesInfo) Nodes() []*NodeInfo

Nodes returns the value of the 'nodes' attribute, or the zero value of the type if the attribute doesn't have a value.

type NodesInfoBuilder ¶

type NodesInfoBuilder struct {
	// contains filtered or unexported fields
}

NodesInfoBuilder contains the data and logic needed to build 'nodes_info' objects.

Provides information about the nodes in the cluster.

func NewNodesInfo ¶

func NewNodesInfo() *NodesInfoBuilder

NewNodesInfo creates a new builder of 'nodes_info' objects.

func (*NodesInfoBuilder) Build ¶

func (b *NodesInfoBuilder) Build() (object *NodesInfo, err error)

Build creates a 'nodes_info' object using the configuration stored in the builder.

func (*NodesInfoBuilder) Copy ¶

func (b *NodesInfoBuilder) Copy(object *NodesInfo) *NodesInfoBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*NodesInfoBuilder) Empty ¶ added in v0.0.329

func (b *NodesInfoBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*NodesInfoBuilder) Nodes ¶

func (b *NodesInfoBuilder) Nodes(values ...*NodeInfoBuilder) *NodesInfoBuilder

Nodes sets the value of the 'nodes' attribute to the given values.

type NodesInfoList ¶

type NodesInfoList struct {
	// contains filtered or unexported fields
}

NodesInfoList is a list of values of the 'nodes_info' type.

func (*NodesInfoList) Each ¶

func (l *NodesInfoList) Each(f func(item *NodesInfo) 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 (*NodesInfoList) Empty ¶

func (l *NodesInfoList) Empty() bool

Empty returns true if the list is empty.

func (*NodesInfoList) Get ¶

func (l *NodesInfoList) Get(i int) *NodesInfo

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*NodesInfoList) Len ¶

func (l *NodesInfoList) Len() int

Len returns the length of the list.

func (*NodesInfoList) Range ¶

func (l *NodesInfoList) Range(f func(index int, item *NodesInfo) 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 (*NodesInfoList) Slice ¶

func (l *NodesInfoList) Slice() []*NodesInfo

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 NodesInfoListBuilder ¶

type NodesInfoListBuilder struct {
	// contains filtered or unexported fields
}

NodesInfoListBuilder contains the data and logic needed to build 'nodes_info' objects.

func NewNodesInfoList ¶

func NewNodesInfoList() *NodesInfoListBuilder

NewNodesInfoList creates a new builder of 'nodes_info' objects.

func (*NodesInfoListBuilder) Build ¶

func (b *NodesInfoListBuilder) Build() (list *NodesInfoList, err error)

Build creates a list of 'nodes_info' objects using the configuration stored in the builder.

func (*NodesInfoListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*NodesInfoListBuilder) Empty ¶ added in v0.0.329

func (b *NodesInfoListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*NodesInfoListBuilder) Items ¶

Items sets the items of the list.

type NodesMetricQueryClient ¶

type NodesMetricQueryClient struct {
	// contains filtered or unexported fields
}

NodesMetricQueryClient is the client of the 'nodes_metric_query' resource.

Provides information about the nodes in the cluster.

func NewNodesMetricQueryClient ¶

func NewNodesMetricQueryClient(transport http.RoundTripper, path string) *NodesMetricQueryClient

NewNodesMetricQueryClient creates a new client for the 'nodes_metric_query' resource using the given transport to send the requests and receive the responses.

func (*NodesMetricQueryClient) Get ¶

Get creates a request for the 'get' method.

func (*NodesMetricQueryClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type NodesMetricQueryGetRequest ¶

type NodesMetricQueryGetRequest struct {
	// contains filtered or unexported fields
}

NodesMetricQueryGetRequest is the request for the 'get' method.

func (*NodesMetricQueryGetRequest) Header ¶

func (r *NodesMetricQueryGetRequest) Header(name string, value interface{}) *NodesMetricQueryGetRequest

Header adds a request header.

func (*NodesMetricQueryGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*NodesMetricQueryGetRequest) Parameter ¶

func (r *NodesMetricQueryGetRequest) Parameter(name string, value interface{}) *NodesMetricQueryGetRequest

Parameter adds a query parameter.

func (*NodesMetricQueryGetRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*NodesMetricQueryGetRequest) SendContext ¶

func (r *NodesMetricQueryGetRequest) SendContext(ctx context.Context) (result *NodesMetricQueryGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type NodesMetricQueryGetResponse ¶

type NodesMetricQueryGetResponse struct {
	// contains filtered or unexported fields
}

NodesMetricQueryGetResponse is the response for the 'get' method.

func (*NodesMetricQueryGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*NodesMetricQueryGetResponse) Error ¶

Error returns the response error.

func (*NodesMetricQueryGetResponse) GetBody ¶

func (r *NodesMetricQueryGetResponse) GetBody() (value *NodesInfo, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NodesMetricQueryGetResponse) Header ¶

Header returns header of the response.

func (*NodesMetricQueryGetResponse) Status ¶

func (r *NodesMetricQueryGetResponse) Status() int

Status returns the response status code.

type NodesMetricQueryPollRequest ¶

type NodesMetricQueryPollRequest struct {
	// contains filtered or unexported fields
}

NodesMetricQueryPollRequest is the request for the Poll method.

func (*NodesMetricQueryPollRequest) Header ¶

func (r *NodesMetricQueryPollRequest) Header(name string, value interface{}) *NodesMetricQueryPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*NodesMetricQueryPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*NodesMetricQueryPollRequest) Parameter ¶

func (r *NodesMetricQueryPollRequest) Parameter(name string, value interface{}) *NodesMetricQueryPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*NodesMetricQueryPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*NodesMetricQueryPollRequest) StartContext ¶

func (r *NodesMetricQueryPollRequest) StartContext(ctx context.Context) (response *NodesMetricQueryPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*NodesMetricQueryPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type NodesMetricQueryPollResponse ¶

type NodesMetricQueryPollResponse struct {
	// contains filtered or unexported fields
}

NodesMetricQueryPollResponse is the response for the Poll method.

func (*NodesMetricQueryPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*NodesMetricQueryPollResponse) Error ¶

Error returns the response error.

func (*NodesMetricQueryPollResponse) GetBody ¶

func (r *NodesMetricQueryPollResponse) GetBody() (value *NodesInfo, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*NodesMetricQueryPollResponse) Header ¶

Header returns header of the response.

func (*NodesMetricQueryPollResponse) Status ¶

func (r *NodesMetricQueryPollResponse) Status() int

Status returns the response status code.

type OidcConfig ¶ added in v0.0.329

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 UnmarshalOidcConfig ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *OidcConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*OidcConfig) GetCreationTimestamp ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type OidcConfigBuilder struct {
	// contains filtered or unexported fields
}

OidcConfigBuilder contains the data and logic needed to build 'oidc_config' objects.

Contains the necessary attributes to support oidc configuration hosting under Red Hat or registering a Customer's byo oidc config.

func NewOidcConfig ¶ added in v0.0.329

func NewOidcConfig() *OidcConfigBuilder

NewOidcConfig creates a new builder of 'oidc_config' objects.

func (*OidcConfigBuilder) Build ¶ added in v0.0.329

func (b *OidcConfigBuilder) Build() (object *OidcConfig, err error)

Build creates a 'oidc_config' object using the configuration stored in the builder.

func (*OidcConfigBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*OidcConfigBuilder) CreationTimestamp ¶ added in v0.0.329

func (b *OidcConfigBuilder) CreationTimestamp(value time.Time) *OidcConfigBuilder

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*OidcConfigBuilder) Empty ¶ added in v0.0.329

func (b *OidcConfigBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*OidcConfigBuilder) HREF ¶ added in v0.0.329

func (b *OidcConfigBuilder) HREF(value string) *OidcConfigBuilder

HREF sets the value of the 'HREF' attribute to the given value.

func (*OidcConfigBuilder) ID ¶ added in v0.0.329

ID sets the value of the 'ID' attribute to the given value.

func (*OidcConfigBuilder) InstallerRoleArn ¶ added in v0.0.329

func (b *OidcConfigBuilder) InstallerRoleArn(value string) *OidcConfigBuilder

InstallerRoleArn sets the value of the 'installer_role_arn' attribute to the given value.

func (*OidcConfigBuilder) IssuerUrl ¶ added in v0.0.329

func (b *OidcConfigBuilder) IssuerUrl(value string) *OidcConfigBuilder

IssuerUrl sets the value of the 'issuer_url' attribute to the given value.

func (*OidcConfigBuilder) LastUpdateTimestamp ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *OidcConfigBuilder) Managed(value bool) *OidcConfigBuilder

Managed sets the value of the 'managed' attribute to the given value.

func (*OidcConfigBuilder) OrganizationId ¶ added in v0.0.329

func (b *OidcConfigBuilder) OrganizationId(value string) *OidcConfigBuilder

OrganizationId sets the value of the 'organization_id' attribute to the given value.

func (*OidcConfigBuilder) Reusable ¶ added in v0.0.329

func (b *OidcConfigBuilder) Reusable(value bool) *OidcConfigBuilder

Reusable sets the value of the 'reusable' attribute to the given value.

func (*OidcConfigBuilder) SecretArn ¶ added in v0.0.329

func (b *OidcConfigBuilder) SecretArn(value string) *OidcConfigBuilder

SecretArn sets the value of the 'secret_arn' attribute to the given value.

type OidcConfigClient ¶ added in v0.0.329

type OidcConfigClient struct {
	// contains filtered or unexported fields
}

OidcConfigClient is the client of the 'oidc_config' resource.

Manages an Oidc Config configuration.

func NewOidcConfigClient ¶ added in v0.0.329

func NewOidcConfigClient(transport http.RoundTripper, path string) *OidcConfigClient

NewOidcConfigClient creates a new client for the 'oidc_config' resource using the given transport to send the requests and receive the responses.

func (*OidcConfigClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the OidcConfig.

func (*OidcConfigClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of an OidcConfig.

func (*OidcConfigClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*OidcConfigClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Updates attributes of an OidcConfig.

type OidcConfigDeleteRequest ¶ added in v0.0.329

type OidcConfigDeleteRequest struct {
	// contains filtered or unexported fields
}

OidcConfigDeleteRequest is the request for the 'delete' method.

func (*OidcConfigDeleteRequest) Header ¶ added in v0.0.329

func (r *OidcConfigDeleteRequest) Header(name string, value interface{}) *OidcConfigDeleteRequest

Header adds a request header.

func (*OidcConfigDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*OidcConfigDeleteRequest) Parameter ¶ added in v0.0.329

func (r *OidcConfigDeleteRequest) Parameter(name string, value interface{}) *OidcConfigDeleteRequest

Parameter adds a query parameter.

func (*OidcConfigDeleteRequest) Send ¶ added in v0.0.329

func (r *OidcConfigDeleteRequest) Send() (result *OidcConfigDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*OidcConfigDeleteRequest) SendContext ¶ added in v0.0.329

func (r *OidcConfigDeleteRequest) SendContext(ctx context.Context) (result *OidcConfigDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type OidcConfigDeleteResponse ¶ added in v0.0.329

type OidcConfigDeleteResponse struct {
	// contains filtered or unexported fields
}

OidcConfigDeleteResponse is the response for the 'delete' method.

func (*OidcConfigDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*OidcConfigDeleteResponse) Header ¶ added in v0.0.329

func (r *OidcConfigDeleteResponse) Header() http.Header

Header returns header of the response.

func (*OidcConfigDeleteResponse) Status ¶ added in v0.0.329

func (r *OidcConfigDeleteResponse) Status() int

Status returns the response status code.

type OidcConfigGetRequest ¶ added in v0.0.329

type OidcConfigGetRequest struct {
	// contains filtered or unexported fields
}

OidcConfigGetRequest is the request for the 'get' method.

func (*OidcConfigGetRequest) Header ¶ added in v0.0.329

func (r *OidcConfigGetRequest) Header(name string, value interface{}) *OidcConfigGetRequest

Header adds a request header.

func (*OidcConfigGetRequest) Impersonate ¶ added in v0.0.329

func (r *OidcConfigGetRequest) Impersonate(user string) *OidcConfigGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*OidcConfigGetRequest) Parameter ¶ added in v0.0.329

func (r *OidcConfigGetRequest) Parameter(name string, value interface{}) *OidcConfigGetRequest

Parameter adds a query parameter.

func (*OidcConfigGetRequest) Send ¶ added in v0.0.329

func (r *OidcConfigGetRequest) Send() (result *OidcConfigGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*OidcConfigGetRequest) SendContext ¶ added in v0.0.329

func (r *OidcConfigGetRequest) SendContext(ctx context.Context) (result *OidcConfigGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type OidcConfigGetResponse ¶ added in v0.0.329

type OidcConfigGetResponse struct {
	// contains filtered or unexported fields
}

OidcConfigGetResponse is the response for the 'get' method.

func (*OidcConfigGetResponse) Body ¶ added in v0.0.329

func (r *OidcConfigGetResponse) Body() *OidcConfig

Body returns the value of the 'body' parameter.

func (*OidcConfigGetResponse) Error ¶ added in v0.0.329

func (r *OidcConfigGetResponse) Error() *errors.Error

Error returns the response error.

func (*OidcConfigGetResponse) GetBody ¶ added in v0.0.329

func (r *OidcConfigGetResponse) GetBody() (value *OidcConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*OidcConfigGetResponse) Header ¶ added in v0.0.329

func (r *OidcConfigGetResponse) Header() http.Header

Header returns header of the response.

func (*OidcConfigGetResponse) Status ¶ added in v0.0.329

func (r *OidcConfigGetResponse) Status() int

Status returns the response status code.

type OidcConfigList ¶ added in v0.0.329

type OidcConfigList struct {
	// contains filtered or unexported fields
}

OidcConfigList is a list of values of the 'oidc_config' type.

func (*OidcConfigList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *OidcConfigList) Empty() bool

Empty returns true if the list is empty.

func (*OidcConfigList) Get ¶ added in v0.0.329

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) Len ¶ added in v0.0.329

func (l *OidcConfigList) Len() int

Len returns the length of the list.

func (*OidcConfigList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type OidcConfigListBuilder struct {
	// contains filtered or unexported fields
}

OidcConfigListBuilder contains the data and logic needed to build 'oidc_config' objects.

func NewOidcConfigList ¶ added in v0.0.329

func NewOidcConfigList() *OidcConfigListBuilder

NewOidcConfigList creates a new builder of 'oidc_config' objects.

func (*OidcConfigListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*OidcConfigListBuilder) Empty ¶ added in v0.0.329

func (b *OidcConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*OidcConfigListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type OidcConfigPollRequest ¶ added in v0.0.329

type OidcConfigPollRequest struct {
	// contains filtered or unexported fields
}

OidcConfigPollRequest is the request for the Poll method.

func (*OidcConfigPollRequest) Header ¶ added in v0.0.329

func (r *OidcConfigPollRequest) Header(name string, value interface{}) *OidcConfigPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*OidcConfigPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*OidcConfigPollRequest) Parameter ¶ added in v0.0.329

func (r *OidcConfigPollRequest) Parameter(name string, value interface{}) *OidcConfigPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*OidcConfigPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*OidcConfigPollRequest) StartContext ¶ added in v0.0.329

func (r *OidcConfigPollRequest) StartContext(ctx context.Context) (response *OidcConfigPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*OidcConfigPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type OidcConfigPollResponse ¶ added in v0.0.329

type OidcConfigPollResponse struct {
	// contains filtered or unexported fields
}

OidcConfigPollResponse is the response for the Poll method.

func (*OidcConfigPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*OidcConfigPollResponse) Error ¶ added in v0.0.329

func (r *OidcConfigPollResponse) Error() *errors.Error

Error returns the response error.

func (*OidcConfigPollResponse) GetBody ¶ added in v0.0.329

func (r *OidcConfigPollResponse) GetBody() (value *OidcConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*OidcConfigPollResponse) Header ¶ added in v0.0.329

func (r *OidcConfigPollResponse) Header() http.Header

Header returns header of the response.

func (*OidcConfigPollResponse) Status ¶ added in v0.0.329

func (r *OidcConfigPollResponse) Status() int

Status returns the response status code.

type OidcConfigUpdateRequest ¶ added in v0.0.329

type OidcConfigUpdateRequest struct {
	// contains filtered or unexported fields
}

OidcConfigUpdateRequest is the request for the 'update' method.

func (*OidcConfigUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*OidcConfigUpdateRequest) Header ¶ added in v0.0.329

func (r *OidcConfigUpdateRequest) Header(name string, value interface{}) *OidcConfigUpdateRequest

Header adds a request header.

func (*OidcConfigUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*OidcConfigUpdateRequest) Parameter ¶ added in v0.0.329

func (r *OidcConfigUpdateRequest) Parameter(name string, value interface{}) *OidcConfigUpdateRequest

Parameter adds a query parameter.

func (*OidcConfigUpdateRequest) Send ¶ added in v0.0.329

func (r *OidcConfigUpdateRequest) Send() (result *OidcConfigUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*OidcConfigUpdateRequest) SendContext ¶ added in v0.0.329

func (r *OidcConfigUpdateRequest) SendContext(ctx context.Context) (result *OidcConfigUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type OidcConfigUpdateResponse ¶ added in v0.0.329

type OidcConfigUpdateResponse struct {
	// contains filtered or unexported fields
}

OidcConfigUpdateResponse is the response for the 'update' method.

func (*OidcConfigUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*OidcConfigUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*OidcConfigUpdateResponse) GetBody ¶ added in v0.0.329

func (r *OidcConfigUpdateResponse) GetBody() (value *OidcConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*OidcConfigUpdateResponse) Header ¶ added in v0.0.329

func (r *OidcConfigUpdateResponse) Header() http.Header

Header returns header of the response.

func (*OidcConfigUpdateResponse) Status ¶ added in v0.0.329

func (r *OidcConfigUpdateResponse) Status() int

Status returns the response status code.

type OidcConfigsAddRequest ¶ added in v0.0.329

type OidcConfigsAddRequest struct {
	// contains filtered or unexported fields
}

OidcConfigsAddRequest is the request for the 'add' method.

func (*OidcConfigsAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*OidcConfigsAddRequest) Header ¶ added in v0.0.329

func (r *OidcConfigsAddRequest) Header(name string, value interface{}) *OidcConfigsAddRequest

Header adds a request header.

func (*OidcConfigsAddRequest) Impersonate ¶ added in v0.0.329

func (r *OidcConfigsAddRequest) Impersonate(user string) *OidcConfigsAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*OidcConfigsAddRequest) Parameter ¶ added in v0.0.329

func (r *OidcConfigsAddRequest) Parameter(name string, value interface{}) *OidcConfigsAddRequest

Parameter adds a query parameter.

func (*OidcConfigsAddRequest) Send ¶ added in v0.0.329

func (r *OidcConfigsAddRequest) Send() (result *OidcConfigsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*OidcConfigsAddRequest) SendContext ¶ added in v0.0.329

func (r *OidcConfigsAddRequest) SendContext(ctx context.Context) (result *OidcConfigsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type OidcConfigsAddResponse ¶ added in v0.0.329

type OidcConfigsAddResponse struct {
	// contains filtered or unexported fields
}

OidcConfigsAddResponse is the response for the 'add' method.

func (*OidcConfigsAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*OidcConfigsAddResponse) Error ¶ added in v0.0.329

func (r *OidcConfigsAddResponse) Error() *errors.Error

Error returns the response error.

func (*OidcConfigsAddResponse) GetBody ¶ added in v0.0.329

func (r *OidcConfigsAddResponse) GetBody() (value *OidcConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*OidcConfigsAddResponse) Header ¶ added in v0.0.329

func (r *OidcConfigsAddResponse) Header() http.Header

Header returns header of the response.

func (*OidcConfigsAddResponse) Status ¶ added in v0.0.329

func (r *OidcConfigsAddResponse) Status() int

Status returns the response status code.

type OidcConfigsClient ¶ added in v0.0.329

type OidcConfigsClient struct {
	// contains filtered or unexported fields
}

OidcConfigsClient is the client of the 'oidc_configs' resource.

Manages the collection of oidc configurations.

func NewOidcConfigsClient ¶ added in v0.0.329

func NewOidcConfigsClient(transport http.RoundTripper, path string) *OidcConfigsClient

NewOidcConfigsClient creates a new client for the 'oidc_configs' resource using the given transport to send the requests and receive the responses.

func (*OidcConfigsClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Creates a hosting under Red Hat's S3 bucket for byo oidc configuration.

func (*OidcConfigsClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of oidc configs.

func (*OidcConfigsClient) OidcConfig ¶ added in v0.0.329

func (c *OidcConfigsClient) OidcConfig(id string) *OidcConfigClient

OidcConfig returns the target 'oidc_config' resource for the given identifier.

Reference to the service that manages an specific identity provider.

type OidcConfigsListRequest ¶ added in v0.0.329

type OidcConfigsListRequest struct {
	// contains filtered or unexported fields
}

OidcConfigsListRequest is the request for the 'list' method.

func (*OidcConfigsListRequest) Header ¶ added in v0.0.329

func (r *OidcConfigsListRequest) Header(name string, value interface{}) *OidcConfigsListRequest

Header adds a request header.

func (*OidcConfigsListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*OidcConfigsListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*OidcConfigsListRequest) Parameter ¶ added in v0.0.329

func (r *OidcConfigsListRequest) Parameter(name string, value interface{}) *OidcConfigsListRequest

Parameter adds a query parameter.

func (*OidcConfigsListRequest) Send ¶ added in v0.0.329

func (r *OidcConfigsListRequest) Send() (result *OidcConfigsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*OidcConfigsListRequest) SendContext ¶ added in v0.0.329

func (r *OidcConfigsListRequest) SendContext(ctx context.Context) (result *OidcConfigsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*OidcConfigsListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type OidcConfigsListResponse ¶ added in v0.0.329

type OidcConfigsListResponse struct {
	// contains filtered or unexported fields
}

OidcConfigsListResponse is the response for the 'list' method.

func (*OidcConfigsListResponse) Error ¶ added in v0.0.329

func (r *OidcConfigsListResponse) Error() *errors.Error

Error returns the response error.

func (*OidcConfigsListResponse) GetItems ¶ added in v0.0.329

func (r *OidcConfigsListResponse) GetItems() (value *OidcConfigList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of identity providers.

func (*OidcConfigsListResponse) GetPage ¶ added in v0.0.329

func (r *OidcConfigsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*OidcConfigsListResponse) GetSize ¶ added in v0.0.329

func (r *OidcConfigsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*OidcConfigsListResponse) GetTotal ¶ added in v0.0.329

func (r *OidcConfigsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*OidcConfigsListResponse) Header ¶ added in v0.0.329

func (r *OidcConfigsListResponse) Header() http.Header

Header returns header of the response.

func (*OidcConfigsListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of identity providers.

func (*OidcConfigsListResponse) Page ¶ added in v0.0.329

func (r *OidcConfigsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*OidcConfigsListResponse) Size ¶ added in v0.0.329

func (r *OidcConfigsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*OidcConfigsListResponse) Status ¶ added in v0.0.329

func (r *OidcConfigsListResponse) Status() int

Status returns the response status code.

func (*OidcConfigsListResponse) Total ¶ added in v0.0.329

func (r *OidcConfigsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type OpenIDClaims ¶

type OpenIDClaims struct {
	// contains filtered or unexported fields
}

OpenIDClaims represents the values of the 'open_ID_claims' type.

_OpenID_ identity provider claims.

func UnmarshalOpenIDClaims ¶

func UnmarshalOpenIDClaims(source interface{}) (object *OpenIDClaims, err error)

UnmarshalOpenIDClaims reads a value of the 'open_ID_claims' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalOpenIDClaimsList ¶

func UnmarshalOpenIDClaimsList(source interface{}) (items []*OpenIDClaims, err error)

UnmarshalOpenIDClaimsList reads a list of values of the 'open_ID_claims' type from the given source, which can be a slice of bytes, a string or a reader.

func (*OpenIDClaims) Email ¶

func (o *OpenIDClaims) Email() []string

Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.

List of claims to use as the mail address.

func (*OpenIDClaims) Empty ¶

func (o *OpenIDClaims) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*OpenIDClaims) GetEmail ¶

func (o *OpenIDClaims) GetEmail() (value []string, ok bool)

GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.

List of claims to use as the mail address.

func (*OpenIDClaims) GetGroups ¶ added in v0.0.329

func (o *OpenIDClaims) GetGroups() (value []string, ok bool)

GetGroups returns the value of the 'groups' attribute and a flag indicating if the attribute has a value.

List of claims to use as the group name.

func (*OpenIDClaims) GetName ¶

func (o *OpenIDClaims) GetName() (value []string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

List of claims to use as the display name.

func (*OpenIDClaims) GetPreferredUsername ¶

func (o *OpenIDClaims) GetPreferredUsername() (value []string, ok bool)

GetPreferredUsername returns the value of the 'preferred_username' attribute and a flag indicating if the attribute has a value.

List of claims to use as the preferred user name when provisioning a user.

func (*OpenIDClaims) Groups ¶ added in v0.0.329

func (o *OpenIDClaims) Groups() []string

Groups returns the value of the 'groups' attribute, or the zero value of the type if the attribute doesn't have a value.

List of claims to use as the group name.

func (*OpenIDClaims) Name ¶

func (o *OpenIDClaims) 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.

List of claims to use as the display name.

func (*OpenIDClaims) PreferredUsername ¶

func (o *OpenIDClaims) PreferredUsername() []string

PreferredUsername returns the value of the 'preferred_username' attribute, or the zero value of the type if the attribute doesn't have a value.

List of claims to use as the preferred user name when provisioning a user.

type OpenIDClaimsBuilder ¶

type OpenIDClaimsBuilder struct {
	// contains filtered or unexported fields
}

OpenIDClaimsBuilder contains the data and logic needed to build 'open_ID_claims' objects.

_OpenID_ identity provider claims.

func NewOpenIDClaims ¶

func NewOpenIDClaims() *OpenIDClaimsBuilder

NewOpenIDClaims creates a new builder of 'open_ID_claims' objects.

func (*OpenIDClaimsBuilder) Build ¶

func (b *OpenIDClaimsBuilder) Build() (object *OpenIDClaims, err error)

Build creates a 'open_ID_claims' object using the configuration stored in the builder.

func (*OpenIDClaimsBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*OpenIDClaimsBuilder) Email ¶

func (b *OpenIDClaimsBuilder) Email(values ...string) *OpenIDClaimsBuilder

Email sets the value of the 'email' attribute to the given values.

func (*OpenIDClaimsBuilder) Empty ¶ added in v0.0.329

func (b *OpenIDClaimsBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*OpenIDClaimsBuilder) Groups ¶ added in v0.0.329

func (b *OpenIDClaimsBuilder) Groups(values ...string) *OpenIDClaimsBuilder

Groups sets the value of the 'groups' attribute to the given values.

func (*OpenIDClaimsBuilder) Name ¶

func (b *OpenIDClaimsBuilder) Name(values ...string) *OpenIDClaimsBuilder

Name sets the value of the 'name' attribute to the given values.

func (*OpenIDClaimsBuilder) PreferredUsername ¶

func (b *OpenIDClaimsBuilder) PreferredUsername(values ...string) *OpenIDClaimsBuilder

PreferredUsername sets the value of the 'preferred_username' attribute to the given values.

type OpenIDClaimsList ¶

type OpenIDClaimsList struct {
	// contains filtered or unexported fields
}

OpenIDClaimsList is a list of values of the 'open_ID_claims' type.

func (*OpenIDClaimsList) Each ¶

func (l *OpenIDClaimsList) Each(f func(item *OpenIDClaims) 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 (*OpenIDClaimsList) Empty ¶

func (l *OpenIDClaimsList) Empty() bool

Empty returns true if the list is empty.

func (*OpenIDClaimsList) Get ¶

func (l *OpenIDClaimsList) Get(i int) *OpenIDClaims

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*OpenIDClaimsList) Len ¶

func (l *OpenIDClaimsList) Len() int

Len returns the length of the list.

func (*OpenIDClaimsList) Range ¶

func (l *OpenIDClaimsList) Range(f func(index int, item *OpenIDClaims) 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 (*OpenIDClaimsList) Slice ¶

func (l *OpenIDClaimsList) Slice() []*OpenIDClaims

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 OpenIDClaimsListBuilder ¶

type OpenIDClaimsListBuilder struct {
	// contains filtered or unexported fields
}

OpenIDClaimsListBuilder contains the data and logic needed to build 'open_ID_claims' objects.

func NewOpenIDClaimsList ¶

func NewOpenIDClaimsList() *OpenIDClaimsListBuilder

NewOpenIDClaimsList creates a new builder of 'open_ID_claims' objects.

func (*OpenIDClaimsListBuilder) Build ¶

func (b *OpenIDClaimsListBuilder) Build() (list *OpenIDClaimsList, err error)

Build creates a list of 'open_ID_claims' objects using the configuration stored in the builder.

func (*OpenIDClaimsListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*OpenIDClaimsListBuilder) Empty ¶ added in v0.0.329

func (b *OpenIDClaimsListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*OpenIDClaimsListBuilder) Items ¶

Items sets the items of the list.

type OpenIDIdentityProvider ¶

type OpenIDIdentityProvider struct {
	// contains filtered or unexported fields
}

OpenIDIdentityProvider represents the values of the 'open_ID_identity_provider' type.

Details for `openid` identity providers.

func UnmarshalOpenIDIdentityProvider ¶

func UnmarshalOpenIDIdentityProvider(source interface{}) (object *OpenIDIdentityProvider, err error)

UnmarshalOpenIDIdentityProvider reads a value of the 'open_ID_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalOpenIDIdentityProviderList ¶

func UnmarshalOpenIDIdentityProviderList(source interface{}) (items []*OpenIDIdentityProvider, err error)

UnmarshalOpenIDIdentityProviderList reads a list of values of the 'open_ID_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.

func (*OpenIDIdentityProvider) CA ¶

CA returns the value of the 'CA' attribute, or the zero value of the type if the attribute doesn't have a value.

Certificate bunde to use to validate server certificates for the configured URL.

func (*OpenIDIdentityProvider) Claims ¶

func (o *OpenIDIdentityProvider) Claims() *OpenIDClaims

Claims returns the value of the 'claims' attribute, or the zero value of the type if the attribute doesn't have a value.

Claims used to configure the provider.

func (*OpenIDIdentityProvider) ClientID ¶

func (o *OpenIDIdentityProvider) 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.

Identifier of a client registered with the _OpenID_ provider.

func (*OpenIDIdentityProvider) ClientSecret ¶

func (o *OpenIDIdentityProvider) ClientSecret() string

ClientSecret returns the value of the 'client_secret' attribute, or the zero value of the type if the attribute doesn't have a value.

Client secret.

func (*OpenIDIdentityProvider) Empty ¶

func (o *OpenIDIdentityProvider) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*OpenIDIdentityProvider) ExtraAuthorizeParameters ¶

func (o *OpenIDIdentityProvider) ExtraAuthorizeParameters() map[string]string

ExtraAuthorizeParameters returns the value of the 'extra_authorize_parameters' attribute, or the zero value of the type if the attribute doesn't have a value.

Optional map of extra parameters to add to the authorization token request.

func (*OpenIDIdentityProvider) ExtraScopes ¶

func (o *OpenIDIdentityProvider) 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.

Optional list of scopes to request, in addition to the `openid` scope, during the authorization token request.

func (*OpenIDIdentityProvider) GetCA ¶

func (o *OpenIDIdentityProvider) GetCA() (value string, ok bool)

GetCA returns the value of the 'CA' attribute and a flag indicating if the attribute has a value.

Certificate bunde to use to validate server certificates for the configured URL.

func (*OpenIDIdentityProvider) GetClaims ¶

func (o *OpenIDIdentityProvider) GetClaims() (value *OpenIDClaims, ok bool)

GetClaims returns the value of the 'claims' attribute and a flag indicating if the attribute has a value.

Claims used to configure the provider.

func (*OpenIDIdentityProvider) GetClientID ¶

func (o *OpenIDIdentityProvider) GetClientID() (value string, ok bool)

GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.

Identifier of a client registered with the _OpenID_ provider.

func (*OpenIDIdentityProvider) GetClientSecret ¶

func (o *OpenIDIdentityProvider) GetClientSecret() (value string, ok bool)

GetClientSecret returns the value of the 'client_secret' attribute and a flag indicating if the attribute has a value.

Client secret.

func (*OpenIDIdentityProvider) GetExtraAuthorizeParameters ¶

func (o *OpenIDIdentityProvider) GetExtraAuthorizeParameters() (value map[string]string, ok bool)

GetExtraAuthorizeParameters returns the value of the 'extra_authorize_parameters' attribute and a flag indicating if the attribute has a value.

Optional map of extra parameters to add to the authorization token request.

func (*OpenIDIdentityProvider) GetExtraScopes ¶

func (o *OpenIDIdentityProvider) GetExtraScopes() (value []string, ok bool)

GetExtraScopes returns the value of the 'extra_scopes' attribute and a flag indicating if the attribute has a value.

Optional list of scopes to request, in addition to the `openid` scope, during the authorization token request.

func (*OpenIDIdentityProvider) GetIssuer ¶

func (o *OpenIDIdentityProvider) GetIssuer() (value string, ok bool)

GetIssuer returns the value of the 'issuer' attribute and a flag indicating if the attribute has a value.

The URL that the OpenID Provider asserts as the Issuer Identifier

func (*OpenIDIdentityProvider) Issuer ¶

func (o *OpenIDIdentityProvider) Issuer() string

Issuer returns the value of the 'issuer' attribute, or the zero value of the type if the attribute doesn't have a value.

The URL that the OpenID Provider asserts as the Issuer Identifier

type OpenIDIdentityProviderBuilder ¶

type OpenIDIdentityProviderBuilder struct {
	// contains filtered or unexported fields
}

OpenIDIdentityProviderBuilder contains the data and logic needed to build 'open_ID_identity_provider' objects.

Details for `openid` identity providers.

func NewOpenIDIdentityProvider ¶

func NewOpenIDIdentityProvider() *OpenIDIdentityProviderBuilder

NewOpenIDIdentityProvider creates a new builder of 'open_ID_identity_provider' objects.

func (*OpenIDIdentityProviderBuilder) Build ¶

Build creates a 'open_ID_identity_provider' object using the configuration stored in the builder.

func (*OpenIDIdentityProviderBuilder) CA ¶

CA sets the value of the 'CA' attribute to the given value.

func (*OpenIDIdentityProviderBuilder) Claims ¶

Claims sets the value of the 'claims' attribute to the given value.

_OpenID_ identity provider claims.

func (*OpenIDIdentityProviderBuilder) ClientID ¶

ClientID sets the value of the 'client_ID' attribute to the given value.

func (*OpenIDIdentityProviderBuilder) ClientSecret ¶

ClientSecret sets the value of the 'client_secret' attribute to the given value.

func (*OpenIDIdentityProviderBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*OpenIDIdentityProviderBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*OpenIDIdentityProviderBuilder) ExtraAuthorizeParameters ¶

func (b *OpenIDIdentityProviderBuilder) ExtraAuthorizeParameters(value map[string]string) *OpenIDIdentityProviderBuilder

ExtraAuthorizeParameters sets the value of the 'extra_authorize_parameters' attribute to the given value.

func (*OpenIDIdentityProviderBuilder) ExtraScopes ¶

ExtraScopes sets the value of the 'extra_scopes' attribute to the given values.

func (*OpenIDIdentityProviderBuilder) Issuer ¶

Issuer sets the value of the 'issuer' attribute to the given value.

type OpenIDIdentityProviderList ¶

type OpenIDIdentityProviderList struct {
	// contains filtered or unexported fields
}

OpenIDIdentityProviderList is a list of values of the 'open_ID_identity_provider' type.

func (*OpenIDIdentityProviderList) 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 (*OpenIDIdentityProviderList) Empty ¶

func (l *OpenIDIdentityProviderList) Empty() bool

Empty returns true if the list is empty.

func (*OpenIDIdentityProviderList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*OpenIDIdentityProviderList) Len ¶

Len returns the length of the list.

func (*OpenIDIdentityProviderList) Range ¶

func (l *OpenIDIdentityProviderList) Range(f func(index int, item *OpenIDIdentityProvider) 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 (*OpenIDIdentityProviderList) 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 OpenIDIdentityProviderListBuilder ¶

type OpenIDIdentityProviderListBuilder struct {
	// contains filtered or unexported fields
}

OpenIDIdentityProviderListBuilder contains the data and logic needed to build 'open_ID_identity_provider' objects.

func NewOpenIDIdentityProviderList ¶

func NewOpenIDIdentityProviderList() *OpenIDIdentityProviderListBuilder

NewOpenIDIdentityProviderList creates a new builder of 'open_ID_identity_provider' objects.

func (*OpenIDIdentityProviderListBuilder) Build ¶

Build creates a list of 'open_ID_identity_provider' objects using the configuration stored in the builder.

func (*OpenIDIdentityProviderListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*OpenIDIdentityProviderListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*OpenIDIdentityProviderListBuilder) Items ¶

Items sets the items of the list.

type OperatorIAMRole ¶ added in v0.0.329

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 UnmarshalOperatorIAMRole ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *OperatorIAMRole) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*OperatorIAMRole) GetID ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type OperatorIAMRoleBuilder struct {
	// contains filtered or unexported fields
}

OperatorIAMRoleBuilder contains the data and logic needed to build 'operator_IAM_role' objects.

Contains the necessary attributes to allow each operator to access the necessary AWS resources

func NewOperatorIAMRole ¶ added in v0.0.329

func NewOperatorIAMRole() *OperatorIAMRoleBuilder

NewOperatorIAMRole creates a new builder of 'operator_IAM_role' objects.

func (*OperatorIAMRoleBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*OperatorIAMRoleBuilder) Empty ¶ added in v0.0.329

func (b *OperatorIAMRoleBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*OperatorIAMRoleBuilder) ID ¶ added in v0.0.329

ID sets the value of the 'ID' attribute to the given value.

func (*OperatorIAMRoleBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

func (*OperatorIAMRoleBuilder) Namespace ¶ added in v0.0.329

Namespace sets the value of the 'namespace' attribute to the given value.

func (*OperatorIAMRoleBuilder) RoleARN ¶ added in v0.0.329

RoleARN sets the value of the 'role_ARN' attribute to the given value.

func (*OperatorIAMRoleBuilder) ServiceAccount ¶ added in v0.0.329

func (b *OperatorIAMRoleBuilder) ServiceAccount(value string) *OperatorIAMRoleBuilder

ServiceAccount sets the value of the 'service_account' attribute to the given value.

type OperatorIAMRoleClient ¶ added in v0.0.329

type OperatorIAMRoleClient struct {
	// contains filtered or unexported fields
}

OperatorIAMRoleClient is the client of the 'operator_IAM_role' resource.

Manages a list of operator roles for STS clusters.

func NewOperatorIAMRoleClient ¶ added in v0.0.329

func NewOperatorIAMRoleClient(transport http.RoundTripper, path string) *OperatorIAMRoleClient

NewOperatorIAMRoleClient creates a new client for the 'operator_IAM_role' resource using the given transport to send the requests and receive the responses.

func (*OperatorIAMRoleClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the operator role.

type OperatorIAMRoleDeleteRequest ¶ added in v0.0.329

type OperatorIAMRoleDeleteRequest struct {
	// contains filtered or unexported fields
}

OperatorIAMRoleDeleteRequest is the request for the 'delete' method.

func (*OperatorIAMRoleDeleteRequest) Header ¶ added in v0.0.329

func (r *OperatorIAMRoleDeleteRequest) Header(name string, value interface{}) *OperatorIAMRoleDeleteRequest

Header adds a request header.

func (*OperatorIAMRoleDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*OperatorIAMRoleDeleteRequest) Parameter ¶ added in v0.0.329

func (r *OperatorIAMRoleDeleteRequest) Parameter(name string, value interface{}) *OperatorIAMRoleDeleteRequest

Parameter adds a query parameter.

func (*OperatorIAMRoleDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*OperatorIAMRoleDeleteRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type OperatorIAMRoleDeleteResponse ¶ added in v0.0.329

type OperatorIAMRoleDeleteResponse struct {
	// contains filtered or unexported fields
}

OperatorIAMRoleDeleteResponse is the response for the 'delete' method.

func (*OperatorIAMRoleDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*OperatorIAMRoleDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*OperatorIAMRoleDeleteResponse) Status ¶ added in v0.0.329

func (r *OperatorIAMRoleDeleteResponse) Status() int

Status returns the response status code.

type OperatorIAMRoleList ¶ added in v0.0.329

type OperatorIAMRoleList struct {
	// contains filtered or unexported fields
}

OperatorIAMRoleList is a list of values of the 'operator_IAM_role' type.

func (*OperatorIAMRoleList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *OperatorIAMRoleList) Empty() bool

Empty returns true if the list is empty.

func (*OperatorIAMRoleList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*OperatorIAMRoleList) Len ¶ added in v0.0.329

func (l *OperatorIAMRoleList) Len() int

Len returns the length of the list.

func (*OperatorIAMRoleList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type OperatorIAMRoleListBuilder struct {
	// contains filtered or unexported fields
}

OperatorIAMRoleListBuilder contains the data and logic needed to build 'operator_IAM_role' objects.

func NewOperatorIAMRoleList ¶ added in v0.0.329

func NewOperatorIAMRoleList() *OperatorIAMRoleListBuilder

NewOperatorIAMRoleList creates a new builder of 'operator_IAM_role' objects.

func (*OperatorIAMRoleListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*OperatorIAMRoleListBuilder) Empty ¶ added in v0.0.329

func (b *OperatorIAMRoleListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*OperatorIAMRoleListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type OperatorIAMRolesAddRequest ¶ added in v0.0.329

type OperatorIAMRolesAddRequest struct {
	// contains filtered or unexported fields
}

OperatorIAMRolesAddRequest is the request for the 'add' method.

func (*OperatorIAMRolesAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Description of the operator role.

func (*OperatorIAMRolesAddRequest) Header ¶ added in v0.0.329

func (r *OperatorIAMRolesAddRequest) Header(name string, value interface{}) *OperatorIAMRolesAddRequest

Header adds a request header.

func (*OperatorIAMRolesAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*OperatorIAMRolesAddRequest) Parameter ¶ added in v0.0.329

func (r *OperatorIAMRolesAddRequest) Parameter(name string, value interface{}) *OperatorIAMRolesAddRequest

Parameter adds a query parameter.

func (*OperatorIAMRolesAddRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*OperatorIAMRolesAddRequest) SendContext ¶ added in v0.0.329

func (r *OperatorIAMRolesAddRequest) SendContext(ctx context.Context) (result *OperatorIAMRolesAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type OperatorIAMRolesAddResponse ¶ added in v0.0.329

type OperatorIAMRolesAddResponse struct {
	// contains filtered or unexported fields
}

OperatorIAMRolesAddResponse is the response for the 'add' method.

func (*OperatorIAMRolesAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Description of the operator role.

func (*OperatorIAMRolesAddResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*OperatorIAMRolesAddResponse) GetBody ¶ added in v0.0.329

func (r *OperatorIAMRolesAddResponse) GetBody() (value *OperatorIAMRole, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the operator role.

func (*OperatorIAMRolesAddResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*OperatorIAMRolesAddResponse) Status ¶ added in v0.0.329

func (r *OperatorIAMRolesAddResponse) Status() int

Status returns the response status code.

type OperatorIAMRolesClient ¶ added in v0.0.329

type OperatorIAMRolesClient struct {
	// contains filtered or unexported fields
}

OperatorIAMRolesClient is the client of the 'operator_IAM_roles' resource.

Manages the collection of operator roles.

func NewOperatorIAMRolesClient ¶ added in v0.0.329

func NewOperatorIAMRolesClient(transport http.RoundTripper, path string) *OperatorIAMRolesClient

NewOperatorIAMRolesClient creates a new client for the 'operator_IAM_roles' resource using the given transport to send the requests and receive the responses.

func (*OperatorIAMRolesClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new operator role to the cluster.

func (*OperatorIAMRolesClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of operator roles.

func (*OperatorIAMRolesClient) OperatorIAMRole ¶ added in v0.0.329

func (c *OperatorIAMRolesClient) OperatorIAMRole(id string) *OperatorIAMRoleClient

OperatorIAMRole returns the target 'operator_IAM_role' resource for the given identifier.

Returns a reference to the service that manages a specific operator role.

type OperatorIAMRolesListRequest ¶ added in v0.0.329

type OperatorIAMRolesListRequest struct {
	// contains filtered or unexported fields
}

OperatorIAMRolesListRequest is the request for the 'list' method.

func (*OperatorIAMRolesListRequest) Header ¶ added in v0.0.329

func (r *OperatorIAMRolesListRequest) Header(name string, value interface{}) *OperatorIAMRolesListRequest

Header adds a request header.

func (*OperatorIAMRolesListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*OperatorIAMRolesListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*OperatorIAMRolesListRequest) Parameter ¶ added in v0.0.329

func (r *OperatorIAMRolesListRequest) Parameter(name string, value interface{}) *OperatorIAMRolesListRequest

Parameter adds a query parameter.

func (*OperatorIAMRolesListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*OperatorIAMRolesListRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*OperatorIAMRolesListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items that will be contained in the returned page.

type OperatorIAMRolesListResponse ¶ added in v0.0.329

type OperatorIAMRolesListResponse struct {
	// contains filtered or unexported fields
}

OperatorIAMRolesListResponse is the response for the 'list' method.

func (*OperatorIAMRolesListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*OperatorIAMRolesListResponse) GetItems ¶ added in v0.0.329

func (r *OperatorIAMRolesListResponse) GetItems() (value *OperatorIAMRoleList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of operator roles.

func (*OperatorIAMRolesListResponse) GetPage ¶ added in v0.0.329

func (r *OperatorIAMRolesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*OperatorIAMRolesListResponse) GetSize ¶ added in v0.0.329

func (r *OperatorIAMRolesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items that will be contained in the returned page.

func (*OperatorIAMRolesListResponse) GetTotal ¶ added in v0.0.329

func (r *OperatorIAMRolesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*OperatorIAMRolesListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*OperatorIAMRolesListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of operator roles.

func (*OperatorIAMRolesListResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*OperatorIAMRolesListResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Number of items that will be contained in the returned page.

func (*OperatorIAMRolesListResponse) Status ¶ added in v0.0.329

func (r *OperatorIAMRolesListResponse) Status() int

Status returns the response status code.

func (*OperatorIAMRolesListResponse) Total ¶ added in v0.0.329

func (r *OperatorIAMRolesListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type OrganizationLink struct {
	// contains filtered or unexported fields
}

OrganizationLink represents the values of the 'organization_link' type.

Definition of an organization link.

func UnmarshalOrganizationLink(source interface{}) (object *OrganizationLink, err error)

UnmarshalOrganizationLink reads a value of the 'organization_link' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalOrganizationLinkList(source interface{}) (items []*OrganizationLink, err error)

UnmarshalOrganizationLinkList reads a list of values of the 'organization_link' type from the given source, which can be a slice of bytes, a string or a reader.

func (*OrganizationLink) Empty ¶ added in v0.1.342

func (o *OrganizationLink) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*OrganizationLink) GetHREF ¶ added in v0.1.342

func (o *OrganizationLink) 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 Organization, filled in response.

func (*OrganizationLink) GetID ¶ added in v0.1.342

func (o *OrganizationLink) GetID() (value string, ok bool)

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

The organization's ID.

func (*OrganizationLink) HREF ¶ added in v0.1.342

func (o *OrganizationLink) 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 Organization, filled in response.

func (*OrganizationLink) ID ¶ added in v0.1.342

func (o *OrganizationLink) 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.

The organization's ID.

type OrganizationLinkBuilder ¶ added in v0.1.342

type OrganizationLinkBuilder struct {
	// contains filtered or unexported fields
}

OrganizationLinkBuilder contains the data and logic needed to build 'organization_link' objects.

Definition of an organization link.

func NewOrganizationLink() *OrganizationLinkBuilder

NewOrganizationLink creates a new builder of 'organization_link' objects.

func (*OrganizationLinkBuilder) Build ¶ added in v0.1.342

func (b *OrganizationLinkBuilder) Build() (object *OrganizationLink, err error)

Build creates a 'organization_link' object using the configuration stored in the builder.

func (*OrganizationLinkBuilder) Copy ¶ added in v0.1.342

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*OrganizationLinkBuilder) Empty ¶ added in v0.1.342

func (b *OrganizationLinkBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*OrganizationLinkBuilder) HREF ¶ added in v0.1.342

HREF sets the value of the 'HREF' attribute to the given value.

func (*OrganizationLinkBuilder) ID ¶ added in v0.1.342

ID sets the value of the 'ID' attribute to the given value.

type OrganizationLinkList struct {
	// contains filtered or unexported fields
}

OrganizationLinkList is a list of values of the 'organization_link' type.

func (*OrganizationLinkList) Each ¶ added in v0.1.342

func (l *OrganizationLinkList) Each(f func(item *OrganizationLink) 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 (*OrganizationLinkList) Empty ¶ added in v0.1.342

func (l *OrganizationLinkList) Empty() bool

Empty returns true if the list is empty.

func (*OrganizationLinkList) Get ¶ added in v0.1.342

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*OrganizationLinkList) Len ¶ added in v0.1.342

func (l *OrganizationLinkList) Len() int

Len returns the length of the list.

func (*OrganizationLinkList) Range ¶ added in v0.1.342

func (l *OrganizationLinkList) Range(f func(index int, item *OrganizationLink) 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 (*OrganizationLinkList) Slice ¶ added in v0.1.342

func (l *OrganizationLinkList) Slice() []*OrganizationLink

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 OrganizationLinkListBuilder ¶ added in v0.1.342

type OrganizationLinkListBuilder struct {
	// contains filtered or unexported fields
}

OrganizationLinkListBuilder contains the data and logic needed to build 'organization_link' objects.

func NewOrganizationLinkList() *OrganizationLinkListBuilder

NewOrganizationLinkList creates a new builder of 'organization_link' objects.

func (*OrganizationLinkListBuilder) Build ¶ added in v0.1.342

func (b *OrganizationLinkListBuilder) Build() (list *OrganizationLinkList, err error)

Build creates a list of 'organization_link' objects using the configuration stored in the builder.

func (*OrganizationLinkListBuilder) Copy ¶ added in v0.1.342

Copy copies the items of the given list into this builder, discarding any previous items.

func (*OrganizationLinkListBuilder) Empty ¶ added in v0.1.342

func (b *OrganizationLinkListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*OrganizationLinkListBuilder) Items ¶ added in v0.1.342

Items sets the items of the list.

type PendingDeleteCluster ¶ added in v0.1.333

type PendingDeleteCluster struct {
	// contains filtered or unexported fields
}

PendingDeleteCluster represents the values of the 'pending_delete_cluster' type.

Represents a pending delete entry for a specific cluster.

func UnmarshalPendingDeleteCluster ¶ added in v0.1.333

func UnmarshalPendingDeleteCluster(source interface{}) (object *PendingDeleteCluster, err error)

UnmarshalPendingDeleteCluster reads a value of the 'pending_delete_cluster' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalPendingDeleteClusterList ¶ added in v0.1.333

func UnmarshalPendingDeleteClusterList(source interface{}) (items []*PendingDeleteCluster, err error)

UnmarshalPendingDeleteClusterList reads a list of values of the 'pending_delete_cluster' type from the given source, which can be a slice of bytes, a string or a reader.

func (*PendingDeleteCluster) BestEffort ¶ added in v0.1.333

func (o *PendingDeleteCluster) BestEffort() bool

BestEffort returns the value of the 'best_effort' attribute, or the zero value of the type if the attribute doesn't have a value.

Flag indicating if the cluster deletion should be best-effort mode or not.

func (*PendingDeleteCluster) Cluster ¶ added in v0.1.333

func (o *PendingDeleteCluster) Cluster() *Cluster

Cluster returns the value of the 'cluster' attribute, or the zero value of the type if the attribute doesn't have a value.

Cluster is the details of the cluster that is pending deletion.

func (*PendingDeleteCluster) CreationTimestamp ¶ added in v0.1.333

func (o *PendingDeleteCluster) 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 (*PendingDeleteCluster) Empty ¶ added in v0.1.333

func (o *PendingDeleteCluster) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*PendingDeleteCluster) GetBestEffort ¶ added in v0.1.333

func (o *PendingDeleteCluster) GetBestEffort() (value bool, ok bool)

GetBestEffort returns the value of the 'best_effort' attribute and a flag indicating if the attribute has a value.

Flag indicating if the cluster deletion should be best-effort mode or not.

func (*PendingDeleteCluster) GetCluster ¶ added in v0.1.333

func (o *PendingDeleteCluster) GetCluster() (value *Cluster, ok bool)

GetCluster returns the value of the 'cluster' attribute and a flag indicating if the attribute has a value.

Cluster is the details of the cluster that is pending deletion.

func (*PendingDeleteCluster) GetCreationTimestamp ¶ added in v0.1.333

func (o *PendingDeleteCluster) 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 (*PendingDeleteCluster) GetHREF ¶ added in v0.1.333

func (o *PendingDeleteCluster) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*PendingDeleteCluster) GetID ¶ added in v0.1.333

func (o *PendingDeleteCluster) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*PendingDeleteCluster) HREF ¶ added in v0.1.333

func (o *PendingDeleteCluster) HREF() string

HREF returns the link to the object.

func (*PendingDeleteCluster) ID ¶ added in v0.1.333

func (o *PendingDeleteCluster) ID() string

ID returns the identifier of the object.

func (*PendingDeleteCluster) Kind ¶ added in v0.1.333

func (o *PendingDeleteCluster) Kind() string

Kind returns the name of the type of the object.

func (o *PendingDeleteCluster) Link() bool

Link returns true iif this is a link.

type PendingDeleteClusterBuilder ¶ added in v0.1.333

type PendingDeleteClusterBuilder struct {
	// contains filtered or unexported fields
}

PendingDeleteClusterBuilder contains the data and logic needed to build 'pending_delete_cluster' objects.

Represents a pending delete entry for a specific cluster.

func NewPendingDeleteCluster ¶ added in v0.1.333

func NewPendingDeleteCluster() *PendingDeleteClusterBuilder

NewPendingDeleteCluster creates a new builder of 'pending_delete_cluster' objects.

func (*PendingDeleteClusterBuilder) BestEffort ¶ added in v0.1.333

BestEffort sets the value of the 'best_effort' attribute to the given value.

func (*PendingDeleteClusterBuilder) Build ¶ added in v0.1.333

func (b *PendingDeleteClusterBuilder) Build() (object *PendingDeleteCluster, err error)

Build creates a 'pending_delete_cluster' object using the configuration stored in the builder.

func (*PendingDeleteClusterBuilder) Cluster ¶ added in v0.1.333

Cluster sets the value of the 'cluster' attribute to the given value.

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 (*PendingDeleteClusterBuilder) Copy ¶ added in v0.1.333

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*PendingDeleteClusterBuilder) CreationTimestamp ¶ added in v0.1.333

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*PendingDeleteClusterBuilder) Empty ¶ added in v0.1.333

func (b *PendingDeleteClusterBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*PendingDeleteClusterBuilder) HREF ¶ added in v0.1.333

HREF sets the link to the object.

func (*PendingDeleteClusterBuilder) ID ¶ added in v0.1.333

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

type PendingDeleteClusterClient ¶ added in v0.1.333

type PendingDeleteClusterClient struct {
	// contains filtered or unexported fields
}

PendingDeleteClusterClient is the client of the 'pending_delete_cluster' resource.

Manages a specific pending delete cluster.

func NewPendingDeleteClusterClient ¶ added in v0.1.333

func NewPendingDeleteClusterClient(transport http.RoundTripper, path string) *PendingDeleteClusterClient

NewPendingDeleteClusterClient creates a new client for the 'pending_delete_cluster' resource using the given transport to send the requests and receive the responses.

func (*PendingDeleteClusterClient) Get ¶ added in v0.1.333

Get creates a request for the 'get' method.

Retrieves the details of the pending delete cluster.

func (*PendingDeleteClusterClient) Poll ¶ added in v0.1.333

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*PendingDeleteClusterClient) Update ¶ added in v0.1.333

Update creates a request for the 'update' method.

Updates the pending delete cluster entry.

type PendingDeleteClusterGetRequest ¶ added in v0.1.333

type PendingDeleteClusterGetRequest struct {
	// contains filtered or unexported fields
}

PendingDeleteClusterGetRequest is the request for the 'get' method.

func (*PendingDeleteClusterGetRequest) Header ¶ added in v0.1.333

func (r *PendingDeleteClusterGetRequest) Header(name string, value interface{}) *PendingDeleteClusterGetRequest

Header adds a request header.

func (*PendingDeleteClusterGetRequest) Impersonate ¶ added in v0.1.333

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*PendingDeleteClusterGetRequest) Parameter ¶ added in v0.1.333

func (r *PendingDeleteClusterGetRequest) Parameter(name string, value interface{}) *PendingDeleteClusterGetRequest

Parameter adds a query parameter.

func (*PendingDeleteClusterGetRequest) Send ¶ added in v0.1.333

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*PendingDeleteClusterGetRequest) SendContext ¶ added in v0.1.333

SendContext sends this request, waits for the response, and returns it.

type PendingDeleteClusterGetResponse ¶ added in v0.1.333

type PendingDeleteClusterGetResponse struct {
	// contains filtered or unexported fields
}

PendingDeleteClusterGetResponse is the response for the 'get' method.

func (*PendingDeleteClusterGetResponse) Body ¶ added in v0.1.333

Body returns the value of the 'body' parameter.

func (*PendingDeleteClusterGetResponse) Error ¶ added in v0.1.333

Error returns the response error.

func (*PendingDeleteClusterGetResponse) GetBody ¶ added in v0.1.333

func (r *PendingDeleteClusterGetResponse) GetBody() (value *PendingDeleteCluster, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*PendingDeleteClusterGetResponse) Header ¶ added in v0.1.333

Header returns header of the response.

func (*PendingDeleteClusterGetResponse) Status ¶ added in v0.1.333

Status returns the response status code.

type PendingDeleteClusterList ¶ added in v0.1.333

type PendingDeleteClusterList struct {
	// contains filtered or unexported fields
}

PendingDeleteClusterList is a list of values of the 'pending_delete_cluster' type.

func (*PendingDeleteClusterList) Each ¶ added in v0.1.333

func (l *PendingDeleteClusterList) Each(f func(item *PendingDeleteCluster) 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 (*PendingDeleteClusterList) Empty ¶ added in v0.1.333

func (l *PendingDeleteClusterList) Empty() bool

Empty returns true if the list is empty.

func (*PendingDeleteClusterList) Get ¶ added in v0.1.333

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*PendingDeleteClusterList) GetHREF ¶ added in v0.1.333

func (l *PendingDeleteClusterList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*PendingDeleteClusterList) HREF ¶ added in v0.1.333

func (l *PendingDeleteClusterList) HREF() string

HREF returns the link to the list.

func (*PendingDeleteClusterList) Kind ¶ added in v0.1.333

func (l *PendingDeleteClusterList) Kind() string

Kind returns the name of the type of the object.

func (*PendingDeleteClusterList) Len ¶ added in v0.1.333

func (l *PendingDeleteClusterList) Len() int

Len returns the length of the list.

func (l *PendingDeleteClusterList) Link() bool

Link returns true iif this is a link.

func (*PendingDeleteClusterList) Range ¶ added in v0.1.333

func (l *PendingDeleteClusterList) Range(f func(index int, item *PendingDeleteCluster) 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 (*PendingDeleteClusterList) Slice ¶ added in v0.1.333

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 PendingDeleteClusterListBuilder ¶ added in v0.1.333

type PendingDeleteClusterListBuilder struct {
	// contains filtered or unexported fields
}

PendingDeleteClusterListBuilder contains the data and logic needed to build 'pending_delete_cluster' objects.

func NewPendingDeleteClusterList ¶ added in v0.1.333

func NewPendingDeleteClusterList() *PendingDeleteClusterListBuilder

NewPendingDeleteClusterList creates a new builder of 'pending_delete_cluster' objects.

func (*PendingDeleteClusterListBuilder) Build ¶ added in v0.1.333

Build creates a list of 'pending_delete_cluster' objects using the configuration stored in the builder.

func (*PendingDeleteClusterListBuilder) Copy ¶ added in v0.1.333

Copy copies the items of the given list into this builder, discarding any previous items.

func (*PendingDeleteClusterListBuilder) Empty ¶ added in v0.1.333

Empty returns true if the list is empty.

func (*PendingDeleteClusterListBuilder) Items ¶ added in v0.1.333

Items sets the items of the list.

type PendingDeleteClusterPollRequest ¶ added in v0.1.333

type PendingDeleteClusterPollRequest struct {
	// contains filtered or unexported fields
}

PendingDeleteClusterPollRequest is the request for the Poll method.

func (*PendingDeleteClusterPollRequest) Header ¶ added in v0.1.333

func (r *PendingDeleteClusterPollRequest) Header(name string, value interface{}) *PendingDeleteClusterPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*PendingDeleteClusterPollRequest) Interval ¶ added in v0.1.333

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*PendingDeleteClusterPollRequest) Parameter ¶ added in v0.1.333

func (r *PendingDeleteClusterPollRequest) Parameter(name string, value interface{}) *PendingDeleteClusterPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*PendingDeleteClusterPollRequest) Predicate ¶ added in v0.1.333

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*PendingDeleteClusterPollRequest) StartContext ¶ added in v0.1.333

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*PendingDeleteClusterPollRequest) Status ¶ added in v0.1.333

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type PendingDeleteClusterPollResponse ¶ added in v0.1.333

type PendingDeleteClusterPollResponse struct {
	// contains filtered or unexported fields
}

PendingDeleteClusterPollResponse is the response for the Poll method.

func (*PendingDeleteClusterPollResponse) Body ¶ added in v0.1.333

Body returns the value of the 'body' parameter.

func (*PendingDeleteClusterPollResponse) Error ¶ added in v0.1.333

Error returns the response error.

func (*PendingDeleteClusterPollResponse) GetBody ¶ added in v0.1.333

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*PendingDeleteClusterPollResponse) Header ¶ added in v0.1.333

Header returns header of the response.

func (*PendingDeleteClusterPollResponse) Status ¶ added in v0.1.333

Status returns the response status code.

type PendingDeleteClusterUpdateRequest ¶ added in v0.1.333

type PendingDeleteClusterUpdateRequest struct {
	// contains filtered or unexported fields
}

PendingDeleteClusterUpdateRequest is the request for the 'update' method.

func (*PendingDeleteClusterUpdateRequest) Body ¶ added in v0.1.333

Body sets the value of the 'body' parameter.

func (*PendingDeleteClusterUpdateRequest) Header ¶ added in v0.1.333

Header adds a request header.

func (*PendingDeleteClusterUpdateRequest) Impersonate ¶ added in v0.1.333

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*PendingDeleteClusterUpdateRequest) Parameter ¶ added in v0.1.333

func (r *PendingDeleteClusterUpdateRequest) Parameter(name string, value interface{}) *PendingDeleteClusterUpdateRequest

Parameter adds a query parameter.

func (*PendingDeleteClusterUpdateRequest) Send ¶ added in v0.1.333

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*PendingDeleteClusterUpdateRequest) SendContext ¶ added in v0.1.333

SendContext sends this request, waits for the response, and returns it.

type PendingDeleteClusterUpdateResponse ¶ added in v0.1.333

type PendingDeleteClusterUpdateResponse struct {
	// contains filtered or unexported fields
}

PendingDeleteClusterUpdateResponse is the response for the 'update' method.

func (*PendingDeleteClusterUpdateResponse) Body ¶ added in v0.1.333

Body returns the value of the 'body' parameter.

func (*PendingDeleteClusterUpdateResponse) Error ¶ added in v0.1.333

Error returns the response error.

func (*PendingDeleteClusterUpdateResponse) GetBody ¶ added in v0.1.333

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*PendingDeleteClusterUpdateResponse) Header ¶ added in v0.1.333

Header returns header of the response.

func (*PendingDeleteClusterUpdateResponse) Status ¶ added in v0.1.333

Status returns the response status code.

type PendingDeleteClustersClient ¶ added in v0.1.333

type PendingDeleteClustersClient struct {
	// contains filtered or unexported fields
}

PendingDeleteClustersClient is the client of the 'pending_delete_clusters' resource.

Manages the collection of pending delete clusters.

func NewPendingDeleteClustersClient ¶ added in v0.1.333

func NewPendingDeleteClustersClient(transport http.RoundTripper, path string) *PendingDeleteClustersClient

NewPendingDeleteClustersClient creates a new client for the 'pending_delete_clusters' resource using the given transport to send the requests and receive the responses.

func (*PendingDeleteClustersClient) List ¶ added in v0.1.333

List creates a request for the 'list' method.

Retrieves the list of pending delete clusters.

func (*PendingDeleteClustersClient) PendingDeleteCluster ¶ added in v0.1.333

func (c *PendingDeleteClustersClient) PendingDeleteCluster(id string) *PendingDeleteClusterClient

PendingDeleteCluster returns the target 'pending_delete_cluster' resource for the given identifier.

Returns a reference to the service that manages an specific pending delete cluster.

type PendingDeleteClustersListRequest ¶ added in v0.1.333

type PendingDeleteClustersListRequest struct {
	// contains filtered or unexported fields
}

PendingDeleteClustersListRequest is the request for the 'list' method.

func (*PendingDeleteClustersListRequest) Header ¶ added in v0.1.333

func (r *PendingDeleteClustersListRequest) Header(name string, value interface{}) *PendingDeleteClustersListRequest

Header adds a request header.

func (*PendingDeleteClustersListRequest) Impersonate ¶ added in v0.1.333

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*PendingDeleteClustersListRequest) Order ¶ added in v0.1.333

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the pending delete cluster instead of the names of the columns of a table. For example, in order to sort the pending delete clusters descending by creation timestamp (i.e. their deletion time) the value should be:

```sql creation_timestamp desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*PendingDeleteClustersListRequest) Page ¶ added in v0.1.333

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*PendingDeleteClustersListRequest) Parameter ¶ added in v0.1.333

func (r *PendingDeleteClustersListRequest) Parameter(name string, value interface{}) *PendingDeleteClustersListRequest

Parameter adds a query parameter.

func (*PendingDeleteClustersListRequest) Search ¶ added in v0.1.333

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the pending delete cluster instead of the names of the columns of a table. For example, in order to retrieve all the pending delete clusters with creation time later than 2023-03-01T00:00:00Z the following is required:

```sql creation_timestamp > '2023-03-01T00:00:00Z' ```

If the parameter isn't provided, or if the value is empty, then all the pending delete clusters that the user has permission to see will be returned.

func (*PendingDeleteClustersListRequest) Send ¶ added in v0.1.333

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*PendingDeleteClustersListRequest) SendContext ¶ added in v0.1.333

SendContext sends this request, waits for the response, and returns it.

func (*PendingDeleteClustersListRequest) Size ¶ added in v0.1.333

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type PendingDeleteClustersListResponse ¶ added in v0.1.333

type PendingDeleteClustersListResponse struct {
	// contains filtered or unexported fields
}

PendingDeleteClustersListResponse is the response for the 'list' method.

func (*PendingDeleteClustersListResponse) Error ¶ added in v0.1.333

Error returns the response error.

func (*PendingDeleteClustersListResponse) GetItems ¶ added in v0.1.333

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of pending delete clusters.

func (*PendingDeleteClustersListResponse) GetPage ¶ added in v0.1.333

func (r *PendingDeleteClustersListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*PendingDeleteClustersListResponse) GetSize ¶ added in v0.1.333

func (r *PendingDeleteClustersListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*PendingDeleteClustersListResponse) GetTotal ¶ added in v0.1.333

func (r *PendingDeleteClustersListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*PendingDeleteClustersListResponse) Header ¶ added in v0.1.333

Header returns header of the response.

func (*PendingDeleteClustersListResponse) Items ¶ added in v0.1.333

Items returns the value of the 'items' parameter.

Retrieved list of pending delete clusters.

func (*PendingDeleteClustersListResponse) Page ¶ added in v0.1.333

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*PendingDeleteClustersListResponse) Size ¶ added in v0.1.333

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*PendingDeleteClustersListResponse) Status ¶ added in v0.1.333

Status returns the response status code.

func (*PendingDeleteClustersListResponse) Total ¶ added in v0.1.333

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type Platform ¶ added in v0.1.387

type Platform string

Platform represents the values of the 'platform' enumerated type.

const (
	//
	PlatformAws Platform = "aws"
	//
	PlatformAwsClassic Platform = "aws-classic"
	//
	PlatformAwsHostedCp Platform = "aws-hosted-cp"
	//
	PlatformGcp Platform = "gcp"
	//
	PlatformHostedCluster Platform = "hostedcluster"
)

func UnmarshalPlatformList ¶ added in v0.1.387

func UnmarshalPlatformList(source interface{}) (items []Platform, err error)

UnmarshalPlatformList reads a list of values of the 'platform' type from the given source, which can be a slice of bytes, a string or a reader.

type PrivateLinkClusterConfiguration ¶ added in v0.0.329

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 UnmarshalPrivateLinkClusterConfiguration ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*PrivateLinkClusterConfiguration) GetPrincipals ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type PrivateLinkClusterConfigurationBuilder struct {
	// contains filtered or unexported fields
}

PrivateLinkClusterConfigurationBuilder contains the data and logic needed to build 'private_link_cluster_configuration' objects.

Manages the configuration for the Private Links.

func NewPrivateLinkClusterConfiguration ¶ added in v0.0.329

func NewPrivateLinkClusterConfiguration() *PrivateLinkClusterConfigurationBuilder

NewPrivateLinkClusterConfiguration creates a new builder of 'private_link_cluster_configuration' objects.

func (*PrivateLinkClusterConfigurationBuilder) Build ¶ added in v0.0.329

Build creates a 'private_link_cluster_configuration' object using the configuration stored in the builder.

func (*PrivateLinkClusterConfigurationBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*PrivateLinkClusterConfigurationBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*PrivateLinkClusterConfigurationBuilder) Principals ¶ added in v0.0.329

Principals sets the value of the 'principals' attribute to the given values.

type PrivateLinkClusterConfigurationList ¶ added in v0.0.329

type PrivateLinkClusterConfigurationList struct {
	// contains filtered or unexported fields
}

PrivateLinkClusterConfigurationList is a list of values of the 'private_link_cluster_configuration' type.

func (*PrivateLinkClusterConfigurationList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*PrivateLinkClusterConfigurationList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*PrivateLinkClusterConfigurationList) Len ¶ added in v0.0.329

Len returns the length of the list.

func (*PrivateLinkClusterConfigurationList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type PrivateLinkClusterConfigurationListBuilder struct {
	// contains filtered or unexported fields
}

PrivateLinkClusterConfigurationListBuilder contains the data and logic needed to build 'private_link_cluster_configuration' objects.

func NewPrivateLinkClusterConfigurationList ¶ added in v0.0.329

func NewPrivateLinkClusterConfigurationList() *PrivateLinkClusterConfigurationListBuilder

NewPrivateLinkClusterConfigurationList creates a new builder of 'private_link_cluster_configuration' objects.

func (*PrivateLinkClusterConfigurationListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'private_link_cluster_configuration' objects using the configuration stored in the builder.

func (*PrivateLinkClusterConfigurationListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*PrivateLinkClusterConfigurationListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*PrivateLinkClusterConfigurationListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type PrivateLinkConfiguration ¶ added in v0.0.329

type PrivateLinkConfiguration struct {
	// contains filtered or unexported fields
}

PrivateLinkConfiguration represents the values of the 'private_link_configuration' type.

Manages the configuration for the Private Links.

func UnmarshalPrivateLinkConfiguration ¶ added in v0.0.329

func UnmarshalPrivateLinkConfiguration(source interface{}) (object *PrivateLinkConfiguration, err error)

UnmarshalPrivateLinkConfiguration reads a value of the 'private_link_configuration' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalPrivateLinkConfigurationList ¶ added in v0.0.329

func UnmarshalPrivateLinkConfigurationList(source interface{}) (items []*PrivateLinkConfiguration, err error)

UnmarshalPrivateLinkConfigurationList reads a list of values of the 'private_link_configuration' type from the given source, which can be a slice of bytes, a string or a reader.

func (*PrivateLinkConfiguration) Empty ¶ added in v0.0.329

func (o *PrivateLinkConfiguration) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*PrivateLinkConfiguration) GetPrincipals ¶ added in v0.0.329

func (o *PrivateLinkConfiguration) GetPrincipals() (value *PrivateLinkPrincipals, 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 (*PrivateLinkConfiguration) Principals ¶ added in v0.0.329

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 PrivateLinkConfigurationBuilder ¶ added in v0.0.329

type PrivateLinkConfigurationBuilder struct {
	// contains filtered or unexported fields
}

PrivateLinkConfigurationBuilder contains the data and logic needed to build 'private_link_configuration' objects.

Manages the configuration for the Private Links.

func NewPrivateLinkConfiguration ¶ added in v0.0.329

func NewPrivateLinkConfiguration() *PrivateLinkConfigurationBuilder

NewPrivateLinkConfiguration creates a new builder of 'private_link_configuration' objects.

func (*PrivateLinkConfigurationBuilder) Build ¶ added in v0.0.329

Build creates a 'private_link_configuration' object using the configuration stored in the builder.

func (*PrivateLinkConfigurationBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*PrivateLinkConfigurationBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*PrivateLinkConfigurationBuilder) Principals ¶ added in v0.0.329

Principals sets the value of the 'principals' attribute to the given value.

Contains a list of principals for the Private Link.

type PrivateLinkConfigurationClient ¶ added in v0.0.329

type PrivateLinkConfigurationClient struct {
	// contains filtered or unexported fields
}

PrivateLinkConfigurationClient is the client of the 'private_link_configuration' resource.

Manages the configuration for the Private Links.

func NewPrivateLinkConfigurationClient ¶ added in v0.0.329

func NewPrivateLinkConfigurationClient(transport http.RoundTripper, path string) *PrivateLinkConfigurationClient

NewPrivateLinkConfigurationClient creates a new client for the 'private_link_configuration' resource using the given transport to send the requests and receive the responses.

func (*PrivateLinkConfigurationClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the configuration for the Private Link.

func (*PrivateLinkConfigurationClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*PrivateLinkConfigurationClient) Principals ¶ added in v0.0.329

Principals returns the target 'private_link_principals' resource.

type PrivateLinkConfigurationGetRequest ¶ added in v0.0.329

type PrivateLinkConfigurationGetRequest struct {
	// contains filtered or unexported fields
}

PrivateLinkConfigurationGetRequest is the request for the 'get' method.

func (*PrivateLinkConfigurationGetRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*PrivateLinkConfigurationGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*PrivateLinkConfigurationGetRequest) Parameter ¶ added in v0.0.329

func (r *PrivateLinkConfigurationGetRequest) Parameter(name string, value interface{}) *PrivateLinkConfigurationGetRequest

Parameter adds a query parameter.

func (*PrivateLinkConfigurationGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*PrivateLinkConfigurationGetRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type PrivateLinkConfigurationGetResponse ¶ added in v0.0.329

type PrivateLinkConfigurationGetResponse struct {
	// contains filtered or unexported fields
}

PrivateLinkConfigurationGetResponse is the response for the 'get' method.

func (*PrivateLinkConfigurationGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*PrivateLinkConfigurationGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*PrivateLinkConfigurationGetResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*PrivateLinkConfigurationGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*PrivateLinkConfigurationGetResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type PrivateLinkConfigurationList ¶ added in v0.0.329

type PrivateLinkConfigurationList struct {
	// contains filtered or unexported fields
}

PrivateLinkConfigurationList is a list of values of the 'private_link_configuration' type.

func (*PrivateLinkConfigurationList) Each ¶ added in v0.0.329

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 (*PrivateLinkConfigurationList) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*PrivateLinkConfigurationList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*PrivateLinkConfigurationList) Len ¶ added in v0.0.329

Len returns the length of the list.

func (*PrivateLinkConfigurationList) Range ¶ added in v0.0.329

func (l *PrivateLinkConfigurationList) Range(f func(index int, item *PrivateLinkConfiguration) 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 (*PrivateLinkConfigurationList) Slice ¶ added in v0.0.329

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 PrivateLinkConfigurationListBuilder ¶ added in v0.0.329

type PrivateLinkConfigurationListBuilder struct {
	// contains filtered or unexported fields
}

PrivateLinkConfigurationListBuilder contains the data and logic needed to build 'private_link_configuration' objects.

func NewPrivateLinkConfigurationList ¶ added in v0.0.329

func NewPrivateLinkConfigurationList() *PrivateLinkConfigurationListBuilder

NewPrivateLinkConfigurationList creates a new builder of 'private_link_configuration' objects.

func (*PrivateLinkConfigurationListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'private_link_configuration' objects using the configuration stored in the builder.

func (*PrivateLinkConfigurationListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*PrivateLinkConfigurationListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*PrivateLinkConfigurationListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type PrivateLinkConfigurationPollRequest ¶ added in v0.0.329

type PrivateLinkConfigurationPollRequest struct {
	// contains filtered or unexported fields
}

PrivateLinkConfigurationPollRequest is the request for the Poll method.

func (*PrivateLinkConfigurationPollRequest) Header ¶ added in v0.0.329

Header adds a request header to all the requests that will be used to retrieve the object.

func (*PrivateLinkConfigurationPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*PrivateLinkConfigurationPollRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*PrivateLinkConfigurationPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*PrivateLinkConfigurationPollRequest) StartContext ¶ added in v0.0.329

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*PrivateLinkConfigurationPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type PrivateLinkConfigurationPollResponse ¶ added in v0.0.329

type PrivateLinkConfigurationPollResponse struct {
	// contains filtered or unexported fields
}

PrivateLinkConfigurationPollResponse is the response for the Poll method.

func (*PrivateLinkConfigurationPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*PrivateLinkConfigurationPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*PrivateLinkConfigurationPollResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*PrivateLinkConfigurationPollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*PrivateLinkConfigurationPollResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type PrivateLinkPrincipal ¶ added in v0.0.329

type PrivateLinkPrincipal struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipal represents the values of the 'private_link_principal' type.

func UnmarshalPrivateLinkPrincipal ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *PrivateLinkPrincipal) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*PrivateLinkPrincipal) GetHREF ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *PrivateLinkPrincipal) HREF() string

HREF returns the link to the object.

func (*PrivateLinkPrincipal) ID ¶ added in v0.0.329

func (o *PrivateLinkPrincipal) ID() string

ID returns the identifier of the object.

func (*PrivateLinkPrincipal) Kind ¶ added in v0.0.329

func (o *PrivateLinkPrincipal) Kind() string

Kind returns the name of the type of the object.

func (o *PrivateLinkPrincipal) Link() bool

Link returns true iif this is a link.

func (*PrivateLinkPrincipal) Principal ¶ added in v0.0.329

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 ¶ added in v0.0.329

type PrivateLinkPrincipalBuilder struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalBuilder contains the data and logic needed to build 'private_link_principal' objects.

func NewPrivateLinkPrincipal ¶ added in v0.0.329

func NewPrivateLinkPrincipal() *PrivateLinkPrincipalBuilder

NewPrivateLinkPrincipal creates a new builder of 'private_link_principal' objects.

func (*PrivateLinkPrincipalBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*PrivateLinkPrincipalBuilder) Empty ¶ added in v0.0.329

func (b *PrivateLinkPrincipalBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*PrivateLinkPrincipalBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*PrivateLinkPrincipalBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*PrivateLinkPrincipalBuilder) Principal ¶ added in v0.0.329

Principal sets the value of the 'principal' attribute to the given value.

type PrivateLinkPrincipalClient ¶ added in v0.0.329

type PrivateLinkPrincipalClient struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalClient is the client of the 'private_link_principal' resource.

Manages a principal for a Private Link.

func NewPrivateLinkPrincipalClient ¶ added in v0.0.329

func NewPrivateLinkPrincipalClient(transport http.RoundTripper, path string) *PrivateLinkPrincipalClient

NewPrivateLinkPrincipalClient creates a new client for the 'private_link_principal' resource using the given transport to send the requests and receive the responses.

func (*PrivateLinkPrincipalClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the principal.

func (*PrivateLinkPrincipalClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the principal.

func (*PrivateLinkPrincipalClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type PrivateLinkPrincipalDeleteRequest ¶ added in v0.0.329

type PrivateLinkPrincipalDeleteRequest struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalDeleteRequest is the request for the 'delete' method.

func (*PrivateLinkPrincipalDeleteRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*PrivateLinkPrincipalDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*PrivateLinkPrincipalDeleteRequest) Parameter ¶ added in v0.0.329

func (r *PrivateLinkPrincipalDeleteRequest) Parameter(name string, value interface{}) *PrivateLinkPrincipalDeleteRequest

Parameter adds a query parameter.

func (*PrivateLinkPrincipalDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*PrivateLinkPrincipalDeleteRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type PrivateLinkPrincipalDeleteResponse ¶ added in v0.0.329

type PrivateLinkPrincipalDeleteResponse struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalDeleteResponse is the response for the 'delete' method.

func (*PrivateLinkPrincipalDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*PrivateLinkPrincipalDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*PrivateLinkPrincipalDeleteResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type PrivateLinkPrincipalGetRequest ¶ added in v0.0.329

type PrivateLinkPrincipalGetRequest struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalGetRequest is the request for the 'get' method.

func (*PrivateLinkPrincipalGetRequest) Header ¶ added in v0.0.329

func (r *PrivateLinkPrincipalGetRequest) Header(name string, value interface{}) *PrivateLinkPrincipalGetRequest

Header adds a request header.

func (*PrivateLinkPrincipalGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*PrivateLinkPrincipalGetRequest) Parameter ¶ added in v0.0.329

func (r *PrivateLinkPrincipalGetRequest) Parameter(name string, value interface{}) *PrivateLinkPrincipalGetRequest

Parameter adds a query parameter.

func (*PrivateLinkPrincipalGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*PrivateLinkPrincipalGetRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type PrivateLinkPrincipalGetResponse ¶ added in v0.0.329

type PrivateLinkPrincipalGetResponse struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalGetResponse is the response for the 'get' method.

func (*PrivateLinkPrincipalGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*PrivateLinkPrincipalGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*PrivateLinkPrincipalGetResponse) GetBody ¶ added in v0.0.329

func (r *PrivateLinkPrincipalGetResponse) GetBody() (value *PrivateLinkPrincipal, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*PrivateLinkPrincipalGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*PrivateLinkPrincipalGetResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type PrivateLinkPrincipalList ¶ added in v0.0.329

type PrivateLinkPrincipalList struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalList is a list of values of the 'private_link_principal' type.

func (*PrivateLinkPrincipalList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *PrivateLinkPrincipalList) Empty() bool

Empty returns true if the list is empty.

func (*PrivateLinkPrincipalList) Get ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *PrivateLinkPrincipalList) HREF() string

HREF returns the link to the list.

func (*PrivateLinkPrincipalList) Kind ¶ added in v0.0.329

func (l *PrivateLinkPrincipalList) Kind() string

Kind returns the name of the type of the object.

func (*PrivateLinkPrincipalList) Len ¶ added in v0.0.329

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 ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type PrivateLinkPrincipalListBuilder struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalListBuilder contains the data and logic needed to build 'private_link_principal' objects.

func NewPrivateLinkPrincipalList ¶ added in v0.0.329

func NewPrivateLinkPrincipalList() *PrivateLinkPrincipalListBuilder

NewPrivateLinkPrincipalList creates a new builder of 'private_link_principal' objects.

func (*PrivateLinkPrincipalListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'private_link_principal' objects using the configuration stored in the builder.

func (*PrivateLinkPrincipalListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*PrivateLinkPrincipalListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*PrivateLinkPrincipalListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type PrivateLinkPrincipalPollRequest ¶ added in v0.0.329

type PrivateLinkPrincipalPollRequest struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalPollRequest is the request for the Poll method.

func (*PrivateLinkPrincipalPollRequest) Header ¶ added in v0.0.329

func (r *PrivateLinkPrincipalPollRequest) Header(name string, value interface{}) *PrivateLinkPrincipalPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*PrivateLinkPrincipalPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*PrivateLinkPrincipalPollRequest) Parameter ¶ added in v0.0.329

func (r *PrivateLinkPrincipalPollRequest) Parameter(name string, value interface{}) *PrivateLinkPrincipalPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*PrivateLinkPrincipalPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*PrivateLinkPrincipalPollRequest) StartContext ¶ added in v0.0.329

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*PrivateLinkPrincipalPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type PrivateLinkPrincipalPollResponse ¶ added in v0.0.329

type PrivateLinkPrincipalPollResponse struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalPollResponse is the response for the Poll method.

func (*PrivateLinkPrincipalPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*PrivateLinkPrincipalPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*PrivateLinkPrincipalPollResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*PrivateLinkPrincipalPollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*PrivateLinkPrincipalPollResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type PrivateLinkPrincipals ¶ added in v0.0.329

type PrivateLinkPrincipals struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipals represents the values of the 'private_link_principals' type.

Contains a list of principals for the Private Link.

func UnmarshalPrivateLinkPrincipals ¶ added in v0.0.329

func UnmarshalPrivateLinkPrincipals(source interface{}) (object *PrivateLinkPrincipals, err error)

UnmarshalPrivateLinkPrincipals reads a value of the 'private_link_principals' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalPrivateLinkPrincipalsList ¶ added in v0.0.329

func UnmarshalPrivateLinkPrincipalsList(source interface{}) (items []*PrivateLinkPrincipals, err error)

UnmarshalPrivateLinkPrincipalsList reads a list of values of the 'private_link_principals' type from the given source, which can be a slice of bytes, a string or a reader.

func (*PrivateLinkPrincipals) Empty ¶ added in v0.0.329

func (o *PrivateLinkPrincipals) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*PrivateLinkPrincipals) GetHREF ¶ added in v0.0.329

func (o *PrivateLinkPrincipals) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*PrivateLinkPrincipals) GetID ¶ added in v0.0.329

func (o *PrivateLinkPrincipals) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*PrivateLinkPrincipals) GetPrincipals ¶ added in v0.0.329

func (o *PrivateLinkPrincipals) 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 (*PrivateLinkPrincipals) HREF ¶ added in v0.0.329

func (o *PrivateLinkPrincipals) HREF() string

HREF returns the link to the object.

func (*PrivateLinkPrincipals) ID ¶ added in v0.0.329

func (o *PrivateLinkPrincipals) ID() string

ID returns the identifier of the object.

func (*PrivateLinkPrincipals) Kind ¶ added in v0.0.329

func (o *PrivateLinkPrincipals) Kind() string

Kind returns the name of the type of the object.

func (o *PrivateLinkPrincipals) Link() bool

Link returns true iif this is a link.

func (*PrivateLinkPrincipals) Principals ¶ added in v0.0.329

func (o *PrivateLinkPrincipals) Principals() []*PrivateLinkPrincipal

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 PrivateLinkPrincipalsAddRequest ¶ added in v0.0.329

type PrivateLinkPrincipalsAddRequest struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalsAddRequest is the request for the 'add' method.

func (*PrivateLinkPrincipalsAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Properties of the principal.

func (*PrivateLinkPrincipalsAddRequest) Header ¶ added in v0.0.329

func (r *PrivateLinkPrincipalsAddRequest) Header(name string, value interface{}) *PrivateLinkPrincipalsAddRequest

Header adds a request header.

func (*PrivateLinkPrincipalsAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*PrivateLinkPrincipalsAddRequest) Parameter ¶ added in v0.0.329

func (r *PrivateLinkPrincipalsAddRequest) Parameter(name string, value interface{}) *PrivateLinkPrincipalsAddRequest

Parameter adds a query parameter.

func (*PrivateLinkPrincipalsAddRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*PrivateLinkPrincipalsAddRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type PrivateLinkPrincipalsAddResponse ¶ added in v0.0.329

type PrivateLinkPrincipalsAddResponse struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalsAddResponse is the response for the 'add' method.

func (*PrivateLinkPrincipalsAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Properties of the principal.

func (*PrivateLinkPrincipalsAddResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*PrivateLinkPrincipalsAddResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Properties of the principal.

func (*PrivateLinkPrincipalsAddResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*PrivateLinkPrincipalsAddResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type PrivateLinkPrincipalsBuilder ¶ added in v0.0.329

type PrivateLinkPrincipalsBuilder struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalsBuilder contains the data and logic needed to build 'private_link_principals' objects.

Contains a list of principals for the Private Link.

func NewPrivateLinkPrincipals ¶ added in v0.0.329

func NewPrivateLinkPrincipals() *PrivateLinkPrincipalsBuilder

NewPrivateLinkPrincipals creates a new builder of 'private_link_principals' objects.

func (*PrivateLinkPrincipalsBuilder) Build ¶ added in v0.0.329

func (b *PrivateLinkPrincipalsBuilder) Build() (object *PrivateLinkPrincipals, err error)

Build creates a 'private_link_principals' object using the configuration stored in the builder.

func (*PrivateLinkPrincipalsBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*PrivateLinkPrincipalsBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*PrivateLinkPrincipalsBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*PrivateLinkPrincipalsBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*PrivateLinkPrincipalsBuilder) Principals ¶ added in v0.0.329

Principals sets the value of the 'principals' attribute to the given values.

type PrivateLinkPrincipalsClient ¶ added in v0.0.329

type PrivateLinkPrincipalsClient struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalsClient is the client of the 'private_link_principals' resource.

Contains a list of principals for the Private Link.

func NewPrivateLinkPrincipalsClient ¶ added in v0.0.329

func NewPrivateLinkPrincipalsClient(transport http.RoundTripper, path string) *PrivateLinkPrincipalsClient

NewPrivateLinkPrincipalsClient creates a new client for the 'private_link_principals' resource using the given transport to send the requests and receive the responses.

func (*PrivateLinkPrincipalsClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new principal for the Private Link.

func (*PrivateLinkPrincipalsClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of principals.

func (*PrivateLinkPrincipalsClient) Principal ¶ added in v0.0.329

Principal returns the target 'private_link_principal' resource for the given identifier.

type PrivateLinkPrincipalsList ¶ added in v0.0.329

type PrivateLinkPrincipalsList struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalsList is a list of values of the 'private_link_principals' type.

func (*PrivateLinkPrincipalsList) Each ¶ added in v0.0.329

func (l *PrivateLinkPrincipalsList) Each(f func(item *PrivateLinkPrincipals) 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 (*PrivateLinkPrincipalsList) Empty ¶ added in v0.0.329

func (l *PrivateLinkPrincipalsList) Empty() bool

Empty returns true if the list is empty.

func (*PrivateLinkPrincipalsList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*PrivateLinkPrincipalsList) GetHREF ¶ added in v0.0.329

func (l *PrivateLinkPrincipalsList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*PrivateLinkPrincipalsList) HREF ¶ added in v0.0.329

HREF returns the link to the list.

func (*PrivateLinkPrincipalsList) Kind ¶ added in v0.0.329

Kind returns the name of the type of the object.

func (*PrivateLinkPrincipalsList) Len ¶ added in v0.0.329

func (l *PrivateLinkPrincipalsList) Len() int

Len returns the length of the list.

func (l *PrivateLinkPrincipalsList) Link() bool

Link returns true iif this is a link.

func (*PrivateLinkPrincipalsList) Range ¶ added in v0.0.329

func (l *PrivateLinkPrincipalsList) Range(f func(index int, item *PrivateLinkPrincipals) 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 (*PrivateLinkPrincipalsList) Slice ¶ added in v0.0.329

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 PrivateLinkPrincipalsListBuilder ¶ added in v0.0.329

type PrivateLinkPrincipalsListBuilder struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalsListBuilder contains the data and logic needed to build 'private_link_principals' objects.

func NewPrivateLinkPrincipalsList ¶ added in v0.0.329

func NewPrivateLinkPrincipalsList() *PrivateLinkPrincipalsListBuilder

NewPrivateLinkPrincipalsList creates a new builder of 'private_link_principals' objects.

func (*PrivateLinkPrincipalsListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'private_link_principals' objects using the configuration stored in the builder.

func (*PrivateLinkPrincipalsListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*PrivateLinkPrincipalsListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*PrivateLinkPrincipalsListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type PrivateLinkPrincipalsListRequest ¶ added in v0.0.329

type PrivateLinkPrincipalsListRequest struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalsListRequest is the request for the 'list' method.

func (*PrivateLinkPrincipalsListRequest) Header ¶ added in v0.0.329

func (r *PrivateLinkPrincipalsListRequest) Header(name string, value interface{}) *PrivateLinkPrincipalsListRequest

Header adds a request header.

func (*PrivateLinkPrincipalsListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*PrivateLinkPrincipalsListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*PrivateLinkPrincipalsListRequest) Parameter ¶ added in v0.0.329

func (r *PrivateLinkPrincipalsListRequest) Parameter(name string, value interface{}) *PrivateLinkPrincipalsListRequest

Parameter adds a query parameter.

func (*PrivateLinkPrincipalsListRequest) Search ¶ added in v0.0.329

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role binding instead of the names of the columns of a table. For example, in order to retrieve role bindings with role_id AuthenticatedUser:

```sql role_id = 'AuthenticatedUser' ```

If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.

func (*PrivateLinkPrincipalsListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*PrivateLinkPrincipalsListRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*PrivateLinkPrincipalsListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type PrivateLinkPrincipalsListResponse ¶ added in v0.0.329

type PrivateLinkPrincipalsListResponse struct {
	// contains filtered or unexported fields
}

PrivateLinkPrincipalsListResponse is the response for the 'list' method.

func (*PrivateLinkPrincipalsListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*PrivateLinkPrincipalsListResponse) GetItems ¶ added in v0.0.329

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of principals.

func (*PrivateLinkPrincipalsListResponse) GetPage ¶ added in v0.0.329

func (r *PrivateLinkPrincipalsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*PrivateLinkPrincipalsListResponse) GetSize ¶ added in v0.0.329

func (r *PrivateLinkPrincipalsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*PrivateLinkPrincipalsListResponse) GetTotal ¶ added in v0.0.329

func (r *PrivateLinkPrincipalsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*PrivateLinkPrincipalsListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*PrivateLinkPrincipalsListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of principals.

func (*PrivateLinkPrincipalsListResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*PrivateLinkPrincipalsListResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*PrivateLinkPrincipalsListResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*PrivateLinkPrincipalsListResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type Product ¶

type Product struct {
	// contains filtered or unexported fields
}

Product represents the values of the 'product' type.

Representation of an product that can be selected as a cluster type.

func UnmarshalProduct ¶

func UnmarshalProduct(source interface{}) (object *Product, err error)

UnmarshalProduct reads a value of the 'product' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalProductList ¶

func UnmarshalProductList(source interface{}) (items []*Product, err error)

UnmarshalProductList reads a list of values of the 'product' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Product) Empty ¶

func (o *Product) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Product) GetHREF ¶

func (o *Product) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Product) GetID ¶

func (o *Product) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Product) GetName ¶

func (o *Product) 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 product.

func (*Product) HREF ¶

func (o *Product) HREF() string

HREF returns the link to the object.

func (*Product) ID ¶

func (o *Product) ID() string

ID returns the identifier of the object.

func (*Product) Kind ¶

func (o *Product) Kind() string

Kind returns the name of the type of the object.

func (o *Product) Link() bool

Link returns true iif this is a link.

func (*Product) Name ¶

func (o *Product) 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 product.

type ProductBuilder ¶

type ProductBuilder struct {
	// contains filtered or unexported fields
}

ProductBuilder contains the data and logic needed to build 'product' objects.

Representation of an product that can be selected as a cluster type.

func NewProduct ¶

func NewProduct() *ProductBuilder

NewProduct creates a new builder of 'product' objects.

func (*ProductBuilder) Build ¶

func (b *ProductBuilder) Build() (object *Product, err error)

Build creates a 'product' object using the configuration stored in the builder.

func (*ProductBuilder) Copy ¶

func (b *ProductBuilder) Copy(object *Product) *ProductBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ProductBuilder) Empty ¶ added in v0.0.329

func (b *ProductBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ProductBuilder) HREF ¶

func (b *ProductBuilder) HREF(value string) *ProductBuilder

HREF sets the link to the object.

func (*ProductBuilder) ID ¶

func (b *ProductBuilder) ID(value string) *ProductBuilder

ID sets the identifier of the object.

func (b *ProductBuilder) Link(value bool) *ProductBuilder

Link sets the flag that indicates if this is a link.

func (*ProductBuilder) Name ¶

func (b *ProductBuilder) Name(value string) *ProductBuilder

Name sets the value of the 'name' attribute to the given value.

type ProductClient ¶

type ProductClient struct {
	// contains filtered or unexported fields
}

ProductClient is the client of the 'product' resource.

Manages a specific product.

func NewProductClient ¶

func NewProductClient(transport http.RoundTripper, path string) *ProductClient

NewProductClient creates a new client for the 'product' resource using the given transport to send the requests and receive the responses.

func (*ProductClient) Get ¶

func (c *ProductClient) Get() *ProductGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the product.

func (*ProductClient) MinimalVersions ¶ added in v0.1.385

func (c *ProductClient) MinimalVersions() *ProductMinimalVersionsClient

MinimalVersions returns the target 'product_minimal_versions' resource.

func (*ProductClient) Poll ¶

func (c *ProductClient) Poll() *ProductPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*ProductClient) TechnologyPreviews ¶ added in v0.1.385

func (c *ProductClient) TechnologyPreviews() *ProductTechnologyPreviewsClient

TechnologyPreviews returns the target 'product_technology_previews' resource.

type ProductGetRequest ¶

type ProductGetRequest struct {
	// contains filtered or unexported fields
}

ProductGetRequest is the request for the 'get' method.

func (*ProductGetRequest) Header ¶

func (r *ProductGetRequest) Header(name string, value interface{}) *ProductGetRequest

Header adds a request header.

func (*ProductGetRequest) Impersonate ¶ added in v0.0.329

func (r *ProductGetRequest) Impersonate(user string) *ProductGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProductGetRequest) Parameter ¶

func (r *ProductGetRequest) Parameter(name string, value interface{}) *ProductGetRequest

Parameter adds a query parameter.

func (*ProductGetRequest) Send ¶

func (r *ProductGetRequest) Send() (result *ProductGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProductGetRequest) SendContext ¶

func (r *ProductGetRequest) SendContext(ctx context.Context) (result *ProductGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ProductGetResponse ¶

type ProductGetResponse struct {
	// contains filtered or unexported fields
}

ProductGetResponse is the response for the 'get' method.

func (*ProductGetResponse) Body ¶

func (r *ProductGetResponse) Body() *Product

Body returns the value of the 'body' parameter.

func (*ProductGetResponse) Error ¶

func (r *ProductGetResponse) Error() *errors.Error

Error returns the response error.

func (*ProductGetResponse) GetBody ¶

func (r *ProductGetResponse) GetBody() (value *Product, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ProductGetResponse) Header ¶

func (r *ProductGetResponse) Header() http.Header

Header returns header of the response.

func (*ProductGetResponse) Status ¶

func (r *ProductGetResponse) Status() int

Status returns the response status code.

type ProductList ¶

type ProductList struct {
	// contains filtered or unexported fields
}

ProductList is a list of values of the 'product' type.

func (*ProductList) Each ¶

func (l *ProductList) Each(f func(item *Product) 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 (*ProductList) Empty ¶

func (l *ProductList) Empty() bool

Empty returns true if the list is empty.

func (*ProductList) Get ¶

func (l *ProductList) Get(i int) *Product

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ProductList) GetHREF ¶

func (l *ProductList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ProductList) HREF ¶

func (l *ProductList) HREF() string

HREF returns the link to the list.

func (*ProductList) Kind ¶

func (l *ProductList) Kind() string

Kind returns the name of the type of the object.

func (*ProductList) Len ¶

func (l *ProductList) Len() int

Len returns the length of the list.

func (l *ProductList) Link() bool

Link returns true iif this is a link.

func (*ProductList) Range ¶

func (l *ProductList) Range(f func(index int, item *Product) 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 (*ProductList) Slice ¶

func (l *ProductList) Slice() []*Product

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 ProductListBuilder ¶

type ProductListBuilder struct {
	// contains filtered or unexported fields
}

ProductListBuilder contains the data and logic needed to build 'product' objects.

func NewProductList ¶

func NewProductList() *ProductListBuilder

NewProductList creates a new builder of 'product' objects.

func (*ProductListBuilder) Build ¶

func (b *ProductListBuilder) Build() (list *ProductList, err error)

Build creates a list of 'product' objects using the configuration stored in the builder.

func (*ProductListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ProductListBuilder) Empty ¶ added in v0.0.329

func (b *ProductListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ProductListBuilder) Items ¶

Items sets the items of the list.

type ProductMinimalVersion ¶ added in v0.1.385

type ProductMinimalVersion struct {
	// contains filtered or unexported fields
}

ProductMinimalVersion represents the values of the 'product_minimal_version' type.

Representation of a product minimal version.

func UnmarshalProductMinimalVersion ¶ added in v0.1.385

func UnmarshalProductMinimalVersion(source interface{}) (object *ProductMinimalVersion, err error)

UnmarshalProductMinimalVersion reads a value of the 'product_minimal_version' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalProductMinimalVersionList ¶ added in v0.1.385

func UnmarshalProductMinimalVersionList(source interface{}) (items []*ProductMinimalVersion, err error)

UnmarshalProductMinimalVersionList reads a list of values of the 'product_minimal_version' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ProductMinimalVersion) Empty ¶ added in v0.1.385

func (o *ProductMinimalVersion) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ProductMinimalVersion) GetHREF ¶ added in v0.1.385

func (o *ProductMinimalVersion) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ProductMinimalVersion) GetID ¶ added in v0.1.385

func (o *ProductMinimalVersion) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ProductMinimalVersion) GetRosaCli ¶ added in v0.1.385

func (o *ProductMinimalVersion) GetRosaCli() (value string, ok bool)

GetRosaCli returns the value of the 'rosa_cli' attribute and a flag indicating if the attribute has a value.

The ROSA CLI minimal version.

func (*ProductMinimalVersion) GetStartDate ¶ added in v0.1.385

func (o *ProductMinimalVersion) GetStartDate() (value time.Time, ok bool)

GetStartDate returns the value of the 'start_date' attribute and a flag indicating if the attribute has a value.

The start date for this minimal version.

func (*ProductMinimalVersion) HREF ¶ added in v0.1.385

func (o *ProductMinimalVersion) HREF() string

HREF returns the link to the object.

func (*ProductMinimalVersion) ID ¶ added in v0.1.385

func (o *ProductMinimalVersion) ID() string

ID returns the identifier of the object.

func (*ProductMinimalVersion) Kind ¶ added in v0.1.385

func (o *ProductMinimalVersion) Kind() string

Kind returns the name of the type of the object.

func (o *ProductMinimalVersion) Link() bool

Link returns true iif this is a link.

func (*ProductMinimalVersion) RosaCli ¶ added in v0.1.385

func (o *ProductMinimalVersion) RosaCli() string

RosaCli returns the value of the 'rosa_cli' attribute, or the zero value of the type if the attribute doesn't have a value.

The ROSA CLI minimal version.

func (*ProductMinimalVersion) StartDate ¶ added in v0.1.385

func (o *ProductMinimalVersion) StartDate() time.Time

StartDate returns the value of the 'start_date' attribute, or the zero value of the type if the attribute doesn't have a value.

The start date for this minimal version.

type ProductMinimalVersionBuilder ¶ added in v0.1.385

type ProductMinimalVersionBuilder struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionBuilder contains the data and logic needed to build 'product_minimal_version' objects.

Representation of a product minimal version.

func NewProductMinimalVersion ¶ added in v0.1.385

func NewProductMinimalVersion() *ProductMinimalVersionBuilder

NewProductMinimalVersion creates a new builder of 'product_minimal_version' objects.

func (*ProductMinimalVersionBuilder) Build ¶ added in v0.1.385

func (b *ProductMinimalVersionBuilder) Build() (object *ProductMinimalVersion, err error)

Build creates a 'product_minimal_version' object using the configuration stored in the builder.

func (*ProductMinimalVersionBuilder) Copy ¶ added in v0.1.385

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ProductMinimalVersionBuilder) Empty ¶ added in v0.1.385

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ProductMinimalVersionBuilder) HREF ¶ added in v0.1.385

HREF sets the link to the object.

func (*ProductMinimalVersionBuilder) ID ¶ added in v0.1.385

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*ProductMinimalVersionBuilder) RosaCli ¶ added in v0.1.385

RosaCli sets the value of the 'rosa_cli' attribute to the given value.

func (*ProductMinimalVersionBuilder) StartDate ¶ added in v0.1.385

StartDate sets the value of the 'start_date' attribute to the given value.

type ProductMinimalVersionClient ¶ added in v0.1.385

type ProductMinimalVersionClient struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionClient is the client of the 'product_minimal_version' resource.

Manages a specific product minimal version.

func NewProductMinimalVersionClient ¶ added in v0.1.385

func NewProductMinimalVersionClient(transport http.RoundTripper, path string) *ProductMinimalVersionClient

NewProductMinimalVersionClient creates a new client for the 'product_minimal_version' resource using the given transport to send the requests and receive the responses.

func (*ProductMinimalVersionClient) Get ¶ added in v0.1.385

Get creates a request for the 'get' method.

Retrieves the details of the product minimal version.

func (*ProductMinimalVersionClient) Poll ¶ added in v0.1.385

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type ProductMinimalVersionGetRequest ¶ added in v0.1.385

type ProductMinimalVersionGetRequest struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionGetRequest is the request for the 'get' method.

func (*ProductMinimalVersionGetRequest) Header ¶ added in v0.1.385

func (r *ProductMinimalVersionGetRequest) Header(name string, value interface{}) *ProductMinimalVersionGetRequest

Header adds a request header.

func (*ProductMinimalVersionGetRequest) Impersonate ¶ added in v0.1.385

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProductMinimalVersionGetRequest) Parameter ¶ added in v0.1.385

func (r *ProductMinimalVersionGetRequest) Parameter(name string, value interface{}) *ProductMinimalVersionGetRequest

Parameter adds a query parameter.

func (*ProductMinimalVersionGetRequest) Send ¶ added in v0.1.385

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProductMinimalVersionGetRequest) SendContext ¶ added in v0.1.385

SendContext sends this request, waits for the response, and returns it.

type ProductMinimalVersionGetResponse ¶ added in v0.1.385

type ProductMinimalVersionGetResponse struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionGetResponse is the response for the 'get' method.

func (*ProductMinimalVersionGetResponse) Body ¶ added in v0.1.385

Body returns the value of the 'body' parameter.

func (*ProductMinimalVersionGetResponse) Error ¶ added in v0.1.385

Error returns the response error.

func (*ProductMinimalVersionGetResponse) GetBody ¶ added in v0.1.385

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ProductMinimalVersionGetResponse) Header ¶ added in v0.1.385

Header returns header of the response.

func (*ProductMinimalVersionGetResponse) Status ¶ added in v0.1.385

Status returns the response status code.

type ProductMinimalVersionList ¶ added in v0.1.385

type ProductMinimalVersionList struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionList is a list of values of the 'product_minimal_version' type.

func (*ProductMinimalVersionList) Each ¶ added in v0.1.385

func (l *ProductMinimalVersionList) Each(f func(item *ProductMinimalVersion) 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 (*ProductMinimalVersionList) Empty ¶ added in v0.1.385

func (l *ProductMinimalVersionList) Empty() bool

Empty returns true if the list is empty.

func (*ProductMinimalVersionList) Get ¶ added in v0.1.385

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ProductMinimalVersionList) GetHREF ¶ added in v0.1.385

func (l *ProductMinimalVersionList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ProductMinimalVersionList) HREF ¶ added in v0.1.385

HREF returns the link to the list.

func (*ProductMinimalVersionList) Kind ¶ added in v0.1.385

Kind returns the name of the type of the object.

func (*ProductMinimalVersionList) Len ¶ added in v0.1.385

func (l *ProductMinimalVersionList) Len() int

Len returns the length of the list.

func (l *ProductMinimalVersionList) Link() bool

Link returns true iif this is a link.

func (*ProductMinimalVersionList) Range ¶ added in v0.1.385

func (l *ProductMinimalVersionList) Range(f func(index int, item *ProductMinimalVersion) 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 (*ProductMinimalVersionList) Slice ¶ added in v0.1.385

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 ProductMinimalVersionListBuilder ¶ added in v0.1.385

type ProductMinimalVersionListBuilder struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionListBuilder contains the data and logic needed to build 'product_minimal_version' objects.

func NewProductMinimalVersionList ¶ added in v0.1.385

func NewProductMinimalVersionList() *ProductMinimalVersionListBuilder

NewProductMinimalVersionList creates a new builder of 'product_minimal_version' objects.

func (*ProductMinimalVersionListBuilder) Build ¶ added in v0.1.385

Build creates a list of 'product_minimal_version' objects using the configuration stored in the builder.

func (*ProductMinimalVersionListBuilder) Copy ¶ added in v0.1.385

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ProductMinimalVersionListBuilder) Empty ¶ added in v0.1.385

Empty returns true if the list is empty.

func (*ProductMinimalVersionListBuilder) Items ¶ added in v0.1.385

Items sets the items of the list.

type ProductMinimalVersionPollRequest ¶ added in v0.1.385

type ProductMinimalVersionPollRequest struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionPollRequest is the request for the Poll method.

func (*ProductMinimalVersionPollRequest) Header ¶ added in v0.1.385

func (r *ProductMinimalVersionPollRequest) Header(name string, value interface{}) *ProductMinimalVersionPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ProductMinimalVersionPollRequest) Interval ¶ added in v0.1.385

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ProductMinimalVersionPollRequest) Parameter ¶ added in v0.1.385

func (r *ProductMinimalVersionPollRequest) Parameter(name string, value interface{}) *ProductMinimalVersionPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ProductMinimalVersionPollRequest) Predicate ¶ added in v0.1.385

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ProductMinimalVersionPollRequest) StartContext ¶ added in v0.1.385

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ProductMinimalVersionPollRequest) Status ¶ added in v0.1.385

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ProductMinimalVersionPollResponse ¶ added in v0.1.385

type ProductMinimalVersionPollResponse struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionPollResponse is the response for the Poll method.

func (*ProductMinimalVersionPollResponse) Body ¶ added in v0.1.385

Body returns the value of the 'body' parameter.

func (*ProductMinimalVersionPollResponse) Error ¶ added in v0.1.385

Error returns the response error.

func (*ProductMinimalVersionPollResponse) GetBody ¶ added in v0.1.385

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ProductMinimalVersionPollResponse) Header ¶ added in v0.1.385

Header returns header of the response.

func (*ProductMinimalVersionPollResponse) Status ¶ added in v0.1.385

Status returns the response status code.

type ProductMinimalVersionsClient ¶ added in v0.1.385

type ProductMinimalVersionsClient struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionsClient is the client of the 'product_minimal_versions' resource.

Manages the collection of product minimal versions.

func NewProductMinimalVersionsClient ¶ added in v0.1.385

func NewProductMinimalVersionsClient(transport http.RoundTripper, path string) *ProductMinimalVersionsClient

NewProductMinimalVersionsClient creates a new client for the 'product_minimal_versions' resource using the given transport to send the requests and receive the responses.

func (*ProductMinimalVersionsClient) List ¶ added in v0.1.385

List creates a request for the 'list' method.

Retrieves the list of product minimal versions.

func (*ProductMinimalVersionsClient) MinimalVersion ¶ added in v0.1.385

MinimalVersion returns the target 'product_minimal_version' resource for the given identifier.

Returns a reference to the service that manages a specific product product minimal version.

type ProductMinimalVersionsListRequest ¶ added in v0.1.385

type ProductMinimalVersionsListRequest struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionsListRequest is the request for the 'list' method.

func (*ProductMinimalVersionsListRequest) Header ¶ added in v0.1.385

Header adds a request header.

func (*ProductMinimalVersionsListRequest) Impersonate ¶ added in v0.1.385

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProductMinimalVersionsListRequest) Order ¶ added in v0.1.385

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to sort the products descending by name the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*ProductMinimalVersionsListRequest) Page ¶ added in v0.1.385

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ProductMinimalVersionsListRequest) Parameter ¶ added in v0.1.385

func (r *ProductMinimalVersionsListRequest) Parameter(name string, value interface{}) *ProductMinimalVersionsListRequest

Parameter adds a query parameter.

func (*ProductMinimalVersionsListRequest) Search ¶ added in v0.1.385

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to retrieve all the products with a name starting with `my` the value should be:

```sql name like 'my%' ```

If the parameter isn't provided, or if the value is empty, then all the products that the user has permission to see will be returned.

func (*ProductMinimalVersionsListRequest) Send ¶ added in v0.1.385

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProductMinimalVersionsListRequest) SendContext ¶ added in v0.1.385

SendContext sends this request, waits for the response, and returns it.

func (*ProductMinimalVersionsListRequest) Size ¶ added in v0.1.385

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type ProductMinimalVersionsListResponse ¶ added in v0.1.385

type ProductMinimalVersionsListResponse struct {
	// contains filtered or unexported fields
}

ProductMinimalVersionsListResponse is the response for the 'list' method.

func (*ProductMinimalVersionsListResponse) Error ¶ added in v0.1.385

Error returns the response error.

func (*ProductMinimalVersionsListResponse) GetItems ¶ added in v0.1.385

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of product minimal versions.

func (*ProductMinimalVersionsListResponse) GetPage ¶ added in v0.1.385

func (r *ProductMinimalVersionsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*ProductMinimalVersionsListResponse) GetSize ¶ added in v0.1.385

func (r *ProductMinimalVersionsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*ProductMinimalVersionsListResponse) GetTotal ¶ added in v0.1.385

func (r *ProductMinimalVersionsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*ProductMinimalVersionsListResponse) Header ¶ added in v0.1.385

Header returns header of the response.

func (*ProductMinimalVersionsListResponse) Items ¶ added in v0.1.385

Items returns the value of the 'items' parameter.

Retrieved list of product minimal versions.

func (*ProductMinimalVersionsListResponse) Page ¶ added in v0.1.385

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ProductMinimalVersionsListResponse) Size ¶ added in v0.1.385

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*ProductMinimalVersionsListResponse) Status ¶ added in v0.1.385

Status returns the response status code.

func (*ProductMinimalVersionsListResponse) Total ¶ added in v0.1.385

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type ProductPollRequest ¶

type ProductPollRequest struct {
	// contains filtered or unexported fields
}

ProductPollRequest is the request for the Poll method.

func (*ProductPollRequest) Header ¶

func (r *ProductPollRequest) Header(name string, value interface{}) *ProductPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ProductPollRequest) Interval ¶

func (r *ProductPollRequest) Interval(value time.Duration) *ProductPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ProductPollRequest) Parameter ¶

func (r *ProductPollRequest) Parameter(name string, value interface{}) *ProductPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ProductPollRequest) Predicate ¶

func (r *ProductPollRequest) Predicate(value func(*ProductGetResponse) bool) *ProductPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ProductPollRequest) StartContext ¶

func (r *ProductPollRequest) StartContext(ctx context.Context) (response *ProductPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ProductPollRequest) Status ¶

func (r *ProductPollRequest) Status(value int) *ProductPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ProductPollResponse ¶

type ProductPollResponse struct {
	// contains filtered or unexported fields
}

ProductPollResponse is the response for the Poll method.

func (*ProductPollResponse) Body ¶

func (r *ProductPollResponse) Body() *Product

Body returns the value of the 'body' parameter.

func (*ProductPollResponse) Error ¶

func (r *ProductPollResponse) Error() *errors.Error

Error returns the response error.

func (*ProductPollResponse) GetBody ¶

func (r *ProductPollResponse) GetBody() (value *Product, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ProductPollResponse) Header ¶

func (r *ProductPollResponse) Header() http.Header

Header returns header of the response.

func (*ProductPollResponse) Status ¶

func (r *ProductPollResponse) Status() int

Status returns the response status code.

type ProductTechnologyPreview ¶ added in v0.1.385

type ProductTechnologyPreview struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreview represents the values of the 'product_technology_preview' type.

Representation of a product technology preview.

func UnmarshalProductTechnologyPreview ¶ added in v0.1.385

func UnmarshalProductTechnologyPreview(source interface{}) (object *ProductTechnologyPreview, err error)

UnmarshalProductTechnologyPreview reads a value of the 'product_technology_preview' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalProductTechnologyPreviewList ¶ added in v0.1.385

func UnmarshalProductTechnologyPreviewList(source interface{}) (items []*ProductTechnologyPreview, err error)

UnmarshalProductTechnologyPreviewList reads a list of values of the 'product_technology_preview' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ProductTechnologyPreview) AdditionalText ¶ added in v0.1.385

func (o *ProductTechnologyPreview) AdditionalText() string

AdditionalText returns the value of the 'additional_text' attribute, or the zero value of the type if the attribute doesn't have a value.

Message associated with this technology preview.

func (*ProductTechnologyPreview) Empty ¶ added in v0.1.385

func (o *ProductTechnologyPreview) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ProductTechnologyPreview) EndDate ¶ added in v0.1.385

func (o *ProductTechnologyPreview) EndDate() time.Time

EndDate returns the value of the 'end_date' attribute, or the zero value of the type if the attribute doesn't have a value.

The end date for this technology preview.

func (*ProductTechnologyPreview) GetAdditionalText ¶ added in v0.1.385

func (o *ProductTechnologyPreview) GetAdditionalText() (value string, ok bool)

GetAdditionalText returns the value of the 'additional_text' attribute and a flag indicating if the attribute has a value.

Message associated with this technology preview.

func (*ProductTechnologyPreview) GetEndDate ¶ added in v0.1.385

func (o *ProductTechnologyPreview) GetEndDate() (value time.Time, ok bool)

GetEndDate returns the value of the 'end_date' attribute and a flag indicating if the attribute has a value.

The end date for this technology preview.

func (*ProductTechnologyPreview) GetHREF ¶ added in v0.1.385

func (o *ProductTechnologyPreview) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ProductTechnologyPreview) GetID ¶ added in v0.1.385

func (o *ProductTechnologyPreview) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ProductTechnologyPreview) GetStartDate ¶ added in v0.1.385

func (o *ProductTechnologyPreview) GetStartDate() (value time.Time, ok bool)

GetStartDate returns the value of the 'start_date' attribute and a flag indicating if the attribute has a value.

The start date for this technology preview.

func (*ProductTechnologyPreview) HREF ¶ added in v0.1.385

func (o *ProductTechnologyPreview) HREF() string

HREF returns the link to the object.

func (*ProductTechnologyPreview) ID ¶ added in v0.1.385

ID returns the identifier of the object.

func (*ProductTechnologyPreview) Kind ¶ added in v0.1.385

func (o *ProductTechnologyPreview) Kind() string

Kind returns the name of the type of the object.

func (o *ProductTechnologyPreview) Link() bool

Link returns true iif this is a link.

func (*ProductTechnologyPreview) StartDate ¶ added in v0.1.385

func (o *ProductTechnologyPreview) StartDate() time.Time

StartDate returns the value of the 'start_date' attribute, or the zero value of the type if the attribute doesn't have a value.

The start date for this technology preview.

type ProductTechnologyPreviewBuilder ¶ added in v0.1.385

type ProductTechnologyPreviewBuilder struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewBuilder contains the data and logic needed to build 'product_technology_preview' objects.

Representation of a product technology preview.

func NewProductTechnologyPreview ¶ added in v0.1.385

func NewProductTechnologyPreview() *ProductTechnologyPreviewBuilder

NewProductTechnologyPreview creates a new builder of 'product_technology_preview' objects.

func (*ProductTechnologyPreviewBuilder) AdditionalText ¶ added in v0.1.385

AdditionalText sets the value of the 'additional_text' attribute to the given value.

func (*ProductTechnologyPreviewBuilder) Build ¶ added in v0.1.385

Build creates a 'product_technology_preview' object using the configuration stored in the builder.

func (*ProductTechnologyPreviewBuilder) Copy ¶ added in v0.1.385

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ProductTechnologyPreviewBuilder) Empty ¶ added in v0.1.385

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ProductTechnologyPreviewBuilder) EndDate ¶ added in v0.1.385

EndDate sets the value of the 'end_date' attribute to the given value.

func (*ProductTechnologyPreviewBuilder) HREF ¶ added in v0.1.385

HREF sets the link to the object.

func (*ProductTechnologyPreviewBuilder) ID ¶ added in v0.1.385

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*ProductTechnologyPreviewBuilder) StartDate ¶ added in v0.1.385

StartDate sets the value of the 'start_date' attribute to the given value.

type ProductTechnologyPreviewClient ¶ added in v0.1.385

type ProductTechnologyPreviewClient struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewClient is the client of the 'product_technology_preview' resource.

Manages a specific product technology preview.

func NewProductTechnologyPreviewClient ¶ added in v0.1.385

func NewProductTechnologyPreviewClient(transport http.RoundTripper, path string) *ProductTechnologyPreviewClient

NewProductTechnologyPreviewClient creates a new client for the 'product_technology_preview' resource using the given transport to send the requests and receive the responses.

func (*ProductTechnologyPreviewClient) Get ¶ added in v0.1.385

Get creates a request for the 'get' method.

Retrieves the details of the product technology preview.

func (*ProductTechnologyPreviewClient) Poll ¶ added in v0.1.385

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type ProductTechnologyPreviewGetRequest ¶ added in v0.1.385

type ProductTechnologyPreviewGetRequest struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewGetRequest is the request for the 'get' method.

func (*ProductTechnologyPreviewGetRequest) Header ¶ added in v0.1.385

Header adds a request header.

func (*ProductTechnologyPreviewGetRequest) Impersonate ¶ added in v0.1.385

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProductTechnologyPreviewGetRequest) Parameter ¶ added in v0.1.385

func (r *ProductTechnologyPreviewGetRequest) Parameter(name string, value interface{}) *ProductTechnologyPreviewGetRequest

Parameter adds a query parameter.

func (*ProductTechnologyPreviewGetRequest) Send ¶ added in v0.1.385

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProductTechnologyPreviewGetRequest) SendContext ¶ added in v0.1.385

SendContext sends this request, waits for the response, and returns it.

type ProductTechnologyPreviewGetResponse ¶ added in v0.1.385

type ProductTechnologyPreviewGetResponse struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewGetResponse is the response for the 'get' method.

func (*ProductTechnologyPreviewGetResponse) Body ¶ added in v0.1.385

Body returns the value of the 'body' parameter.

func (*ProductTechnologyPreviewGetResponse) Error ¶ added in v0.1.385

Error returns the response error.

func (*ProductTechnologyPreviewGetResponse) GetBody ¶ added in v0.1.385

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ProductTechnologyPreviewGetResponse) Header ¶ added in v0.1.385

Header returns header of the response.

func (*ProductTechnologyPreviewGetResponse) Status ¶ added in v0.1.385

Status returns the response status code.

type ProductTechnologyPreviewList ¶ added in v0.1.385

type ProductTechnologyPreviewList struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewList is a list of values of the 'product_technology_preview' type.

func (*ProductTechnologyPreviewList) Each ¶ added in v0.1.385

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 (*ProductTechnologyPreviewList) Empty ¶ added in v0.1.385

Empty returns true if the list is empty.

func (*ProductTechnologyPreviewList) Get ¶ added in v0.1.385

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ProductTechnologyPreviewList) GetHREF ¶ added in v0.1.385

func (l *ProductTechnologyPreviewList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ProductTechnologyPreviewList) HREF ¶ added in v0.1.385

HREF returns the link to the list.

func (*ProductTechnologyPreviewList) Kind ¶ added in v0.1.385

Kind returns the name of the type of the object.

func (*ProductTechnologyPreviewList) Len ¶ added in v0.1.385

Len returns the length of the list.

Link returns true iif this is a link.

func (*ProductTechnologyPreviewList) Range ¶ added in v0.1.385

func (l *ProductTechnologyPreviewList) Range(f func(index int, item *ProductTechnologyPreview) 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 (*ProductTechnologyPreviewList) Slice ¶ added in v0.1.385

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 ProductTechnologyPreviewListBuilder ¶ added in v0.1.385

type ProductTechnologyPreviewListBuilder struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewListBuilder contains the data and logic needed to build 'product_technology_preview' objects.

func NewProductTechnologyPreviewList ¶ added in v0.1.385

func NewProductTechnologyPreviewList() *ProductTechnologyPreviewListBuilder

NewProductTechnologyPreviewList creates a new builder of 'product_technology_preview' objects.

func (*ProductTechnologyPreviewListBuilder) Build ¶ added in v0.1.385

Build creates a list of 'product_technology_preview' objects using the configuration stored in the builder.

func (*ProductTechnologyPreviewListBuilder) Copy ¶ added in v0.1.385

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ProductTechnologyPreviewListBuilder) Empty ¶ added in v0.1.385

Empty returns true if the list is empty.

func (*ProductTechnologyPreviewListBuilder) Items ¶ added in v0.1.385

Items sets the items of the list.

type ProductTechnologyPreviewPollRequest ¶ added in v0.1.385

type ProductTechnologyPreviewPollRequest struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewPollRequest is the request for the Poll method.

func (*ProductTechnologyPreviewPollRequest) Header ¶ added in v0.1.385

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ProductTechnologyPreviewPollRequest) Interval ¶ added in v0.1.385

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ProductTechnologyPreviewPollRequest) Parameter ¶ added in v0.1.385

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ProductTechnologyPreviewPollRequest) Predicate ¶ added in v0.1.385

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ProductTechnologyPreviewPollRequest) StartContext ¶ added in v0.1.385

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ProductTechnologyPreviewPollRequest) Status ¶ added in v0.1.385

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ProductTechnologyPreviewPollResponse ¶ added in v0.1.385

type ProductTechnologyPreviewPollResponse struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewPollResponse is the response for the Poll method.

func (*ProductTechnologyPreviewPollResponse) Body ¶ added in v0.1.385

Body returns the value of the 'body' parameter.

func (*ProductTechnologyPreviewPollResponse) Error ¶ added in v0.1.385

Error returns the response error.

func (*ProductTechnologyPreviewPollResponse) GetBody ¶ added in v0.1.385

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ProductTechnologyPreviewPollResponse) Header ¶ added in v0.1.385

Header returns header of the response.

func (*ProductTechnologyPreviewPollResponse) Status ¶ added in v0.1.385

Status returns the response status code.

type ProductTechnologyPreviewsClient ¶ added in v0.1.385

type ProductTechnologyPreviewsClient struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewsClient is the client of the 'product_technology_previews' resource.

Manages the collection of product technology previews.

func NewProductTechnologyPreviewsClient ¶ added in v0.1.385

func NewProductTechnologyPreviewsClient(transport http.RoundTripper, path string) *ProductTechnologyPreviewsClient

NewProductTechnologyPreviewsClient creates a new client for the 'product_technology_previews' resource using the given transport to send the requests and receive the responses.

func (*ProductTechnologyPreviewsClient) List ¶ added in v0.1.385

List creates a request for the 'list' method.

Retrieves the list of product technology previews.

func (*ProductTechnologyPreviewsClient) TechnologyPreview ¶ added in v0.1.385

TechnologyPreview returns the target 'product_technology_preview' resource for the given identifier.

Returns a reference to the service that manages a specific product technology preview.

type ProductTechnologyPreviewsListRequest ¶ added in v0.1.385

type ProductTechnologyPreviewsListRequest struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewsListRequest is the request for the 'list' method.

func (*ProductTechnologyPreviewsListRequest) Header ¶ added in v0.1.385

Header adds a request header.

func (*ProductTechnologyPreviewsListRequest) Impersonate ¶ added in v0.1.385

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProductTechnologyPreviewsListRequest) Order ¶ added in v0.1.385

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to sort the products descending by name the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*ProductTechnologyPreviewsListRequest) Page ¶ added in v0.1.385

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ProductTechnologyPreviewsListRequest) Parameter ¶ added in v0.1.385

Parameter adds a query parameter.

func (*ProductTechnologyPreviewsListRequest) Search ¶ added in v0.1.385

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to retrieve all the products with a name starting with `my` the value should be:

```sql name like 'my%' ```

If the parameter isn't provided, or if the value is empty, then all the products that the user has permission to see will be returned.

func (*ProductTechnologyPreviewsListRequest) Send ¶ added in v0.1.385

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProductTechnologyPreviewsListRequest) SendContext ¶ added in v0.1.385

SendContext sends this request, waits for the response, and returns it.

func (*ProductTechnologyPreviewsListRequest) Size ¶ added in v0.1.385

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type ProductTechnologyPreviewsListResponse ¶ added in v0.1.385

type ProductTechnologyPreviewsListResponse struct {
	// contains filtered or unexported fields
}

ProductTechnologyPreviewsListResponse is the response for the 'list' method.

func (*ProductTechnologyPreviewsListResponse) Error ¶ added in v0.1.385

Error returns the response error.

func (*ProductTechnologyPreviewsListResponse) GetItems ¶ added in v0.1.385

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of product technology previews.

func (*ProductTechnologyPreviewsListResponse) GetPage ¶ added in v0.1.385

func (r *ProductTechnologyPreviewsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*ProductTechnologyPreviewsListResponse) GetSize ¶ added in v0.1.385

func (r *ProductTechnologyPreviewsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*ProductTechnologyPreviewsListResponse) GetTotal ¶ added in v0.1.385

func (r *ProductTechnologyPreviewsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*ProductTechnologyPreviewsListResponse) Header ¶ added in v0.1.385

Header returns header of the response.

func (*ProductTechnologyPreviewsListResponse) Items ¶ added in v0.1.385

Items returns the value of the 'items' parameter.

Retrieved list of product technology previews.

func (*ProductTechnologyPreviewsListResponse) Page ¶ added in v0.1.385

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ProductTechnologyPreviewsListResponse) Size ¶ added in v0.1.385

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*ProductTechnologyPreviewsListResponse) Status ¶ added in v0.1.385

Status returns the response status code.

func (*ProductTechnologyPreviewsListResponse) Total ¶ added in v0.1.385

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type ProductsClient ¶

type ProductsClient struct {
	// contains filtered or unexported fields
}

ProductsClient is the client of the 'products' resource.

Manages the collection of products.

func NewProductsClient ¶

func NewProductsClient(transport http.RoundTripper, path string) *ProductsClient

NewProductsClient creates a new client for the 'products' resource using the given transport to send the requests and receive the responses.

func (*ProductsClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of products.

func (*ProductsClient) Product ¶

func (c *ProductsClient) Product(id string) *ProductClient

Product returns the target 'product' resource for the given identifier.

Returns a reference to the service that manages a specific product.

type ProductsListRequest ¶

type ProductsListRequest struct {
	// contains filtered or unexported fields
}

ProductsListRequest is the request for the 'list' method.

func (*ProductsListRequest) Header ¶

func (r *ProductsListRequest) Header(name string, value interface{}) *ProductsListRequest

Header adds a request header.

func (*ProductsListRequest) Impersonate ¶ added in v0.0.329

func (r *ProductsListRequest) Impersonate(user string) *ProductsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProductsListRequest) Order ¶

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to sort the products descending by name the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*ProductsListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ProductsListRequest) Parameter ¶

func (r *ProductsListRequest) Parameter(name string, value interface{}) *ProductsListRequest

Parameter adds a query parameter.

func (*ProductsListRequest) Search ¶

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to retrieve all the products with a name starting with `my` the value should be:

```sql name like 'my%' ```

If the parameter isn't provided, or if the value is empty, then all the products that the user has permission to see will be returned.

func (*ProductsListRequest) Send ¶

func (r *ProductsListRequest) Send() (result *ProductsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProductsListRequest) SendContext ¶

func (r *ProductsListRequest) SendContext(ctx context.Context) (result *ProductsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*ProductsListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type ProductsListResponse ¶

type ProductsListResponse struct {
	// contains filtered or unexported fields
}

ProductsListResponse is the response for the 'list' method.

func (*ProductsListResponse) Error ¶

func (r *ProductsListResponse) Error() *errors.Error

Error returns the response error.

func (*ProductsListResponse) GetItems ¶

func (r *ProductsListResponse) GetItems() (value *ProductList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of products.

func (*ProductsListResponse) GetPage ¶

func (r *ProductsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*ProductsListResponse) GetSize ¶

func (r *ProductsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*ProductsListResponse) GetTotal ¶

func (r *ProductsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*ProductsListResponse) Header ¶

func (r *ProductsListResponse) Header() http.Header

Header returns header of the response.

func (*ProductsListResponse) Items ¶

func (r *ProductsListResponse) Items() *ProductList

Items returns the value of the 'items' parameter.

Retrieved list of products.

func (*ProductsListResponse) Page ¶

func (r *ProductsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ProductsListResponse) Size ¶

func (r *ProductsListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*ProductsListResponse) Status ¶

func (r *ProductsListResponse) Status() int

Status returns the response status code.

func (*ProductsListResponse) Total ¶

func (r *ProductsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type 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 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 ¶ added in v0.0.329

func (o *ProvisionShard) 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.

Contains the cloud provider name.

func (*ProvisionShard) CreationTimestamp ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *ProvisionShard) GetCloudProvider() (value *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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *ProvisionShard) GetRegion() (value *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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 iif this is a link.

func (*ProvisionShard) ManagementCluster ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *ProvisionShard) Region() *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 ¶ added in v0.0.329

func (o *ProvisionShard) Status() string

Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.

Status of the provision shard. Possible values: active/maintenance/offline.

type ProvisionShardBuilder ¶

type ProvisionShardBuilder struct {
	// contains filtered or unexported fields
}

ProvisionShardBuilder contains the data and logic needed to build 'provision_shard' objects.

Contains the properties of the provision shard, including AWS and GCP related configurations

func NewProvisionShard ¶

func NewProvisionShard() *ProvisionShardBuilder

NewProvisionShard creates a new builder of 'provision_shard' objects.

func (*ProvisionShardBuilder) AWSAccountOperatorConfig ¶

func (b *ProvisionShardBuilder) AWSAccountOperatorConfig(value *ServerConfigBuilder) *ProvisionShardBuilder

AWSAccountOperatorConfig sets the value of the 'AWS_account_operator_config' attribute to the given value.

Representation of a server config

func (*ProvisionShardBuilder) AWSBaseDomain ¶

func (b *ProvisionShardBuilder) AWSBaseDomain(value string) *ProvisionShardBuilder

AWSBaseDomain sets the value of the 'AWS_base_domain' attribute to the given value.

func (*ProvisionShardBuilder) Build ¶

func (b *ProvisionShardBuilder) Build() (object *ProvisionShard, err error)

Build creates a 'provision_shard' object using the configuration stored in the builder.

func (*ProvisionShardBuilder) CloudProvider ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *ProvisionShardBuilder) CreationTimestamp(value time.Time) *ProvisionShardBuilder

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*ProvisionShardBuilder) Empty ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *ProvisionShardBuilder) ManagementCluster(value string) *ProvisionShardBuilder

ManagementCluster sets the value of the 'management_cluster' attribute to the given value.

func (*ProvisionShardBuilder) Region ¶ added in v0.0.329

Region sets the value of the 'region' attribute to the given value.

Description of a region of a cloud provider.

func (*ProvisionShardBuilder) Status ¶ added in v0.0.329

Status sets the value of the 'status' attribute to the given value.

type ProvisionShardClient ¶

type ProvisionShardClient struct {
	// contains filtered or unexported fields
}

ProvisionShardClient is the client of the 'provision_shard' resource.

Manages provision shard.

func NewProvisionShardClient ¶

func NewProvisionShardClient(transport http.RoundTripper, path string) *ProvisionShardClient

NewProvisionShardClient creates a new client for the 'provision_shard' resource using the given transport to send the requests and receive the responses.

func (*ProvisionShardClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Delete the provision shard.

func (*ProvisionShardClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the details of the provision shard.

func (*ProvisionShardClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*ProvisionShardClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Updates the details of the provision shard.

type ProvisionShardDeleteRequest ¶ added in v0.0.329

type ProvisionShardDeleteRequest struct {
	// contains filtered or unexported fields
}

ProvisionShardDeleteRequest is the request for the 'delete' method.

func (*ProvisionShardDeleteRequest) Header ¶ added in v0.0.329

func (r *ProvisionShardDeleteRequest) Header(name string, value interface{}) *ProvisionShardDeleteRequest

Header adds a request header.

func (*ProvisionShardDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProvisionShardDeleteRequest) Parameter ¶ added in v0.0.329

func (r *ProvisionShardDeleteRequest) Parameter(name string, value interface{}) *ProvisionShardDeleteRequest

Parameter adds a query parameter.

func (*ProvisionShardDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProvisionShardDeleteRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type ProvisionShardDeleteResponse ¶ added in v0.0.329

type ProvisionShardDeleteResponse struct {
	// contains filtered or unexported fields
}

ProvisionShardDeleteResponse is the response for the 'delete' method.

func (*ProvisionShardDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ProvisionShardDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ProvisionShardDeleteResponse) Status ¶ added in v0.0.329

func (r *ProvisionShardDeleteResponse) Status() int

Status returns the response status code.

type ProvisionShardGetRequest ¶

type ProvisionShardGetRequest struct {
	// contains filtered or unexported fields
}

ProvisionShardGetRequest is the request for the 'get' method.

func (*ProvisionShardGetRequest) Header ¶

func (r *ProvisionShardGetRequest) Header(name string, value interface{}) *ProvisionShardGetRequest

Header adds a request header.

func (*ProvisionShardGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProvisionShardGetRequest) Parameter ¶

func (r *ProvisionShardGetRequest) Parameter(name string, value interface{}) *ProvisionShardGetRequest

Parameter adds a query parameter.

func (*ProvisionShardGetRequest) Send ¶

func (r *ProvisionShardGetRequest) Send() (result *ProvisionShardGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProvisionShardGetRequest) SendContext ¶

func (r *ProvisionShardGetRequest) SendContext(ctx context.Context) (result *ProvisionShardGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ProvisionShardGetResponse ¶

type ProvisionShardGetResponse struct {
	// contains filtered or unexported fields
}

ProvisionShardGetResponse is the response for the 'get' method.

func (*ProvisionShardGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*ProvisionShardGetResponse) Error ¶

Error returns the response error.

func (*ProvisionShardGetResponse) GetBody ¶

func (r *ProvisionShardGetResponse) GetBody() (value *ProvisionShard, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ProvisionShardGetResponse) Header ¶

Header returns header of the response.

func (*ProvisionShardGetResponse) Status ¶

func (r *ProvisionShardGetResponse) Status() int

Status returns the response status code.

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) 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) 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 ¶ added in v0.0.329

func (b *ProvisionShardListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ProvisionShardListBuilder) Items ¶

Items sets the items of the list.

type ProvisionShardPollRequest ¶

type ProvisionShardPollRequest struct {
	// contains filtered or unexported fields
}

ProvisionShardPollRequest is the request for the Poll method.

func (*ProvisionShardPollRequest) Header ¶

func (r *ProvisionShardPollRequest) Header(name string, value interface{}) *ProvisionShardPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ProvisionShardPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ProvisionShardPollRequest) Parameter ¶

func (r *ProvisionShardPollRequest) Parameter(name string, value interface{}) *ProvisionShardPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ProvisionShardPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ProvisionShardPollRequest) StartContext ¶

func (r *ProvisionShardPollRequest) StartContext(ctx context.Context) (response *ProvisionShardPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ProvisionShardPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ProvisionShardPollResponse ¶

type ProvisionShardPollResponse struct {
	// contains filtered or unexported fields
}

ProvisionShardPollResponse is the response for the Poll method.

func (*ProvisionShardPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*ProvisionShardPollResponse) Error ¶

Error returns the response error.

func (*ProvisionShardPollResponse) GetBody ¶

func (r *ProvisionShardPollResponse) GetBody() (value *ProvisionShard, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ProvisionShardPollResponse) Header ¶

Header returns header of the response.

func (*ProvisionShardPollResponse) Status ¶

func (r *ProvisionShardPollResponse) Status() int

Status returns the response status code.

type ProvisionShardTopology ¶ added in v0.1.368

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 UnmarshalProvisionShardTopologyList ¶ added in v0.1.368

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 ProvisionShardUpdateRequest ¶ added in v0.0.329

type ProvisionShardUpdateRequest struct {
	// contains filtered or unexported fields
}

ProvisionShardUpdateRequest is the request for the 'update' method.

func (*ProvisionShardUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*ProvisionShardUpdateRequest) Header ¶ added in v0.0.329

func (r *ProvisionShardUpdateRequest) Header(name string, value interface{}) *ProvisionShardUpdateRequest

Header adds a request header.

func (*ProvisionShardUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProvisionShardUpdateRequest) Parameter ¶ added in v0.0.329

func (r *ProvisionShardUpdateRequest) Parameter(name string, value interface{}) *ProvisionShardUpdateRequest

Parameter adds a query parameter.

func (*ProvisionShardUpdateRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProvisionShardUpdateRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type ProvisionShardUpdateResponse ¶ added in v0.0.329

type ProvisionShardUpdateResponse struct {
	// contains filtered or unexported fields
}

ProvisionShardUpdateResponse is the response for the 'update' method.

func (*ProvisionShardUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*ProvisionShardUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ProvisionShardUpdateResponse) GetBody ¶ added in v0.0.329

func (r *ProvisionShardUpdateResponse) GetBody() (value *ProvisionShard, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*ProvisionShardUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ProvisionShardUpdateResponse) Status ¶ added in v0.0.329

func (r *ProvisionShardUpdateResponse) Status() int

Status returns the response status code.

type ProvisionShardsAddRequest ¶ added in v0.0.329

type ProvisionShardsAddRequest struct {
	// contains filtered or unexported fields
}

ProvisionShardsAddRequest is the request for the 'add' method.

func (*ProvisionShardsAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Description of the provision shard.

func (*ProvisionShardsAddRequest) Header ¶ added in v0.0.329

func (r *ProvisionShardsAddRequest) Header(name string, value interface{}) *ProvisionShardsAddRequest

Header adds a request header.

func (*ProvisionShardsAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProvisionShardsAddRequest) Parameter ¶ added in v0.0.329

func (r *ProvisionShardsAddRequest) Parameter(name string, value interface{}) *ProvisionShardsAddRequest

Parameter adds a query parameter.

func (*ProvisionShardsAddRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProvisionShardsAddRequest) SendContext ¶ added in v0.0.329

func (r *ProvisionShardsAddRequest) SendContext(ctx context.Context) (result *ProvisionShardsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ProvisionShardsAddResponse ¶ added in v0.0.329

type ProvisionShardsAddResponse struct {
	// contains filtered or unexported fields
}

ProvisionShardsAddResponse is the response for the 'add' method.

func (*ProvisionShardsAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Description of the provision shard.

func (*ProvisionShardsAddResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*ProvisionShardsAddResponse) GetBody ¶ added in v0.0.329

func (r *ProvisionShardsAddResponse) GetBody() (value *ProvisionShard, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the provision shard.

func (*ProvisionShardsAddResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*ProvisionShardsAddResponse) Status ¶ added in v0.0.329

func (r *ProvisionShardsAddResponse) Status() int

Status returns the response status code.

type ProvisionShardsClient ¶

type ProvisionShardsClient struct {
	// contains filtered or unexported fields
}

ProvisionShardsClient is the client of the 'provision_shards' resource.

Manages the collection of provision shards.

func NewProvisionShardsClient ¶

func NewProvisionShardsClient(transport http.RoundTripper, path string) *ProvisionShardsClient

NewProvisionShardsClient creates a new client for the 'provision_shards' resource using the given transport to send the requests and receive the responses.

func (*ProvisionShardsClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a provision shard.

func (*ProvisionShardsClient) List ¶

List creates a request for the 'list' method.

func (*ProvisionShardsClient) ProvisionShard ¶

func (c *ProvisionShardsClient) ProvisionShard(id string) *ProvisionShardClient

ProvisionShard returns the target 'provision_shard' resource for the given identifier.

Reference to the resource that manages a specific provision shard.

type ProvisionShardsListRequest ¶

type ProvisionShardsListRequest struct {
	// contains filtered or unexported fields
}

ProvisionShardsListRequest is the request for the 'list' method.

func (*ProvisionShardsListRequest) Header ¶

func (r *ProvisionShardsListRequest) Header(name string, value interface{}) *ProvisionShardsListRequest

Header adds a request header.

func (*ProvisionShardsListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ProvisionShardsListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ProvisionShardsListRequest) Parameter ¶

func (r *ProvisionShardsListRequest) Parameter(name string, value interface{}) *ProvisionShardsListRequest

Parameter adds a query parameter.

func (*ProvisionShardsListRequest) Search ¶ added in v0.0.329

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to retrieve all the clusters with a name starting with `my` in the `us-east-1` region the value should be:

```sql name like 'my%' and region.id = 'us-east-1' ```

If the parameter isn't provided, or if the value is empty, then all the provision shards that the user has permission to see will be returned.

func (*ProvisionShardsListRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ProvisionShardsListRequest) SendContext ¶

func (r *ProvisionShardsListRequest) SendContext(ctx context.Context) (result *ProvisionShardsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*ProvisionShardsListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type ProvisionShardsListResponse ¶

type ProvisionShardsListResponse struct {
	// contains filtered or unexported fields
}

ProvisionShardsListResponse is the response for the 'list' method.

func (*ProvisionShardsListResponse) Error ¶

Error returns the response error.

func (*ProvisionShardsListResponse) GetItems ¶

func (r *ProvisionShardsListResponse) GetItems() (value *ProvisionShardList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved a list of provision shards.

func (*ProvisionShardsListResponse) GetPage ¶

func (r *ProvisionShardsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*ProvisionShardsListResponse) GetSize ¶

func (r *ProvisionShardsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*ProvisionShardsListResponse) GetTotal ¶

func (r *ProvisionShardsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*ProvisionShardsListResponse) Header ¶

Header returns header of the response.

func (*ProvisionShardsListResponse) Items ¶

Items returns the value of the 'items' parameter.

Retrieved a list of provision shards.

func (*ProvisionShardsListResponse) Page ¶

func (r *ProvisionShardsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*ProvisionShardsListResponse) Size ¶

func (r *ProvisionShardsListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*ProvisionShardsListResponse) Status ¶

func (r *ProvisionShardsListResponse) Status() int

Status returns the response status code.

func (*ProvisionShardsListResponse) Total ¶

func (r *ProvisionShardsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type Proxy ¶ added in v0.0.329

type Proxy struct {
	// contains filtered or unexported fields
}

Proxy represents the values of the 'proxy' type.

Proxy configuration of a cluster.

func UnmarshalProxy ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *Proxy) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Proxy) GetHTTPProxy ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type ProxyBuilder struct {
	// contains filtered or unexported fields
}

ProxyBuilder contains the data and logic needed to build 'proxy' objects.

Proxy configuration of a cluster.

func NewProxy ¶ added in v0.0.329

func NewProxy() *ProxyBuilder

NewProxy creates a new builder of 'proxy' objects.

func (*ProxyBuilder) Build ¶ added in v0.0.329

func (b *ProxyBuilder) Build() (object *Proxy, err error)

Build creates a 'proxy' object using the configuration stored in the builder.

func (*ProxyBuilder) Copy ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *ProxyBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ProxyBuilder) HTTPProxy ¶ added in v0.0.329

func (b *ProxyBuilder) HTTPProxy(value string) *ProxyBuilder

HTTPProxy sets the value of the 'HTTP_proxy' attribute to the given value.

func (*ProxyBuilder) HTTPSProxy ¶ added in v0.0.329

func (b *ProxyBuilder) HTTPSProxy(value string) *ProxyBuilder

HTTPSProxy sets the value of the 'HTTPS_proxy' attribute to the given value.

func (*ProxyBuilder) NoProxy ¶ added in v0.0.329

func (b *ProxyBuilder) NoProxy(value string) *ProxyBuilder

NoProxy sets the value of the 'no_proxy' attribute to the given value.

type ProxyList ¶ added in v0.0.329

type ProxyList struct {
	// contains filtered or unexported fields
}

ProxyList is a list of values of the 'proxy' type.

func (*ProxyList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *ProxyList) Empty() bool

Empty returns true if the list is empty.

func (*ProxyList) Get ¶ added in v0.0.329

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) Len ¶ added in v0.0.329

func (l *ProxyList) Len() int

Len returns the length of the list.

func (*ProxyList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type ProxyListBuilder struct {
	// contains filtered or unexported fields
}

ProxyListBuilder contains the data and logic needed to build 'proxy' objects.

func NewProxyList ¶ added in v0.0.329

func NewProxyList() *ProxyListBuilder

NewProxyList creates a new builder of 'proxy' objects.

func (*ProxyListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ProxyListBuilder) Empty ¶ added in v0.0.329

func (b *ProxyListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ProxyListBuilder) Items ¶ added in v0.0.329

func (b *ProxyListBuilder) Items(values ...*ProxyBuilder) *ProxyListBuilder

Items sets the items of the list.

type ResourceRange ¶ added in v0.1.349

type ResourceRange struct {
	// contains filtered or unexported fields
}

ResourceRange represents the values of the 'resource_range' type.

func UnmarshalResourceRange ¶ added in v0.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

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.1.349

type ResourceRangeBuilder struct {
	// contains filtered or unexported fields
}

ResourceRangeBuilder contains the data and logic needed to build 'resource_range' objects.

func NewResourceRange ¶ added in v0.1.349

func NewResourceRange() *ResourceRangeBuilder

NewResourceRange creates a new builder of 'resource_range' objects.

func (*ResourceRangeBuilder) Build ¶ added in v0.1.349

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.1.349

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ResourceRangeBuilder) Empty ¶ added in v0.1.349

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.1.349

Max sets the value of the 'max' attribute to the given value.

func (*ResourceRangeBuilder) Min ¶ added in v0.1.349

Min sets the value of the 'min' attribute to the given value.

type ResourceRangeList ¶ added in v0.1.349

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.1.349

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.1.349

func (l *ResourceRangeList) Empty() bool

Empty returns true if the list is empty.

func (*ResourceRangeList) Get ¶ added in v0.1.349

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) Len ¶ added in v0.1.349

func (l *ResourceRangeList) Len() int

Len returns the length of the list.

func (*ResourceRangeList) Range ¶ added in v0.1.349

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) Slice ¶ added in v0.1.349

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.1.349

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.1.349

func NewResourceRangeList() *ResourceRangeListBuilder

NewResourceRangeList creates a new builder of 'resource_range' objects.

func (*ResourceRangeListBuilder) Build ¶ added in v0.1.349

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.1.349

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ResourceRangeListBuilder) Empty ¶ added in v0.1.349

func (b *ResourceRangeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ResourceRangeListBuilder) Items ¶ added in v0.1.349

Items sets the items of the list.

type ResourcesClient ¶ added in v0.0.329

type ResourcesClient struct {
	// contains filtered or unexported fields
}

ResourcesClient is the client of the 'resources' resource.

Manages a collection of resources for a cluster

func NewResourcesClient ¶ added in v0.0.329

func NewResourcesClient(transport http.RoundTripper, path string) *ResourcesClient

NewResourcesClient creates a new client for the 'resources' resource using the given transport to send the requests and receive the responses.

func (*ResourcesClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves a list of resources for a cluster in error state

func (*ResourcesClient) Live ¶ added in v0.0.329

Live returns the target 'cluster_resources' resource.

Retrieves a list of currently available resources for a cluster

func (*ResourcesClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type ResourcesGetRequest ¶ added in v0.0.329

type ResourcesGetRequest struct {
	// contains filtered or unexported fields
}

ResourcesGetRequest is the request for the 'get' method.

func (*ResourcesGetRequest) Header ¶ added in v0.0.329

func (r *ResourcesGetRequest) Header(name string, value interface{}) *ResourcesGetRequest

Header adds a request header.

func (*ResourcesGetRequest) Impersonate ¶ added in v0.0.329

func (r *ResourcesGetRequest) Impersonate(user string) *ResourcesGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*ResourcesGetRequest) Parameter ¶ added in v0.0.329

func (r *ResourcesGetRequest) Parameter(name string, value interface{}) *ResourcesGetRequest

Parameter adds a query parameter.

func (*ResourcesGetRequest) Send ¶ added in v0.0.329

func (r *ResourcesGetRequest) Send() (result *ResourcesGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*ResourcesGetRequest) SendContext ¶ added in v0.0.329

func (r *ResourcesGetRequest) SendContext(ctx context.Context) (result *ResourcesGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type ResourcesGetResponse ¶ added in v0.0.329

type ResourcesGetResponse struct {
	// contains filtered or unexported fields
}

ResourcesGetResponse is the response for the 'get' method.

func (*ResourcesGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

List of cluster resources

func (*ResourcesGetResponse) Error ¶ added in v0.0.329

func (r *ResourcesGetResponse) Error() *errors.Error

Error returns the response error.

func (*ResourcesGetResponse) GetBody ¶ added in v0.0.329

func (r *ResourcesGetResponse) GetBody() (value *ClusterResources, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

List of cluster resources

func (*ResourcesGetResponse) Header ¶ added in v0.0.329

func (r *ResourcesGetResponse) Header() http.Header

Header returns header of the response.

func (*ResourcesGetResponse) Status ¶ added in v0.0.329

func (r *ResourcesGetResponse) Status() int

Status returns the response status code.

type ResourcesPollRequest ¶ added in v0.0.329

type ResourcesPollRequest struct {
	// contains filtered or unexported fields
}

ResourcesPollRequest is the request for the Poll method.

func (*ResourcesPollRequest) Header ¶ added in v0.0.329

func (r *ResourcesPollRequest) Header(name string, value interface{}) *ResourcesPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*ResourcesPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*ResourcesPollRequest) Parameter ¶ added in v0.0.329

func (r *ResourcesPollRequest) Parameter(name string, value interface{}) *ResourcesPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*ResourcesPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*ResourcesPollRequest) StartContext ¶ added in v0.0.329

func (r *ResourcesPollRequest) StartContext(ctx context.Context) (response *ResourcesPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*ResourcesPollRequest) Status ¶ added in v0.0.329

func (r *ResourcesPollRequest) Status(value int) *ResourcesPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type ResourcesPollResponse ¶ added in v0.0.329

type ResourcesPollResponse struct {
	// contains filtered or unexported fields
}

ResourcesPollResponse is the response for the Poll method.

func (*ResourcesPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

List of cluster resources

func (*ResourcesPollResponse) Error ¶ added in v0.0.329

func (r *ResourcesPollResponse) Error() *errors.Error

Error returns the response error.

func (*ResourcesPollResponse) GetBody ¶ added in v0.0.329

func (r *ResourcesPollResponse) GetBody() (value *ClusterResources, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

List of cluster resources

func (*ResourcesPollResponse) Header ¶ added in v0.0.329

func (r *ResourcesPollResponse) Header() http.Header

Header returns header of the response.

func (*ResourcesPollResponse) Status ¶ added in v0.0.329

func (r *ResourcesPollResponse) Status() int

Status returns the response status code.

type RolePolicy ¶ added in v0.1.417

type RolePolicy struct {
	// contains filtered or unexported fields
}

RolePolicy represents the values of the 'role_policy' type.

func UnmarshalRolePolicy ¶ added in v0.1.417

func UnmarshalRolePolicy(source interface{}) (object *RolePolicy, err error)

UnmarshalRolePolicy reads a value of the 'role_policy' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalRolePolicyList ¶ added in v0.1.417

func UnmarshalRolePolicyList(source interface{}) (items []*RolePolicy, err error)

UnmarshalRolePolicyList reads a list of values of the 'role_policy' type from the given source, which can be a slice of bytes, a string or a reader.

func (*RolePolicy) Arn ¶ added in v0.1.417

func (o *RolePolicy) Arn() string

Arn returns the value of the 'arn' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*RolePolicy) Empty ¶ added in v0.1.417

func (o *RolePolicy) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*RolePolicy) GetArn ¶ added in v0.1.417

func (o *RolePolicy) GetArn() (value string, ok bool)

GetArn returns the value of the 'arn' attribute and a flag indicating if the attribute has a value.

func (*RolePolicy) GetName ¶ added in v0.1.417

func (o *RolePolicy) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

func (*RolePolicy) GetType ¶ added in v0.1.417

func (o *RolePolicy) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

func (*RolePolicy) Name ¶ added in v0.1.417

func (o *RolePolicy) 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.

func (*RolePolicy) Type ¶ added in v0.1.417

func (o *RolePolicy) 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.

type RolePolicyBinding ¶ added in v0.1.417

type RolePolicyBinding struct {
	// contains filtered or unexported fields
}

RolePolicyBinding represents the values of the 'role_policy_binding' type.

func UnmarshalRolePolicyBinding ¶ added in v0.1.417

func UnmarshalRolePolicyBinding(source interface{}) (object *RolePolicyBinding, err error)

UnmarshalRolePolicyBinding reads a value of the 'role_policy_binding' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalRolePolicyBindingList ¶ added in v0.1.417

func UnmarshalRolePolicyBindingList(source interface{}) (items []*RolePolicyBinding, err error)

UnmarshalRolePolicyBindingList reads a list of values of the 'role_policy_binding' type from the given source, which can be a slice of bytes, a string or a reader.

func (*RolePolicyBinding) Arn ¶ added in v0.1.417

func (o *RolePolicyBinding) Arn() string

Arn returns the value of the 'arn' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*RolePolicyBinding) Empty ¶ added in v0.1.417

func (o *RolePolicyBinding) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*RolePolicyBinding) GetArn ¶ added in v0.1.417

func (o *RolePolicyBinding) GetArn() (value string, ok bool)

GetArn returns the value of the 'arn' attribute and a flag indicating if the attribute has a value.

func (*RolePolicyBinding) GetName ¶ added in v0.1.417

func (o *RolePolicyBinding) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

func (*RolePolicyBinding) GetPolicies ¶ added in v0.1.417

func (o *RolePolicyBinding) GetPolicies() (value []*RolePolicy, ok bool)

GetPolicies returns the value of the 'policies' attribute and a flag indicating if the attribute has a value.

func (*RolePolicyBinding) GetStatus ¶ added in v0.1.417

func (o *RolePolicyBinding) GetStatus() (value *RolePolicyBindingStatus, ok bool)

GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.

func (*RolePolicyBinding) GetType ¶ added in v0.1.417

func (o *RolePolicyBinding) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

func (*RolePolicyBinding) Name ¶ added in v0.1.417

func (o *RolePolicyBinding) 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.

func (*RolePolicyBinding) Policies ¶ added in v0.1.417

func (o *RolePolicyBinding) Policies() []*RolePolicy

Policies returns the value of the 'policies' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*RolePolicyBinding) Status ¶ added in v0.1.417

Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*RolePolicyBinding) Type ¶ added in v0.1.417

func (o *RolePolicyBinding) 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.

type RolePolicyBindingBuilder ¶ added in v0.1.417

type RolePolicyBindingBuilder struct {
	// contains filtered or unexported fields
}

RolePolicyBindingBuilder contains the data and logic needed to build 'role_policy_binding' objects.

func NewRolePolicyBinding ¶ added in v0.1.417

func NewRolePolicyBinding() *RolePolicyBindingBuilder

NewRolePolicyBinding creates a new builder of 'role_policy_binding' objects.

func (*RolePolicyBindingBuilder) Arn ¶ added in v0.1.417

Arn sets the value of the 'arn' attribute to the given value.

func (*RolePolicyBindingBuilder) Build ¶ added in v0.1.417

func (b *RolePolicyBindingBuilder) Build() (object *RolePolicyBinding, err error)

Build creates a 'role_policy_binding' object using the configuration stored in the builder.

func (*RolePolicyBindingBuilder) Copy ¶ added in v0.1.417

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RolePolicyBindingBuilder) Empty ¶ added in v0.1.417

func (b *RolePolicyBindingBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*RolePolicyBindingBuilder) Name ¶ added in v0.1.417

Name sets the value of the 'name' attribute to the given value.

func (*RolePolicyBindingBuilder) Policies ¶ added in v0.1.417

Policies sets the value of the 'policies' attribute to the given values.

func (*RolePolicyBindingBuilder) Status ¶ added in v0.1.417

Status sets the value of the 'status' attribute to the given value.

func (*RolePolicyBindingBuilder) Type ¶ added in v0.1.417

Type sets the value of the 'type' attribute to the given value.

type RolePolicyBindingList ¶ added in v0.1.417

type RolePolicyBindingList struct {
	// contains filtered or unexported fields
}

RolePolicyBindingList is a list of values of the 'role_policy_binding' type.

func (*RolePolicyBindingList) Each ¶ added in v0.1.417

func (l *RolePolicyBindingList) Each(f func(item *RolePolicyBinding) 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 (*RolePolicyBindingList) Empty ¶ added in v0.1.417

func (l *RolePolicyBindingList) Empty() bool

Empty returns true if the list is empty.

func (*RolePolicyBindingList) Get ¶ added in v0.1.417

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*RolePolicyBindingList) Len ¶ added in v0.1.417

func (l *RolePolicyBindingList) Len() int

Len returns the length of the list.

func (*RolePolicyBindingList) Range ¶ added in v0.1.417

func (l *RolePolicyBindingList) Range(f func(index int, item *RolePolicyBinding) 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 (*RolePolicyBindingList) Slice ¶ added in v0.1.417

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 RolePolicyBindingListBuilder ¶ added in v0.1.417

type RolePolicyBindingListBuilder struct {
	// contains filtered or unexported fields
}

RolePolicyBindingListBuilder contains the data and logic needed to build 'role_policy_binding' objects.

func NewRolePolicyBindingList ¶ added in v0.1.417

func NewRolePolicyBindingList() *RolePolicyBindingListBuilder

NewRolePolicyBindingList creates a new builder of 'role_policy_binding' objects.

func (*RolePolicyBindingListBuilder) Build ¶ added in v0.1.417

Build creates a list of 'role_policy_binding' objects using the configuration stored in the builder.

func (*RolePolicyBindingListBuilder) Copy ¶ added in v0.1.417

Copy copies the items of the given list into this builder, discarding any previous items.

func (*RolePolicyBindingListBuilder) Empty ¶ added in v0.1.417

Empty returns true if the list is empty.

func (*RolePolicyBindingListBuilder) Items ¶ added in v0.1.417

Items sets the items of the list.

type RolePolicyBindingStatus ¶ added in v0.1.417

type RolePolicyBindingStatus struct {
	// contains filtered or unexported fields
}

RolePolicyBindingStatus represents the values of the 'role_policy_binding_status' type.

func UnmarshalRolePolicyBindingStatus ¶ added in v0.1.417

func UnmarshalRolePolicyBindingStatus(source interface{}) (object *RolePolicyBindingStatus, err error)

UnmarshalRolePolicyBindingStatus reads a value of the 'role_policy_binding_status' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalRolePolicyBindingStatusList ¶ added in v0.1.417

func UnmarshalRolePolicyBindingStatusList(source interface{}) (items []*RolePolicyBindingStatus, err error)

UnmarshalRolePolicyBindingStatusList reads a list of values of the 'role_policy_binding_status' type from the given source, which can be a slice of bytes, a string or a reader.

func (*RolePolicyBindingStatus) Description ¶ added in v0.1.417

func (o *RolePolicyBindingStatus) 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.

func (*RolePolicyBindingStatus) Empty ¶ added in v0.1.417

func (o *RolePolicyBindingStatus) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*RolePolicyBindingStatus) GetDescription ¶ added in v0.1.417

func (o *RolePolicyBindingStatus) GetDescription() (value string, ok bool)

GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.

func (*RolePolicyBindingStatus) GetValue ¶ added in v0.1.417

func (o *RolePolicyBindingStatus) GetValue() (value string, ok bool)

GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.

func (*RolePolicyBindingStatus) Value ¶ added in v0.1.417

func (o *RolePolicyBindingStatus) 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.

type RolePolicyBindingStatusBuilder ¶ added in v0.1.417

type RolePolicyBindingStatusBuilder struct {
	// contains filtered or unexported fields
}

RolePolicyBindingStatusBuilder contains the data and logic needed to build 'role_policy_binding_status' objects.

func NewRolePolicyBindingStatus ¶ added in v0.1.417

func NewRolePolicyBindingStatus() *RolePolicyBindingStatusBuilder

NewRolePolicyBindingStatus creates a new builder of 'role_policy_binding_status' objects.

func (*RolePolicyBindingStatusBuilder) Build ¶ added in v0.1.417

Build creates a 'role_policy_binding_status' object using the configuration stored in the builder.

func (*RolePolicyBindingStatusBuilder) Copy ¶ added in v0.1.417

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RolePolicyBindingStatusBuilder) Description ¶ added in v0.1.417

Description sets the value of the 'description' attribute to the given value.

func (*RolePolicyBindingStatusBuilder) Empty ¶ added in v0.1.417

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*RolePolicyBindingStatusBuilder) Value ¶ added in v0.1.417

Value sets the value of the 'value' attribute to the given value.

type RolePolicyBindingStatusList ¶ added in v0.1.417

type RolePolicyBindingStatusList struct {
	// contains filtered or unexported fields
}

RolePolicyBindingStatusList is a list of values of the 'role_policy_binding_status' type.

func (*RolePolicyBindingStatusList) Each ¶ added in v0.1.417

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 (*RolePolicyBindingStatusList) Empty ¶ added in v0.1.417

func (l *RolePolicyBindingStatusList) Empty() bool

Empty returns true if the list is empty.

func (*RolePolicyBindingStatusList) Get ¶ added in v0.1.417

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*RolePolicyBindingStatusList) Len ¶ added in v0.1.417

Len returns the length of the list.

func (*RolePolicyBindingStatusList) Range ¶ added in v0.1.417

func (l *RolePolicyBindingStatusList) Range(f func(index int, item *RolePolicyBindingStatus) 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 (*RolePolicyBindingStatusList) Slice ¶ added in v0.1.417

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 RolePolicyBindingStatusListBuilder ¶ added in v0.1.417

type RolePolicyBindingStatusListBuilder struct {
	// contains filtered or unexported fields
}

RolePolicyBindingStatusListBuilder contains the data and logic needed to build 'role_policy_binding_status' objects.

func NewRolePolicyBindingStatusList ¶ added in v0.1.417

func NewRolePolicyBindingStatusList() *RolePolicyBindingStatusListBuilder

NewRolePolicyBindingStatusList creates a new builder of 'role_policy_binding_status' objects.

func (*RolePolicyBindingStatusListBuilder) Build ¶ added in v0.1.417

Build creates a list of 'role_policy_binding_status' objects using the configuration stored in the builder.

func (*RolePolicyBindingStatusListBuilder) Copy ¶ added in v0.1.417

Copy copies the items of the given list into this builder, discarding any previous items.

func (*RolePolicyBindingStatusListBuilder) Empty ¶ added in v0.1.417

Empty returns true if the list is empty.

func (*RolePolicyBindingStatusListBuilder) Items ¶ added in v0.1.417

Items sets the items of the list.

type RolePolicyBindingsClient ¶ added in v0.1.417

type RolePolicyBindingsClient struct {
	// contains filtered or unexported fields
}

RolePolicyBindingsClient is the client of the 'role_policy_bindings' resource.

func NewRolePolicyBindingsClient ¶ added in v0.1.417

func NewRolePolicyBindingsClient(transport http.RoundTripper, path string) *RolePolicyBindingsClient

NewRolePolicyBindingsClient creates a new client for the 'role_policy_bindings' resource using the given transport to send the requests and receive the responses.

func (*RolePolicyBindingsClient) List ¶ added in v0.1.417

List creates a request for the 'list' method.

type RolePolicyBindingsListRequest ¶ added in v0.1.417

type RolePolicyBindingsListRequest struct {
	// contains filtered or unexported fields
}

RolePolicyBindingsListRequest is the request for the 'list' method.

func (*RolePolicyBindingsListRequest) FetchCurrent ¶ added in v0.1.417

FetchCurrent sets the value of the 'fetch_current' parameter.

If true, retrieves role policy binding states from AWS.

func (*RolePolicyBindingsListRequest) Header ¶ added in v0.1.417

func (r *RolePolicyBindingsListRequest) Header(name string, value interface{}) *RolePolicyBindingsListRequest

Header adds a request header.

func (*RolePolicyBindingsListRequest) Impersonate ¶ added in v0.1.417

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*RolePolicyBindingsListRequest) Page ¶ added in v0.1.417

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*RolePolicyBindingsListRequest) Parameter ¶ added in v0.1.417

func (r *RolePolicyBindingsListRequest) Parameter(name string, value interface{}) *RolePolicyBindingsListRequest

Parameter adds a query parameter.

func (*RolePolicyBindingsListRequest) Send ¶ added in v0.1.417

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*RolePolicyBindingsListRequest) SendContext ¶ added in v0.1.417

SendContext sends this request, waits for the response, and returns it.

func (*RolePolicyBindingsListRequest) Size ¶ added in v0.1.417

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type RolePolicyBindingsListResponse ¶ added in v0.1.417

type RolePolicyBindingsListResponse struct {
	// contains filtered or unexported fields
}

RolePolicyBindingsListResponse is the response for the 'list' method.

func (*RolePolicyBindingsListResponse) Error ¶ added in v0.1.417

Error returns the response error.

func (*RolePolicyBindingsListResponse) GetItems ¶ added in v0.1.417

func (r *RolePolicyBindingsListResponse) GetItems() (value *RolePolicyBindingList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of role policy bindings.

func (*RolePolicyBindingsListResponse) GetPage ¶ added in v0.1.417

func (r *RolePolicyBindingsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*RolePolicyBindingsListResponse) GetSize ¶ added in v0.1.417

func (r *RolePolicyBindingsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*RolePolicyBindingsListResponse) GetTotal ¶ added in v0.1.417

func (r *RolePolicyBindingsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*RolePolicyBindingsListResponse) Header ¶ added in v0.1.417

Header returns header of the response.

func (*RolePolicyBindingsListResponse) Items ¶ added in v0.1.417

Items returns the value of the 'items' parameter.

Retrieved list of role policy bindings.

func (*RolePolicyBindingsListResponse) Page ¶ added in v0.1.417

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*RolePolicyBindingsListResponse) Size ¶ added in v0.1.417

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*RolePolicyBindingsListResponse) Status ¶ added in v0.1.417

func (r *RolePolicyBindingsListResponse) Status() int

Status returns the response status code.

func (*RolePolicyBindingsListResponse) Total ¶ added in v0.1.417

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type RolePolicyBuilder ¶ added in v0.1.417

type RolePolicyBuilder struct {
	// contains filtered or unexported fields
}

RolePolicyBuilder contains the data and logic needed to build 'role_policy' objects.

func NewRolePolicy ¶ added in v0.1.417

func NewRolePolicy() *RolePolicyBuilder

NewRolePolicy creates a new builder of 'role_policy' objects.

func (*RolePolicyBuilder) Arn ¶ added in v0.1.417

Arn sets the value of the 'arn' attribute to the given value.

func (*RolePolicyBuilder) Build ¶ added in v0.1.417

func (b *RolePolicyBuilder) Build() (object *RolePolicy, err error)

Build creates a 'role_policy' object using the configuration stored in the builder.

func (*RolePolicyBuilder) Copy ¶ added in v0.1.417

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RolePolicyBuilder) Empty ¶ added in v0.1.417

func (b *RolePolicyBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*RolePolicyBuilder) Name ¶ added in v0.1.417

func (b *RolePolicyBuilder) Name(value string) *RolePolicyBuilder

Name sets the value of the 'name' attribute to the given value.

func (*RolePolicyBuilder) Type ¶ added in v0.1.417

func (b *RolePolicyBuilder) Type(value string) *RolePolicyBuilder

Type sets the value of the 'type' attribute to the given value.

type RolePolicyList ¶ added in v0.1.417

type RolePolicyList struct {
	// contains filtered or unexported fields
}

RolePolicyList is a list of values of the 'role_policy' type.

func (*RolePolicyList) Each ¶ added in v0.1.417

func (l *RolePolicyList) Each(f func(item *RolePolicy) 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 (*RolePolicyList) Empty ¶ added in v0.1.417

func (l *RolePolicyList) Empty() bool

Empty returns true if the list is empty.

func (*RolePolicyList) Get ¶ added in v0.1.417

func (l *RolePolicyList) Get(i int) *RolePolicy

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*RolePolicyList) Len ¶ added in v0.1.417

func (l *RolePolicyList) Len() int

Len returns the length of the list.

func (*RolePolicyList) Range ¶ added in v0.1.417

func (l *RolePolicyList) Range(f func(index int, item *RolePolicy) 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 (*RolePolicyList) Slice ¶ added in v0.1.417

func (l *RolePolicyList) Slice() []*RolePolicy

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 RolePolicyListBuilder ¶ added in v0.1.417

type RolePolicyListBuilder struct {
	// contains filtered or unexported fields
}

RolePolicyListBuilder contains the data and logic needed to build 'role_policy' objects.

func NewRolePolicyList ¶ added in v0.1.417

func NewRolePolicyList() *RolePolicyListBuilder

NewRolePolicyList creates a new builder of 'role_policy' objects.

func (*RolePolicyListBuilder) Build ¶ added in v0.1.417

func (b *RolePolicyListBuilder) Build() (list *RolePolicyList, err error)

Build creates a list of 'role_policy' objects using the configuration stored in the builder.

func (*RolePolicyListBuilder) Copy ¶ added in v0.1.417

Copy copies the items of the given list into this builder, discarding any previous items.

func (*RolePolicyListBuilder) Empty ¶ added in v0.1.417

func (b *RolePolicyListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*RolePolicyListBuilder) Items ¶ added in v0.1.417

Items sets the items of the list.

type RootVolume ¶ added in v0.1.347

type RootVolume struct {
	// contains filtered or unexported fields
}

RootVolume represents the values of the 'root_volume' type.

Root volume capabilities.

func UnmarshalRootVolume ¶ added in v0.1.347

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 ¶ added in v0.1.347

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 ¶ added in v0.1.347

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 ¶ added in v0.1.347

func (o *RootVolume) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*RootVolume) GCP ¶ added in v0.1.347

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 ¶ added in v0.1.347

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 ¶ added in v0.1.347

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 ¶ added in v0.1.347

type RootVolumeBuilder struct {
	// contains filtered or unexported fields
}

RootVolumeBuilder contains the data and logic needed to build 'root_volume' objects.

Root volume capabilities.

func NewRootVolume ¶ added in v0.1.347

func NewRootVolume() *RootVolumeBuilder

NewRootVolume creates a new builder of 'root_volume' objects.

func (*RootVolumeBuilder) AWS ¶ added in v0.1.347

AWS sets the value of the 'AWS' attribute to the given value.

Holds settings for an AWS storage volume.

func (*RootVolumeBuilder) Build ¶ added in v0.1.347

func (b *RootVolumeBuilder) Build() (object *RootVolume, err error)

Build creates a 'root_volume' object using the configuration stored in the builder.

func (*RootVolumeBuilder) Copy ¶ added in v0.1.347

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*RootVolumeBuilder) Empty ¶ added in v0.1.347

func (b *RootVolumeBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*RootVolumeBuilder) GCP ¶ added in v0.1.347

GCP sets the value of the 'GCP' attribute to the given value.

Holds settings for an GCP storage volume.

type RootVolumeList ¶ added in v0.1.347

type RootVolumeList struct {
	// contains filtered or unexported fields
}

RootVolumeList is a list of values of the 'root_volume' type.

func (*RootVolumeList) Each ¶ added in v0.1.347

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 ¶ added in v0.1.347

func (l *RootVolumeList) Empty() bool

Empty returns true if the list is empty.

func (*RootVolumeList) Get ¶ added in v0.1.347

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) Len ¶ added in v0.1.347

func (l *RootVolumeList) Len() int

Len returns the length of the list.

func (*RootVolumeList) Range ¶ added in v0.1.347

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) Slice ¶ added in v0.1.347

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 ¶ added in v0.1.347

type RootVolumeListBuilder struct {
	// contains filtered or unexported fields
}

RootVolumeListBuilder contains the data and logic needed to build 'root_volume' objects.

func NewRootVolumeList ¶ added in v0.1.347

func NewRootVolumeList() *RootVolumeListBuilder

NewRootVolumeList creates a new builder of 'root_volume' objects.

func (*RootVolumeListBuilder) Build ¶ added in v0.1.347

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 ¶ added in v0.1.347

Copy copies the items of the given list into this builder, discarding any previous items.

func (*RootVolumeListBuilder) Empty ¶ added in v0.1.347

func (b *RootVolumeListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*RootVolumeListBuilder) Items ¶ added in v0.1.347

Items sets the items of the list.

type STS ¶ added in v0.0.329

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 UnmarshalSTS ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *STS) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*STS) Enabled ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type STSBuilder struct {
	// contains filtered or unexported fields
}

STSBuilder contains the data and logic needed to build 'STS' objects.

Contains the necessary attributes to support role-based authentication on AWS.

func NewSTS ¶ added in v0.0.329

func NewSTS() *STSBuilder

NewSTS creates a new builder of 'STS' objects.

func (*STSBuilder) AutoMode ¶ added in v0.0.329

func (b *STSBuilder) AutoMode(value bool) *STSBuilder

AutoMode sets the value of the 'auto_mode' attribute to the given value.

func (*STSBuilder) Build ¶ added in v0.0.329

func (b *STSBuilder) Build() (object *STS, err error)

Build creates a 'STS' object using the configuration stored in the builder.

func (*STSBuilder) Copy ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *STSBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*STSBuilder) Enabled ¶ added in v0.0.329

func (b *STSBuilder) Enabled(value bool) *STSBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

func (*STSBuilder) ExternalID ¶ added in v0.0.329

func (b *STSBuilder) ExternalID(value string) *STSBuilder

ExternalID sets the value of the 'external_ID' attribute to the given value.

func (*STSBuilder) InstanceIAMRoles ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *STSBuilder) ManagedPolicies(value bool) *STSBuilder

ManagedPolicies sets the value of the 'managed_policies' attribute to the given value.

func (*STSBuilder) OIDCEndpointURL ¶ added in v0.0.329

func (b *STSBuilder) OIDCEndpointURL(value string) *STSBuilder

OIDCEndpointURL sets the value of the 'OIDC_endpoint_URL' attribute to the given value.

func (*STSBuilder) OidcConfig ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *STSBuilder) OperatorIAMRoles(values ...*OperatorIAMRoleBuilder) *STSBuilder

OperatorIAMRoles sets the value of the 'operator_IAM_roles' attribute to the given values.

func (*STSBuilder) OperatorRolePrefix ¶ added in v0.0.329

func (b *STSBuilder) OperatorRolePrefix(value string) *STSBuilder

OperatorRolePrefix sets the value of the 'operator_role_prefix' attribute to the given value.

func (*STSBuilder) PermissionBoundary ¶ added in v0.0.329

func (b *STSBuilder) PermissionBoundary(value string) *STSBuilder

PermissionBoundary sets the value of the 'permission_boundary' attribute to the given value.

func (*STSBuilder) RoleARN ¶ added in v0.0.329

func (b *STSBuilder) RoleARN(value string) *STSBuilder

RoleARN sets the value of the 'role_ARN' attribute to the given value.

func (*STSBuilder) SupportRoleARN ¶ added in v0.0.329

func (b *STSBuilder) SupportRoleARN(value string) *STSBuilder

SupportRoleARN sets the value of the 'support_role_ARN' attribute to the given value.

type STSCredentialRequest ¶ added in v0.0.329

type STSCredentialRequest struct {
	// contains filtered or unexported fields
}

STSCredentialRequest represents the values of the 'STS_credential_request' type.

Representation of an credRequest

func UnmarshalSTSCredentialRequest ¶ added in v0.0.329

func UnmarshalSTSCredentialRequest(source interface{}) (object *STSCredentialRequest, err error)

UnmarshalSTSCredentialRequest reads a value of the 'STS_credential_request' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSTSCredentialRequestList ¶ added in v0.0.329

func UnmarshalSTSCredentialRequestList(source interface{}) (items []*STSCredentialRequest, err error)

UnmarshalSTSCredentialRequestList reads a list of values of the 'STS_credential_request' type from the given source, which can be a slice of bytes, a string or a reader.

func (*STSCredentialRequest) Empty ¶ added in v0.0.329

func (o *STSCredentialRequest) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*STSCredentialRequest) GetName ¶ added in v0.0.329

func (o *STSCredentialRequest) 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 CredRequest

func (*STSCredentialRequest) GetOperator ¶ added in v0.0.329

func (o *STSCredentialRequest) GetOperator() (value *STSOperator, ok bool)

GetOperator returns the value of the 'operator' attribute and a flag indicating if the attribute has a value.

Operator Details

func (*STSCredentialRequest) Name ¶ added in v0.0.329

func (o *STSCredentialRequest) 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 CredRequest

func (*STSCredentialRequest) Operator ¶ added in v0.0.329

func (o *STSCredentialRequest) Operator() *STSOperator

Operator returns the value of the 'operator' attribute, or the zero value of the type if the attribute doesn't have a value.

Operator Details

type STSCredentialRequestBuilder ¶ added in v0.0.329

type STSCredentialRequestBuilder struct {
	// contains filtered or unexported fields
}

STSCredentialRequestBuilder contains the data and logic needed to build 'STS_credential_request' objects.

Representation of an credRequest

func NewSTSCredentialRequest ¶ added in v0.0.329

func NewSTSCredentialRequest() *STSCredentialRequestBuilder

NewSTSCredentialRequest creates a new builder of 'STS_credential_request' objects.

func (*STSCredentialRequestBuilder) Build ¶ added in v0.0.329

func (b *STSCredentialRequestBuilder) Build() (object *STSCredentialRequest, err error)

Build creates a 'STS_credential_request' object using the configuration stored in the builder.

func (*STSCredentialRequestBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*STSCredentialRequestBuilder) Empty ¶ added in v0.0.329

func (b *STSCredentialRequestBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*STSCredentialRequestBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

func (*STSCredentialRequestBuilder) Operator ¶ added in v0.0.329

Operator sets the value of the 'operator' attribute to the given value.

Representation of an sts operator

type STSCredentialRequestList ¶ added in v0.0.329

type STSCredentialRequestList struct {
	// contains filtered or unexported fields
}

STSCredentialRequestList is a list of values of the 'STS_credential_request' type.

func (*STSCredentialRequestList) Each ¶ added in v0.0.329

func (l *STSCredentialRequestList) Each(f func(item *STSCredentialRequest) 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 (*STSCredentialRequestList) Empty ¶ added in v0.0.329

func (l *STSCredentialRequestList) Empty() bool

Empty returns true if the list is empty.

func (*STSCredentialRequestList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*STSCredentialRequestList) Len ¶ added in v0.0.329

func (l *STSCredentialRequestList) Len() int

Len returns the length of the list.

func (*STSCredentialRequestList) Range ¶ added in v0.0.329

func (l *STSCredentialRequestList) Range(f func(index int, item *STSCredentialRequest) 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 (*STSCredentialRequestList) Slice ¶ added in v0.0.329

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 STSCredentialRequestListBuilder ¶ added in v0.0.329

type STSCredentialRequestListBuilder struct {
	// contains filtered or unexported fields
}

STSCredentialRequestListBuilder contains the data and logic needed to build 'STS_credential_request' objects.

func NewSTSCredentialRequestList ¶ added in v0.0.329

func NewSTSCredentialRequestList() *STSCredentialRequestListBuilder

NewSTSCredentialRequestList creates a new builder of 'STS_credential_request' objects.

func (*STSCredentialRequestListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'STS_credential_request' objects using the configuration stored in the builder.

func (*STSCredentialRequestListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*STSCredentialRequestListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*STSCredentialRequestListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type STSCredentialRequestsInquiryClient ¶ added in v0.0.329

type STSCredentialRequestsInquiryClient struct {
	// contains filtered or unexported fields
}

STSCredentialRequestsInquiryClient is the client of the 'STS_credential_requests_inquiry' resource.

Manages STS Credential Request

func NewSTSCredentialRequestsInquiryClient ¶ added in v0.0.329

func NewSTSCredentialRequestsInquiryClient(transport http.RoundTripper, path string) *STSCredentialRequestsInquiryClient

NewSTSCredentialRequestsInquiryClient creates a new client for the 'STS_credential_requests_inquiry' resource using the given transport to send the requests and receive the responses.

func (*STSCredentialRequestsInquiryClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of policies.

type STSCredentialRequestsInquiryListRequest ¶ added in v0.0.329

type STSCredentialRequestsInquiryListRequest struct {
	// contains filtered or unexported fields
}

STSCredentialRequestsInquiryListRequest is the request for the 'list' method.

func (*STSCredentialRequestsInquiryListRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*STSCredentialRequestsInquiryListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*STSCredentialRequestsInquiryListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*STSCredentialRequestsInquiryListRequest) Parameter ¶ added in v0.0.329

Parameter adds a query parameter.

func (*STSCredentialRequestsInquiryListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*STSCredentialRequestsInquiryListRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*STSCredentialRequestsInquiryListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type STSCredentialRequestsInquiryListResponse ¶ added in v0.0.329

type STSCredentialRequestsInquiryListResponse struct {
	// contains filtered or unexported fields
}

STSCredentialRequestsInquiryListResponse is the response for the 'list' method.

func (*STSCredentialRequestsInquiryListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*STSCredentialRequestsInquiryListResponse) GetItems ¶ added in v0.0.329

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of CredRequest.

func (*STSCredentialRequestsInquiryListResponse) GetPage ¶ added in v0.0.329

func (r *STSCredentialRequestsInquiryListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*STSCredentialRequestsInquiryListResponse) GetSize ¶ added in v0.0.329

func (r *STSCredentialRequestsInquiryListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*STSCredentialRequestsInquiryListResponse) GetTotal ¶ added in v0.0.329

func (r *STSCredentialRequestsInquiryListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*STSCredentialRequestsInquiryListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*STSCredentialRequestsInquiryListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of CredRequest.

func (*STSCredentialRequestsInquiryListResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*STSCredentialRequestsInquiryListResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*STSCredentialRequestsInquiryListResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*STSCredentialRequestsInquiryListResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type STSList ¶ added in v0.0.329

type STSList struct {
	// contains filtered or unexported fields
}

STSList is a list of values of the 'STS' type.

func (*STSList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *STSList) Empty() bool

Empty returns true if the list is empty.

func (*STSList) Get ¶ added in v0.0.329

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) Len ¶ added in v0.0.329

func (l *STSList) Len() int

Len returns the length of the list.

func (*STSList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type STSListBuilder struct {
	// contains filtered or unexported fields
}

STSListBuilder contains the data and logic needed to build 'STS' objects.

func NewSTSList ¶ added in v0.0.329

func NewSTSList() *STSListBuilder

NewSTSList creates a new builder of 'STS' objects.

func (*STSListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *STSListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*STSListBuilder) Items ¶ added in v0.0.329

func (b *STSListBuilder) Items(values ...*STSBuilder) *STSListBuilder

Items sets the items of the list.

type STSOperator ¶ added in v0.0.329

type STSOperator struct {
	// contains filtered or unexported fields
}

STSOperator represents the values of the 'STS_operator' type.

Representation of an sts operator

func UnmarshalSTSOperator ¶ added in v0.0.329

func UnmarshalSTSOperator(source interface{}) (object *STSOperator, err error)

UnmarshalSTSOperator reads a value of the 'STS_operator' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSTSOperatorList ¶ added in v0.0.329

func UnmarshalSTSOperatorList(source interface{}) (items []*STSOperator, err error)

UnmarshalSTSOperatorList reads a list of values of the 'STS_operator' type from the given source, which can be a slice of bytes, a string or a reader.

func (*STSOperator) Empty ¶ added in v0.0.329

func (o *STSOperator) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*STSOperator) GetMaxVersion ¶ added in v0.0.329

func (o *STSOperator) GetMaxVersion() (value string, ok bool)

GetMaxVersion returns the value of the 'max_version' attribute and a flag indicating if the attribute has a value.

Maximum ocp version supported

func (*STSOperator) GetMinVersion ¶ added in v0.0.329

func (o *STSOperator) GetMinVersion() (value string, ok bool)

GetMinVersion returns the value of the 'min_version' attribute and a flag indicating if the attribute has a value.

Minimum ocp version supported

func (*STSOperator) GetName ¶ added in v0.0.329

func (o *STSOperator) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

Operator Name

func (*STSOperator) GetNamespace ¶ added in v0.0.329

func (o *STSOperator) GetNamespace() (value string, ok bool)

GetNamespace returns the value of the 'namespace' attribute and a flag indicating if the attribute has a value.

Operator Namespace

func (*STSOperator) GetServiceAccounts ¶ added in v0.0.329

func (o *STSOperator) GetServiceAccounts() (value []string, ok bool)

GetServiceAccounts returns the value of the 'service_accounts' attribute and a flag indicating if the attribute has a value.

Service Accounts

func (*STSOperator) MaxVersion ¶ added in v0.0.329

func (o *STSOperator) MaxVersion() string

MaxVersion returns the value of the 'max_version' attribute, or the zero value of the type if the attribute doesn't have a value.

Maximum ocp version supported

func (*STSOperator) MinVersion ¶ added in v0.0.329

func (o *STSOperator) MinVersion() string

MinVersion returns the value of the 'min_version' attribute, or the zero value of the type if the attribute doesn't have a value.

Minimum ocp version supported

func (*STSOperator) Name ¶ added in v0.0.329

func (o *STSOperator) 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.

Operator Name

func (*STSOperator) Namespace ¶ added in v0.0.329

func (o *STSOperator) 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.

Operator Namespace

func (*STSOperator) ServiceAccounts ¶ added in v0.0.329

func (o *STSOperator) ServiceAccounts() []string

ServiceAccounts returns the value of the 'service_accounts' attribute, or the zero value of the type if the attribute doesn't have a value.

Service Accounts

type STSOperatorBuilder ¶ added in v0.0.329

type STSOperatorBuilder struct {
	// contains filtered or unexported fields
}

STSOperatorBuilder contains the data and logic needed to build 'STS_operator' objects.

Representation of an sts operator

func NewSTSOperator ¶ added in v0.0.329

func NewSTSOperator() *STSOperatorBuilder

NewSTSOperator creates a new builder of 'STS_operator' objects.

func (*STSOperatorBuilder) Build ¶ added in v0.0.329

func (b *STSOperatorBuilder) Build() (object *STSOperator, err error)

Build creates a 'STS_operator' object using the configuration stored in the builder.

func (*STSOperatorBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*STSOperatorBuilder) Empty ¶ added in v0.0.329

func (b *STSOperatorBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*STSOperatorBuilder) MaxVersion ¶ added in v0.0.329

func (b *STSOperatorBuilder) MaxVersion(value string) *STSOperatorBuilder

MaxVersion sets the value of the 'max_version' attribute to the given value.

func (*STSOperatorBuilder) MinVersion ¶ added in v0.0.329

func (b *STSOperatorBuilder) MinVersion(value string) *STSOperatorBuilder

MinVersion sets the value of the 'min_version' attribute to the given value.

func (*STSOperatorBuilder) Name ¶ added in v0.0.329

Name sets the value of the 'name' attribute to the given value.

func (*STSOperatorBuilder) Namespace ¶ added in v0.0.329

func (b *STSOperatorBuilder) Namespace(value string) *STSOperatorBuilder

Namespace sets the value of the 'namespace' attribute to the given value.

func (*STSOperatorBuilder) ServiceAccounts ¶ added in v0.0.329

func (b *STSOperatorBuilder) ServiceAccounts(values ...string) *STSOperatorBuilder

ServiceAccounts sets the value of the 'service_accounts' attribute to the given values.

type STSOperatorList ¶ added in v0.0.329

type STSOperatorList struct {
	// contains filtered or unexported fields
}

STSOperatorList is a list of values of the 'STS_operator' type.

func (*STSOperatorList) Each ¶ added in v0.0.329

func (l *STSOperatorList) Each(f func(item *STSOperator) 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 (*STSOperatorList) Empty ¶ added in v0.0.329

func (l *STSOperatorList) Empty() bool

Empty returns true if the list is empty.

func (*STSOperatorList) Get ¶ added in v0.0.329

func (l *STSOperatorList) Get(i int) *STSOperator

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*STSOperatorList) Len ¶ added in v0.0.329

func (l *STSOperatorList) Len() int

Len returns the length of the list.

func (*STSOperatorList) Range ¶ added in v0.0.329

func (l *STSOperatorList) Range(f func(index int, item *STSOperator) 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 (*STSOperatorList) Slice ¶ added in v0.0.329

func (l *STSOperatorList) Slice() []*STSOperator

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 STSOperatorListBuilder ¶ added in v0.0.329

type STSOperatorListBuilder struct {
	// contains filtered or unexported fields
}

STSOperatorListBuilder contains the data and logic needed to build 'STS_operator' objects.

func NewSTSOperatorList ¶ added in v0.0.329

func NewSTSOperatorList() *STSOperatorListBuilder

NewSTSOperatorList creates a new builder of 'STS_operator' objects.

func (*STSOperatorListBuilder) Build ¶ added in v0.0.329

func (b *STSOperatorListBuilder) Build() (list *STSOperatorList, err error)

Build creates a list of 'STS_operator' objects using the configuration stored in the builder.

func (*STSOperatorListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*STSOperatorListBuilder) Empty ¶ added in v0.0.329

func (b *STSOperatorListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*STSOperatorListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type ScheduleType ¶ added in v0.1.357

type ScheduleType string

ScheduleType represents the values of the 'schedule_type' enumerated type.

const (
	// Automatic schedule type for automatically upgrade to the latest available version, at the next scheduled time,
	// as defined by the 'scheduled' cron expression. Note that by default, automatic upgrade will pick only
	// the latest Z stream. To enable minor version upgrades automatically, you will need to set the
	// 'enable_minor_version_upgrades' to be 'true'. Major version upgrades are not supported.
	ScheduleTypeAutomatic ScheduleType = "automatic"
	// Manual schedule type is for upgrades scheduled manually by a user, to a specific version, at a specific time.
	ScheduleTypeManual ScheduleType = "manual"
)

func UnmarshalScheduleTypeList ¶ added in v0.1.357

func UnmarshalScheduleTypeList(source interface{}) (items []ScheduleType, err error)

UnmarshalScheduleTypeList reads a list of values of the 'schedule_type' type from the given source, which can be a slice of bytes, a string or a reader.

type SecurityGroup ¶ added in v0.1.370

type SecurityGroup struct {
	// contains filtered or unexported fields
}

SecurityGroup represents the values of the 'security_group' type.

AWS security group object

func UnmarshalSecurityGroup ¶ added in v0.1.370

func UnmarshalSecurityGroup(source interface{}) (object *SecurityGroup, err error)

UnmarshalSecurityGroup reads a value of the 'security_group' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSecurityGroupList ¶ added in v0.1.370

func UnmarshalSecurityGroupList(source interface{}) (items []*SecurityGroup, err error)

UnmarshalSecurityGroupList reads a list of values of the 'security_group' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SecurityGroup) Empty ¶ added in v0.1.370

func (o *SecurityGroup) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SecurityGroup) GetID ¶ added in v0.1.370

func (o *SecurityGroup) GetID() (value string, ok bool)

GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.

The security group ID.

func (*SecurityGroup) GetName ¶ added in v0.1.370

func (o *SecurityGroup) 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 security group according to its `Name` tag on AWS.

func (*SecurityGroup) GetRedHatManaged ¶ added in v0.1.370

func (o *SecurityGroup) GetRedHatManaged() (value bool, ok bool)

GetRedHatManaged returns the value of the 'red_hat_managed' attribute and a flag indicating if the attribute has a value.

If the resource is RH managed.

func (*SecurityGroup) ID ¶ added in v0.1.370

func (o *SecurityGroup) 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.

The security group ID.

func (*SecurityGroup) Name ¶ added in v0.1.370

func (o *SecurityGroup) 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 security group according to its `Name` tag on AWS.

func (*SecurityGroup) RedHatManaged ¶ added in v0.1.370

func (o *SecurityGroup) RedHatManaged() bool

RedHatManaged returns the value of the 'red_hat_managed' attribute, or the zero value of the type if the attribute doesn't have a value.

If the resource is RH managed.

type SecurityGroupBuilder ¶ added in v0.1.370

type SecurityGroupBuilder struct {
	// contains filtered or unexported fields
}

SecurityGroupBuilder contains the data and logic needed to build 'security_group' objects.

AWS security group object

func NewSecurityGroup ¶ added in v0.1.370

func NewSecurityGroup() *SecurityGroupBuilder

NewSecurityGroup creates a new builder of 'security_group' objects.

func (*SecurityGroupBuilder) Build ¶ added in v0.1.370

func (b *SecurityGroupBuilder) Build() (object *SecurityGroup, err error)

Build creates a 'security_group' object using the configuration stored in the builder.

func (*SecurityGroupBuilder) Copy ¶ added in v0.1.370

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SecurityGroupBuilder) Empty ¶ added in v0.1.370

func (b *SecurityGroupBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SecurityGroupBuilder) ID ¶ added in v0.1.370

ID sets the value of the 'ID' attribute to the given value.

func (*SecurityGroupBuilder) Name ¶ added in v0.1.370

Name sets the value of the 'name' attribute to the given value.

func (*SecurityGroupBuilder) RedHatManaged ¶ added in v0.1.370

func (b *SecurityGroupBuilder) RedHatManaged(value bool) *SecurityGroupBuilder

RedHatManaged sets the value of the 'red_hat_managed' attribute to the given value.

type SecurityGroupList ¶ added in v0.1.370

type SecurityGroupList struct {
	// contains filtered or unexported fields
}

SecurityGroupList is a list of values of the 'security_group' type.

func (*SecurityGroupList) Each ¶ added in v0.1.370

func (l *SecurityGroupList) Each(f func(item *SecurityGroup) 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 (*SecurityGroupList) Empty ¶ added in v0.1.370

func (l *SecurityGroupList) Empty() bool

Empty returns true if the list is empty.

func (*SecurityGroupList) Get ¶ added in v0.1.370

func (l *SecurityGroupList) Get(i int) *SecurityGroup

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SecurityGroupList) Len ¶ added in v0.1.370

func (l *SecurityGroupList) Len() int

Len returns the length of the list.

func (*SecurityGroupList) Range ¶ added in v0.1.370

func (l *SecurityGroupList) Range(f func(index int, item *SecurityGroup) 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 (*SecurityGroupList) Slice ¶ added in v0.1.370

func (l *SecurityGroupList) Slice() []*SecurityGroup

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 SecurityGroupListBuilder ¶ added in v0.1.370

type SecurityGroupListBuilder struct {
	// contains filtered or unexported fields
}

SecurityGroupListBuilder contains the data and logic needed to build 'security_group' objects.

func NewSecurityGroupList ¶ added in v0.1.370

func NewSecurityGroupList() *SecurityGroupListBuilder

NewSecurityGroupList creates a new builder of 'security_group' objects.

func (*SecurityGroupListBuilder) Build ¶ added in v0.1.370

func (b *SecurityGroupListBuilder) Build() (list *SecurityGroupList, err error)

Build creates a list of 'security_group' objects using the configuration stored in the builder.

func (*SecurityGroupListBuilder) Copy ¶ added in v0.1.370

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SecurityGroupListBuilder) Empty ¶ added in v0.1.370

func (b *SecurityGroupListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*SecurityGroupListBuilder) Items ¶ added in v0.1.370

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 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) Empty ¶

func (o *ServerConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

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 ¶ added in v0.0.329

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 ¶ added in v0.1.368

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 ¶ added in v0.0.329

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 iif 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 ¶ added in v0.1.368

func (o *ServerConfig) Topology() ProvisionShardTopology

Topology returns the value of the 'topology' attribute, or the zero value of the type if the attribute doesn't have a value.

The topology of a provision shard (Optional).

type ServerConfigBuilder ¶

type ServerConfigBuilder struct {
	// contains filtered or unexported fields
}

ServerConfigBuilder contains the data and logic needed to build 'server_config' objects.

Representation of a server config

func NewServerConfig ¶

func NewServerConfig() *ServerConfigBuilder

NewServerConfig creates a new builder of 'server_config' objects.

func (*ServerConfigBuilder) 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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.368

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) 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) 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 ¶ added in v0.0.329

func (b *ServerConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ServerConfigListBuilder) Items ¶

Items sets the items of the list.

type SocketTotalByNodeRolesOSMetricQueryClient ¶

type SocketTotalByNodeRolesOSMetricQueryClient struct {
	// contains filtered or unexported fields
}

SocketTotalByNodeRolesOSMetricQueryClient is the client of the 'socket_total_by_node_roles_OS_metric_query' resource.

Total socket capacity in the cluster by node role and operating system.

func NewSocketTotalByNodeRolesOSMetricQueryClient ¶

func NewSocketTotalByNodeRolesOSMetricQueryClient(transport http.RoundTripper, path string) *SocketTotalByNodeRolesOSMetricQueryClient

NewSocketTotalByNodeRolesOSMetricQueryClient creates a new client for the 'socket_total_by_node_roles_OS_metric_query' resource using the given transport to send the requests and receive the responses.

func (*SocketTotalByNodeRolesOSMetricQueryClient) Get ¶

Get creates a request for the 'get' method.

Retrieves the metrics.

func (*SocketTotalByNodeRolesOSMetricQueryClient) Poll ¶

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type SocketTotalByNodeRolesOSMetricQueryGetRequest ¶

type SocketTotalByNodeRolesOSMetricQueryGetRequest struct {
	// contains filtered or unexported fields
}

SocketTotalByNodeRolesOSMetricQueryGetRequest is the request for the 'get' method.

func (*SocketTotalByNodeRolesOSMetricQueryGetRequest) Header ¶

Header adds a request header.

func (*SocketTotalByNodeRolesOSMetricQueryGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*SocketTotalByNodeRolesOSMetricQueryGetRequest) Parameter ¶

Parameter adds a query parameter.

func (*SocketTotalByNodeRolesOSMetricQueryGetRequest) Send ¶

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*SocketTotalByNodeRolesOSMetricQueryGetRequest) SendContext ¶

SendContext sends this request, waits for the response, and returns it.

type SocketTotalByNodeRolesOSMetricQueryGetResponse ¶

type SocketTotalByNodeRolesOSMetricQueryGetResponse struct {
	// contains filtered or unexported fields
}

SocketTotalByNodeRolesOSMetricQueryGetResponse is the response for the 'get' method.

func (*SocketTotalByNodeRolesOSMetricQueryGetResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*SocketTotalByNodeRolesOSMetricQueryGetResponse) Error ¶

Error returns the response error.

func (*SocketTotalByNodeRolesOSMetricQueryGetResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*SocketTotalByNodeRolesOSMetricQueryGetResponse) Header ¶

Header returns header of the response.

func (*SocketTotalByNodeRolesOSMetricQueryGetResponse) Status ¶

Status returns the response status code.

type SocketTotalByNodeRolesOSMetricQueryPollRequest ¶

type SocketTotalByNodeRolesOSMetricQueryPollRequest struct {
	// contains filtered or unexported fields
}

SocketTotalByNodeRolesOSMetricQueryPollRequest is the request for the Poll method.

func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) Header ¶

Header adds a request header to all the requests that will be used to retrieve the object.

func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) Interval ¶

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) Parameter ¶

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) Predicate ¶

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) StartContext ¶

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) Status ¶

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type SocketTotalByNodeRolesOSMetricQueryPollResponse ¶

type SocketTotalByNodeRolesOSMetricQueryPollResponse struct {
	// contains filtered or unexported fields
}

SocketTotalByNodeRolesOSMetricQueryPollResponse is the response for the Poll method.

func (*SocketTotalByNodeRolesOSMetricQueryPollResponse) Body ¶

Body returns the value of the 'body' parameter.

func (*SocketTotalByNodeRolesOSMetricQueryPollResponse) Error ¶

Error returns the response error.

func (*SocketTotalByNodeRolesOSMetricQueryPollResponse) GetBody ¶

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*SocketTotalByNodeRolesOSMetricQueryPollResponse) Header ¶

Header returns header of the response.

func (*SocketTotalByNodeRolesOSMetricQueryPollResponse) Status ¶

Status returns the response status code.

type SocketTotalNodeRoleOSMetricNode ¶

type SocketTotalNodeRoleOSMetricNode struct {
	// contains filtered or unexported fields
}

SocketTotalNodeRoleOSMetricNode represents the values of the 'socket_total_node_role_OS_metric_node' type.

Representation of information from telemetry about a the socket capacity by node role and OS.

func UnmarshalSocketTotalNodeRoleOSMetricNode ¶

func UnmarshalSocketTotalNodeRoleOSMetricNode(source interface{}) (object *SocketTotalNodeRoleOSMetricNode, err error)

UnmarshalSocketTotalNodeRoleOSMetricNode reads a value of the 'socket_total_node_role_OS_metric_node' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSocketTotalNodeRoleOSMetricNodeList ¶

func UnmarshalSocketTotalNodeRoleOSMetricNodeList(source interface{}) (items []*SocketTotalNodeRoleOSMetricNode, err error)

UnmarshalSocketTotalNodeRoleOSMetricNodeList reads a list of values of the 'socket_total_node_role_OS_metric_node' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SocketTotalNodeRoleOSMetricNode) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SocketTotalNodeRoleOSMetricNode) GetNodeRoles ¶

func (o *SocketTotalNodeRoleOSMetricNode) GetNodeRoles() (value []string, ok bool)

GetNodeRoles returns the value of the 'node_roles' attribute and a flag indicating if the attribute has a value.

Representation of the node role for a cluster.

func (*SocketTotalNodeRoleOSMetricNode) GetOperatingSystem ¶

func (o *SocketTotalNodeRoleOSMetricNode) GetOperatingSystem() (value string, ok bool)

GetOperatingSystem returns the value of the 'operating_system' attribute and a flag indicating if the attribute has a value.

The operating system.

func (*SocketTotalNodeRoleOSMetricNode) GetSocketTotal ¶

func (o *SocketTotalNodeRoleOSMetricNode) GetSocketTotal() (value float64, ok bool)

GetSocketTotal returns the value of the 'socket_total' attribute and a flag indicating if the attribute has a value.

The total socket capacity of nodes with this set of roles and operating system.

func (*SocketTotalNodeRoleOSMetricNode) GetTime ¶

func (o *SocketTotalNodeRoleOSMetricNode) GetTime() (value time.Time, ok bool)

GetTime returns the value of the 'time' attribute and a flag indicating if the attribute has a value.

func (*SocketTotalNodeRoleOSMetricNode) NodeRoles ¶

func (o *SocketTotalNodeRoleOSMetricNode) NodeRoles() []string

NodeRoles returns the value of the 'node_roles' attribute, or the zero value of the type if the attribute doesn't have a value.

Representation of the node role for a cluster.

func (*SocketTotalNodeRoleOSMetricNode) OperatingSystem ¶

func (o *SocketTotalNodeRoleOSMetricNode) OperatingSystem() string

OperatingSystem returns the value of the 'operating_system' attribute, or the zero value of the type if the attribute doesn't have a value.

The operating system.

func (*SocketTotalNodeRoleOSMetricNode) SocketTotal ¶

func (o *SocketTotalNodeRoleOSMetricNode) SocketTotal() float64

SocketTotal returns the value of the 'socket_total' attribute, or the zero value of the type if the attribute doesn't have a value.

The total socket capacity of nodes with this set of roles and operating system.

func (*SocketTotalNodeRoleOSMetricNode) Time ¶

Time returns the value of the 'time' attribute, or the zero value of the type if the attribute doesn't have a value.

type SocketTotalNodeRoleOSMetricNodeBuilder ¶

type SocketTotalNodeRoleOSMetricNodeBuilder struct {
	// contains filtered or unexported fields
}

SocketTotalNodeRoleOSMetricNodeBuilder contains the data and logic needed to build 'socket_total_node_role_OS_metric_node' objects.

Representation of information from telemetry about a the socket capacity by node role and OS.

func NewSocketTotalNodeRoleOSMetricNode ¶

func NewSocketTotalNodeRoleOSMetricNode() *SocketTotalNodeRoleOSMetricNodeBuilder

NewSocketTotalNodeRoleOSMetricNode creates a new builder of 'socket_total_node_role_OS_metric_node' objects.

func (*SocketTotalNodeRoleOSMetricNodeBuilder) Build ¶

Build creates a 'socket_total_node_role_OS_metric_node' object using the configuration stored in the builder.

func (*SocketTotalNodeRoleOSMetricNodeBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SocketTotalNodeRoleOSMetricNodeBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SocketTotalNodeRoleOSMetricNodeBuilder) NodeRoles ¶

NodeRoles sets the value of the 'node_roles' attribute to the given values.

func (*SocketTotalNodeRoleOSMetricNodeBuilder) OperatingSystem ¶

OperatingSystem sets the value of the 'operating_system' attribute to the given value.

func (*SocketTotalNodeRoleOSMetricNodeBuilder) SocketTotal ¶

SocketTotal sets the value of the 'socket_total' attribute to the given value.

func (*SocketTotalNodeRoleOSMetricNodeBuilder) Time ¶

Time sets the value of the 'time' attribute to the given value.

type SocketTotalNodeRoleOSMetricNodeList ¶

type SocketTotalNodeRoleOSMetricNodeList struct {
	// contains filtered or unexported fields
}

SocketTotalNodeRoleOSMetricNodeList is a list of values of the 'socket_total_node_role_OS_metric_node' type.

func (*SocketTotalNodeRoleOSMetricNodeList) 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 (*SocketTotalNodeRoleOSMetricNodeList) Empty ¶

Empty returns true if the list is empty.

func (*SocketTotalNodeRoleOSMetricNodeList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SocketTotalNodeRoleOSMetricNodeList) Len ¶

Len returns the length of the list.

func (*SocketTotalNodeRoleOSMetricNodeList) 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 (*SocketTotalNodeRoleOSMetricNodeList) 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 SocketTotalNodeRoleOSMetricNodeListBuilder ¶

type SocketTotalNodeRoleOSMetricNodeListBuilder struct {
	// contains filtered or unexported fields
}

SocketTotalNodeRoleOSMetricNodeListBuilder contains the data and logic needed to build 'socket_total_node_role_OS_metric_node' objects.

func NewSocketTotalNodeRoleOSMetricNodeList ¶

func NewSocketTotalNodeRoleOSMetricNodeList() *SocketTotalNodeRoleOSMetricNodeListBuilder

NewSocketTotalNodeRoleOSMetricNodeList creates a new builder of 'socket_total_node_role_OS_metric_node' objects.

func (*SocketTotalNodeRoleOSMetricNodeListBuilder) Build ¶

Build creates a list of 'socket_total_node_role_OS_metric_node' objects using the configuration stored in the builder.

func (*SocketTotalNodeRoleOSMetricNodeListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SocketTotalNodeRoleOSMetricNodeListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*SocketTotalNodeRoleOSMetricNodeListBuilder) Items ¶

Items sets the items of the list.

type SocketTotalsNodeRoleOSMetricNode ¶

type SocketTotalsNodeRoleOSMetricNode struct {
	// contains filtered or unexported fields
}

SocketTotalsNodeRoleOSMetricNode represents the values of the 'socket_totals_node_role_OS_metric_node' type.

Representation of information from telemetry about the socket capacity by node role and OS of a cluster.

func UnmarshalSocketTotalsNodeRoleOSMetricNode ¶

func UnmarshalSocketTotalsNodeRoleOSMetricNode(source interface{}) (object *SocketTotalsNodeRoleOSMetricNode, err error)

UnmarshalSocketTotalsNodeRoleOSMetricNode reads a value of the 'socket_totals_node_role_OS_metric_node' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSocketTotalsNodeRoleOSMetricNodeList ¶

func UnmarshalSocketTotalsNodeRoleOSMetricNodeList(source interface{}) (items []*SocketTotalsNodeRoleOSMetricNode, err error)

UnmarshalSocketTotalsNodeRoleOSMetricNodeList reads a list of values of the 'socket_totals_node_role_OS_metric_node' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SocketTotalsNodeRoleOSMetricNode) Empty ¶

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SocketTotalsNodeRoleOSMetricNode) GetSocketTotals ¶

func (o *SocketTotalsNodeRoleOSMetricNode) GetSocketTotals() (value []*SocketTotalNodeRoleOSMetricNode, ok bool)

GetSocketTotals returns the value of the 'socket_totals' attribute and a flag indicating if the attribute has a value.

func (*SocketTotalsNodeRoleOSMetricNode) SocketTotals ¶

SocketTotals returns the value of the 'socket_totals' attribute, or the zero value of the type if the attribute doesn't have a value.

type SocketTotalsNodeRoleOSMetricNodeBuilder ¶

type SocketTotalsNodeRoleOSMetricNodeBuilder struct {
	// contains filtered or unexported fields
}

SocketTotalsNodeRoleOSMetricNodeBuilder contains the data and logic needed to build 'socket_totals_node_role_OS_metric_node' objects.

Representation of information from telemetry about the socket capacity by node role and OS of a cluster.

func NewSocketTotalsNodeRoleOSMetricNode ¶

func NewSocketTotalsNodeRoleOSMetricNode() *SocketTotalsNodeRoleOSMetricNodeBuilder

NewSocketTotalsNodeRoleOSMetricNode creates a new builder of 'socket_totals_node_role_OS_metric_node' objects.

func (*SocketTotalsNodeRoleOSMetricNodeBuilder) Build ¶

Build creates a 'socket_totals_node_role_OS_metric_node' object using the configuration stored in the builder.

func (*SocketTotalsNodeRoleOSMetricNodeBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SocketTotalsNodeRoleOSMetricNodeBuilder) Empty ¶ added in v0.0.329

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SocketTotalsNodeRoleOSMetricNodeBuilder) SocketTotals ¶

SocketTotals sets the value of the 'socket_totals' attribute to the given values.

type SocketTotalsNodeRoleOSMetricNodeList ¶

type SocketTotalsNodeRoleOSMetricNodeList struct {
	// contains filtered or unexported fields
}

SocketTotalsNodeRoleOSMetricNodeList is a list of values of the 'socket_totals_node_role_OS_metric_node' type.

func (*SocketTotalsNodeRoleOSMetricNodeList) 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 (*SocketTotalsNodeRoleOSMetricNodeList) Empty ¶

Empty returns true if the list is empty.

func (*SocketTotalsNodeRoleOSMetricNodeList) Get ¶

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SocketTotalsNodeRoleOSMetricNodeList) Len ¶

Len returns the length of the list.

func (*SocketTotalsNodeRoleOSMetricNodeList) 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 (*SocketTotalsNodeRoleOSMetricNodeList) 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 SocketTotalsNodeRoleOSMetricNodeListBuilder ¶

type SocketTotalsNodeRoleOSMetricNodeListBuilder struct {
	// contains filtered or unexported fields
}

SocketTotalsNodeRoleOSMetricNodeListBuilder contains the data and logic needed to build 'socket_totals_node_role_OS_metric_node' objects.

func NewSocketTotalsNodeRoleOSMetricNodeList ¶

func NewSocketTotalsNodeRoleOSMetricNodeList() *SocketTotalsNodeRoleOSMetricNodeListBuilder

NewSocketTotalsNodeRoleOSMetricNodeList creates a new builder of 'socket_totals_node_role_OS_metric_node' objects.

func (*SocketTotalsNodeRoleOSMetricNodeListBuilder) Build ¶

Build creates a list of 'socket_totals_node_role_OS_metric_node' objects using the configuration stored in the builder.

func (*SocketTotalsNodeRoleOSMetricNodeListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SocketTotalsNodeRoleOSMetricNodeListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*SocketTotalsNodeRoleOSMetricNodeListBuilder) Items ¶

Items sets the items of the list.

type StorageQuota ¶ added in v0.1.415

type StorageQuota struct {
	// contains filtered or unexported fields
}

StorageQuota represents the values of the 'storage_quota' type.

Representation of a storage quota

func UnmarshalStorageQuota ¶ added in v0.1.415

func UnmarshalStorageQuota(source interface{}) (object *StorageQuota, err error)

UnmarshalStorageQuota reads a value of the 'storage_quota' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalStorageQuotaList ¶ added in v0.1.415

func UnmarshalStorageQuotaList(source interface{}) (items []*StorageQuota, err error)

UnmarshalStorageQuotaList reads a list of values of the 'storage_quota' type from the given source, which can be a slice of bytes, a string or a reader.

func (*StorageQuota) Empty ¶ added in v0.1.415

func (o *StorageQuota) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*StorageQuota) GetUnit ¶ added in v0.1.415

func (o *StorageQuota) GetUnit() (value string, ok bool)

GetUnit returns the value of the 'unit' attribute and a flag indicating if the attribute has a value.

Unit of storage

func (*StorageQuota) GetValue ¶ added in v0.1.415

func (o *StorageQuota) GetValue() (value float64, ok bool)

GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.

Numerical value

func (*StorageQuota) Unit ¶ added in v0.1.415

func (o *StorageQuota) 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.

Unit of storage

func (*StorageQuota) Value ¶ added in v0.1.415

func (o *StorageQuota) 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.

Numerical value

type StorageQuotaBuilder ¶ added in v0.1.415

type StorageQuotaBuilder struct {
	// contains filtered or unexported fields
}

StorageQuotaBuilder contains the data and logic needed to build 'storage_quota' objects.

Representation of a storage quota

func NewStorageQuota ¶ added in v0.1.415

func NewStorageQuota() *StorageQuotaBuilder

NewStorageQuota creates a new builder of 'storage_quota' objects.

func (*StorageQuotaBuilder) Build ¶ added in v0.1.415

func (b *StorageQuotaBuilder) Build() (object *StorageQuota, err error)

Build creates a 'storage_quota' object using the configuration stored in the builder.

func (*StorageQuotaBuilder) Copy ¶ added in v0.1.415

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*StorageQuotaBuilder) Empty ¶ added in v0.1.415

func (b *StorageQuotaBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*StorageQuotaBuilder) Unit ¶ added in v0.1.415

Unit sets the value of the 'unit' attribute to the given value.

func (*StorageQuotaBuilder) Value ¶ added in v0.1.415

Value sets the value of the 'value' attribute to the given value.

type StorageQuotaList ¶ added in v0.1.415

type StorageQuotaList struct {
	// contains filtered or unexported fields
}

StorageQuotaList is a list of values of the 'storage_quota' type.

func (*StorageQuotaList) Each ¶ added in v0.1.415

func (l *StorageQuotaList) Each(f func(item *StorageQuota) 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 (*StorageQuotaList) Empty ¶ added in v0.1.415

func (l *StorageQuotaList) Empty() bool

Empty returns true if the list is empty.

func (*StorageQuotaList) Get ¶ added in v0.1.415

func (l *StorageQuotaList) Get(i int) *StorageQuota

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*StorageQuotaList) Len ¶ added in v0.1.415

func (l *StorageQuotaList) Len() int

Len returns the length of the list.

func (*StorageQuotaList) Range ¶ added in v0.1.415

func (l *StorageQuotaList) Range(f func(index int, item *StorageQuota) 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 (*StorageQuotaList) Slice ¶ added in v0.1.415

func (l *StorageQuotaList) Slice() []*StorageQuota

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 StorageQuotaListBuilder ¶ added in v0.1.415

type StorageQuotaListBuilder struct {
	// contains filtered or unexported fields
}

StorageQuotaListBuilder contains the data and logic needed to build 'storage_quota' objects.

func NewStorageQuotaList ¶ added in v0.1.415

func NewStorageQuotaList() *StorageQuotaListBuilder

NewStorageQuotaList creates a new builder of 'storage_quota' objects.

func (*StorageQuotaListBuilder) Build ¶ added in v0.1.415

func (b *StorageQuotaListBuilder) Build() (list *StorageQuotaList, err error)

Build creates a list of 'storage_quota' objects using the configuration stored in the builder.

func (*StorageQuotaListBuilder) Copy ¶ added in v0.1.415

Copy copies the items of the given list into this builder, discarding any previous items.

func (*StorageQuotaListBuilder) Empty ¶ added in v0.1.415

func (b *StorageQuotaListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*StorageQuotaListBuilder) Items ¶ added in v0.1.415

Items sets the items of the list.

type StorageQuotaValuesClient ¶ added in v0.1.415

type StorageQuotaValuesClient struct {
	// contains filtered or unexported fields
}

StorageQuotaValuesClient is the client of the 'storage_quota_values' resource.

Manages storage quota values.

func NewStorageQuotaValuesClient ¶ added in v0.1.415

func NewStorageQuotaValuesClient(transport http.RoundTripper, path string) *StorageQuotaValuesClient

NewStorageQuotaValuesClient creates a new client for the 'storage_quota_values' resource using the given transport to send the requests and receive the responses.

func (*StorageQuotaValuesClient) List ¶ added in v0.1.415

List creates a request for the 'list' method.

Retrieves the list of Storage Quota Values.

type StorageQuotaValuesListRequest ¶ added in v0.1.415

type StorageQuotaValuesListRequest struct {
	// contains filtered or unexported fields
}

StorageQuotaValuesListRequest is the request for the 'list' method.

func (*StorageQuotaValuesListRequest) Header ¶ added in v0.1.415

func (r *StorageQuotaValuesListRequest) Header(name string, value interface{}) *StorageQuotaValuesListRequest

Header adds a request header.

func (*StorageQuotaValuesListRequest) Impersonate ¶ added in v0.1.415

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*StorageQuotaValuesListRequest) Page ¶ added in v0.1.415

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*StorageQuotaValuesListRequest) Parameter ¶ added in v0.1.415

func (r *StorageQuotaValuesListRequest) Parameter(name string, value interface{}) *StorageQuotaValuesListRequest

Parameter adds a query parameter.

func (*StorageQuotaValuesListRequest) Send ¶ added in v0.1.415

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*StorageQuotaValuesListRequest) SendContext ¶ added in v0.1.415

SendContext sends this request, waits for the response, and returns it.

func (*StorageQuotaValuesListRequest) Size ¶ added in v0.1.415

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type StorageQuotaValuesListResponse ¶ added in v0.1.415

type StorageQuotaValuesListResponse struct {
	// contains filtered or unexported fields
}

StorageQuotaValuesListResponse is the response for the 'list' method.

func (*StorageQuotaValuesListResponse) Error ¶ added in v0.1.415

Error returns the response error.

func (*StorageQuotaValuesListResponse) GetItems ¶ added in v0.1.415

func (r *StorageQuotaValuesListResponse) GetItems() (value *StorageQuotaList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of values.

func (*StorageQuotaValuesListResponse) GetPage ¶ added in v0.1.415

func (r *StorageQuotaValuesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*StorageQuotaValuesListResponse) GetSize ¶ added in v0.1.415

func (r *StorageQuotaValuesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*StorageQuotaValuesListResponse) GetTotal ¶ added in v0.1.415

func (r *StorageQuotaValuesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*StorageQuotaValuesListResponse) Header ¶ added in v0.1.415

Header returns header of the response.

func (*StorageQuotaValuesListResponse) Items ¶ added in v0.1.415

Items returns the value of the 'items' parameter.

Retrieved list of values.

func (*StorageQuotaValuesListResponse) Page ¶ added in v0.1.415

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*StorageQuotaValuesListResponse) Size ¶ added in v0.1.415

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*StorageQuotaValuesListResponse) Status ¶ added in v0.1.415

func (r *StorageQuotaValuesListResponse) Status() int

Status returns the response status code.

func (*StorageQuotaValuesListResponse) Total ¶ added in v0.1.415

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type StsSupportJumpRole ¶ added in v0.1.356

type StsSupportJumpRole struct {
	// contains filtered or unexported fields
}

StsSupportJumpRole represents the values of the 'sts_support_jump_role' type.

Isolated STS support role created per organization.

func UnmarshalStsSupportJumpRole ¶ added in v0.1.356

func UnmarshalStsSupportJumpRole(source interface{}) (object *StsSupportJumpRole, err error)

UnmarshalStsSupportJumpRole reads a value of the 'sts_support_jump_role' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalStsSupportJumpRoleList ¶ added in v0.1.356

func UnmarshalStsSupportJumpRoleList(source interface{}) (items []*StsSupportJumpRole, err error)

UnmarshalStsSupportJumpRoleList reads a list of values of the 'sts_support_jump_role' type from the given source, which can be a slice of bytes, a string or a reader.

func (*StsSupportJumpRole) Empty ¶ added in v0.1.356

func (o *StsSupportJumpRole) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*StsSupportJumpRole) GetRoleArn ¶ added in v0.1.356

func (o *StsSupportJumpRole) 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 support role created in the SRE jump account.

func (*StsSupportJumpRole) RoleArn ¶ added in v0.1.356

func (o *StsSupportJumpRole) 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 support role created in the SRE jump account.

type StsSupportJumpRoleBuilder ¶ added in v0.1.356

type StsSupportJumpRoleBuilder struct {
	// contains filtered or unexported fields
}

StsSupportJumpRoleBuilder contains the data and logic needed to build 'sts_support_jump_role' objects.

Isolated STS support role created per organization.

func NewStsSupportJumpRole ¶ added in v0.1.356

func NewStsSupportJumpRole() *StsSupportJumpRoleBuilder

NewStsSupportJumpRole creates a new builder of 'sts_support_jump_role' objects.

func (*StsSupportJumpRoleBuilder) Build ¶ added in v0.1.356

func (b *StsSupportJumpRoleBuilder) Build() (object *StsSupportJumpRole, err error)

Build creates a 'sts_support_jump_role' object using the configuration stored in the builder.

func (*StsSupportJumpRoleBuilder) Copy ¶ added in v0.1.356

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*StsSupportJumpRoleBuilder) Empty ¶ added in v0.1.356

func (b *StsSupportJumpRoleBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*StsSupportJumpRoleBuilder) RoleArn ¶ added in v0.1.356

RoleArn sets the value of the 'role_arn' attribute to the given value.

type StsSupportJumpRoleClient ¶ added in v0.1.356

type StsSupportJumpRoleClient struct {
	// contains filtered or unexported fields
}

StsSupportJumpRoleClient is the client of the 'sts_support_jump_role' resource.

Provides the role arn to use to assume the support role in the customer's aws account.

func NewStsSupportJumpRoleClient ¶ added in v0.1.356

func NewStsSupportJumpRoleClient(transport http.RoundTripper, path string) *StsSupportJumpRoleClient

NewStsSupportJumpRoleClient creates a new client for the 'sts_support_jump_role' resource using the given transport to send the requests and receive the responses.

func (*StsSupportJumpRoleClient) Get ¶ added in v0.1.356

Get creates a request for the 'get' method.

func (*StsSupportJumpRoleClient) Poll ¶ added in v0.1.356

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type StsSupportJumpRoleGetRequest ¶ added in v0.1.356

type StsSupportJumpRoleGetRequest struct {
	// contains filtered or unexported fields
}

StsSupportJumpRoleGetRequest is the request for the 'get' method.

func (*StsSupportJumpRoleGetRequest) Header ¶ added in v0.1.356

func (r *StsSupportJumpRoleGetRequest) Header(name string, value interface{}) *StsSupportJumpRoleGetRequest

Header adds a request header.

func (*StsSupportJumpRoleGetRequest) Impersonate ¶ added in v0.1.356

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*StsSupportJumpRoleGetRequest) Parameter ¶ added in v0.1.356

func (r *StsSupportJumpRoleGetRequest) Parameter(name string, value interface{}) *StsSupportJumpRoleGetRequest

Parameter adds a query parameter.

func (*StsSupportJumpRoleGetRequest) Send ¶ added in v0.1.356

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*StsSupportJumpRoleGetRequest) SendContext ¶ added in v0.1.356

SendContext sends this request, waits for the response, and returns it.

type StsSupportJumpRoleGetResponse ¶ added in v0.1.356

type StsSupportJumpRoleGetResponse struct {
	// contains filtered or unexported fields
}

StsSupportJumpRoleGetResponse is the response for the 'get' method.

func (*StsSupportJumpRoleGetResponse) Body ¶ added in v0.1.356

Body returns the value of the 'body' parameter.

func (*StsSupportJumpRoleGetResponse) Error ¶ added in v0.1.356

Error returns the response error.

func (*StsSupportJumpRoleGetResponse) GetBody ¶ added in v0.1.356

func (r *StsSupportJumpRoleGetResponse) GetBody() (value *StsSupportJumpRole, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*StsSupportJumpRoleGetResponse) Header ¶ added in v0.1.356

Header returns header of the response.

func (*StsSupportJumpRoleGetResponse) Status ¶ added in v0.1.356

func (r *StsSupportJumpRoleGetResponse) Status() int

Status returns the response status code.

type StsSupportJumpRoleList ¶ added in v0.1.356

type StsSupportJumpRoleList struct {
	// contains filtered or unexported fields
}

StsSupportJumpRoleList is a list of values of the 'sts_support_jump_role' type.

func (*StsSupportJumpRoleList) Each ¶ added in v0.1.356

func (l *StsSupportJumpRoleList) Each(f func(item *StsSupportJumpRole) 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 (*StsSupportJumpRoleList) Empty ¶ added in v0.1.356

func (l *StsSupportJumpRoleList) Empty() bool

Empty returns true if the list is empty.

func (*StsSupportJumpRoleList) Get ¶ added in v0.1.356

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*StsSupportJumpRoleList) Len ¶ added in v0.1.356

func (l *StsSupportJumpRoleList) Len() int

Len returns the length of the list.

func (*StsSupportJumpRoleList) Range ¶ added in v0.1.356

func (l *StsSupportJumpRoleList) Range(f func(index int, item *StsSupportJumpRole) 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 (*StsSupportJumpRoleList) Slice ¶ added in v0.1.356

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 StsSupportJumpRoleListBuilder ¶ added in v0.1.356

type StsSupportJumpRoleListBuilder struct {
	// contains filtered or unexported fields
}

StsSupportJumpRoleListBuilder contains the data and logic needed to build 'sts_support_jump_role' objects.

func NewStsSupportJumpRoleList ¶ added in v0.1.356

func NewStsSupportJumpRoleList() *StsSupportJumpRoleListBuilder

NewStsSupportJumpRoleList creates a new builder of 'sts_support_jump_role' objects.

func (*StsSupportJumpRoleListBuilder) Build ¶ added in v0.1.356

Build creates a list of 'sts_support_jump_role' objects using the configuration stored in the builder.

func (*StsSupportJumpRoleListBuilder) Copy ¶ added in v0.1.356

Copy copies the items of the given list into this builder, discarding any previous items.

func (*StsSupportJumpRoleListBuilder) Empty ¶ added in v0.1.356

Empty returns true if the list is empty.

func (*StsSupportJumpRoleListBuilder) Items ¶ added in v0.1.356

Items sets the items of the list.

type StsSupportJumpRolePollRequest ¶ added in v0.1.356

type StsSupportJumpRolePollRequest struct {
	// contains filtered or unexported fields
}

StsSupportJumpRolePollRequest is the request for the Poll method.

func (*StsSupportJumpRolePollRequest) Header ¶ added in v0.1.356

func (r *StsSupportJumpRolePollRequest) Header(name string, value interface{}) *StsSupportJumpRolePollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*StsSupportJumpRolePollRequest) Interval ¶ added in v0.1.356

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*StsSupportJumpRolePollRequest) Parameter ¶ added in v0.1.356

func (r *StsSupportJumpRolePollRequest) Parameter(name string, value interface{}) *StsSupportJumpRolePollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*StsSupportJumpRolePollRequest) Predicate ¶ added in v0.1.356

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*StsSupportJumpRolePollRequest) StartContext ¶ added in v0.1.356

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*StsSupportJumpRolePollRequest) Status ¶ added in v0.1.356

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type StsSupportJumpRolePollResponse ¶ added in v0.1.356

type StsSupportJumpRolePollResponse struct {
	// contains filtered or unexported fields
}

StsSupportJumpRolePollResponse is the response for the Poll method.

func (*StsSupportJumpRolePollResponse) Body ¶ added in v0.1.356

Body returns the value of the 'body' parameter.

func (*StsSupportJumpRolePollResponse) Error ¶ added in v0.1.356

Error returns the response error.

func (*StsSupportJumpRolePollResponse) GetBody ¶ added in v0.1.356

func (r *StsSupportJumpRolePollResponse) GetBody() (value *StsSupportJumpRole, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*StsSupportJumpRolePollResponse) Header ¶ added in v0.1.356

Header returns header of the response.

func (*StsSupportJumpRolePollResponse) Status ¶ added in v0.1.356

func (r *StsSupportJumpRolePollResponse) Status() int

Status returns the response status code.

type SubnetNetworkVerification ¶ added in v0.1.348

type SubnetNetworkVerification struct {
	// contains filtered or unexported fields
}

SubnetNetworkVerification represents the values of the 'subnet_network_verification' type.

func UnmarshalSubnetNetworkVerification ¶ added in v0.1.348

func UnmarshalSubnetNetworkVerification(source interface{}) (object *SubnetNetworkVerification, err error)

UnmarshalSubnetNetworkVerification reads a value of the 'subnet_network_verification' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSubnetNetworkVerificationList ¶ added in v0.1.348

func UnmarshalSubnetNetworkVerificationList(source interface{}) (items []*SubnetNetworkVerification, err error)

UnmarshalSubnetNetworkVerificationList reads a list of values of the 'subnet_network_verification' type from the given source, which can be a slice of bytes, a string or a reader.

func (*SubnetNetworkVerification) Details ¶ added in v0.1.348

func (o *SubnetNetworkVerification) Details() []string

Details returns the value of the 'details' attribute, or the zero value of the type if the attribute doesn't have a value.

Slice of failures that happened during a subnet network verification.

func (*SubnetNetworkVerification) Empty ¶ added in v0.1.348

func (o *SubnetNetworkVerification) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*SubnetNetworkVerification) GetDetails ¶ added in v0.1.348

func (o *SubnetNetworkVerification) GetDetails() (value []string, ok bool)

GetDetails returns the value of the 'details' attribute and a flag indicating if the attribute has a value.

Slice of failures that happened during a subnet network verification.

func (*SubnetNetworkVerification) GetHREF ¶ added in v0.1.348

func (o *SubnetNetworkVerification) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*SubnetNetworkVerification) GetID ¶ added in v0.1.348

func (o *SubnetNetworkVerification) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*SubnetNetworkVerification) GetPlatform ¶ added in v0.1.390

func (o *SubnetNetworkVerification) GetPlatform() (value Platform, ok bool)

GetPlatform returns the value of the 'platform' attribute and a flag indicating if the attribute has a value.

Platform supplied to the network verifier for this subnet.

func (*SubnetNetworkVerification) GetState ¶ added in v0.1.348

func (o *SubnetNetworkVerification) GetState() (value string, ok bool)

GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.

State of the subnet network verification.

func (*SubnetNetworkVerification) GetTags ¶ added in v0.1.382

func (o *SubnetNetworkVerification) 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.

Tags supplied to the network verifier for this subnet.

func (*SubnetNetworkVerification) HREF ¶ added in v0.1.348

HREF returns the link to the object.

func (*SubnetNetworkVerification) ID ¶ added in v0.1.348

ID returns the identifier of the object.

func (*SubnetNetworkVerification) Kind ¶ added in v0.1.348

Kind returns the name of the type of the object.

func (o *SubnetNetworkVerification) Link() bool

Link returns true iif this is a link.

func (*SubnetNetworkVerification) Platform ¶ added in v0.1.390

func (o *SubnetNetworkVerification) Platform() Platform

Platform returns the value of the 'platform' attribute, or the zero value of the type if the attribute doesn't have a value.

Platform supplied to the network verifier for this subnet.

func (*SubnetNetworkVerification) State ¶ added in v0.1.348

func (o *SubnetNetworkVerification) 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 of the subnet network verification.

func (*SubnetNetworkVerification) Tags ¶ added in v0.1.382

func (o *SubnetNetworkVerification) 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.

Tags supplied to the network verifier for this subnet.

type SubnetNetworkVerificationBuilder ¶ added in v0.1.348

type SubnetNetworkVerificationBuilder struct {
	// contains filtered or unexported fields
}

SubnetNetworkVerificationBuilder contains the data and logic needed to build 'subnet_network_verification' objects.

func NewSubnetNetworkVerification ¶ added in v0.1.348

func NewSubnetNetworkVerification() *SubnetNetworkVerificationBuilder

NewSubnetNetworkVerification creates a new builder of 'subnet_network_verification' objects.

func (*SubnetNetworkVerificationBuilder) Build ¶ added in v0.1.348

Build creates a 'subnet_network_verification' object using the configuration stored in the builder.

func (*SubnetNetworkVerificationBuilder) Copy ¶ added in v0.1.348

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SubnetNetworkVerificationBuilder) Details ¶ added in v0.1.348

Details sets the value of the 'details' attribute to the given values.

func (*SubnetNetworkVerificationBuilder) Empty ¶ added in v0.1.348

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SubnetNetworkVerificationBuilder) HREF ¶ added in v0.1.348

HREF sets the link to the object.

func (*SubnetNetworkVerificationBuilder) ID ¶ added in v0.1.348

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*SubnetNetworkVerificationBuilder) Platform ¶ added in v0.1.390

Platform sets the value of the 'platform' attribute to the given value.

Representation of an platform type field.

func (*SubnetNetworkVerificationBuilder) State ¶ added in v0.1.348

State sets the value of the 'state' attribute to the given value.

func (*SubnetNetworkVerificationBuilder) Tags ¶ added in v0.1.382

Tags sets the value of the 'tags' attribute to the given value.

type SubnetNetworkVerificationList ¶ added in v0.1.348

type SubnetNetworkVerificationList struct {
	// contains filtered or unexported fields
}

SubnetNetworkVerificationList is a list of values of the 'subnet_network_verification' type.

func (*SubnetNetworkVerificationList) Each ¶ added in v0.1.348

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 (*SubnetNetworkVerificationList) Empty ¶ added in v0.1.348

Empty returns true if the list is empty.

func (*SubnetNetworkVerificationList) Get ¶ added in v0.1.348

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SubnetNetworkVerificationList) GetHREF ¶ added in v0.1.348

func (l *SubnetNetworkVerificationList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*SubnetNetworkVerificationList) HREF ¶ added in v0.1.348

HREF returns the link to the list.

func (*SubnetNetworkVerificationList) Kind ¶ added in v0.1.348

Kind returns the name of the type of the object.

func (*SubnetNetworkVerificationList) Len ¶ added in v0.1.348

Len returns the length of the list.

Link returns true iif this is a link.

func (*SubnetNetworkVerificationList) Range ¶ added in v0.1.348

func (l *SubnetNetworkVerificationList) Range(f func(index int, item *SubnetNetworkVerification) 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 (*SubnetNetworkVerificationList) Slice ¶ added in v0.1.348

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 SubnetNetworkVerificationListBuilder ¶ added in v0.1.348

type SubnetNetworkVerificationListBuilder struct {
	// contains filtered or unexported fields
}

SubnetNetworkVerificationListBuilder contains the data and logic needed to build 'subnet_network_verification' objects.

func NewSubnetNetworkVerificationList ¶ added in v0.1.348

func NewSubnetNetworkVerificationList() *SubnetNetworkVerificationListBuilder

NewSubnetNetworkVerificationList creates a new builder of 'subnet_network_verification' objects.

func (*SubnetNetworkVerificationListBuilder) Build ¶ added in v0.1.348

Build creates a list of 'subnet_network_verification' objects using the configuration stored in the builder.

func (*SubnetNetworkVerificationListBuilder) Copy ¶ added in v0.1.348

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SubnetNetworkVerificationListBuilder) Empty ¶ added in v0.1.348

Empty returns true if the list is empty.

func (*SubnetNetworkVerificationListBuilder) Items ¶ added in v0.1.348

Items sets the items of the list.

type Subnetwork ¶ added in v0.0.329

type Subnetwork struct {
	// contains filtered or unexported fields
}

Subnetwork represents the values of the 'subnetwork' type.

AWS subnetwork object to be used while installing a cluster

func UnmarshalSubnetwork ¶ added in v0.0.329

func UnmarshalSubnetwork(source interface{}) (object *Subnetwork, err error)

UnmarshalSubnetwork reads a value of the 'subnetwork' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSubnetworkList ¶ added in v0.0.329

func UnmarshalSubnetworkList(source interface{}) (items []*Subnetwork, err error)

UnmarshalSubnetworkList reads a list of values of the 'subnetwork' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Subnetwork) AvailabilityZone ¶ added in v0.0.329

func (o *Subnetwork) 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 to which the subnet is related.

func (*Subnetwork) CIDRBlock ¶ added in v0.1.368

func (o *Subnetwork) CIDRBlock() string

CIDRBlock returns the value of the 'CIDR_block' attribute, or the zero value of the type if the attribute doesn't have a value.

The CIDR Block of the subnet.

func (*Subnetwork) Empty ¶ added in v0.0.329

func (o *Subnetwork) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Subnetwork) GetAvailabilityZone ¶ added in v0.0.329

func (o *Subnetwork) 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 to which the subnet is related.

func (*Subnetwork) GetCIDRBlock ¶ added in v0.1.368

func (o *Subnetwork) GetCIDRBlock() (value string, ok bool)

GetCIDRBlock returns the value of the 'CIDR_block' attribute and a flag indicating if the attribute has a value.

The CIDR Block of the subnet.

func (*Subnetwork) GetName ¶ added in v0.0.329

func (o *Subnetwork) 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 subnet according to its `Name` tag on AWS.

func (*Subnetwork) GetPublic ¶ added in v0.0.329

func (o *Subnetwork) GetPublic() (value bool, ok bool)

GetPublic returns the value of the 'public' attribute and a flag indicating if the attribute has a value.

Whether or not it is a public subnet.

func (*Subnetwork) GetRedHatManaged ¶ added in v0.1.370

func (o *Subnetwork) GetRedHatManaged() (value bool, ok bool)

GetRedHatManaged returns the value of the 'red_hat_managed' attribute and a flag indicating if the attribute has a value.

If the resource is RH managed.

func (*Subnetwork) GetSubnetID ¶ added in v0.0.329

func (o *Subnetwork) GetSubnetID() (value string, ok bool)

GetSubnetID returns the value of the 'subnet_ID' attribute and a flag indicating if the attribute has a value.

The subnet ID to be used while installing a cluster.

func (*Subnetwork) Name ¶ added in v0.0.329

func (o *Subnetwork) 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 subnet according to its `Name` tag on AWS.

func (*Subnetwork) Public ¶ added in v0.0.329

func (o *Subnetwork) Public() bool

Public returns the value of the 'public' attribute, or the zero value of the type if the attribute doesn't have a value.

Whether or not it is a public subnet.

func (*Subnetwork) RedHatManaged ¶ added in v0.1.370

func (o *Subnetwork) RedHatManaged() bool

RedHatManaged returns the value of the 'red_hat_managed' attribute, or the zero value of the type if the attribute doesn't have a value.

If the resource is RH managed.

func (*Subnetwork) SubnetID ¶ added in v0.0.329

func (o *Subnetwork) SubnetID() string

SubnetID returns the value of the 'subnet_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

The subnet ID to be used while installing a cluster.

type SubnetworkBuilder ¶ added in v0.0.329

type SubnetworkBuilder struct {
	// contains filtered or unexported fields
}

SubnetworkBuilder contains the data and logic needed to build 'subnetwork' objects.

AWS subnetwork object to be used while installing a cluster

func NewSubnetwork ¶ added in v0.0.329

func NewSubnetwork() *SubnetworkBuilder

NewSubnetwork creates a new builder of 'subnetwork' objects.

func (*SubnetworkBuilder) AvailabilityZone ¶ added in v0.0.329

func (b *SubnetworkBuilder) AvailabilityZone(value string) *SubnetworkBuilder

AvailabilityZone sets the value of the 'availability_zone' attribute to the given value.

func (*SubnetworkBuilder) Build ¶ added in v0.0.329

func (b *SubnetworkBuilder) Build() (object *Subnetwork, err error)

Build creates a 'subnetwork' object using the configuration stored in the builder.

func (*SubnetworkBuilder) CIDRBlock ¶ added in v0.1.368

func (b *SubnetworkBuilder) CIDRBlock(value string) *SubnetworkBuilder

CIDRBlock sets the value of the 'CIDR_block' attribute to the given value.

func (*SubnetworkBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SubnetworkBuilder) Empty ¶ added in v0.0.329

func (b *SubnetworkBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SubnetworkBuilder) Name ¶ added in v0.0.329

func (b *SubnetworkBuilder) Name(value string) *SubnetworkBuilder

Name sets the value of the 'name' attribute to the given value.

func (*SubnetworkBuilder) Public ¶ added in v0.0.329

func (b *SubnetworkBuilder) Public(value bool) *SubnetworkBuilder

Public sets the value of the 'public' attribute to the given value.

func (*SubnetworkBuilder) RedHatManaged ¶ added in v0.1.370

func (b *SubnetworkBuilder) RedHatManaged(value bool) *SubnetworkBuilder

RedHatManaged sets the value of the 'red_hat_managed' attribute to the given value.

func (*SubnetworkBuilder) SubnetID ¶ added in v0.0.329

func (b *SubnetworkBuilder) SubnetID(value string) *SubnetworkBuilder

SubnetID sets the value of the 'subnet_ID' attribute to the given value.

type SubnetworkList ¶ added in v0.0.329

type SubnetworkList struct {
	// contains filtered or unexported fields
}

SubnetworkList is a list of values of the 'subnetwork' type.

func (*SubnetworkList) Each ¶ added in v0.0.329

func (l *SubnetworkList) Each(f func(item *Subnetwork) 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 (*SubnetworkList) Empty ¶ added in v0.0.329

func (l *SubnetworkList) Empty() bool

Empty returns true if the list is empty.

func (*SubnetworkList) Get ¶ added in v0.0.329

func (l *SubnetworkList) Get(i int) *Subnetwork

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SubnetworkList) Len ¶ added in v0.0.329

func (l *SubnetworkList) Len() int

Len returns the length of the list.

func (*SubnetworkList) Range ¶ added in v0.0.329

func (l *SubnetworkList) Range(f func(index int, item *Subnetwork) 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 (*SubnetworkList) Slice ¶ added in v0.0.329

func (l *SubnetworkList) Slice() []*Subnetwork

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 SubnetworkListBuilder ¶ added in v0.0.329

type SubnetworkListBuilder struct {
	// contains filtered or unexported fields
}

SubnetworkListBuilder contains the data and logic needed to build 'subnetwork' objects.

func NewSubnetworkList ¶ added in v0.0.329

func NewSubnetworkList() *SubnetworkListBuilder

NewSubnetworkList creates a new builder of 'subnetwork' objects.

func (*SubnetworkListBuilder) Build ¶ added in v0.0.329

func (b *SubnetworkListBuilder) Build() (list *SubnetworkList, err error)

Build creates a list of 'subnetwork' objects using the configuration stored in the builder.

func (*SubnetworkListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SubnetworkListBuilder) Empty ¶ added in v0.0.329

func (b *SubnetworkListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*SubnetworkListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type Subscription ¶

type Subscription struct {
	// contains filtered or unexported fields
}

Subscription represents the values of the 'subscription' type.

Definition of a subscription.

func UnmarshalSubscription ¶

func UnmarshalSubscription(source interface{}) (object *Subscription, err error)

UnmarshalSubscription reads a value of the 'subscription' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSubscriptionList ¶

func UnmarshalSubscriptionList(source interface{}) (items []*Subscription, err error)

UnmarshalSubscriptionList reads a list of values of the 'subscription' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Subscription) Empty ¶

func (o *Subscription) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Subscription) GetHREF ¶

func (o *Subscription) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Subscription) GetID ¶

func (o *Subscription) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Subscription) HREF ¶

func (o *Subscription) HREF() string

HREF returns the link to the object.

func (*Subscription) ID ¶

func (o *Subscription) ID() string

ID returns the identifier of the object.

func (*Subscription) Kind ¶

func (o *Subscription) Kind() string

Kind returns the name of the type of the object.

func (o *Subscription) Link() bool

Link returns true iif this is a link.

type SubscriptionBuilder ¶

type SubscriptionBuilder struct {
	// contains filtered or unexported fields
}

SubscriptionBuilder contains the data and logic needed to build 'subscription' objects.

Definition of a subscription.

func NewSubscription ¶

func NewSubscription() *SubscriptionBuilder

NewSubscription creates a new builder of 'subscription' objects.

func (*SubscriptionBuilder) Build ¶

func (b *SubscriptionBuilder) Build() (object *Subscription, err error)

Build creates a 'subscription' object using the configuration stored in the builder.

func (*SubscriptionBuilder) Copy ¶

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SubscriptionBuilder) Empty ¶ added in v0.0.329

func (b *SubscriptionBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SubscriptionBuilder) HREF ¶

HREF sets the link to the object.

func (*SubscriptionBuilder) ID ¶

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

type SubscriptionList ¶

type SubscriptionList struct {
	// contains filtered or unexported fields
}

SubscriptionList is a list of values of the 'subscription' type.

func (*SubscriptionList) Each ¶

func (l *SubscriptionList) Each(f func(item *Subscription) 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 (*SubscriptionList) Empty ¶

func (l *SubscriptionList) Empty() bool

Empty returns true if the list is empty.

func (*SubscriptionList) Get ¶

func (l *SubscriptionList) Get(i int) *Subscription

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SubscriptionList) GetHREF ¶

func (l *SubscriptionList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*SubscriptionList) HREF ¶

func (l *SubscriptionList) HREF() string

HREF returns the link to the list.

func (*SubscriptionList) Kind ¶

func (l *SubscriptionList) Kind() string

Kind returns the name of the type of the object.

func (*SubscriptionList) Len ¶

func (l *SubscriptionList) Len() int

Len returns the length of the list.

func (l *SubscriptionList) Link() bool

Link returns true iif this is a link.

func (*SubscriptionList) Range ¶

func (l *SubscriptionList) Range(f func(index int, item *Subscription) 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 (*SubscriptionList) Slice ¶

func (l *SubscriptionList) Slice() []*Subscription

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 SubscriptionListBuilder ¶

type SubscriptionListBuilder struct {
	// contains filtered or unexported fields
}

SubscriptionListBuilder contains the data and logic needed to build 'subscription' objects.

func NewSubscriptionList ¶

func NewSubscriptionList() *SubscriptionListBuilder

NewSubscriptionList creates a new builder of 'subscription' objects.

func (*SubscriptionListBuilder) Build ¶

func (b *SubscriptionListBuilder) Build() (list *SubscriptionList, err error)

Build creates a list of 'subscription' objects using the configuration stored in the builder.

func (*SubscriptionListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SubscriptionListBuilder) Empty ¶ added in v0.0.329

func (b *SubscriptionListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*SubscriptionListBuilder) Items ¶

Items sets the items of the list.

type Syncset ¶

type Syncset struct {
	// contains filtered or unexported fields
}

Syncset represents the values of the 'syncset' type.

Representation of a syncset.

func UnmarshalSyncset ¶

func UnmarshalSyncset(source interface{}) (object *Syncset, err error)

UnmarshalSyncset reads a value of the 'syncset' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalSyncsetList ¶

func UnmarshalSyncsetList(source interface{}) (items []*Syncset, err error)

UnmarshalSyncsetList reads a list of values of the 'syncset' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Syncset) Empty ¶

func (o *Syncset) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Syncset) GetHREF ¶

func (o *Syncset) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Syncset) GetID ¶

func (o *Syncset) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Syncset) GetResources ¶

func (o *Syncset) GetResources() (value []interface{}, ok bool)

GetResources returns the value of the 'resources' attribute and a flag indicating if the attribute has a value.

List of k8s objects to configure for the cluster.

func (*Syncset) HREF ¶

func (o *Syncset) HREF() string

HREF returns the link to the object.

func (*Syncset) ID ¶

func (o *Syncset) ID() string

ID returns the identifier of the object.

func (*Syncset) Kind ¶

func (o *Syncset) Kind() string

Kind returns the name of the type of the object.

func (o *Syncset) Link() bool

Link returns true iif this is a link.

func (*Syncset) Resources ¶

func (o *Syncset) Resources() []interface{}

Resources returns the value of the 'resources' attribute, or the zero value of the type if the attribute doesn't have a value.

List of k8s objects to configure for the cluster.

type SyncsetBuilder ¶

type SyncsetBuilder struct {
	// contains filtered or unexported fields
}

SyncsetBuilder contains the data and logic needed to build 'syncset' objects.

Representation of a syncset.

func NewSyncset ¶

func NewSyncset() *SyncsetBuilder

NewSyncset creates a new builder of 'syncset' objects.

func (*SyncsetBuilder) Build ¶

func (b *SyncsetBuilder) Build() (object *Syncset, err error)

Build creates a 'syncset' object using the configuration stored in the builder.

func (*SyncsetBuilder) Copy ¶

func (b *SyncsetBuilder) Copy(object *Syncset) *SyncsetBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*SyncsetBuilder) Empty ¶ added in v0.0.329

func (b *SyncsetBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*SyncsetBuilder) HREF ¶

func (b *SyncsetBuilder) HREF(value string) *SyncsetBuilder

HREF sets the link to the object.

func (*SyncsetBuilder) ID ¶

func (b *SyncsetBuilder) ID(value string) *SyncsetBuilder

ID sets the identifier of the object.

func (b *SyncsetBuilder) Link(value bool) *SyncsetBuilder

Link sets the flag that indicates if this is a link.

func (*SyncsetBuilder) Resources ¶

func (b *SyncsetBuilder) Resources(values ...interface{}) *SyncsetBuilder

Resources sets the value of the 'resources' attribute to the given values.

type SyncsetClient ¶

type SyncsetClient struct {
	// contains filtered or unexported fields
}

SyncsetClient is the client of the 'syncset' resource.

Manages a specific syncset.

func NewSyncsetClient ¶

func NewSyncsetClient(transport http.RoundTripper, path string) *SyncsetClient

NewSyncsetClient creates a new client for the 'syncset' resource using the given transport to send the requests and receive the responses.

func (*SyncsetClient) Delete ¶

func (c *SyncsetClient) Delete() *SyncsetDeleteRequest

Delete creates a request for the 'delete' method.

Deletes the syncset.

func (*SyncsetClient) Get ¶

func (c *SyncsetClient) Get() *SyncsetGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the syncset.

func (*SyncsetClient) Poll ¶

func (c *SyncsetClient) Poll() *SyncsetPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*SyncsetClient) Update ¶

func (c *SyncsetClient) Update() *SyncsetUpdateRequest

Update creates a request for the 'update' method.

Update the syncset.

type SyncsetDeleteRequest ¶

type SyncsetDeleteRequest struct {
	// contains filtered or unexported fields
}

SyncsetDeleteRequest is the request for the 'delete' method.

func (*SyncsetDeleteRequest) Header ¶

func (r *SyncsetDeleteRequest) Header(name string, value interface{}) *SyncsetDeleteRequest

Header adds a request header.

func (*SyncsetDeleteRequest) Impersonate ¶ added in v0.0.329

func (r *SyncsetDeleteRequest) Impersonate(user string) *SyncsetDeleteRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*SyncsetDeleteRequest) Parameter ¶

func (r *SyncsetDeleteRequest) Parameter(name string, value interface{}) *SyncsetDeleteRequest

Parameter adds a query parameter.

func (*SyncsetDeleteRequest) Send ¶

func (r *SyncsetDeleteRequest) Send() (result *SyncsetDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*SyncsetDeleteRequest) SendContext ¶

func (r *SyncsetDeleteRequest) SendContext(ctx context.Context) (result *SyncsetDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type SyncsetDeleteResponse ¶

type SyncsetDeleteResponse struct {
	// contains filtered or unexported fields
}

SyncsetDeleteResponse is the response for the 'delete' method.

func (*SyncsetDeleteResponse) Error ¶

func (r *SyncsetDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*SyncsetDeleteResponse) Header ¶

func (r *SyncsetDeleteResponse) Header() http.Header

Header returns header of the response.

func (*SyncsetDeleteResponse) Status ¶

func (r *SyncsetDeleteResponse) Status() int

Status returns the response status code.

type SyncsetGetRequest ¶

type SyncsetGetRequest struct {
	// contains filtered or unexported fields
}

SyncsetGetRequest is the request for the 'get' method.

func (*SyncsetGetRequest) Header ¶

func (r *SyncsetGetRequest) Header(name string, value interface{}) *SyncsetGetRequest

Header adds a request header.

func (*SyncsetGetRequest) Impersonate ¶ added in v0.0.329

func (r *SyncsetGetRequest) Impersonate(user string) *SyncsetGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*SyncsetGetRequest) Parameter ¶

func (r *SyncsetGetRequest) Parameter(name string, value interface{}) *SyncsetGetRequest

Parameter adds a query parameter.

func (*SyncsetGetRequest) Send ¶

func (r *SyncsetGetRequest) Send() (result *SyncsetGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*SyncsetGetRequest) SendContext ¶

func (r *SyncsetGetRequest) SendContext(ctx context.Context) (result *SyncsetGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type SyncsetGetResponse ¶

type SyncsetGetResponse struct {
	// contains filtered or unexported fields
}

SyncsetGetResponse is the response for the 'get' method.

func (*SyncsetGetResponse) Body ¶

func (r *SyncsetGetResponse) Body() *Syncset

Body returns the value of the 'body' parameter.

func (*SyncsetGetResponse) Error ¶

func (r *SyncsetGetResponse) Error() *errors.Error

Error returns the response error.

func (*SyncsetGetResponse) GetBody ¶

func (r *SyncsetGetResponse) GetBody() (value *Syncset, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*SyncsetGetResponse) Header ¶

func (r *SyncsetGetResponse) Header() http.Header

Header returns header of the response.

func (*SyncsetGetResponse) Status ¶

func (r *SyncsetGetResponse) Status() int

Status returns the response status code.

type SyncsetList ¶

type SyncsetList struct {
	// contains filtered or unexported fields
}

SyncsetList is a list of values of the 'syncset' type.

func (*SyncsetList) Each ¶

func (l *SyncsetList) Each(f func(item *Syncset) 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 (*SyncsetList) Empty ¶

func (l *SyncsetList) Empty() bool

Empty returns true if the list is empty.

func (*SyncsetList) Get ¶

func (l *SyncsetList) Get(i int) *Syncset

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*SyncsetList) GetHREF ¶

func (l *SyncsetList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*SyncsetList) HREF ¶

func (l *SyncsetList) HREF() string

HREF returns the link to the list.

func (*SyncsetList) Kind ¶

func (l *SyncsetList) Kind() string

Kind returns the name of the type of the object.

func (*SyncsetList) Len ¶

func (l *SyncsetList) Len() int

Len returns the length of the list.

func (l *SyncsetList) Link() bool

Link returns true iif this is a link.

func (*SyncsetList) Range ¶

func (l *SyncsetList) Range(f func(index int, item *Syncset) 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 (*SyncsetList) Slice ¶

func (l *SyncsetList) Slice() []*Syncset

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 SyncsetListBuilder ¶

type SyncsetListBuilder struct {
	// contains filtered or unexported fields
}

SyncsetListBuilder contains the data and logic needed to build 'syncset' objects.

func NewSyncsetList ¶

func NewSyncsetList() *SyncsetListBuilder

NewSyncsetList creates a new builder of 'syncset' objects.

func (*SyncsetListBuilder) Build ¶

func (b *SyncsetListBuilder) Build() (list *SyncsetList, err error)

Build creates a list of 'syncset' objects using the configuration stored in the builder.

func (*SyncsetListBuilder) Copy ¶

Copy copies the items of the given list into this builder, discarding any previous items.

func (*SyncsetListBuilder) Empty ¶ added in v0.0.329

func (b *SyncsetListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*SyncsetListBuilder) Items ¶

Items sets the items of the list.

type SyncsetPollRequest ¶

type SyncsetPollRequest struct {
	// contains filtered or unexported fields
}

SyncsetPollRequest is the request for the Poll method.

func (*SyncsetPollRequest) Header ¶

func (r *SyncsetPollRequest) Header(name string, value interface{}) *SyncsetPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*SyncsetPollRequest) Interval ¶

func (r *SyncsetPollRequest) Interval(value time.Duration) *SyncsetPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*SyncsetPollRequest) Parameter ¶

func (r *SyncsetPollRequest) Parameter(name string, value interface{}) *SyncsetPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*SyncsetPollRequest) Predicate ¶

func (r *SyncsetPollRequest) Predicate(value func(*SyncsetGetResponse) bool) *SyncsetPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*SyncsetPollRequest) StartContext ¶

func (r *SyncsetPollRequest) StartContext(ctx context.Context) (response *SyncsetPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*SyncsetPollRequest) Status ¶

func (r *SyncsetPollRequest) Status(value int) *SyncsetPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type SyncsetPollResponse ¶

type SyncsetPollResponse struct {
	// contains filtered or unexported fields
}

SyncsetPollResponse is the response for the Poll method.

func (*SyncsetPollResponse) Body ¶

func (r *SyncsetPollResponse) Body() *Syncset

Body returns the value of the 'body' parameter.

func (*SyncsetPollResponse) Error ¶

func (r *SyncsetPollResponse) Error() *errors.Error

Error returns the response error.

func (*SyncsetPollResponse) GetBody ¶

func (r *SyncsetPollResponse) GetBody() (value *Syncset, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*SyncsetPollResponse) Header ¶

func (r *SyncsetPollResponse) Header() http.Header

Header returns header of the response.

func (*SyncsetPollResponse) Status ¶

func (r *SyncsetPollResponse) Status() int

Status returns the response status code.

type SyncsetUpdateRequest ¶

type SyncsetUpdateRequest struct {
	// contains filtered or unexported fields
}

SyncsetUpdateRequest is the request for the 'update' method.

func (*SyncsetUpdateRequest) Body ¶

Body sets the value of the 'body' parameter.

func (*SyncsetUpdateRequest) Header ¶

func (r *SyncsetUpdateRequest) Header(name string, value interface{}) *SyncsetUpdateRequest

Header adds a request header.

func (*SyncsetUpdateRequest) Impersonate ¶ added in v0.0.329

func (r *SyncsetUpdateRequest) Impersonate(user string) *SyncsetUpdateRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*SyncsetUpdateRequest) Parameter ¶

func (r *SyncsetUpdateRequest) Parameter(name string, value interface{}) *SyncsetUpdateRequest

Parameter adds a query parameter.

func (*SyncsetUpdateRequest) Send ¶

func (r *SyncsetUpdateRequest) Send() (result *SyncsetUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*SyncsetUpdateRequest) SendContext ¶

func (r *SyncsetUpdateRequest) SendContext(ctx context.Context) (result *SyncsetUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type SyncsetUpdateResponse ¶

type SyncsetUpdateResponse struct {
	// contains filtered or unexported fields
}

SyncsetUpdateResponse is the response for the 'update' method.

func (*SyncsetUpdateResponse) Body ¶

func (r *SyncsetUpdateResponse) Body() *Syncset

Body returns the value of the 'body' parameter.

func (*SyncsetUpdateResponse) Error ¶

func (r *SyncsetUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*SyncsetUpdateResponse) GetBody ¶

func (r *SyncsetUpdateResponse) GetBody() (value *Syncset, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*SyncsetUpdateResponse) Header ¶

func (r *SyncsetUpdateResponse) Header() http.Header

Header returns header of the response.

func (*SyncsetUpdateResponse) Status ¶

func (r *SyncsetUpdateResponse) Status() int

Status returns the response status code.

type SyncsetsAddRequest ¶

type SyncsetsAddRequest struct {
	// contains filtered or unexported fields
}

SyncsetsAddRequest is the request for the 'add' method.

func (*SyncsetsAddRequest) Body ¶

Body sets the value of the 'body' parameter.

Description of the syncset.

func (*SyncsetsAddRequest) Header ¶

func (r *SyncsetsAddRequest) Header(name string, value interface{}) *SyncsetsAddRequest

Header adds a request header.

func (*SyncsetsAddRequest) Impersonate ¶ added in v0.0.329

func (r *SyncsetsAddRequest) Impersonate(user string) *SyncsetsAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*SyncsetsAddRequest) Parameter ¶

func (r *SyncsetsAddRequest) Parameter(name string, value interface{}) *SyncsetsAddRequest

Parameter adds a query parameter.

func (*SyncsetsAddRequest) Send ¶

func (r *SyncsetsAddRequest) Send() (result *SyncsetsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*SyncsetsAddRequest) SendContext ¶

func (r *SyncsetsAddRequest) SendContext(ctx context.Context) (result *SyncsetsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type SyncsetsAddResponse ¶

type SyncsetsAddResponse struct {
	// contains filtered or unexported fields
}

SyncsetsAddResponse is the response for the 'add' method.

func (*SyncsetsAddResponse) Body ¶

func (r *SyncsetsAddResponse) Body() *Syncset

Body returns the value of the 'body' parameter.

Description of the syncset.

func (*SyncsetsAddResponse) Error ¶

func (r *SyncsetsAddResponse) Error() *errors.Error

Error returns the response error.

func (*SyncsetsAddResponse) GetBody ¶

func (r *SyncsetsAddResponse) GetBody() (value *Syncset, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the syncset.

func (*SyncsetsAddResponse) Header ¶

func (r *SyncsetsAddResponse) Header() http.Header

Header returns header of the response.

func (*SyncsetsAddResponse) Status ¶

func (r *SyncsetsAddResponse) Status() int

Status returns the response status code.

type SyncsetsClient ¶

type SyncsetsClient struct {
	// contains filtered or unexported fields
}

SyncsetsClient is the client of the 'syncsets' resource.

Manages the collection of syncsets of a cluster.

func NewSyncsetsClient ¶

func NewSyncsetsClient(transport http.RoundTripper, path string) *SyncsetsClient

NewSyncsetsClient creates a new client for the 'syncsets' resource using the given transport to send the requests and receive the responses.

func (*SyncsetsClient) Add ¶

Add creates a request for the 'add' method.

Adds a new syncset to the cluster.

func (*SyncsetsClient) List ¶

List creates a request for the 'list' method.

Retrieves the list of syncsets.

func (*SyncsetsClient) Syncset ¶

func (c *SyncsetsClient) Syncset(id string) *SyncsetClient

Syncset returns the target 'syncset' resource for the given identifier.

Reference to the service that manages an specific syncset.

type SyncsetsListRequest ¶

type SyncsetsListRequest struct {
	// contains filtered or unexported fields
}

SyncsetsListRequest is the request for the 'list' method.

func (*SyncsetsListRequest) Header ¶

func (r *SyncsetsListRequest) Header(name string, value interface{}) *SyncsetsListRequest

Header adds a request header.

func (*SyncsetsListRequest) Impersonate ¶ added in v0.0.329

func (r *SyncsetsListRequest) Impersonate(user string) *SyncsetsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*SyncsetsListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*SyncsetsListRequest) Parameter ¶

func (r *SyncsetsListRequest) Parameter(name string, value interface{}) *SyncsetsListRequest

Parameter adds a query parameter.

func (*SyncsetsListRequest) Send ¶

func (r *SyncsetsListRequest) Send() (result *SyncsetsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*SyncsetsListRequest) SendContext ¶

func (r *SyncsetsListRequest) SendContext(ctx context.Context) (result *SyncsetsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*SyncsetsListRequest) Size ¶

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type SyncsetsListResponse ¶

type SyncsetsListResponse struct {
	// contains filtered or unexported fields
}

SyncsetsListResponse is the response for the 'list' method.

func (*SyncsetsListResponse) Error ¶

func (r *SyncsetsListResponse) Error() *errors.Error

Error returns the response error.

func (*SyncsetsListResponse) GetItems ¶

func (r *SyncsetsListResponse) GetItems() (value *SyncsetList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of syncsets.

func (*SyncsetsListResponse) GetPage ¶

func (r *SyncsetsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*SyncsetsListResponse) GetSize ¶

func (r *SyncsetsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*SyncsetsListResponse) GetTotal ¶

func (r *SyncsetsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*SyncsetsListResponse) Header ¶

func (r *SyncsetsListResponse) Header() http.Header

Header returns header of the response.

func (*SyncsetsListResponse) Items ¶

func (r *SyncsetsListResponse) Items() *SyncsetList

Items returns the value of the 'items' parameter.

Retrieved list of syncsets.

func (*SyncsetsListResponse) Page ¶

func (r *SyncsetsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*SyncsetsListResponse) Size ¶

func (r *SyncsetsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*SyncsetsListResponse) Status ¶

func (r *SyncsetsListResponse) Status() int

Status returns the response status code.

func (*SyncsetsListResponse) Total ¶

func (r *SyncsetsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type Taint ¶ added in v0.0.329

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 UnmarshalTaint ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (o *Taint) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Taint) GetEffect ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

type TaintBuilder struct {
	// contains filtered or unexported fields
}

TaintBuilder contains the data and logic needed to build 'taint' objects.

Representation of a Taint set on a MachinePool in a cluster.

func NewTaint ¶ added in v0.0.329

func NewTaint() *TaintBuilder

NewTaint creates a new builder of 'taint' objects.

func (*TaintBuilder) Build ¶ added in v0.0.329

func (b *TaintBuilder) Build() (object *Taint, err error)

Build creates a 'taint' object using the configuration stored in the builder.

func (*TaintBuilder) Copy ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (b *TaintBuilder) Effect(value string) *TaintBuilder

Effect sets the value of the 'effect' attribute to the given value.

func (*TaintBuilder) Empty ¶ added in v0.0.329

func (b *TaintBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*TaintBuilder) Key ¶ added in v0.0.329

func (b *TaintBuilder) Key(value string) *TaintBuilder

Key sets the value of the 'key' attribute to the given value.

func (*TaintBuilder) Value ¶ added in v0.0.329

func (b *TaintBuilder) Value(value string) *TaintBuilder

Value sets the value of the 'value' attribute to the given value.

type TaintList ¶ added in v0.0.329

type TaintList struct {
	// contains filtered or unexported fields
}

TaintList is a list of values of the 'taint' type.

func (*TaintList) Each ¶ added in v0.0.329

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 ¶ added in v0.0.329

func (l *TaintList) Empty() bool

Empty returns true if the list is empty.

func (*TaintList) Get ¶ added in v0.0.329

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) Len ¶ added in v0.0.329

func (l *TaintList) Len() int

Len returns the length of the list.

func (*TaintList) Range ¶ added in v0.0.329

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) Slice ¶ added in v0.0.329

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 ¶ added in v0.0.329

type TaintListBuilder struct {
	// contains filtered or unexported fields
}

TaintListBuilder contains the data and logic needed to build 'taint' objects.

func NewTaintList ¶ added in v0.0.329

func NewTaintList() *TaintListBuilder

NewTaintList creates a new builder of 'taint' objects.

func (*TaintListBuilder) Build ¶ added in v0.0.329

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 ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TaintListBuilder) Empty ¶ added in v0.0.329

func (b *TaintListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*TaintListBuilder) Items ¶ added in v0.0.329

func (b *TaintListBuilder) Items(values ...*TaintBuilder) *TaintListBuilder

Items sets the items of the list.

type TokenClaimMappings ¶ added in v0.1.404

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 UnmarshalTokenClaimMappings ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (o *TokenClaimMappings) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*TokenClaimMappings) GetGroups ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

type TokenClaimMappingsBuilder struct {
	// contains filtered or unexported fields
}

TokenClaimMappingsBuilder contains the data and logic needed to build 'token_claim_mappings' objects.

The claim mappings defined for users and groups.

func NewTokenClaimMappings ¶ added in v0.1.404

func NewTokenClaimMappings() *TokenClaimMappingsBuilder

NewTokenClaimMappings creates a new builder of 'token_claim_mappings' objects.

func (*TokenClaimMappingsBuilder) Build ¶ added in v0.1.404

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 ¶ added in v0.1.404

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TokenClaimMappingsBuilder) Empty ¶ added in v0.1.404

func (b *TokenClaimMappingsBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*TokenClaimMappingsBuilder) Groups ¶ added in v0.1.404

Groups sets the value of the 'groups' attribute to the given value.

func (*TokenClaimMappingsBuilder) UserName ¶ added in v0.1.404

UserName sets the value of the 'user_name' attribute to the given value.

The username claim mapping.

type TokenClaimMappingsList ¶ added in v0.1.404

type TokenClaimMappingsList struct {
	// contains filtered or unexported fields
}

TokenClaimMappingsList is a list of values of the 'token_claim_mappings' type.

func (*TokenClaimMappingsList) Each ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (l *TokenClaimMappingsList) Empty() bool

Empty returns true if the list is empty.

func (*TokenClaimMappingsList) Get ¶ added in v0.1.404

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*TokenClaimMappingsList) Len ¶ added in v0.1.404

func (l *TokenClaimMappingsList) Len() int

Len returns the length of the list.

func (*TokenClaimMappingsList) Range ¶ added in v0.1.404

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) Slice ¶ added in v0.1.404

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 ¶ added in v0.1.404

type TokenClaimMappingsListBuilder struct {
	// contains filtered or unexported fields
}

TokenClaimMappingsListBuilder contains the data and logic needed to build 'token_claim_mappings' objects.

func NewTokenClaimMappingsList ¶ added in v0.1.404

func NewTokenClaimMappingsList() *TokenClaimMappingsListBuilder

NewTokenClaimMappingsList creates a new builder of 'token_claim_mappings' objects.

func (*TokenClaimMappingsListBuilder) Build ¶ added in v0.1.404

Build creates a list of 'token_claim_mappings' objects using the configuration stored in the builder.

func (*TokenClaimMappingsListBuilder) Copy ¶ added in v0.1.404

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TokenClaimMappingsListBuilder) Empty ¶ added in v0.1.404

Empty returns true if the list is empty.

func (*TokenClaimMappingsListBuilder) Items ¶ added in v0.1.404

Items sets the items of the list.

type TokenClaimValidationRule ¶ added in v0.1.404

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 UnmarshalTokenClaimValidationRule ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (o *TokenClaimValidationRule) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*TokenClaimValidationRule) GetClaim ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

type TokenClaimValidationRuleBuilder struct {
	// contains filtered or unexported fields
}

TokenClaimValidationRuleBuilder contains the data and logic needed to build 'token_claim_validation_rule' objects.

The rule that is applied to validate token claims to authenticate users.

func NewTokenClaimValidationRule ¶ added in v0.1.404

func NewTokenClaimValidationRule() *TokenClaimValidationRuleBuilder

NewTokenClaimValidationRule creates a new builder of 'token_claim_validation_rule' objects.

func (*TokenClaimValidationRuleBuilder) Build ¶ added in v0.1.404

Build creates a 'token_claim_validation_rule' object using the configuration stored in the builder.

func (*TokenClaimValidationRuleBuilder) Claim ¶ added in v0.1.404

Claim sets the value of the 'claim' attribute to the given value.

func (*TokenClaimValidationRuleBuilder) Copy ¶ added in v0.1.404

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TokenClaimValidationRuleBuilder) Empty ¶ added in v0.1.404

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*TokenClaimValidationRuleBuilder) RequiredValue ¶ added in v0.1.404

RequiredValue sets the value of the 'required_value' attribute to the given value.

type TokenClaimValidationRuleList ¶ added in v0.1.404

type TokenClaimValidationRuleList struct {
	// contains filtered or unexported fields
}

TokenClaimValidationRuleList is a list of values of the 'token_claim_validation_rule' type.

func (*TokenClaimValidationRuleList) Each ¶ added in v0.1.404

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 ¶ added in v0.1.404

Empty returns true if the list is empty.

func (*TokenClaimValidationRuleList) Get ¶ added in v0.1.404

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*TokenClaimValidationRuleList) Len ¶ added in v0.1.404

Len returns the length of the list.

func (*TokenClaimValidationRuleList) Range ¶ added in v0.1.404

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) Slice ¶ added in v0.1.404

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 ¶ added in v0.1.404

type TokenClaimValidationRuleListBuilder struct {
	// contains filtered or unexported fields
}

TokenClaimValidationRuleListBuilder contains the data and logic needed to build 'token_claim_validation_rule' objects.

func NewTokenClaimValidationRuleList ¶ added in v0.1.404

func NewTokenClaimValidationRuleList() *TokenClaimValidationRuleListBuilder

NewTokenClaimValidationRuleList creates a new builder of 'token_claim_validation_rule' objects.

func (*TokenClaimValidationRuleListBuilder) Build ¶ added in v0.1.404

Build creates a list of 'token_claim_validation_rule' objects using the configuration stored in the builder.

func (*TokenClaimValidationRuleListBuilder) Copy ¶ added in v0.1.404

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TokenClaimValidationRuleListBuilder) Empty ¶ added in v0.1.404

Empty returns true if the list is empty.

func (*TokenClaimValidationRuleListBuilder) Items ¶ added in v0.1.404

Items sets the items of the list.

type TokenIssuer ¶ added in v0.1.404

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 UnmarshalTokenIssuer ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 be set to exactly one value.

func (*TokenIssuer) CA ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (o *TokenIssuer) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*TokenIssuer) GetAudiences ¶ added in v0.1.404

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 be set to exactly one value.

func (*TokenIssuer) GetCA ¶ added in v0.1.404

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 ¶ added in v0.1.404

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.

func (*TokenIssuer) URL ¶ added in v0.1.404

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.

type TokenIssuerBuilder ¶ added in v0.1.404

type TokenIssuerBuilder struct {
	// contains filtered or unexported fields
}

TokenIssuerBuilder contains the data and logic needed to build 'token_issuer' objects.

Representation of a token issuer used in an external authentication.

func NewTokenIssuer ¶ added in v0.1.404

func NewTokenIssuer() *TokenIssuerBuilder

NewTokenIssuer creates a new builder of 'token_issuer' objects.

func (*TokenIssuerBuilder) Audiences ¶ added in v0.1.404

func (b *TokenIssuerBuilder) Audiences(values ...string) *TokenIssuerBuilder

Audiences sets the value of the 'audiences' attribute to the given values.

func (*TokenIssuerBuilder) Build ¶ added in v0.1.404

func (b *TokenIssuerBuilder) Build() (object *TokenIssuer, err error)

Build creates a 'token_issuer' object using the configuration stored in the builder.

func (*TokenIssuerBuilder) CA ¶ added in v0.1.404

CA sets the value of the 'CA' attribute to the given value.

func (*TokenIssuerBuilder) Copy ¶ added in v0.1.404

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TokenIssuerBuilder) Empty ¶ added in v0.1.404

func (b *TokenIssuerBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*TokenIssuerBuilder) URL ¶ added in v0.1.404

URL sets the value of the 'URL' attribute to the given value.

type TokenIssuerList ¶ added in v0.1.404

type TokenIssuerList struct {
	// contains filtered or unexported fields
}

TokenIssuerList is a list of values of the 'token_issuer' type.

func (*TokenIssuerList) Each ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (l *TokenIssuerList) Empty() bool

Empty returns true if the list is empty.

func (*TokenIssuerList) Get ¶ added in v0.1.404

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) Len ¶ added in v0.1.404

func (l *TokenIssuerList) Len() int

Len returns the length of the list.

func (*TokenIssuerList) Range ¶ added in v0.1.404

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) Slice ¶ added in v0.1.404

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 ¶ added in v0.1.404

type TokenIssuerListBuilder struct {
	// contains filtered or unexported fields
}

TokenIssuerListBuilder contains the data and logic needed to build 'token_issuer' objects.

func NewTokenIssuerList ¶ added in v0.1.404

func NewTokenIssuerList() *TokenIssuerListBuilder

NewTokenIssuerList creates a new builder of 'token_issuer' objects.

func (*TokenIssuerListBuilder) Build ¶ added in v0.1.404

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 ¶ added in v0.1.404

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TokenIssuerListBuilder) Empty ¶ added in v0.1.404

func (b *TokenIssuerListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*TokenIssuerListBuilder) Items ¶ added in v0.1.404

Items sets the items of the list.

type TrustedIp ¶ added in v0.1.368

type TrustedIp struct {
	// contains filtered or unexported fields
}

TrustedIp represents the values of the 'trusted_ip' type.

Representation of a trusted ip address in clusterdeployment.

func UnmarshalTrustedIp ¶ added in v0.1.368

func UnmarshalTrustedIp(source interface{}) (object *TrustedIp, err error)

UnmarshalTrustedIp reads a value of the 'trusted_ip' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalTrustedIpList ¶ added in v0.1.368

func UnmarshalTrustedIpList(source interface{}) (items []*TrustedIp, err error)

UnmarshalTrustedIpList reads a list of values of the 'trusted_ip' type from the given source, which can be a slice of bytes, a string or a reader.

func (*TrustedIp) Empty ¶ added in v0.1.368

func (o *TrustedIp) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*TrustedIp) Enabled ¶ added in v0.1.368

func (o *TrustedIp) 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.

The boolean set to show if the ip is enabled.

func (*TrustedIp) GetEnabled ¶ added in v0.1.368

func (o *TrustedIp) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

The boolean set to show if the ip is enabled.

func (*TrustedIp) GetHREF ¶ added in v0.1.368

func (o *TrustedIp) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*TrustedIp) GetID ¶ added in v0.1.368

func (o *TrustedIp) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*TrustedIp) HREF ¶ added in v0.1.368

func (o *TrustedIp) HREF() string

HREF returns the link to the object.

func (*TrustedIp) ID ¶ added in v0.1.368

func (o *TrustedIp) ID() string

ID returns the identifier of the object.

func (*TrustedIp) Kind ¶ added in v0.1.368

func (o *TrustedIp) Kind() string

Kind returns the name of the type of the object.

func (o *TrustedIp) Link() bool

Link returns true iif this is a link.

type TrustedIpBuilder ¶ added in v0.1.368

type TrustedIpBuilder struct {
	// contains filtered or unexported fields
}

TrustedIpBuilder contains the data and logic needed to build 'trusted_ip' objects.

Representation of a trusted ip address in clusterdeployment.

func NewTrustedIp ¶ added in v0.1.368

func NewTrustedIp() *TrustedIpBuilder

NewTrustedIp creates a new builder of 'trusted_ip' objects.

func (*TrustedIpBuilder) Build ¶ added in v0.1.368

func (b *TrustedIpBuilder) Build() (object *TrustedIp, err error)

Build creates a 'trusted_ip' object using the configuration stored in the builder.

func (*TrustedIpBuilder) Copy ¶ added in v0.1.368

func (b *TrustedIpBuilder) Copy(object *TrustedIp) *TrustedIpBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TrustedIpBuilder) Empty ¶ added in v0.1.368

func (b *TrustedIpBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*TrustedIpBuilder) Enabled ¶ added in v0.1.368

func (b *TrustedIpBuilder) Enabled(value bool) *TrustedIpBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

func (*TrustedIpBuilder) HREF ¶ added in v0.1.368

func (b *TrustedIpBuilder) HREF(value string) *TrustedIpBuilder

HREF sets the link to the object.

func (*TrustedIpBuilder) ID ¶ added in v0.1.368

ID sets the identifier of the object.

func (b *TrustedIpBuilder) Link(value bool) *TrustedIpBuilder

Link sets the flag that indicates if this is a link.

type TrustedIpClient ¶ added in v0.1.368

type TrustedIpClient struct {
	// contains filtered or unexported fields
}

TrustedIpClient is the client of the 'trusted_ip' resource.

Manages a specific trusted ip address.

func NewTrustedIpClient ¶ added in v0.1.368

func NewTrustedIpClient(transport http.RoundTripper, path string) *TrustedIpClient

NewTrustedIpClient creates a new client for the 'trusted_ip' resource using the given transport to send the requests and receive the responses.

func (*TrustedIpClient) Get ¶ added in v0.1.368

Get creates a request for the 'get' method.

Retrieves the trusted ip adresses.

func (*TrustedIpClient) Poll ¶ added in v0.1.368

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type TrustedIpGetRequest ¶ added in v0.1.368

type TrustedIpGetRequest struct {
	// contains filtered or unexported fields
}

TrustedIpGetRequest is the request for the 'get' method.

func (*TrustedIpGetRequest) Header ¶ added in v0.1.368

func (r *TrustedIpGetRequest) Header(name string, value interface{}) *TrustedIpGetRequest

Header adds a request header.

func (*TrustedIpGetRequest) Impersonate ¶ added in v0.1.368

func (r *TrustedIpGetRequest) Impersonate(user string) *TrustedIpGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*TrustedIpGetRequest) Parameter ¶ added in v0.1.368

func (r *TrustedIpGetRequest) Parameter(name string, value interface{}) *TrustedIpGetRequest

Parameter adds a query parameter.

func (*TrustedIpGetRequest) Send ¶ added in v0.1.368

func (r *TrustedIpGetRequest) Send() (result *TrustedIpGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*TrustedIpGetRequest) SendContext ¶ added in v0.1.368

func (r *TrustedIpGetRequest) SendContext(ctx context.Context) (result *TrustedIpGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type TrustedIpGetResponse ¶ added in v0.1.368

type TrustedIpGetResponse struct {
	// contains filtered or unexported fields
}

TrustedIpGetResponse is the response for the 'get' method.

func (*TrustedIpGetResponse) Body ¶ added in v0.1.368

func (r *TrustedIpGetResponse) Body() *TrustedIp

Body returns the value of the 'body' parameter.

func (*TrustedIpGetResponse) Error ¶ added in v0.1.368

func (r *TrustedIpGetResponse) Error() *errors.Error

Error returns the response error.

func (*TrustedIpGetResponse) GetBody ¶ added in v0.1.368

func (r *TrustedIpGetResponse) GetBody() (value *TrustedIp, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*TrustedIpGetResponse) Header ¶ added in v0.1.368

func (r *TrustedIpGetResponse) Header() http.Header

Header returns header of the response.

func (*TrustedIpGetResponse) Status ¶ added in v0.1.368

func (r *TrustedIpGetResponse) Status() int

Status returns the response status code.

type TrustedIpList ¶ added in v0.1.368

type TrustedIpList struct {
	// contains filtered or unexported fields
}

TrustedIpList is a list of values of the 'trusted_ip' type.

func (*TrustedIpList) Each ¶ added in v0.1.368

func (l *TrustedIpList) Each(f func(item *TrustedIp) 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 (*TrustedIpList) Empty ¶ added in v0.1.368

func (l *TrustedIpList) Empty() bool

Empty returns true if the list is empty.

func (*TrustedIpList) Get ¶ added in v0.1.368

func (l *TrustedIpList) Get(i int) *TrustedIp

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*TrustedIpList) GetHREF ¶ added in v0.1.368

func (l *TrustedIpList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*TrustedIpList) HREF ¶ added in v0.1.368

func (l *TrustedIpList) HREF() string

HREF returns the link to the list.

func (*TrustedIpList) Kind ¶ added in v0.1.368

func (l *TrustedIpList) Kind() string

Kind returns the name of the type of the object.

func (*TrustedIpList) Len ¶ added in v0.1.368

func (l *TrustedIpList) Len() int

Len returns the length of the list.

func (l *TrustedIpList) Link() bool

Link returns true iif this is a link.

func (*TrustedIpList) Range ¶ added in v0.1.368

func (l *TrustedIpList) Range(f func(index int, item *TrustedIp) 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 (*TrustedIpList) Slice ¶ added in v0.1.368

func (l *TrustedIpList) Slice() []*TrustedIp

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 TrustedIpListBuilder ¶ added in v0.1.368

type TrustedIpListBuilder struct {
	// contains filtered or unexported fields
}

TrustedIpListBuilder contains the data and logic needed to build 'trusted_ip' objects.

func NewTrustedIpList ¶ added in v0.1.368

func NewTrustedIpList() *TrustedIpListBuilder

NewTrustedIpList creates a new builder of 'trusted_ip' objects.

func (*TrustedIpListBuilder) Build ¶ added in v0.1.368

func (b *TrustedIpListBuilder) Build() (list *TrustedIpList, err error)

Build creates a list of 'trusted_ip' objects using the configuration stored in the builder.

func (*TrustedIpListBuilder) Copy ¶ added in v0.1.368

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TrustedIpListBuilder) Empty ¶ added in v0.1.368

func (b *TrustedIpListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*TrustedIpListBuilder) Items ¶ added in v0.1.368

Items sets the items of the list.

type TrustedIpPollRequest ¶ added in v0.1.368

type TrustedIpPollRequest struct {
	// contains filtered or unexported fields
}

TrustedIpPollRequest is the request for the Poll method.

func (*TrustedIpPollRequest) Header ¶ added in v0.1.368

func (r *TrustedIpPollRequest) Header(name string, value interface{}) *TrustedIpPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*TrustedIpPollRequest) Interval ¶ added in v0.1.368

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*TrustedIpPollRequest) Parameter ¶ added in v0.1.368

func (r *TrustedIpPollRequest) Parameter(name string, value interface{}) *TrustedIpPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*TrustedIpPollRequest) Predicate ¶ added in v0.1.368

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*TrustedIpPollRequest) StartContext ¶ added in v0.1.368

func (r *TrustedIpPollRequest) StartContext(ctx context.Context) (response *TrustedIpPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*TrustedIpPollRequest) Status ¶ added in v0.1.368

func (r *TrustedIpPollRequest) Status(value int) *TrustedIpPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type TrustedIpPollResponse ¶ added in v0.1.368

type TrustedIpPollResponse struct {
	// contains filtered or unexported fields
}

TrustedIpPollResponse is the response for the Poll method.

func (*TrustedIpPollResponse) Body ¶ added in v0.1.368

func (r *TrustedIpPollResponse) Body() *TrustedIp

Body returns the value of the 'body' parameter.

func (*TrustedIpPollResponse) Error ¶ added in v0.1.368

func (r *TrustedIpPollResponse) Error() *errors.Error

Error returns the response error.

func (*TrustedIpPollResponse) GetBody ¶ added in v0.1.368

func (r *TrustedIpPollResponse) GetBody() (value *TrustedIp, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*TrustedIpPollResponse) Header ¶ added in v0.1.368

func (r *TrustedIpPollResponse) Header() http.Header

Header returns header of the response.

func (*TrustedIpPollResponse) Status ¶ added in v0.1.368

func (r *TrustedIpPollResponse) Status() int

Status returns the response status code.

type TrustedIpsClient ¶ added in v0.1.368

type TrustedIpsClient struct {
	// contains filtered or unexported fields
}

TrustedIpsClient is the client of the 'trusted_ips' resource.

Manages the collection of trusted ip addresses of a cluster.

func NewTrustedIpsClient ¶ added in v0.1.368

func NewTrustedIpsClient(transport http.RoundTripper, path string) *TrustedIpsClient

NewTrustedIpsClient creates a new client for the 'trusted_ips' resource using the given transport to send the requests and receive the responses.

func (*TrustedIpsClient) List ¶ added in v0.1.368

List creates a request for the 'list' method.

Retrieves the list of trusted ip addresses.

type TrustedIpsListRequest ¶ added in v0.1.368

type TrustedIpsListRequest struct {
	// contains filtered or unexported fields
}

TrustedIpsListRequest is the request for the 'list' method.

func (*TrustedIpsListRequest) Header ¶ added in v0.1.368

func (r *TrustedIpsListRequest) Header(name string, value interface{}) *TrustedIpsListRequest

Header adds a request header.

func (*TrustedIpsListRequest) Impersonate ¶ added in v0.1.368

func (r *TrustedIpsListRequest) Impersonate(user string) *TrustedIpsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*TrustedIpsListRequest) Page ¶ added in v0.1.368

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*TrustedIpsListRequest) Parameter ¶ added in v0.1.368

func (r *TrustedIpsListRequest) Parameter(name string, value interface{}) *TrustedIpsListRequest

Parameter adds a query parameter.

func (*TrustedIpsListRequest) Send ¶ added in v0.1.368

func (r *TrustedIpsListRequest) Send() (result *TrustedIpsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*TrustedIpsListRequest) SendContext ¶ added in v0.1.368

func (r *TrustedIpsListRequest) SendContext(ctx context.Context) (result *TrustedIpsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*TrustedIpsListRequest) Size ¶ added in v0.1.368

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type TrustedIpsListResponse ¶ added in v0.1.368

type TrustedIpsListResponse struct {
	// contains filtered or unexported fields
}

TrustedIpsListResponse is the response for the 'list' method.

func (*TrustedIpsListResponse) Error ¶ added in v0.1.368

func (r *TrustedIpsListResponse) Error() *errors.Error

Error returns the response error.

func (*TrustedIpsListResponse) GetItems ¶ added in v0.1.368

func (r *TrustedIpsListResponse) GetItems() (value *TrustedIpList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of trusted ip addresses.

func (*TrustedIpsListResponse) GetPage ¶ added in v0.1.368

func (r *TrustedIpsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*TrustedIpsListResponse) GetSize ¶ added in v0.1.368

func (r *TrustedIpsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*TrustedIpsListResponse) GetTotal ¶ added in v0.1.368

func (r *TrustedIpsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*TrustedIpsListResponse) Header ¶ added in v0.1.368

func (r *TrustedIpsListResponse) Header() http.Header

Header returns header of the response.

func (*TrustedIpsListResponse) Items ¶ added in v0.1.368

Items returns the value of the 'items' parameter.

Retrieved list of trusted ip addresses.

func (*TrustedIpsListResponse) Page ¶ added in v0.1.368

func (r *TrustedIpsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*TrustedIpsListResponse) Size ¶ added in v0.1.368

func (r *TrustedIpsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*TrustedIpsListResponse) Status ¶ added in v0.1.368

func (r *TrustedIpsListResponse) Status() int

Status returns the response status code.

func (*TrustedIpsListResponse) Total ¶ added in v0.1.368

func (r *TrustedIpsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type TuningConfig ¶ added in v0.1.334

type TuningConfig struct {
	// contains filtered or unexported fields
}

TuningConfig represents the values of the 'tuning_config' type.

Representation of a tuning config.

func UnmarshalTuningConfig ¶ added in v0.1.334

func UnmarshalTuningConfig(source interface{}) (object *TuningConfig, err error)

UnmarshalTuningConfig reads a value of the 'tuning_config' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalTuningConfigList ¶ added in v0.1.334

func UnmarshalTuningConfigList(source interface{}) (items []*TuningConfig, err error)

UnmarshalTuningConfigList reads a list of values of the 'tuning_config' type from the given source, which can be a slice of bytes, a string or a reader.

func (*TuningConfig) Empty ¶ added in v0.1.334

func (o *TuningConfig) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*TuningConfig) GetHREF ¶ added in v0.1.334

func (o *TuningConfig) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*TuningConfig) GetID ¶ added in v0.1.334

func (o *TuningConfig) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*TuningConfig) GetName ¶ added in v0.1.334

func (o *TuningConfig) 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 tuning config.

func (*TuningConfig) GetSpec ¶ added in v0.1.334

func (o *TuningConfig) GetSpec() (value interface{}, ok bool)

GetSpec returns the value of the 'spec' attribute and a flag indicating if the attribute has a value.

Spec of the tuning config.

func (*TuningConfig) HREF ¶ added in v0.1.334

func (o *TuningConfig) HREF() string

HREF returns the link to the object.

func (*TuningConfig) ID ¶ added in v0.1.334

func (o *TuningConfig) ID() string

ID returns the identifier of the object.

func (*TuningConfig) Kind ¶ added in v0.1.334

func (o *TuningConfig) Kind() string

Kind returns the name of the type of the object.

func (o *TuningConfig) Link() bool

Link returns true iif this is a link.

func (*TuningConfig) Name ¶ added in v0.1.334

func (o *TuningConfig) 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 tuning config.

func (*TuningConfig) Spec ¶ added in v0.1.334

func (o *TuningConfig) Spec() interface{}

Spec returns the value of the 'spec' attribute, or the zero value of the type if the attribute doesn't have a value.

Spec of the tuning config.

type TuningConfigBuilder ¶ added in v0.1.334

type TuningConfigBuilder struct {
	// contains filtered or unexported fields
}

TuningConfigBuilder contains the data and logic needed to build 'tuning_config' objects.

Representation of a tuning config.

func NewTuningConfig ¶ added in v0.1.334

func NewTuningConfig() *TuningConfigBuilder

NewTuningConfig creates a new builder of 'tuning_config' objects.

func (*TuningConfigBuilder) Build ¶ added in v0.1.334

func (b *TuningConfigBuilder) Build() (object *TuningConfig, err error)

Build creates a 'tuning_config' object using the configuration stored in the builder.

func (*TuningConfigBuilder) Copy ¶ added in v0.1.334

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*TuningConfigBuilder) Empty ¶ added in v0.1.334

func (b *TuningConfigBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*TuningConfigBuilder) HREF ¶ added in v0.1.334

HREF sets the link to the object.

func (*TuningConfigBuilder) ID ¶ added in v0.1.334

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*TuningConfigBuilder) Name ¶ added in v0.1.334

Name sets the value of the 'name' attribute to the given value.

func (*TuningConfigBuilder) Spec ¶ added in v0.1.334

func (b *TuningConfigBuilder) Spec(value interface{}) *TuningConfigBuilder

Spec sets the value of the 'spec' attribute to the given value.

type TuningConfigClient ¶ added in v0.1.334

type TuningConfigClient struct {
	// contains filtered or unexported fields
}

TuningConfigClient is the client of the 'tuning_config' resource.

Manages a specific tuning config.

func NewTuningConfigClient ¶ added in v0.1.334

func NewTuningConfigClient(transport http.RoundTripper, path string) *TuningConfigClient

NewTuningConfigClient creates a new client for the 'tuning_config' resource using the given transport to send the requests and receive the responses.

func (*TuningConfigClient) Delete ¶ added in v0.1.334

Delete creates a request for the 'delete' method.

Deletes the tuning config.

func (*TuningConfigClient) Get ¶ added in v0.1.334

Get creates a request for the 'get' method.

Retrieves the details of the tuning config.

func (*TuningConfigClient) Poll ¶ added in v0.1.334

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*TuningConfigClient) Update ¶ added in v0.1.334

Update creates a request for the 'update' method.

Updates the tuning config.

type TuningConfigDeleteRequest ¶ added in v0.1.334

type TuningConfigDeleteRequest struct {
	// contains filtered or unexported fields
}

TuningConfigDeleteRequest is the request for the 'delete' method.

func (*TuningConfigDeleteRequest) Header ¶ added in v0.1.334

func (r *TuningConfigDeleteRequest) Header(name string, value interface{}) *TuningConfigDeleteRequest

Header adds a request header.

func (*TuningConfigDeleteRequest) Impersonate ¶ added in v0.1.334

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*TuningConfigDeleteRequest) Parameter ¶ added in v0.1.334

func (r *TuningConfigDeleteRequest) Parameter(name string, value interface{}) *TuningConfigDeleteRequest

Parameter adds a query parameter.

func (*TuningConfigDeleteRequest) Send ¶ added in v0.1.334

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*TuningConfigDeleteRequest) SendContext ¶ added in v0.1.334

func (r *TuningConfigDeleteRequest) SendContext(ctx context.Context) (result *TuningConfigDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type TuningConfigDeleteResponse ¶ added in v0.1.334

type TuningConfigDeleteResponse struct {
	// contains filtered or unexported fields
}

TuningConfigDeleteResponse is the response for the 'delete' method.

func (*TuningConfigDeleteResponse) Error ¶ added in v0.1.334

Error returns the response error.

func (*TuningConfigDeleteResponse) Header ¶ added in v0.1.334

Header returns header of the response.

func (*TuningConfigDeleteResponse) Status ¶ added in v0.1.334

func (r *TuningConfigDeleteResponse) Status() int

Status returns the response status code.

type TuningConfigGetRequest ¶ added in v0.1.334

type TuningConfigGetRequest struct {
	// contains filtered or unexported fields
}

TuningConfigGetRequest is the request for the 'get' method.

func (*TuningConfigGetRequest) Header ¶ added in v0.1.334

func (r *TuningConfigGetRequest) Header(name string, value interface{}) *TuningConfigGetRequest

Header adds a request header.

func (*TuningConfigGetRequest) Impersonate ¶ added in v0.1.334

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*TuningConfigGetRequest) Parameter ¶ added in v0.1.334

func (r *TuningConfigGetRequest) Parameter(name string, value interface{}) *TuningConfigGetRequest

Parameter adds a query parameter.

func (*TuningConfigGetRequest) Send ¶ added in v0.1.334

func (r *TuningConfigGetRequest) Send() (result *TuningConfigGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*TuningConfigGetRequest) SendContext ¶ added in v0.1.334

func (r *TuningConfigGetRequest) SendContext(ctx context.Context) (result *TuningConfigGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type TuningConfigGetResponse ¶ added in v0.1.334

type TuningConfigGetResponse struct {
	// contains filtered or unexported fields
}

TuningConfigGetResponse is the response for the 'get' method.

func (*TuningConfigGetResponse) Body ¶ added in v0.1.334

Body returns the value of the 'body' parameter.

func (*TuningConfigGetResponse) Error ¶ added in v0.1.334

func (r *TuningConfigGetResponse) Error() *errors.Error

Error returns the response error.

func (*TuningConfigGetResponse) GetBody ¶ added in v0.1.334

func (r *TuningConfigGetResponse) GetBody() (value *TuningConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*TuningConfigGetResponse) Header ¶ added in v0.1.334

func (r *TuningConfigGetResponse) Header() http.Header

Header returns header of the response.

func (*TuningConfigGetResponse) Status ¶ added in v0.1.334

func (r *TuningConfigGetResponse) Status() int

Status returns the response status code.

type TuningConfigList ¶ added in v0.1.334

type TuningConfigList struct {
	// contains filtered or unexported fields
}

TuningConfigList is a list of values of the 'tuning_config' type.

func (*TuningConfigList) Each ¶ added in v0.1.334

func (l *TuningConfigList) Each(f func(item *TuningConfig) 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 (*TuningConfigList) Empty ¶ added in v0.1.334

func (l *TuningConfigList) Empty() bool

Empty returns true if the list is empty.

func (*TuningConfigList) Get ¶ added in v0.1.334

func (l *TuningConfigList) Get(i int) *TuningConfig

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*TuningConfigList) GetHREF ¶ added in v0.1.334

func (l *TuningConfigList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*TuningConfigList) HREF ¶ added in v0.1.334

func (l *TuningConfigList) HREF() string

HREF returns the link to the list.

func (*TuningConfigList) Kind ¶ added in v0.1.334

func (l *TuningConfigList) Kind() string

Kind returns the name of the type of the object.

func (*TuningConfigList) Len ¶ added in v0.1.334

func (l *TuningConfigList) Len() int

Len returns the length of the list.

func (l *TuningConfigList) Link() bool

Link returns true iif this is a link.

func (*TuningConfigList) Range ¶ added in v0.1.334

func (l *TuningConfigList) Range(f func(index int, item *TuningConfig) 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 (*TuningConfigList) Slice ¶ added in v0.1.334

func (l *TuningConfigList) Slice() []*TuningConfig

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 TuningConfigListBuilder ¶ added in v0.1.334

type TuningConfigListBuilder struct {
	// contains filtered or unexported fields
}

TuningConfigListBuilder contains the data and logic needed to build 'tuning_config' objects.

func NewTuningConfigList ¶ added in v0.1.334

func NewTuningConfigList() *TuningConfigListBuilder

NewTuningConfigList creates a new builder of 'tuning_config' objects.

func (*TuningConfigListBuilder) Build ¶ added in v0.1.334

func (b *TuningConfigListBuilder) Build() (list *TuningConfigList, err error)

Build creates a list of 'tuning_config' objects using the configuration stored in the builder.

func (*TuningConfigListBuilder) Copy ¶ added in v0.1.334

Copy copies the items of the given list into this builder, discarding any previous items.

func (*TuningConfigListBuilder) Empty ¶ added in v0.1.334

func (b *TuningConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*TuningConfigListBuilder) Items ¶ added in v0.1.334

Items sets the items of the list.

type TuningConfigPollRequest ¶ added in v0.1.334

type TuningConfigPollRequest struct {
	// contains filtered or unexported fields
}

TuningConfigPollRequest is the request for the Poll method.

func (*TuningConfigPollRequest) Header ¶ added in v0.1.334

func (r *TuningConfigPollRequest) Header(name string, value interface{}) *TuningConfigPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*TuningConfigPollRequest) Interval ¶ added in v0.1.334

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*TuningConfigPollRequest) Parameter ¶ added in v0.1.334

func (r *TuningConfigPollRequest) Parameter(name string, value interface{}) *TuningConfigPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*TuningConfigPollRequest) Predicate ¶ added in v0.1.334

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*TuningConfigPollRequest) StartContext ¶ added in v0.1.334

func (r *TuningConfigPollRequest) StartContext(ctx context.Context) (response *TuningConfigPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*TuningConfigPollRequest) Status ¶ added in v0.1.334

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type TuningConfigPollResponse ¶ added in v0.1.334

type TuningConfigPollResponse struct {
	// contains filtered or unexported fields
}

TuningConfigPollResponse is the response for the Poll method.

func (*TuningConfigPollResponse) Body ¶ added in v0.1.334

Body returns the value of the 'body' parameter.

func (*TuningConfigPollResponse) Error ¶ added in v0.1.334

Error returns the response error.

func (*TuningConfigPollResponse) GetBody ¶ added in v0.1.334

func (r *TuningConfigPollResponse) GetBody() (value *TuningConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*TuningConfigPollResponse) Header ¶ added in v0.1.334

func (r *TuningConfigPollResponse) Header() http.Header

Header returns header of the response.

func (*TuningConfigPollResponse) Status ¶ added in v0.1.334

func (r *TuningConfigPollResponse) Status() int

Status returns the response status code.

type TuningConfigUpdateRequest ¶ added in v0.1.334

type TuningConfigUpdateRequest struct {
	// contains filtered or unexported fields
}

TuningConfigUpdateRequest is the request for the 'update' method.

func (*TuningConfigUpdateRequest) Body ¶ added in v0.1.334

Body sets the value of the 'body' parameter.

func (*TuningConfigUpdateRequest) Header ¶ added in v0.1.334

func (r *TuningConfigUpdateRequest) Header(name string, value interface{}) *TuningConfigUpdateRequest

Header adds a request header.

func (*TuningConfigUpdateRequest) Impersonate ¶ added in v0.1.334

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*TuningConfigUpdateRequest) Parameter ¶ added in v0.1.334

func (r *TuningConfigUpdateRequest) Parameter(name string, value interface{}) *TuningConfigUpdateRequest

Parameter adds a query parameter.

func (*TuningConfigUpdateRequest) Send ¶ added in v0.1.334

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*TuningConfigUpdateRequest) SendContext ¶ added in v0.1.334

func (r *TuningConfigUpdateRequest) SendContext(ctx context.Context) (result *TuningConfigUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type TuningConfigUpdateResponse ¶ added in v0.1.334

type TuningConfigUpdateResponse struct {
	// contains filtered or unexported fields
}

TuningConfigUpdateResponse is the response for the 'update' method.

func (*TuningConfigUpdateResponse) Body ¶ added in v0.1.334

Body returns the value of the 'body' parameter.

func (*TuningConfigUpdateResponse) Error ¶ added in v0.1.334

Error returns the response error.

func (*TuningConfigUpdateResponse) GetBody ¶ added in v0.1.334

func (r *TuningConfigUpdateResponse) GetBody() (value *TuningConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*TuningConfigUpdateResponse) Header ¶ added in v0.1.334

Header returns header of the response.

func (*TuningConfigUpdateResponse) Status ¶ added in v0.1.334

func (r *TuningConfigUpdateResponse) Status() int

Status returns the response status code.

type TuningConfigsAddRequest ¶ added in v0.1.334

type TuningConfigsAddRequest struct {
	// contains filtered or unexported fields
}

TuningConfigsAddRequest is the request for the 'add' method.

func (*TuningConfigsAddRequest) Body ¶ added in v0.1.334

Body sets the value of the 'body' parameter.

Description of the tuning config.

func (*TuningConfigsAddRequest) Header ¶ added in v0.1.334

func (r *TuningConfigsAddRequest) Header(name string, value interface{}) *TuningConfigsAddRequest

Header adds a request header.

func (*TuningConfigsAddRequest) Impersonate ¶ added in v0.1.334

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*TuningConfigsAddRequest) Parameter ¶ added in v0.1.334

func (r *TuningConfigsAddRequest) Parameter(name string, value interface{}) *TuningConfigsAddRequest

Parameter adds a query parameter.

func (*TuningConfigsAddRequest) Send ¶ added in v0.1.334

func (r *TuningConfigsAddRequest) Send() (result *TuningConfigsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*TuningConfigsAddRequest) SendContext ¶ added in v0.1.334

func (r *TuningConfigsAddRequest) SendContext(ctx context.Context) (result *TuningConfigsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type TuningConfigsAddResponse ¶ added in v0.1.334

type TuningConfigsAddResponse struct {
	// contains filtered or unexported fields
}

TuningConfigsAddResponse is the response for the 'add' method.

func (*TuningConfigsAddResponse) Body ¶ added in v0.1.334

Body returns the value of the 'body' parameter.

Description of the tuning config.

func (*TuningConfigsAddResponse) Error ¶ added in v0.1.334

Error returns the response error.

func (*TuningConfigsAddResponse) GetBody ¶ added in v0.1.334

func (r *TuningConfigsAddResponse) GetBody() (value *TuningConfig, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the tuning config.

func (*TuningConfigsAddResponse) Header ¶ added in v0.1.334

func (r *TuningConfigsAddResponse) Header() http.Header

Header returns header of the response.

func (*TuningConfigsAddResponse) Status ¶ added in v0.1.334

func (r *TuningConfigsAddResponse) Status() int

Status returns the response status code.

type TuningConfigsClient ¶ added in v0.1.334

type TuningConfigsClient struct {
	// contains filtered or unexported fields
}

TuningConfigsClient is the client of the 'tuning_configs' resource.

Manages the collection of tuning configs for a cluster.

func NewTuningConfigsClient ¶ added in v0.1.334

func NewTuningConfigsClient(transport http.RoundTripper, path string) *TuningConfigsClient

NewTuningConfigsClient creates a new client for the 'tuning_configs' resource using the given transport to send the requests and receive the responses.

func (*TuningConfigsClient) Add ¶ added in v0.1.334

Add creates a request for the 'add' method.

Adds a new tuning config to the cluster.

func (*TuningConfigsClient) List ¶ added in v0.1.334

List creates a request for the 'list' method.

Retrieves the list of tuning configs.

func (*TuningConfigsClient) TuningConfig ¶ added in v0.1.334

func (c *TuningConfigsClient) TuningConfig(id string) *TuningConfigClient

TuningConfig returns the target 'tuning_config' resource for the given identifier.

Reference to the service that manages a specific tuning config.

type TuningConfigsListRequest ¶ added in v0.1.334

type TuningConfigsListRequest struct {
	// contains filtered or unexported fields
}

TuningConfigsListRequest is the request for the 'list' method.

func (*TuningConfigsListRequest) Header ¶ added in v0.1.334

func (r *TuningConfigsListRequest) Header(name string, value interface{}) *TuningConfigsListRequest

Header adds a request header.

func (*TuningConfigsListRequest) Impersonate ¶ added in v0.1.334

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*TuningConfigsListRequest) Page ¶ added in v0.1.334

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*TuningConfigsListRequest) Parameter ¶ added in v0.1.334

func (r *TuningConfigsListRequest) Parameter(name string, value interface{}) *TuningConfigsListRequest

Parameter adds a query parameter.

func (*TuningConfigsListRequest) Send ¶ added in v0.1.334

func (r *TuningConfigsListRequest) Send() (result *TuningConfigsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*TuningConfigsListRequest) SendContext ¶ added in v0.1.334

func (r *TuningConfigsListRequest) SendContext(ctx context.Context) (result *TuningConfigsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*TuningConfigsListRequest) Size ¶ added in v0.1.334

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type TuningConfigsListResponse ¶ added in v0.1.334

type TuningConfigsListResponse struct {
	// contains filtered or unexported fields
}

TuningConfigsListResponse is the response for the 'list' method.

func (*TuningConfigsListResponse) Error ¶ added in v0.1.334

Error returns the response error.

func (*TuningConfigsListResponse) GetItems ¶ added in v0.1.334

func (r *TuningConfigsListResponse) GetItems() (value *TuningConfigList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of tuning configs.

func (*TuningConfigsListResponse) GetPage ¶ added in v0.1.334

func (r *TuningConfigsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*TuningConfigsListResponse) GetSize ¶ added in v0.1.334

func (r *TuningConfigsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*TuningConfigsListResponse) GetTotal ¶ added in v0.1.334

func (r *TuningConfigsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*TuningConfigsListResponse) Header ¶ added in v0.1.334

Header returns header of the response.

func (*TuningConfigsListResponse) Items ¶ added in v0.1.334

Items returns the value of the 'items' parameter.

Retrieved list of tuning configs.

func (*TuningConfigsListResponse) Page ¶ added in v0.1.334

func (r *TuningConfigsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*TuningConfigsListResponse) Size ¶ added in v0.1.334

func (r *TuningConfigsListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*TuningConfigsListResponse) Status ¶ added in v0.1.334

func (r *TuningConfigsListResponse) Status() int

Status returns the response status code.

func (*TuningConfigsListResponse) Total ¶ added in v0.1.334

func (r *TuningConfigsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type UpgradePoliciesAddRequest ¶ added in v0.0.329

type UpgradePoliciesAddRequest struct {
	// contains filtered or unexported fields
}

UpgradePoliciesAddRequest is the request for the 'add' method.

func (*UpgradePoliciesAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Description of the upgrade policy.

func (*UpgradePoliciesAddRequest) Header ¶ added in v0.0.329

func (r *UpgradePoliciesAddRequest) Header(name string, value interface{}) *UpgradePoliciesAddRequest

Header adds a request header.

func (*UpgradePoliciesAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UpgradePoliciesAddRequest) Parameter ¶ added in v0.0.329

func (r *UpgradePoliciesAddRequest) Parameter(name string, value interface{}) *UpgradePoliciesAddRequest

Parameter adds a query parameter.

func (*UpgradePoliciesAddRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UpgradePoliciesAddRequest) SendContext ¶ added in v0.0.329

func (r *UpgradePoliciesAddRequest) SendContext(ctx context.Context) (result *UpgradePoliciesAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type UpgradePoliciesAddResponse ¶ added in v0.0.329

type UpgradePoliciesAddResponse struct {
	// contains filtered or unexported fields
}

UpgradePoliciesAddResponse is the response for the 'add' method.

func (*UpgradePoliciesAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Description of the upgrade policy.

func (*UpgradePoliciesAddResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*UpgradePoliciesAddResponse) GetBody ¶ added in v0.0.329

func (r *UpgradePoliciesAddResponse) GetBody() (value *UpgradePolicy, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the upgrade policy.

func (*UpgradePoliciesAddResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*UpgradePoliciesAddResponse) Status ¶ added in v0.0.329

func (r *UpgradePoliciesAddResponse) Status() int

Status returns the response status code.

type UpgradePoliciesClient ¶ added in v0.0.329

type UpgradePoliciesClient struct {
	// contains filtered or unexported fields
}

UpgradePoliciesClient is the client of the 'upgrade_policies' resource.

Manages the collection of upgrade policies of a cluster.

func NewUpgradePoliciesClient ¶ added in v0.0.329

func NewUpgradePoliciesClient(transport http.RoundTripper, path string) *UpgradePoliciesClient

NewUpgradePoliciesClient creates a new client for the 'upgrade_policies' resource using the given transport to send the requests and receive the responses.

func (*UpgradePoliciesClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new upgrade policy to the cluster.

func (*UpgradePoliciesClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of upgrade policies.

func (*UpgradePoliciesClient) UpgradePolicy ¶ added in v0.0.329

func (c *UpgradePoliciesClient) UpgradePolicy(id string) *UpgradePolicyClient

UpgradePolicy returns the target 'upgrade_policy' resource for the given identifier.

Reference to the service that manages an specific upgrade policy.

type UpgradePoliciesListRequest ¶ added in v0.0.329

type UpgradePoliciesListRequest struct {
	// contains filtered or unexported fields
}

UpgradePoliciesListRequest is the request for the 'list' method.

func (*UpgradePoliciesListRequest) Header ¶ added in v0.0.329

func (r *UpgradePoliciesListRequest) Header(name string, value interface{}) *UpgradePoliciesListRequest

Header adds a request header.

func (*UpgradePoliciesListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UpgradePoliciesListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*UpgradePoliciesListRequest) Parameter ¶ added in v0.0.329

func (r *UpgradePoliciesListRequest) Parameter(name string, value interface{}) *UpgradePoliciesListRequest

Parameter adds a query parameter.

func (*UpgradePoliciesListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UpgradePoliciesListRequest) SendContext ¶ added in v0.0.329

func (r *UpgradePoliciesListRequest) SendContext(ctx context.Context) (result *UpgradePoliciesListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*UpgradePoliciesListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type UpgradePoliciesListResponse ¶ added in v0.0.329

type UpgradePoliciesListResponse struct {
	// contains filtered or unexported fields
}

UpgradePoliciesListResponse is the response for the 'list' method.

func (*UpgradePoliciesListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*UpgradePoliciesListResponse) GetItems ¶ added in v0.0.329

func (r *UpgradePoliciesListResponse) GetItems() (value *UpgradePolicyList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of upgrade policy.

func (*UpgradePoliciesListResponse) GetPage ¶ added in v0.0.329

func (r *UpgradePoliciesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*UpgradePoliciesListResponse) GetSize ¶ added in v0.0.329

func (r *UpgradePoliciesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*UpgradePoliciesListResponse) GetTotal ¶ added in v0.0.329

func (r *UpgradePoliciesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*UpgradePoliciesListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*UpgradePoliciesListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of upgrade policy.

func (*UpgradePoliciesListResponse) Page ¶ added in v0.0.329

func (r *UpgradePoliciesListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*UpgradePoliciesListResponse) Size ¶ added in v0.0.329

func (r *UpgradePoliciesListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*UpgradePoliciesListResponse) Status ¶ added in v0.0.329

func (r *UpgradePoliciesListResponse) Status() int

Status returns the response status code.

func (*UpgradePoliciesListResponse) Total ¶ added in v0.0.329

func (r *UpgradePoliciesListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type UpgradePolicy ¶ added in v0.0.329

type UpgradePolicy struct {
	// contains filtered or unexported fields
}

UpgradePolicy represents the values of the 'upgrade_policy' type.

Representation of an upgrade policy that can be set for a cluster.

func UnmarshalUpgradePolicy ¶ added in v0.0.329

func UnmarshalUpgradePolicy(source interface{}) (object *UpgradePolicy, err error)

UnmarshalUpgradePolicy reads a value of the 'upgrade_policy' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalUpgradePolicyList ¶ added in v0.0.329

func UnmarshalUpgradePolicyList(source interface{}) (items []*UpgradePolicy, err error)

UnmarshalUpgradePolicyList reads a list of values of the 'upgrade_policy' type from the given source, which can be a slice of bytes, a string or a reader.

func (*UpgradePolicy) ClusterID ¶ added in v0.0.329

func (o *UpgradePolicy) ClusterID() string

ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.

Cluster ID this upgrade policy is defined for.

func (*UpgradePolicy) Empty ¶ added in v0.0.329

func (o *UpgradePolicy) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*UpgradePolicy) EnableMinorVersionUpgrades ¶ added in v0.0.329

func (o *UpgradePolicy) EnableMinorVersionUpgrades() bool

EnableMinorVersionUpgrades returns the value of the 'enable_minor_version_upgrades' attribute, or the zero value of the type if the attribute doesn't have a value.

Indicates if minor version upgrades are allowed for automatic upgrades (for manual it's always allowed).

func (*UpgradePolicy) GetClusterID ¶ added in v0.0.329

func (o *UpgradePolicy) GetClusterID() (value string, ok bool)

GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.

Cluster ID this upgrade policy is defined for.

func (*UpgradePolicy) GetEnableMinorVersionUpgrades ¶ added in v0.0.329

func (o *UpgradePolicy) GetEnableMinorVersionUpgrades() (value bool, ok bool)

GetEnableMinorVersionUpgrades returns the value of the 'enable_minor_version_upgrades' attribute and a flag indicating if the attribute has a value.

Indicates if minor version upgrades are allowed for automatic upgrades (for manual it's always allowed).

func (*UpgradePolicy) GetHREF ¶ added in v0.0.329

func (o *UpgradePolicy) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*UpgradePolicy) GetID ¶ added in v0.0.329

func (o *UpgradePolicy) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*UpgradePolicy) GetNextRun ¶ added in v0.0.329

func (o *UpgradePolicy) GetNextRun() (value time.Time, ok bool)

GetNextRun returns the value of the 'next_run' attribute and a flag indicating if the attribute has a value.

Next time the upgrade should run.

func (*UpgradePolicy) GetSchedule ¶ added in v0.0.329

func (o *UpgradePolicy) GetSchedule() (value string, ok bool)

GetSchedule returns the value of the 'schedule' attribute and a flag indicating if the attribute has a value.

Schedule cron expression that defines automatic upgrade scheduling.

func (*UpgradePolicy) GetScheduleType ¶ added in v0.0.329

func (o *UpgradePolicy) GetScheduleType() (value ScheduleType, ok bool)

GetScheduleType returns the value of the 'schedule_type' attribute and a flag indicating if the attribute has a value.

Schedule type of the upgrade.

func (*UpgradePolicy) GetUpgradeType ¶ added in v0.0.329

func (o *UpgradePolicy) GetUpgradeType() (value UpgradeType, ok bool)

GetUpgradeType returns the value of the 'upgrade_type' attribute and a flag indicating if the attribute has a value.

Upgrade type specify the type of the upgrade.

func (*UpgradePolicy) GetVersion ¶ added in v0.0.329

func (o *UpgradePolicy) GetVersion() (value string, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

Version is the desired upgrade version.

func (*UpgradePolicy) HREF ¶ added in v0.0.329

func (o *UpgradePolicy) HREF() string

HREF returns the link to the object.

func (*UpgradePolicy) ID ¶ added in v0.0.329

func (o *UpgradePolicy) ID() string

ID returns the identifier of the object.

func (*UpgradePolicy) Kind ¶ added in v0.0.329

func (o *UpgradePolicy) Kind() string

Kind returns the name of the type of the object.

func (o *UpgradePolicy) Link() bool

Link returns true iif this is a link.

func (*UpgradePolicy) NextRun ¶ added in v0.0.329

func (o *UpgradePolicy) NextRun() time.Time

NextRun returns the value of the 'next_run' attribute, or the zero value of the type if the attribute doesn't have a value.

Next time the upgrade should run.

func (*UpgradePolicy) Schedule ¶ added in v0.0.329

func (o *UpgradePolicy) Schedule() string

Schedule returns the value of the 'schedule' attribute, or the zero value of the type if the attribute doesn't have a value.

Schedule cron expression that defines automatic upgrade scheduling.

func (*UpgradePolicy) ScheduleType ¶ added in v0.0.329

func (o *UpgradePolicy) ScheduleType() ScheduleType

ScheduleType returns the value of the 'schedule_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Schedule type of the upgrade.

func (*UpgradePolicy) UpgradeType ¶ added in v0.0.329

func (o *UpgradePolicy) UpgradeType() UpgradeType

UpgradeType returns the value of the 'upgrade_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Upgrade type specify the type of the upgrade.

func (*UpgradePolicy) Version ¶ added in v0.0.329

func (o *UpgradePolicy) Version() string

Version returns the value of the 'version' attribute, or the zero value of the type if the attribute doesn't have a value.

Version is the desired upgrade version.

type UpgradePolicyBuilder ¶ added in v0.0.329

type UpgradePolicyBuilder struct {
	// contains filtered or unexported fields
}

UpgradePolicyBuilder contains the data and logic needed to build 'upgrade_policy' objects.

Representation of an upgrade policy that can be set for a cluster.

func NewUpgradePolicy ¶ added in v0.0.329

func NewUpgradePolicy() *UpgradePolicyBuilder

NewUpgradePolicy creates a new builder of 'upgrade_policy' objects.

func (*UpgradePolicyBuilder) Build ¶ added in v0.0.329

func (b *UpgradePolicyBuilder) Build() (object *UpgradePolicy, err error)

Build creates a 'upgrade_policy' object using the configuration stored in the builder.

func (*UpgradePolicyBuilder) ClusterID ¶ added in v0.0.329

func (b *UpgradePolicyBuilder) ClusterID(value string) *UpgradePolicyBuilder

ClusterID sets the value of the 'cluster_ID' attribute to the given value.

func (*UpgradePolicyBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*UpgradePolicyBuilder) Empty ¶ added in v0.0.329

func (b *UpgradePolicyBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*UpgradePolicyBuilder) EnableMinorVersionUpgrades ¶ added in v0.0.329

func (b *UpgradePolicyBuilder) EnableMinorVersionUpgrades(value bool) *UpgradePolicyBuilder

EnableMinorVersionUpgrades sets the value of the 'enable_minor_version_upgrades' attribute to the given value.

func (*UpgradePolicyBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*UpgradePolicyBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*UpgradePolicyBuilder) NextRun ¶ added in v0.0.329

NextRun sets the value of the 'next_run' attribute to the given value.

func (*UpgradePolicyBuilder) Schedule ¶ added in v0.0.329

func (b *UpgradePolicyBuilder) Schedule(value string) *UpgradePolicyBuilder

Schedule sets the value of the 'schedule' attribute to the given value.

func (*UpgradePolicyBuilder) ScheduleType ¶ added in v0.0.329

func (b *UpgradePolicyBuilder) ScheduleType(value ScheduleType) *UpgradePolicyBuilder

ScheduleType sets the value of the 'schedule_type' attribute to the given value.

ScheduleType defines which type of scheduling should be used for the upgrade policy.

func (*UpgradePolicyBuilder) UpgradeType ¶ added in v0.0.329

func (b *UpgradePolicyBuilder) UpgradeType(value UpgradeType) *UpgradePolicyBuilder

UpgradeType sets the value of the 'upgrade_type' attribute to the given value.

UpgradeType defines which type of upgrade should be used.

func (*UpgradePolicyBuilder) Version ¶ added in v0.0.329

Version sets the value of the 'version' attribute to the given value.

type UpgradePolicyClient ¶ added in v0.0.329

type UpgradePolicyClient struct {
	// contains filtered or unexported fields
}

UpgradePolicyClient is the client of the 'upgrade_policy' resource.

Manages a specific upgrade policy.

func NewUpgradePolicyClient ¶ added in v0.0.329

func NewUpgradePolicyClient(transport http.RoundTripper, path string) *UpgradePolicyClient

NewUpgradePolicyClient creates a new client for the 'upgrade_policy' resource using the given transport to send the requests and receive the responses.

func (*UpgradePolicyClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the upgrade policy.

func (*UpgradePolicyClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the upgrade policy.

func (*UpgradePolicyClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*UpgradePolicyClient) State ¶ added in v0.0.329

State returns the target 'upgrade_policy_state' resource.

Reference to the state of the upgrade policy.

func (*UpgradePolicyClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Update the upgrade policy.

type UpgradePolicyDeleteRequest ¶ added in v0.0.329

type UpgradePolicyDeleteRequest struct {
	// contains filtered or unexported fields
}

UpgradePolicyDeleteRequest is the request for the 'delete' method.

func (*UpgradePolicyDeleteRequest) Header ¶ added in v0.0.329

func (r *UpgradePolicyDeleteRequest) Header(name string, value interface{}) *UpgradePolicyDeleteRequest

Header adds a request header.

func (*UpgradePolicyDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UpgradePolicyDeleteRequest) Parameter ¶ added in v0.0.329

func (r *UpgradePolicyDeleteRequest) Parameter(name string, value interface{}) *UpgradePolicyDeleteRequest

Parameter adds a query parameter.

func (*UpgradePolicyDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UpgradePolicyDeleteRequest) SendContext ¶ added in v0.0.329

func (r *UpgradePolicyDeleteRequest) SendContext(ctx context.Context) (result *UpgradePolicyDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type UpgradePolicyDeleteResponse ¶ added in v0.0.329

type UpgradePolicyDeleteResponse struct {
	// contains filtered or unexported fields
}

UpgradePolicyDeleteResponse is the response for the 'delete' method.

func (*UpgradePolicyDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*UpgradePolicyDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*UpgradePolicyDeleteResponse) Status ¶ added in v0.0.329

func (r *UpgradePolicyDeleteResponse) Status() int

Status returns the response status code.

type UpgradePolicyGetRequest ¶ added in v0.0.329

type UpgradePolicyGetRequest struct {
	// contains filtered or unexported fields
}

UpgradePolicyGetRequest is the request for the 'get' method.

func (*UpgradePolicyGetRequest) Header ¶ added in v0.0.329

func (r *UpgradePolicyGetRequest) Header(name string, value interface{}) *UpgradePolicyGetRequest

Header adds a request header.

func (*UpgradePolicyGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UpgradePolicyGetRequest) Parameter ¶ added in v0.0.329

func (r *UpgradePolicyGetRequest) Parameter(name string, value interface{}) *UpgradePolicyGetRequest

Parameter adds a query parameter.

func (*UpgradePolicyGetRequest) Send ¶ added in v0.0.329

func (r *UpgradePolicyGetRequest) Send() (result *UpgradePolicyGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UpgradePolicyGetRequest) SendContext ¶ added in v0.0.329

func (r *UpgradePolicyGetRequest) SendContext(ctx context.Context) (result *UpgradePolicyGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type UpgradePolicyGetResponse ¶ added in v0.0.329

type UpgradePolicyGetResponse struct {
	// contains filtered or unexported fields
}

UpgradePolicyGetResponse is the response for the 'get' method.

func (*UpgradePolicyGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*UpgradePolicyGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*UpgradePolicyGetResponse) GetBody ¶ added in v0.0.329

func (r *UpgradePolicyGetResponse) GetBody() (value *UpgradePolicy, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*UpgradePolicyGetResponse) Header ¶ added in v0.0.329

func (r *UpgradePolicyGetResponse) Header() http.Header

Header returns header of the response.

func (*UpgradePolicyGetResponse) Status ¶ added in v0.0.329

func (r *UpgradePolicyGetResponse) Status() int

Status returns the response status code.

type UpgradePolicyList ¶ added in v0.0.329

type UpgradePolicyList struct {
	// contains filtered or unexported fields
}

UpgradePolicyList is a list of values of the 'upgrade_policy' type.

func (*UpgradePolicyList) Each ¶ added in v0.0.329

func (l *UpgradePolicyList) Each(f func(item *UpgradePolicy) 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 (*UpgradePolicyList) Empty ¶ added in v0.0.329

func (l *UpgradePolicyList) Empty() bool

Empty returns true if the list is empty.

func (*UpgradePolicyList) Get ¶ added in v0.0.329

func (l *UpgradePolicyList) Get(i int) *UpgradePolicy

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*UpgradePolicyList) GetHREF ¶ added in v0.0.329

func (l *UpgradePolicyList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*UpgradePolicyList) HREF ¶ added in v0.0.329

func (l *UpgradePolicyList) HREF() string

HREF returns the link to the list.

func (*UpgradePolicyList) Kind ¶ added in v0.0.329

func (l *UpgradePolicyList) Kind() string

Kind returns the name of the type of the object.

func (*UpgradePolicyList) Len ¶ added in v0.0.329

func (l *UpgradePolicyList) Len() int

Len returns the length of the list.

func (l *UpgradePolicyList) Link() bool

Link returns true iif this is a link.

func (*UpgradePolicyList) Range ¶ added in v0.0.329

func (l *UpgradePolicyList) Range(f func(index int, item *UpgradePolicy) 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 (*UpgradePolicyList) Slice ¶ added in v0.0.329

func (l *UpgradePolicyList) Slice() []*UpgradePolicy

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 UpgradePolicyListBuilder ¶ added in v0.0.329

type UpgradePolicyListBuilder struct {
	// contains filtered or unexported fields
}

UpgradePolicyListBuilder contains the data and logic needed to build 'upgrade_policy' objects.

func NewUpgradePolicyList ¶ added in v0.0.329

func NewUpgradePolicyList() *UpgradePolicyListBuilder

NewUpgradePolicyList creates a new builder of 'upgrade_policy' objects.

func (*UpgradePolicyListBuilder) Build ¶ added in v0.0.329

func (b *UpgradePolicyListBuilder) Build() (list *UpgradePolicyList, err error)

Build creates a list of 'upgrade_policy' objects using the configuration stored in the builder.

func (*UpgradePolicyListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*UpgradePolicyListBuilder) Empty ¶ added in v0.0.329

func (b *UpgradePolicyListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*UpgradePolicyListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type UpgradePolicyPollRequest ¶ added in v0.0.329

type UpgradePolicyPollRequest struct {
	// contains filtered or unexported fields
}

UpgradePolicyPollRequest is the request for the Poll method.

func (*UpgradePolicyPollRequest) Header ¶ added in v0.0.329

func (r *UpgradePolicyPollRequest) Header(name string, value interface{}) *UpgradePolicyPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*UpgradePolicyPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*UpgradePolicyPollRequest) Parameter ¶ added in v0.0.329

func (r *UpgradePolicyPollRequest) Parameter(name string, value interface{}) *UpgradePolicyPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*UpgradePolicyPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*UpgradePolicyPollRequest) StartContext ¶ added in v0.0.329

func (r *UpgradePolicyPollRequest) StartContext(ctx context.Context) (response *UpgradePolicyPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*UpgradePolicyPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type UpgradePolicyPollResponse ¶ added in v0.0.329

type UpgradePolicyPollResponse struct {
	// contains filtered or unexported fields
}

UpgradePolicyPollResponse is the response for the Poll method.

func (*UpgradePolicyPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*UpgradePolicyPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*UpgradePolicyPollResponse) GetBody ¶ added in v0.0.329

func (r *UpgradePolicyPollResponse) GetBody() (value *UpgradePolicy, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*UpgradePolicyPollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*UpgradePolicyPollResponse) Status ¶ added in v0.0.329

func (r *UpgradePolicyPollResponse) Status() int

Status returns the response status code.

type UpgradePolicyState ¶ added in v0.0.329

type UpgradePolicyState struct {
	// contains filtered or unexported fields
}

UpgradePolicyState represents the values of the 'upgrade_policy_state' type.

Representation of an upgrade policy state that that is set for a cluster.

func UnmarshalUpgradePolicyState ¶ added in v0.0.329

func UnmarshalUpgradePolicyState(source interface{}) (object *UpgradePolicyState, err error)

UnmarshalUpgradePolicyState reads a value of the 'upgrade_policy_state' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalUpgradePolicyStateList ¶ added in v0.0.329

func UnmarshalUpgradePolicyStateList(source interface{}) (items []*UpgradePolicyState, err error)

UnmarshalUpgradePolicyStateList reads a list of values of the 'upgrade_policy_state' type from the given source, which can be a slice of bytes, a string or a reader.

func (*UpgradePolicyState) Description ¶ added in v0.0.329

func (o *UpgradePolicyState) 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.

Description of the state.

func (*UpgradePolicyState) Empty ¶ added in v0.0.329

func (o *UpgradePolicyState) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*UpgradePolicyState) GetDescription ¶ added in v0.0.329

func (o *UpgradePolicyState) GetDescription() (value string, ok bool)

GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.

Description of the state.

func (*UpgradePolicyState) GetHREF ¶ added in v0.0.329

func (o *UpgradePolicyState) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*UpgradePolicyState) GetID ¶ added in v0.0.329

func (o *UpgradePolicyState) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*UpgradePolicyState) GetValue ¶ added in v0.0.329

func (o *UpgradePolicyState) GetValue() (value UpgradePolicyStateValue, ok bool)

GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.

State value can be 'pending', 'scheduled', 'cancelled', 'started', 'delayed', 'failed' or 'completed'.

func (*UpgradePolicyState) HREF ¶ added in v0.0.329

func (o *UpgradePolicyState) HREF() string

HREF returns the link to the object.

func (*UpgradePolicyState) ID ¶ added in v0.0.329

func (o *UpgradePolicyState) ID() string

ID returns the identifier of the object.

func (*UpgradePolicyState) Kind ¶ added in v0.0.329

func (o *UpgradePolicyState) Kind() string

Kind returns the name of the type of the object.

func (o *UpgradePolicyState) Link() bool

Link returns true iif this is a link.

func (*UpgradePolicyState) Value ¶ added in v0.0.329

Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.

State value can be 'pending', 'scheduled', 'cancelled', 'started', 'delayed', 'failed' or 'completed'.

type UpgradePolicyStateBuilder ¶ added in v0.0.329

type UpgradePolicyStateBuilder struct {
	// contains filtered or unexported fields
}

UpgradePolicyStateBuilder contains the data and logic needed to build 'upgrade_policy_state' objects.

Representation of an upgrade policy state that that is set for a cluster.

func NewUpgradePolicyState ¶ added in v0.0.329

func NewUpgradePolicyState() *UpgradePolicyStateBuilder

NewUpgradePolicyState creates a new builder of 'upgrade_policy_state' objects.

func (*UpgradePolicyStateBuilder) Build ¶ added in v0.0.329

func (b *UpgradePolicyStateBuilder) Build() (object *UpgradePolicyState, err error)

Build creates a 'upgrade_policy_state' object using the configuration stored in the builder.

func (*UpgradePolicyStateBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*UpgradePolicyStateBuilder) Description ¶ added in v0.0.329

Description sets the value of the 'description' attribute to the given value.

func (*UpgradePolicyStateBuilder) Empty ¶ added in v0.0.329

func (b *UpgradePolicyStateBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*UpgradePolicyStateBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*UpgradePolicyStateBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*UpgradePolicyStateBuilder) Value ¶ added in v0.0.329

Value sets the value of the 'value' attribute to the given value.

Overall state of a cluster upgrade policy.

type UpgradePolicyStateClient ¶ added in v0.0.329

type UpgradePolicyStateClient struct {
	// contains filtered or unexported fields
}

UpgradePolicyStateClient is the client of the 'upgrade_policy_state' resource.

Manages a specific upgrade policy state.

func NewUpgradePolicyStateClient ¶ added in v0.0.329

func NewUpgradePolicyStateClient(transport http.RoundTripper, path string) *UpgradePolicyStateClient

NewUpgradePolicyStateClient creates a new client for the 'upgrade_policy_state' resource using the given transport to send the requests and receive the responses.

func (*UpgradePolicyStateClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the upgrade policy state.

func (*UpgradePolicyStateClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*UpgradePolicyStateClient) Update ¶ added in v0.0.329

Update creates a request for the 'update' method.

Update the upgrade policy state.

type UpgradePolicyStateGetRequest ¶ added in v0.0.329

type UpgradePolicyStateGetRequest struct {
	// contains filtered or unexported fields
}

UpgradePolicyStateGetRequest is the request for the 'get' method.

func (*UpgradePolicyStateGetRequest) Header ¶ added in v0.0.329

func (r *UpgradePolicyStateGetRequest) Header(name string, value interface{}) *UpgradePolicyStateGetRequest

Header adds a request header.

func (*UpgradePolicyStateGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UpgradePolicyStateGetRequest) Parameter ¶ added in v0.0.329

func (r *UpgradePolicyStateGetRequest) Parameter(name string, value interface{}) *UpgradePolicyStateGetRequest

Parameter adds a query parameter.

func (*UpgradePolicyStateGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UpgradePolicyStateGetRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type UpgradePolicyStateGetResponse ¶ added in v0.0.329

type UpgradePolicyStateGetResponse struct {
	// contains filtered or unexported fields
}

UpgradePolicyStateGetResponse is the response for the 'get' method.

func (*UpgradePolicyStateGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*UpgradePolicyStateGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*UpgradePolicyStateGetResponse) GetBody ¶ added in v0.0.329

func (r *UpgradePolicyStateGetResponse) GetBody() (value *UpgradePolicyState, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*UpgradePolicyStateGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*UpgradePolicyStateGetResponse) Status ¶ added in v0.0.329

func (r *UpgradePolicyStateGetResponse) Status() int

Status returns the response status code.

type UpgradePolicyStateList ¶ added in v0.0.329

type UpgradePolicyStateList struct {
	// contains filtered or unexported fields
}

UpgradePolicyStateList is a list of values of the 'upgrade_policy_state' type.

func (*UpgradePolicyStateList) Each ¶ added in v0.0.329

func (l *UpgradePolicyStateList) Each(f func(item *UpgradePolicyState) 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 (*UpgradePolicyStateList) Empty ¶ added in v0.0.329

func (l *UpgradePolicyStateList) Empty() bool

Empty returns true if the list is empty.

func (*UpgradePolicyStateList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*UpgradePolicyStateList) GetHREF ¶ added in v0.0.329

func (l *UpgradePolicyStateList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*UpgradePolicyStateList) HREF ¶ added in v0.0.329

func (l *UpgradePolicyStateList) HREF() string

HREF returns the link to the list.

func (*UpgradePolicyStateList) Kind ¶ added in v0.0.329

func (l *UpgradePolicyStateList) Kind() string

Kind returns the name of the type of the object.

func (*UpgradePolicyStateList) Len ¶ added in v0.0.329

func (l *UpgradePolicyStateList) Len() int

Len returns the length of the list.

func (l *UpgradePolicyStateList) Link() bool

Link returns true iif this is a link.

func (*UpgradePolicyStateList) Range ¶ added in v0.0.329

func (l *UpgradePolicyStateList) Range(f func(index int, item *UpgradePolicyState) 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 (*UpgradePolicyStateList) Slice ¶ added in v0.0.329

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 UpgradePolicyStateListBuilder ¶ added in v0.0.329

type UpgradePolicyStateListBuilder struct {
	// contains filtered or unexported fields
}

UpgradePolicyStateListBuilder contains the data and logic needed to build 'upgrade_policy_state' objects.

func NewUpgradePolicyStateList ¶ added in v0.0.329

func NewUpgradePolicyStateList() *UpgradePolicyStateListBuilder

NewUpgradePolicyStateList creates a new builder of 'upgrade_policy_state' objects.

func (*UpgradePolicyStateListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'upgrade_policy_state' objects using the configuration stored in the builder.

func (*UpgradePolicyStateListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*UpgradePolicyStateListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*UpgradePolicyStateListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type UpgradePolicyStatePollRequest ¶ added in v0.0.329

type UpgradePolicyStatePollRequest struct {
	// contains filtered or unexported fields
}

UpgradePolicyStatePollRequest is the request for the Poll method.

func (*UpgradePolicyStatePollRequest) Header ¶ added in v0.0.329

func (r *UpgradePolicyStatePollRequest) Header(name string, value interface{}) *UpgradePolicyStatePollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*UpgradePolicyStatePollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*UpgradePolicyStatePollRequest) Parameter ¶ added in v0.0.329

func (r *UpgradePolicyStatePollRequest) Parameter(name string, value interface{}) *UpgradePolicyStatePollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*UpgradePolicyStatePollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*UpgradePolicyStatePollRequest) StartContext ¶ added in v0.0.329

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*UpgradePolicyStatePollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type UpgradePolicyStatePollResponse ¶ added in v0.0.329

type UpgradePolicyStatePollResponse struct {
	// contains filtered or unexported fields
}

UpgradePolicyStatePollResponse is the response for the Poll method.

func (*UpgradePolicyStatePollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*UpgradePolicyStatePollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*UpgradePolicyStatePollResponse) GetBody ¶ added in v0.0.329

func (r *UpgradePolicyStatePollResponse) GetBody() (value *UpgradePolicyState, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*UpgradePolicyStatePollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*UpgradePolicyStatePollResponse) Status ¶ added in v0.0.329

func (r *UpgradePolicyStatePollResponse) Status() int

Status returns the response status code.

type UpgradePolicyStateUpdateRequest ¶ added in v0.0.329

type UpgradePolicyStateUpdateRequest struct {
	// contains filtered or unexported fields
}

UpgradePolicyStateUpdateRequest is the request for the 'update' method.

func (*UpgradePolicyStateUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*UpgradePolicyStateUpdateRequest) Header ¶ added in v0.0.329

func (r *UpgradePolicyStateUpdateRequest) Header(name string, value interface{}) *UpgradePolicyStateUpdateRequest

Header adds a request header.

func (*UpgradePolicyStateUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UpgradePolicyStateUpdateRequest) Parameter ¶ added in v0.0.329

func (r *UpgradePolicyStateUpdateRequest) Parameter(name string, value interface{}) *UpgradePolicyStateUpdateRequest

Parameter adds a query parameter.

func (*UpgradePolicyStateUpdateRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UpgradePolicyStateUpdateRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type UpgradePolicyStateUpdateResponse ¶ added in v0.0.329

type UpgradePolicyStateUpdateResponse struct {
	// contains filtered or unexported fields
}

UpgradePolicyStateUpdateResponse is the response for the 'update' method.

func (*UpgradePolicyStateUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*UpgradePolicyStateUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*UpgradePolicyStateUpdateResponse) GetBody ¶ added in v0.0.329

func (r *UpgradePolicyStateUpdateResponse) GetBody() (value *UpgradePolicyState, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*UpgradePolicyStateUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*UpgradePolicyStateUpdateResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type UpgradePolicyStateValue ¶ added in v0.0.329

type UpgradePolicyStateValue string

UpgradePolicyStateValue represents the values of the 'upgrade_policy_state_value' enumerated type.

const (
	// Upgrade got cancelled (temporary state - the policy will get removed).
	UpgradePolicyStateValueCancelled UpgradePolicyStateValue = "cancelled"
	// Upgrade completed (temporary state - the policy will be removed in case of
	// manual upgrade, or move back to pending in case of automatic upgrade)
	UpgradePolicyStateValueCompleted UpgradePolicyStateValue = "completed"
	// Upgrade is taking longer than expected
	UpgradePolicyStateValueDelayed UpgradePolicyStateValue = "delayed"
	// Upgrade failed
	UpgradePolicyStateValueFailed UpgradePolicyStateValue = "failed"
	// Upgrade policy set but an upgrade wasn't scheduled yet
	UpgradePolicyStateValuePending UpgradePolicyStateValue = "pending"
	// Upgrade policy set and was scheduled
	UpgradePolicyStateValueScheduled UpgradePolicyStateValue = "scheduled"
	// Upgrade started
	UpgradePolicyStateValueStarted UpgradePolicyStateValue = "started"
)

func UnmarshalUpgradePolicyStateValueList ¶ added in v0.0.329

func UnmarshalUpgradePolicyStateValueList(source interface{}) (items []UpgradePolicyStateValue, err error)

UnmarshalUpgradePolicyStateValueList reads a list of values of the 'upgrade_policy_state_value' type from the given source, which can be a slice of bytes, a string or a reader.

type UpgradePolicyUpdateRequest ¶ added in v0.0.329

type UpgradePolicyUpdateRequest struct {
	// contains filtered or unexported fields
}

UpgradePolicyUpdateRequest is the request for the 'update' method.

func (*UpgradePolicyUpdateRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

func (*UpgradePolicyUpdateRequest) Header ¶ added in v0.0.329

func (r *UpgradePolicyUpdateRequest) Header(name string, value interface{}) *UpgradePolicyUpdateRequest

Header adds a request header.

func (*UpgradePolicyUpdateRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UpgradePolicyUpdateRequest) Parameter ¶ added in v0.0.329

func (r *UpgradePolicyUpdateRequest) Parameter(name string, value interface{}) *UpgradePolicyUpdateRequest

Parameter adds a query parameter.

func (*UpgradePolicyUpdateRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UpgradePolicyUpdateRequest) SendContext ¶ added in v0.0.329

func (r *UpgradePolicyUpdateRequest) SendContext(ctx context.Context) (result *UpgradePolicyUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type UpgradePolicyUpdateResponse ¶ added in v0.0.329

type UpgradePolicyUpdateResponse struct {
	// contains filtered or unexported fields
}

UpgradePolicyUpdateResponse is the response for the 'update' method.

func (*UpgradePolicyUpdateResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*UpgradePolicyUpdateResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*UpgradePolicyUpdateResponse) GetBody ¶ added in v0.0.329

func (r *UpgradePolicyUpdateResponse) GetBody() (value *UpgradePolicy, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*UpgradePolicyUpdateResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*UpgradePolicyUpdateResponse) Status ¶ added in v0.0.329

func (r *UpgradePolicyUpdateResponse) Status() int

Status returns the response status code.

type UpgradeType ¶ added in v0.1.357

type UpgradeType string

UpgradeType represents the values of the 'upgrade_type' enumerated type.

const (
	// Upgrade of OSD cluster, which will upgrade the cluster's control plane, and all the node pools.
	UpgradeTypeOSD UpgradeType = "OSD"
	// Upgrade of an AddOn
	UpgradeTypeAddOn UpgradeType = "ADDON"
	// Control plane upgrade, relevant only for hosted control plane clusters.
	UpgradeTypeControlPlane UpgradeType = "ControlPlane"
	// Node pool upgrade, relevant only for hosted control plane clusters.
	UpgradeTypeNodePool UpgradeType = "NodePool"
)

func UnmarshalUpgradeTypeList ¶ added in v0.1.357

func UnmarshalUpgradeTypeList(source interface{}) (items []UpgradeType, err error)

UnmarshalUpgradeTypeList reads a list of values of the 'upgrade_type' type from the given source, which can be a slice of bytes, a string or a reader.

type User ¶

type User struct {
	// contains filtered or unexported fields
}

User represents the values of the 'user' type.

Representation of a user.

func UnmarshalUser ¶

func UnmarshalUser(source interface{}) (object *User, err error)

UnmarshalUser reads a value of the 'user' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalUserList ¶

func UnmarshalUserList(source interface{}) (items []*User, err error)

UnmarshalUserList reads a list of values of the 'user' type from the given source, which can be a slice of bytes, a string or a reader.

func (*User) Empty ¶

func (o *User) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*User) GetHREF ¶

func (o *User) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*User) GetID ¶

func (o *User) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*User) HREF ¶

func (o *User) HREF() string

HREF returns the link to the object.

func (*User) ID ¶

func (o *User) ID() string

ID returns the identifier of the object.

func (*User) Kind ¶

func (o *User) Kind() string

Kind returns the name of the type of the object.

func (o *User) Link() bool

Link returns true iif this is a link.

type UserBuilder ¶

type UserBuilder struct {
	// contains filtered or unexported fields
}

UserBuilder contains the data and logic needed to build 'user' objects.

Representation of a user.

func NewUser ¶

func NewUser() *UserBuilder

NewUser creates a new builder of 'user' objects.

func (*UserBuilder) Build ¶

func (b *UserBuilder) Build() (object *User, err error)

Build creates a 'user' object using the configuration stored in the builder.

func (*UserBuilder) Copy ¶

func (b *UserBuilder) Copy(object *User) *UserBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*UserBuilder) Empty ¶ added in v0.0.329

func (b *UserBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*UserBuilder) HREF ¶

func (b *UserBuilder) HREF(value string) *UserBuilder

HREF sets the link to the object.

func (*UserBuilder) ID ¶

func (b *UserBuilder) ID(value string) *UserBuilder

ID sets the identifier of the object.

func (b *UserBuilder) Link(value bool) *UserBuilder

Link sets the flag that indicates if this is a link.

type UserClient ¶

type UserClient struct {
	// contains filtered or unexported fields
}

UserClient is the client of the 'user' resource.

Manages a specific user.

func NewUserClient ¶

func NewUserClient(transport http.RoundTripper, path string) *UserClient

NewUserClient creates a new client for the 'user' resource using the given transport to send the requests and receive the responses.

func (*UserClient) Delete ¶

func (c *UserClient) Delete() *UserDeleteRequest

Delete creates a request for the 'delete' method.

Deletes the user.

func (*UserClient) Get ¶

func (c *UserClient) Get() *UserGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the user.

func (*UserClient) Poll ¶

func (c *UserClient) Poll() *UserPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type UserDeleteRequest ¶

type UserDeleteRequest struct {
	// contains filtered or unexported fields
}

UserDeleteRequest is the request for the 'delete' method.

func (*UserDeleteRequest) Header ¶

func (r *UserDeleteRequest) Header(name string, value interface{}) *UserDeleteRequest

Header adds a request header.

func (*UserDeleteRequest) Impersonate ¶ added in v0.0.329

func (r *UserDeleteRequest) Impersonate(user string) *UserDeleteRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UserDeleteRequest) Parameter ¶

func (r *UserDeleteRequest) Parameter(name string, value interface{}) *UserDeleteRequest

Parameter adds a query parameter.

func (*UserDeleteRequest) Send ¶

func (r *UserDeleteRequest) Send() (result *UserDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UserDeleteRequest) SendContext ¶

func (r *UserDeleteRequest) SendContext(ctx context.Context) (result *UserDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type UserDeleteResponse ¶

type UserDeleteResponse struct {
	// contains filtered or unexported fields
}

UserDeleteResponse is the response for the 'delete' method.

func (*UserDeleteResponse) Error ¶

func (r *UserDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*UserDeleteResponse) Header ¶

func (r *UserDeleteResponse) Header() http.Header

Header returns header of the response.

func (*UserDeleteResponse) Status ¶

func (r *UserDeleteResponse) Status() int

Status returns the response status code.

type UserGetRequest ¶

type UserGetRequest struct {
	// contains filtered or unexported fields
}

UserGetRequest is the request for the 'get' method.

func (*UserGetRequest) Header ¶

func (r *UserGetRequest) Header(name string, value interface{}) *UserGetRequest

Header adds a request header.

func (*UserGetRequest) Impersonate ¶ added in v0.0.329

func (r *UserGetRequest) Impersonate(user string) *UserGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UserGetRequest) Parameter ¶

func (r *UserGetRequest) Parameter(name string, value interface{}) *UserGetRequest

Parameter adds a query parameter.

func (*UserGetRequest) Send ¶

func (r *UserGetRequest) Send() (result *UserGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UserGetRequest) SendContext ¶

func (r *UserGetRequest) SendContext(ctx context.Context) (result *UserGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type UserGetResponse ¶

type UserGetResponse struct {
	// contains filtered or unexported fields
}

UserGetResponse is the response for the 'get' method.

func (*UserGetResponse) Body ¶

func (r *UserGetResponse) Body() *User

Body returns the value of the 'body' parameter.

func (*UserGetResponse) Error ¶

func (r *UserGetResponse) Error() *errors.Error

Error returns the response error.

func (*UserGetResponse) GetBody ¶

func (r *UserGetResponse) GetBody() (value *User, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*UserGetResponse) Header ¶

func (r *UserGetResponse) Header() http.Header

Header returns header of the response.

func (*UserGetResponse) Status ¶

func (r *UserGetResponse) Status() int

Status returns the response status code.

type UserList ¶

type UserList struct {
	// contains filtered or unexported fields
}

UserList is a list of values of the 'user' type.

func (*UserList) Each ¶

func (l *UserList) Each(f func(item *User) 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 (*UserList) Empty ¶

func (l *UserList) Empty() bool

Empty returns true if the list is empty.

func (*UserList) Get ¶

func (l *UserList) Get(i int) *User

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*UserList) GetHREF ¶

func (l *UserList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*UserList) HREF ¶

func (l *UserList) HREF() string

HREF returns the link to the list.

func (*UserList) Kind ¶

func (l *UserList) Kind() string

Kind returns the name of the type of the object.

func (*UserList) Len ¶

func (l *UserList) Len() int

Len returns the length of the list.

func (l *UserList) Link() bool

Link returns true iif this is a link.

func (*UserList) Range ¶

func (l *UserList) Range(f func(index int, item *User) 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 (*UserList) Slice ¶

func (l *UserList) Slice() []*User

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 UserListBuilder ¶

type UserListBuilder struct {
	// contains filtered or unexported fields
}

UserListBuilder contains the data and logic needed to build 'user' objects.

func NewUserList ¶

func NewUserList() *UserListBuilder

NewUserList creates a new builder of 'user' objects.

func (*UserListBuilder) Build ¶

func (b *UserListBuilder) Build() (list *UserList, err error)

Build creates a list of 'user' objects using the configuration stored in the builder.

func (*UserListBuilder) Copy ¶

func (b *UserListBuilder) Copy(list *UserList) *UserListBuilder

Copy copies the items of the given list into this builder, discarding any previous items.

func (*UserListBuilder) Empty ¶ added in v0.0.329

func (b *UserListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*UserListBuilder) Items ¶

func (b *UserListBuilder) Items(values ...*UserBuilder) *UserListBuilder

Items sets the items of the list.

type UserPollRequest ¶

type UserPollRequest struct {
	// contains filtered or unexported fields
}

UserPollRequest is the request for the Poll method.

func (*UserPollRequest) Header ¶

func (r *UserPollRequest) Header(name string, value interface{}) *UserPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*UserPollRequest) Interval ¶

func (r *UserPollRequest) Interval(value time.Duration) *UserPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*UserPollRequest) Parameter ¶

func (r *UserPollRequest) Parameter(name string, value interface{}) *UserPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*UserPollRequest) Predicate ¶

func (r *UserPollRequest) Predicate(value func(*UserGetResponse) bool) *UserPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*UserPollRequest) StartContext ¶

func (r *UserPollRequest) StartContext(ctx context.Context) (response *UserPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*UserPollRequest) Status ¶

func (r *UserPollRequest) Status(value int) *UserPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type UserPollResponse ¶

type UserPollResponse struct {
	// contains filtered or unexported fields
}

UserPollResponse is the response for the Poll method.

func (*UserPollResponse) Body ¶

func (r *UserPollResponse) Body() *User

Body returns the value of the 'body' parameter.

func (*UserPollResponse) Error ¶

func (r *UserPollResponse) Error() *errors.Error

Error returns the response error.

func (*UserPollResponse) GetBody ¶

func (r *UserPollResponse) GetBody() (value *User, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*UserPollResponse) Header ¶

func (r *UserPollResponse) Header() http.Header

Header returns header of the response.

func (*UserPollResponse) Status ¶

func (r *UserPollResponse) Status() int

Status returns the response status code.

type UsernameClaim ¶ added in v0.1.404

type UsernameClaim struct {
	// contains filtered or unexported fields
}

UsernameClaim represents the values of the 'username_claim' type.

The username claim mapping.

func UnmarshalUsernameClaim ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (o *UsernameClaim) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*UsernameClaim) GetClaim ¶ added in v0.1.404

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 ¶ added in v0.1.404

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 ¶ added in v0.1.404

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.

func (*UsernameClaim) Prefix ¶ added in v0.1.404

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 ¶ added in v0.1.404

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.

type UsernameClaimBuilder ¶ added in v0.1.404

type UsernameClaimBuilder struct {
	// contains filtered or unexported fields
}

UsernameClaimBuilder contains the data and logic needed to build 'username_claim' objects.

The username claim mapping.

func NewUsernameClaim ¶ added in v0.1.404

func NewUsernameClaim() *UsernameClaimBuilder

NewUsernameClaim creates a new builder of 'username_claim' objects.

func (*UsernameClaimBuilder) Build ¶ added in v0.1.404

func (b *UsernameClaimBuilder) Build() (object *UsernameClaim, err error)

Build creates a 'username_claim' object using the configuration stored in the builder.

func (*UsernameClaimBuilder) Claim ¶ added in v0.1.404

Claim sets the value of the 'claim' attribute to the given value.

func (*UsernameClaimBuilder) Copy ¶ added in v0.1.404

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*UsernameClaimBuilder) Empty ¶ added in v0.1.404

func (b *UsernameClaimBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*UsernameClaimBuilder) Prefix ¶ added in v0.1.404

Prefix sets the value of the 'prefix' attribute to the given value.

func (*UsernameClaimBuilder) PrefixPolicy ¶ added in v0.1.404

func (b *UsernameClaimBuilder) PrefixPolicy(value string) *UsernameClaimBuilder

PrefixPolicy sets the value of the 'prefix_policy' attribute to the given value.

type UsernameClaimList ¶ added in v0.1.404

type UsernameClaimList struct {
	// contains filtered or unexported fields
}

UsernameClaimList is a list of values of the 'username_claim' type.

func (*UsernameClaimList) Each ¶ added in v0.1.404

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 ¶ added in v0.1.404

func (l *UsernameClaimList) Empty() bool

Empty returns true if the list is empty.

func (*UsernameClaimList) Get ¶ added in v0.1.404

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) Len ¶ added in v0.1.404

func (l *UsernameClaimList) Len() int

Len returns the length of the list.

func (*UsernameClaimList) Range ¶ added in v0.1.404

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) Slice ¶ added in v0.1.404

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 ¶ added in v0.1.404

type UsernameClaimListBuilder struct {
	// contains filtered or unexported fields
}

UsernameClaimListBuilder contains the data and logic needed to build 'username_claim' objects.

func NewUsernameClaimList ¶ added in v0.1.404

func NewUsernameClaimList() *UsernameClaimListBuilder

NewUsernameClaimList creates a new builder of 'username_claim' objects.

func (*UsernameClaimListBuilder) Build ¶ added in v0.1.404

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 ¶ added in v0.1.404

Copy copies the items of the given list into this builder, discarding any previous items.

func (*UsernameClaimListBuilder) Empty ¶ added in v0.1.404

func (b *UsernameClaimListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*UsernameClaimListBuilder) Items ¶ added in v0.1.404

Items sets the items of the list.

type UsersAddRequest ¶

type UsersAddRequest struct {
	// contains filtered or unexported fields
}

UsersAddRequest is the request for the 'add' method.

func (*UsersAddRequest) Body ¶

func (r *UsersAddRequest) Body(value *User) *UsersAddRequest

Body sets the value of the 'body' parameter.

Description of the user.

func (*UsersAddRequest) Header ¶

func (r *UsersAddRequest) Header(name string, value interface{}) *UsersAddRequest

Header adds a request header.

func (*UsersAddRequest) Impersonate ¶ added in v0.0.329

func (r *UsersAddRequest) Impersonate(user string) *UsersAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UsersAddRequest) Parameter ¶

func (r *UsersAddRequest) Parameter(name string, value interface{}) *UsersAddRequest

Parameter adds a query parameter.

func (*UsersAddRequest) Send ¶

func (r *UsersAddRequest) Send() (result *UsersAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UsersAddRequest) SendContext ¶

func (r *UsersAddRequest) SendContext(ctx context.Context) (result *UsersAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type UsersAddResponse ¶

type UsersAddResponse struct {
	// contains filtered or unexported fields
}

UsersAddResponse is the response for the 'add' method.

func (*UsersAddResponse) Body ¶

func (r *UsersAddResponse) Body() *User

Body returns the value of the 'body' parameter.

Description of the user.

func (*UsersAddResponse) Error ¶

func (r *UsersAddResponse) Error() *errors.Error

Error returns the response error.

func (*UsersAddResponse) GetBody ¶

func (r *UsersAddResponse) GetBody() (value *User, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the user.

func (*UsersAddResponse) Header ¶

func (r *UsersAddResponse) Header() http.Header

Header returns header of the response.

func (*UsersAddResponse) Status ¶

func (r *UsersAddResponse) Status() int

Status returns the response status code.

type UsersClient ¶

type UsersClient struct {
	// contains filtered or unexported fields
}

UsersClient is the client of the 'users' resource.

Manages the collection of users of a group.

func NewUsersClient ¶

func NewUsersClient(transport http.RoundTripper, path string) *UsersClient

NewUsersClient creates a new client for the 'users' resource using the given transport to send the requests and receive the responses.

func (*UsersClient) Add ¶

func (c *UsersClient) Add() *UsersAddRequest

Add creates a request for the 'add' method.

Adds a new user to the group.

func (*UsersClient) List ¶

func (c *UsersClient) List() *UsersListRequest

List creates a request for the 'list' method.

Retrieves the list of users.

func (*UsersClient) User ¶

func (c *UsersClient) User(id string) *UserClient

User returns the target 'user' resource for the given identifier.

Reference to the service that manages an specific user.

type UsersListRequest ¶

type UsersListRequest struct {
	// contains filtered or unexported fields
}

UsersListRequest is the request for the 'list' method.

func (*UsersListRequest) Header ¶

func (r *UsersListRequest) Header(name string, value interface{}) *UsersListRequest

Header adds a request header.

func (*UsersListRequest) Impersonate ¶ added in v0.0.329

func (r *UsersListRequest) Impersonate(user string) *UsersListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*UsersListRequest) Page ¶

func (r *UsersListRequest) Page(value int) *UsersListRequest

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*UsersListRequest) Parameter ¶

func (r *UsersListRequest) Parameter(name string, value interface{}) *UsersListRequest

Parameter adds a query parameter.

func (*UsersListRequest) Send ¶

func (r *UsersListRequest) Send() (result *UsersListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*UsersListRequest) SendContext ¶

func (r *UsersListRequest) SendContext(ctx context.Context) (result *UsersListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*UsersListRequest) Size ¶

func (r *UsersListRequest) Size(value int) *UsersListRequest

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type UsersListResponse ¶

type UsersListResponse struct {
	// contains filtered or unexported fields
}

UsersListResponse is the response for the 'list' method.

func (*UsersListResponse) Error ¶

func (r *UsersListResponse) Error() *errors.Error

Error returns the response error.

func (*UsersListResponse) GetItems ¶

func (r *UsersListResponse) GetItems() (value *UserList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of users.

func (*UsersListResponse) GetPage ¶

func (r *UsersListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*UsersListResponse) GetSize ¶

func (r *UsersListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*UsersListResponse) GetTotal ¶

func (r *UsersListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*UsersListResponse) Header ¶

func (r *UsersListResponse) Header() http.Header

Header returns header of the response.

func (*UsersListResponse) Items ¶

func (r *UsersListResponse) Items() *UserList

Items returns the value of the 'items' parameter.

Retrieved list of users.

func (*UsersListResponse) Page ¶

func (r *UsersListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*UsersListResponse) Size ¶

func (r *UsersListResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*UsersListResponse) Status ¶

func (r *UsersListResponse) Status() int

Status returns the response status code.

func (*UsersListResponse) Total ¶

func (r *UsersListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection.

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 UnmarshalValue ¶

func UnmarshalValue(source interface{}) (object *Value, err error)

UnmarshalValue reads a value of the 'value' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalValueList ¶

func UnmarshalValueList(source interface{}) (items []*Value, err error)

UnmarshalValueList reads a list of values of the 'value' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Value) Empty ¶

func (o *Value) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Value) GetUnit ¶

func (o *Value) GetUnit() (value string, ok bool)

GetUnit returns the value of the 'unit' attribute and a flag indicating if the attribute has a value.

Name of the unit used to measure the value.

func (*Value) GetValue ¶

func (o *Value) GetValue() (value float64, ok bool)

GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.

Numeric value.

func (*Value) Unit ¶

func (o *Value) Unit() string

Unit returns the value of the 'unit' attribute, or the zero value of the type if the attribute doesn't have a value.

Name of the unit used to measure the value.

func (*Value) Value ¶

func (o *Value) Value() float64

Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.

Numeric value.

type ValueBuilder ¶

type ValueBuilder struct {
	// contains filtered or unexported fields
}

ValueBuilder contains the data and logic needed to build 'value' objects.

Numeric value and the unit used to measure it.

Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:

- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes

- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes

func NewValue ¶

func NewValue() *ValueBuilder

NewValue creates a new builder of 'value' objects.

func (*ValueBuilder) Build ¶

func (b *ValueBuilder) Build() (object *Value, err error)

Build creates a 'value' object using the configuration stored in the builder.

func (*ValueBuilder) Copy ¶

func (b *ValueBuilder) Copy(object *Value) *ValueBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ValueBuilder) Empty ¶ added in v0.0.329

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) 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) 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 ¶ added in v0.0.329

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 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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.371

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.371

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 ¶ added in v0.1.394

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 ¶ added in v0.0.329

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 ¶ added in v0.1.368

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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.

func (*Version) HREF ¶

func (o *Version) HREF() string

HREF returns the link to the object.

func (*Version) HostedControlPlaneDefault ¶ added in v0.1.394

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 ¶ added in v0.0.329

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 ¶ added in v0.1.368

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 iif this is a link.

func (*Version) ROSAEnabled ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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.

type VersionBuilder ¶

type VersionBuilder struct {
	// contains filtered or unexported fields
}

VersionBuilder contains the data and logic needed to build 'version' objects.

Representation of an _OpenShift_ version.

func NewVersion ¶

func NewVersion() *VersionBuilder

NewVersion creates a new builder of 'version' objects.

func (*VersionBuilder) AvailableUpgrades ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.0.329

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 ¶ added in v0.1.371

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 ¶ added in v0.1.394

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 ¶ added in v0.0.329

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 ¶ added in v0.1.368

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 ¶ added in v0.0.329

func (b *VersionBuilder) ROSAEnabled(value bool) *VersionBuilder

ROSAEnabled sets the value of the 'ROSA_enabled' attribute to the given value.

func (*VersionBuilder) RawID ¶ added in v0.0.329

func (b *VersionBuilder) RawID(value string) *VersionBuilder

RawID sets the value of the 'raw_ID' attribute to the given value.

func (*VersionBuilder) ReleaseImage ¶ added in v0.0.329

func (b *VersionBuilder) ReleaseImage(value string) *VersionBuilder

ReleaseImage sets the value of the 'release_image' attribute to the given value.

type VersionClient ¶

type VersionClient struct {
	// contains filtered or unexported fields
}

VersionClient is the client of the 'version' resource.

Manages a specific version.

func NewVersionClient ¶

func NewVersionClient(transport http.RoundTripper, path string) *VersionClient

NewVersionClient creates a new client for the 'version' resource using the given transport to send the requests and receive the responses.

func (*VersionClient) Get ¶

func (c *VersionClient) Get() *VersionGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the version.

func (*VersionClient) Poll ¶

func (c *VersionClient) Poll() *VersionPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type VersionGate ¶ added in v0.0.329

type VersionGate struct {
	// contains filtered or unexported fields
}

VersionGate represents the values of the 'version_gate' type.

Representation of an _OpenShift_ version gate.

func UnmarshalVersionGate ¶ added in v0.0.329

func UnmarshalVersionGate(source interface{}) (object *VersionGate, err error)

UnmarshalVersionGate reads a value of the 'version_gate' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalVersionGateList ¶ added in v0.0.329

func UnmarshalVersionGateList(source interface{}) (items []*VersionGate, err error)

UnmarshalVersionGateList reads a list of values of the 'version_gate' type from the given source, which can be a slice of bytes, a string or a reader.

func (*VersionGate) CreationTimestamp ¶ added in v0.0.329

func (o *VersionGate) 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 version gate was created, format defined in https://www.ietf.org/rfc/rfc3339.txt[RC3339].

func (*VersionGate) Description ¶ added in v0.0.329

func (o *VersionGate) 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.

Description of the version gate.

func (*VersionGate) DocumentationURL ¶ added in v0.0.329

func (o *VersionGate) DocumentationURL() string

DocumentationURL returns the value of the 'documentation_URL' attribute, or the zero value of the type if the attribute doesn't have a value.

DocumentationURL is the URL for the documentation of the version gate.

func (*VersionGate) Empty ¶ added in v0.0.329

func (o *VersionGate) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*VersionGate) GetCreationTimestamp ¶ added in v0.0.329

func (o *VersionGate) 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 version gate was created, format defined in https://www.ietf.org/rfc/rfc3339.txt[RC3339].

func (*VersionGate) GetDescription ¶ added in v0.0.329

func (o *VersionGate) GetDescription() (value string, ok bool)

GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.

Description of the version gate.

func (*VersionGate) GetDocumentationURL ¶ added in v0.0.329

func (o *VersionGate) GetDocumentationURL() (value string, ok bool)

GetDocumentationURL returns the value of the 'documentation_URL' attribute and a flag indicating if the attribute has a value.

DocumentationURL is the URL for the documentation of the version gate.

func (*VersionGate) GetHREF ¶ added in v0.0.329

func (o *VersionGate) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*VersionGate) GetID ¶ added in v0.0.329

func (o *VersionGate) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*VersionGate) GetLabel ¶ added in v0.0.329

func (o *VersionGate) GetLabel() (value string, ok bool)

GetLabel returns the value of the 'label' attribute and a flag indicating if the attribute has a value.

Label representing the version gate in OpenShift.

func (*VersionGate) GetSTSOnly ¶ added in v0.0.329

func (o *VersionGate) GetSTSOnly() (value bool, ok bool)

GetSTSOnly returns the value of the 'STS_only' attribute and a flag indicating if the attribute has a value.

STSOnly indicates if this version gate is for STS clusters only

func (*VersionGate) GetValue ¶ added in v0.0.329

func (o *VersionGate) GetValue() (value string, ok bool)

GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.

Value represents the required value of the label.

func (*VersionGate) GetVersionRawIDPrefix ¶ added in v0.0.329

func (o *VersionGate) GetVersionRawIDPrefix() (value string, ok bool)

GetVersionRawIDPrefix returns the value of the 'version_raw_ID_prefix' attribute and a flag indicating if the attribute has a value.

VersionRawIDPrefix represents the versions prefix that the gate applies to.

func (*VersionGate) GetWarningMessage ¶ added in v0.0.329

func (o *VersionGate) GetWarningMessage() (value string, ok bool)

GetWarningMessage returns the value of the 'warning_message' attribute and a flag indicating if the attribute has a value.

WarningMessage is a warning that will be displayed to the user before they acknowledge the gate

func (*VersionGate) HREF ¶ added in v0.0.329

func (o *VersionGate) HREF() string

HREF returns the link to the object.

func (*VersionGate) ID ¶ added in v0.0.329

func (o *VersionGate) ID() string

ID returns the identifier of the object.

func (*VersionGate) Kind ¶ added in v0.0.329

func (o *VersionGate) Kind() string

Kind returns the name of the type of the object.

func (*VersionGate) Label ¶ added in v0.0.329

func (o *VersionGate) Label() string

Label returns the value of the 'label' attribute, or the zero value of the type if the attribute doesn't have a value.

Label representing the version gate in OpenShift.

func (o *VersionGate) Link() bool

Link returns true iif this is a link.

func (*VersionGate) STSOnly ¶ added in v0.0.329

func (o *VersionGate) STSOnly() bool

STSOnly returns the value of the 'STS_only' attribute, or the zero value of the type if the attribute doesn't have a value.

STSOnly indicates if this version gate is for STS clusters only

func (*VersionGate) Value ¶ added in v0.0.329

func (o *VersionGate) 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.

Value represents the required value of the label.

func (*VersionGate) VersionRawIDPrefix ¶ added in v0.0.329

func (o *VersionGate) VersionRawIDPrefix() string

VersionRawIDPrefix returns the value of the 'version_raw_ID_prefix' attribute, or the zero value of the type if the attribute doesn't have a value.

VersionRawIDPrefix represents the versions prefix that the gate applies to.

func (*VersionGate) WarningMessage ¶ added in v0.0.329

func (o *VersionGate) WarningMessage() string

WarningMessage returns the value of the 'warning_message' attribute, or the zero value of the type if the attribute doesn't have a value.

WarningMessage is a warning that will be displayed to the user before they acknowledge the gate

type VersionGateAgreement ¶ added in v0.0.329

type VersionGateAgreement struct {
	// contains filtered or unexported fields
}

VersionGateAgreement represents the values of the 'version_gate_agreement' type.

VersionGateAgreement represents a version gate that the user agreed to for a specific cluster.

func UnmarshalVersionGateAgreement ¶ added in v0.0.329

func UnmarshalVersionGateAgreement(source interface{}) (object *VersionGateAgreement, err error)

UnmarshalVersionGateAgreement reads a value of the 'version_gate_agreement' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalVersionGateAgreementList ¶ added in v0.0.329

func UnmarshalVersionGateAgreementList(source interface{}) (items []*VersionGateAgreement, err error)

UnmarshalVersionGateAgreementList reads a list of values of the 'version_gate_agreement' type from the given source, which can be a slice of bytes, a string or a reader.

func (*VersionGateAgreement) AgreedTimestamp ¶ added in v0.0.329

func (o *VersionGateAgreement) AgreedTimestamp() time.Time

AgreedTimestamp returns the value of the 'agreed_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.

The time the user agreed to the version gate

func (*VersionGateAgreement) Empty ¶ added in v0.0.329

func (o *VersionGateAgreement) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*VersionGateAgreement) GetAgreedTimestamp ¶ added in v0.0.329

func (o *VersionGateAgreement) GetAgreedTimestamp() (value time.Time, ok bool)

GetAgreedTimestamp returns the value of the 'agreed_timestamp' attribute and a flag indicating if the attribute has a value.

The time the user agreed to the version gate

func (*VersionGateAgreement) GetHREF ¶ added in v0.0.329

func (o *VersionGateAgreement) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*VersionGateAgreement) GetID ¶ added in v0.0.329

func (o *VersionGateAgreement) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*VersionGateAgreement) GetVersionGate ¶ added in v0.0.329

func (o *VersionGateAgreement) GetVersionGate() (value *VersionGate, ok bool)

GetVersionGate returns the value of the 'version_gate' attribute and a flag indicating if the attribute has a value.

link to the version gate that the user agreed to

func (*VersionGateAgreement) HREF ¶ added in v0.0.329

func (o *VersionGateAgreement) HREF() string

HREF returns the link to the object.

func (*VersionGateAgreement) ID ¶ added in v0.0.329

func (o *VersionGateAgreement) ID() string

ID returns the identifier of the object.

func (*VersionGateAgreement) Kind ¶ added in v0.0.329

func (o *VersionGateAgreement) Kind() string

Kind returns the name of the type of the object.

func (o *VersionGateAgreement) Link() bool

Link returns true iif this is a link.

func (*VersionGateAgreement) VersionGate ¶ added in v0.0.329

func (o *VersionGateAgreement) VersionGate() *VersionGate

VersionGate returns the value of the 'version_gate' attribute, or the zero value of the type if the attribute doesn't have a value.

link to the version gate that the user agreed to

type VersionGateAgreementBuilder ¶ added in v0.0.329

type VersionGateAgreementBuilder struct {
	// contains filtered or unexported fields
}

VersionGateAgreementBuilder contains the data and logic needed to build 'version_gate_agreement' objects.

VersionGateAgreement represents a version gate that the user agreed to for a specific cluster.

func NewVersionGateAgreement ¶ added in v0.0.329

func NewVersionGateAgreement() *VersionGateAgreementBuilder

NewVersionGateAgreement creates a new builder of 'version_gate_agreement' objects.

func (*VersionGateAgreementBuilder) AgreedTimestamp ¶ added in v0.0.329

AgreedTimestamp sets the value of the 'agreed_timestamp' attribute to the given value.

func (*VersionGateAgreementBuilder) Build ¶ added in v0.0.329

func (b *VersionGateAgreementBuilder) Build() (object *VersionGateAgreement, err error)

Build creates a 'version_gate_agreement' object using the configuration stored in the builder.

func (*VersionGateAgreementBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*VersionGateAgreementBuilder) Empty ¶ added in v0.0.329

func (b *VersionGateAgreementBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*VersionGateAgreementBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*VersionGateAgreementBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*VersionGateAgreementBuilder) VersionGate ¶ added in v0.0.329

VersionGate sets the value of the 'version_gate' attribute to the given value.

Representation of an _OpenShift_ version gate.

type VersionGateAgreementClient ¶ added in v0.0.329

type VersionGateAgreementClient struct {
	// contains filtered or unexported fields
}

VersionGateAgreementClient is the client of the 'version_gate_agreement' resource.

Manages a specific version gate agreement.

func NewVersionGateAgreementClient ¶ added in v0.0.329

func NewVersionGateAgreementClient(transport http.RoundTripper, path string) *VersionGateAgreementClient

NewVersionGateAgreementClient creates a new client for the 'version_gate_agreement' resource using the given transport to send the requests and receive the responses.

func (*VersionGateAgreementClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the version gate agreement.

func (*VersionGateAgreementClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the version gate agreement.

func (*VersionGateAgreementClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type VersionGateAgreementDeleteRequest ¶ added in v0.0.329

type VersionGateAgreementDeleteRequest struct {
	// contains filtered or unexported fields
}

VersionGateAgreementDeleteRequest is the request for the 'delete' method.

func (*VersionGateAgreementDeleteRequest) Header ¶ added in v0.0.329

Header adds a request header.

func (*VersionGateAgreementDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VersionGateAgreementDeleteRequest) Parameter ¶ added in v0.0.329

func (r *VersionGateAgreementDeleteRequest) Parameter(name string, value interface{}) *VersionGateAgreementDeleteRequest

Parameter adds a query parameter.

func (*VersionGateAgreementDeleteRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VersionGateAgreementDeleteRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type VersionGateAgreementDeleteResponse ¶ added in v0.0.329

type VersionGateAgreementDeleteResponse struct {
	// contains filtered or unexported fields
}

VersionGateAgreementDeleteResponse is the response for the 'delete' method.

func (*VersionGateAgreementDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*VersionGateAgreementDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*VersionGateAgreementDeleteResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type VersionGateAgreementGetRequest ¶ added in v0.0.329

type VersionGateAgreementGetRequest struct {
	// contains filtered or unexported fields
}

VersionGateAgreementGetRequest is the request for the 'get' method.

func (*VersionGateAgreementGetRequest) Header ¶ added in v0.0.329

func (r *VersionGateAgreementGetRequest) Header(name string, value interface{}) *VersionGateAgreementGetRequest

Header adds a request header.

func (*VersionGateAgreementGetRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VersionGateAgreementGetRequest) Parameter ¶ added in v0.0.329

func (r *VersionGateAgreementGetRequest) Parameter(name string, value interface{}) *VersionGateAgreementGetRequest

Parameter adds a query parameter.

func (*VersionGateAgreementGetRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VersionGateAgreementGetRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type VersionGateAgreementGetResponse ¶ added in v0.0.329

type VersionGateAgreementGetResponse struct {
	// contains filtered or unexported fields
}

VersionGateAgreementGetResponse is the response for the 'get' method.

func (*VersionGateAgreementGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*VersionGateAgreementGetResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*VersionGateAgreementGetResponse) GetBody ¶ added in v0.0.329

func (r *VersionGateAgreementGetResponse) GetBody() (value *VersionGateAgreement, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*VersionGateAgreementGetResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*VersionGateAgreementGetResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type VersionGateAgreementList ¶ added in v0.0.329

type VersionGateAgreementList struct {
	// contains filtered or unexported fields
}

VersionGateAgreementList is a list of values of the 'version_gate_agreement' type.

func (*VersionGateAgreementList) Each ¶ added in v0.0.329

func (l *VersionGateAgreementList) Each(f func(item *VersionGateAgreement) 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 (*VersionGateAgreementList) Empty ¶ added in v0.0.329

func (l *VersionGateAgreementList) Empty() bool

Empty returns true if the list is empty.

func (*VersionGateAgreementList) Get ¶ added in v0.0.329

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*VersionGateAgreementList) GetHREF ¶ added in v0.0.329

func (l *VersionGateAgreementList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*VersionGateAgreementList) HREF ¶ added in v0.0.329

func (l *VersionGateAgreementList) HREF() string

HREF returns the link to the list.

func (*VersionGateAgreementList) Kind ¶ added in v0.0.329

func (l *VersionGateAgreementList) Kind() string

Kind returns the name of the type of the object.

func (*VersionGateAgreementList) Len ¶ added in v0.0.329

func (l *VersionGateAgreementList) Len() int

Len returns the length of the list.

func (l *VersionGateAgreementList) Link() bool

Link returns true iif this is a link.

func (*VersionGateAgreementList) Range ¶ added in v0.0.329

func (l *VersionGateAgreementList) Range(f func(index int, item *VersionGateAgreement) 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 (*VersionGateAgreementList) Slice ¶ added in v0.0.329

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 VersionGateAgreementListBuilder ¶ added in v0.0.329

type VersionGateAgreementListBuilder struct {
	// contains filtered or unexported fields
}

VersionGateAgreementListBuilder contains the data and logic needed to build 'version_gate_agreement' objects.

func NewVersionGateAgreementList ¶ added in v0.0.329

func NewVersionGateAgreementList() *VersionGateAgreementListBuilder

NewVersionGateAgreementList creates a new builder of 'version_gate_agreement' objects.

func (*VersionGateAgreementListBuilder) Build ¶ added in v0.0.329

Build creates a list of 'version_gate_agreement' objects using the configuration stored in the builder.

func (*VersionGateAgreementListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*VersionGateAgreementListBuilder) Empty ¶ added in v0.0.329

Empty returns true if the list is empty.

func (*VersionGateAgreementListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type VersionGateAgreementPollRequest ¶ added in v0.0.329

type VersionGateAgreementPollRequest struct {
	// contains filtered or unexported fields
}

VersionGateAgreementPollRequest is the request for the Poll method.

func (*VersionGateAgreementPollRequest) Header ¶ added in v0.0.329

func (r *VersionGateAgreementPollRequest) Header(name string, value interface{}) *VersionGateAgreementPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*VersionGateAgreementPollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*VersionGateAgreementPollRequest) Parameter ¶ added in v0.0.329

func (r *VersionGateAgreementPollRequest) Parameter(name string, value interface{}) *VersionGateAgreementPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*VersionGateAgreementPollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*VersionGateAgreementPollRequest) StartContext ¶ added in v0.0.329

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*VersionGateAgreementPollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type VersionGateAgreementPollResponse ¶ added in v0.0.329

type VersionGateAgreementPollResponse struct {
	// contains filtered or unexported fields
}

VersionGateAgreementPollResponse is the response for the Poll method.

func (*VersionGateAgreementPollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*VersionGateAgreementPollResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*VersionGateAgreementPollResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*VersionGateAgreementPollResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*VersionGateAgreementPollResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type VersionGateAgreementsAddRequest ¶ added in v0.0.329

type VersionGateAgreementsAddRequest struct {
	// contains filtered or unexported fields
}

VersionGateAgreementsAddRequest is the request for the 'add' method.

func (*VersionGateAgreementsAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Details of the version gate agreement.

func (*VersionGateAgreementsAddRequest) Header ¶ added in v0.0.329

func (r *VersionGateAgreementsAddRequest) Header(name string, value interface{}) *VersionGateAgreementsAddRequest

Header adds a request header.

func (*VersionGateAgreementsAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VersionGateAgreementsAddRequest) Parameter ¶ added in v0.0.329

func (r *VersionGateAgreementsAddRequest) Parameter(name string, value interface{}) *VersionGateAgreementsAddRequest

Parameter adds a query parameter.

func (*VersionGateAgreementsAddRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VersionGateAgreementsAddRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

type VersionGateAgreementsAddResponse ¶ added in v0.0.329

type VersionGateAgreementsAddResponse struct {
	// contains filtered or unexported fields
}

VersionGateAgreementsAddResponse is the response for the 'add' method.

func (*VersionGateAgreementsAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Details of the version gate agreement.

func (*VersionGateAgreementsAddResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*VersionGateAgreementsAddResponse) GetBody ¶ added in v0.0.329

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Details of the version gate agreement.

func (*VersionGateAgreementsAddResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*VersionGateAgreementsAddResponse) Status ¶ added in v0.0.329

Status returns the response status code.

type VersionGateAgreementsClient ¶ added in v0.0.329

type VersionGateAgreementsClient struct {
	// contains filtered or unexported fields
}

VersionGateAgreementsClient is the client of the 'version_gate_agreements' resource.

Manages the collection of version gates agreements for a cluster.

func NewVersionGateAgreementsClient ¶ added in v0.0.329

func NewVersionGateAgreementsClient(transport http.RoundTripper, path string) *VersionGateAgreementsClient

NewVersionGateAgreementsClient creates a new client for the 'version_gate_agreements' resource using the given transport to send the requests and receive the responses.

func (*VersionGateAgreementsClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new agreed version gate to the cluster.

func (*VersionGateAgreementsClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves the list of reasons.

func (*VersionGateAgreementsClient) VersionGateAgreement ¶ added in v0.0.329

func (c *VersionGateAgreementsClient) VersionGateAgreement(id string) *VersionGateAgreementClient

VersionGateAgreement returns the target 'version_gate_agreement' resource for the given identifier.

Reference to the service that manages a specific version gate agreement.

type VersionGateAgreementsListRequest ¶ added in v0.0.329

type VersionGateAgreementsListRequest struct {
	// contains filtered or unexported fields
}

VersionGateAgreementsListRequest is the request for the 'list' method.

func (*VersionGateAgreementsListRequest) Header ¶ added in v0.0.329

func (r *VersionGateAgreementsListRequest) Header(name string, value interface{}) *VersionGateAgreementsListRequest

Header adds a request header.

func (*VersionGateAgreementsListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VersionGateAgreementsListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*VersionGateAgreementsListRequest) Parameter ¶ added in v0.0.329

func (r *VersionGateAgreementsListRequest) Parameter(name string, value interface{}) *VersionGateAgreementsListRequest

Parameter adds a query parameter.

func (*VersionGateAgreementsListRequest) Send ¶ added in v0.0.329

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VersionGateAgreementsListRequest) SendContext ¶ added in v0.0.329

SendContext sends this request, waits for the response, and returns it.

func (*VersionGateAgreementsListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items contained in the returned page.

type VersionGateAgreementsListResponse ¶ added in v0.0.329

type VersionGateAgreementsListResponse struct {
	// contains filtered or unexported fields
}

VersionGateAgreementsListResponse is the response for the 'list' method.

func (*VersionGateAgreementsListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*VersionGateAgreementsListResponse) GetItems ¶ added in v0.0.329

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of version gate agreement.

func (*VersionGateAgreementsListResponse) GetPage ¶ added in v0.0.329

func (r *VersionGateAgreementsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*VersionGateAgreementsListResponse) GetSize ¶ added in v0.0.329

func (r *VersionGateAgreementsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items contained in the returned page.

func (*VersionGateAgreementsListResponse) GetTotal ¶ added in v0.0.329

func (r *VersionGateAgreementsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection.

func (*VersionGateAgreementsListResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*VersionGateAgreementsListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of version gate agreement.

func (*VersionGateAgreementsListResponse) Page ¶ added in v0.0.329

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*VersionGateAgreementsListResponse) Size ¶ added in v0.0.329

Size returns the value of the 'size' parameter.

Number of items contained in the returned page.

func (*VersionGateAgreementsListResponse) Status ¶ added in v0.0.329

Status returns the response status code.

func (*VersionGateAgreementsListResponse) Total ¶ added in v0.0.329

Total returns the value of the 'total' parameter.

Total number of items of the collection.

type VersionGateBuilder ¶ added in v0.0.329

type VersionGateBuilder struct {
	// contains filtered or unexported fields
}

VersionGateBuilder contains the data and logic needed to build 'version_gate' objects.

Representation of an _OpenShift_ version gate.

func NewVersionGate ¶ added in v0.0.329

func NewVersionGate() *VersionGateBuilder

NewVersionGate creates a new builder of 'version_gate' objects.

func (*VersionGateBuilder) Build ¶ added in v0.0.329

func (b *VersionGateBuilder) Build() (object *VersionGate, err error)

Build creates a 'version_gate' object using the configuration stored in the builder.

func (*VersionGateBuilder) Copy ¶ added in v0.0.329

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*VersionGateBuilder) CreationTimestamp ¶ added in v0.0.329

func (b *VersionGateBuilder) CreationTimestamp(value time.Time) *VersionGateBuilder

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*VersionGateBuilder) Description ¶ added in v0.0.329

func (b *VersionGateBuilder) Description(value string) *VersionGateBuilder

Description sets the value of the 'description' attribute to the given value.

func (*VersionGateBuilder) DocumentationURL ¶ added in v0.0.329

func (b *VersionGateBuilder) DocumentationURL(value string) *VersionGateBuilder

DocumentationURL sets the value of the 'documentation_URL' attribute to the given value.

func (*VersionGateBuilder) Empty ¶ added in v0.0.329

func (b *VersionGateBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*VersionGateBuilder) HREF ¶ added in v0.0.329

HREF sets the link to the object.

func (*VersionGateBuilder) ID ¶ added in v0.0.329

ID sets the identifier of the object.

func (*VersionGateBuilder) Label ¶ added in v0.0.329

func (b *VersionGateBuilder) Label(value string) *VersionGateBuilder

Label sets the value of the 'label' attribute to the given value.

func (b *VersionGateBuilder) Link(value bool) *VersionGateBuilder

Link sets the flag that indicates if this is a link.

func (*VersionGateBuilder) STSOnly ¶ added in v0.0.329

func (b *VersionGateBuilder) STSOnly(value bool) *VersionGateBuilder

STSOnly sets the value of the 'STS_only' attribute to the given value.

func (*VersionGateBuilder) Value ¶ added in v0.0.329

func (b *VersionGateBuilder) Value(value string) *VersionGateBuilder

Value sets the value of the 'value' attribute to the given value.

func (*VersionGateBuilder) VersionRawIDPrefix ¶ added in v0.0.329

func (b *VersionGateBuilder) VersionRawIDPrefix(value string) *VersionGateBuilder

VersionRawIDPrefix sets the value of the 'version_raw_ID_prefix' attribute to the given value.

func (*VersionGateBuilder) WarningMessage ¶ added in v0.0.329

func (b *VersionGateBuilder) WarningMessage(value string) *VersionGateBuilder

WarningMessage sets the value of the 'warning_message' attribute to the given value.

type VersionGateClient ¶ added in v0.0.329

type VersionGateClient struct {
	// contains filtered or unexported fields
}

VersionGateClient is the client of the 'version_gate' resource.

Manages a specific version gate.

func NewVersionGateClient ¶ added in v0.0.329

func NewVersionGateClient(transport http.RoundTripper, path string) *VersionGateClient

NewVersionGateClient creates a new client for the 'version_gate' resource using the given transport to send the requests and receive the responses.

func (*VersionGateClient) Delete ¶ added in v0.0.329

Delete creates a request for the 'delete' method.

Deletes the version gate.

func (*VersionGateClient) Get ¶ added in v0.0.329

Get creates a request for the 'get' method.

Retrieves the details of the version gate.

func (*VersionGateClient) Poll ¶ added in v0.0.329

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type VersionGateDeleteRequest ¶ added in v0.0.329

type VersionGateDeleteRequest struct {
	// contains filtered or unexported fields
}

VersionGateDeleteRequest is the request for the 'delete' method.

func (*VersionGateDeleteRequest) Header ¶ added in v0.0.329

func (r *VersionGateDeleteRequest) Header(name string, value interface{}) *VersionGateDeleteRequest

Header adds a request header.

func (*VersionGateDeleteRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VersionGateDeleteRequest) Parameter ¶ added in v0.0.329

func (r *VersionGateDeleteRequest) Parameter(name string, value interface{}) *VersionGateDeleteRequest

Parameter adds a query parameter.

func (*VersionGateDeleteRequest) Send ¶ added in v0.0.329

func (r *VersionGateDeleteRequest) Send() (result *VersionGateDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VersionGateDeleteRequest) SendContext ¶ added in v0.0.329

func (r *VersionGateDeleteRequest) SendContext(ctx context.Context) (result *VersionGateDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type VersionGateDeleteResponse ¶ added in v0.0.329

type VersionGateDeleteResponse struct {
	// contains filtered or unexported fields
}

VersionGateDeleteResponse is the response for the 'delete' method.

func (*VersionGateDeleteResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*VersionGateDeleteResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*VersionGateDeleteResponse) Status ¶ added in v0.0.329

func (r *VersionGateDeleteResponse) Status() int

Status returns the response status code.

type VersionGateGetRequest ¶ added in v0.0.329

type VersionGateGetRequest struct {
	// contains filtered or unexported fields
}

VersionGateGetRequest is the request for the 'get' method.

func (*VersionGateGetRequest) Header ¶ added in v0.0.329

func (r *VersionGateGetRequest) Header(name string, value interface{}) *VersionGateGetRequest

Header adds a request header.

func (*VersionGateGetRequest) Impersonate ¶ added in v0.0.329

func (r *VersionGateGetRequest) Impersonate(user string) *VersionGateGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VersionGateGetRequest) Parameter ¶ added in v0.0.329

func (r *VersionGateGetRequest) Parameter(name string, value interface{}) *VersionGateGetRequest

Parameter adds a query parameter.

func (*VersionGateGetRequest) Send ¶ added in v0.0.329

func (r *VersionGateGetRequest) Send() (result *VersionGateGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VersionGateGetRequest) SendContext ¶ added in v0.0.329

func (r *VersionGateGetRequest) SendContext(ctx context.Context) (result *VersionGateGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type VersionGateGetResponse ¶ added in v0.0.329

type VersionGateGetResponse struct {
	// contains filtered or unexported fields
}

VersionGateGetResponse is the response for the 'get' method.

func (*VersionGateGetResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*VersionGateGetResponse) Error ¶ added in v0.0.329

func (r *VersionGateGetResponse) Error() *errors.Error

Error returns the response error.

func (*VersionGateGetResponse) GetBody ¶ added in v0.0.329

func (r *VersionGateGetResponse) GetBody() (value *VersionGate, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*VersionGateGetResponse) Header ¶ added in v0.0.329

func (r *VersionGateGetResponse) Header() http.Header

Header returns header of the response.

func (*VersionGateGetResponse) Status ¶ added in v0.0.329

func (r *VersionGateGetResponse) Status() int

Status returns the response status code.

type VersionGateList ¶ added in v0.0.329

type VersionGateList struct {
	// contains filtered or unexported fields
}

VersionGateList is a list of values of the 'version_gate' type.

func (*VersionGateList) Each ¶ added in v0.0.329

func (l *VersionGateList) Each(f func(item *VersionGate) 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 (*VersionGateList) Empty ¶ added in v0.0.329

func (l *VersionGateList) Empty() bool

Empty returns true if the list is empty.

func (*VersionGateList) Get ¶ added in v0.0.329

func (l *VersionGateList) Get(i int) *VersionGate

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*VersionGateList) GetHREF ¶ added in v0.0.329

func (l *VersionGateList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*VersionGateList) HREF ¶ added in v0.0.329

func (l *VersionGateList) HREF() string

HREF returns the link to the list.

func (*VersionGateList) Kind ¶ added in v0.0.329

func (l *VersionGateList) Kind() string

Kind returns the name of the type of the object.

func (*VersionGateList) Len ¶ added in v0.0.329

func (l *VersionGateList) Len() int

Len returns the length of the list.

func (l *VersionGateList) Link() bool

Link returns true iif this is a link.

func (*VersionGateList) Range ¶ added in v0.0.329

func (l *VersionGateList) Range(f func(index int, item *VersionGate) 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 (*VersionGateList) Slice ¶ added in v0.0.329

func (l *VersionGateList) Slice() []*VersionGate

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 VersionGateListBuilder ¶ added in v0.0.329

type VersionGateListBuilder struct {
	// contains filtered or unexported fields
}

VersionGateListBuilder contains the data and logic needed to build 'version_gate' objects.

func NewVersionGateList ¶ added in v0.0.329

func NewVersionGateList() *VersionGateListBuilder

NewVersionGateList creates a new builder of 'version_gate' objects.

func (*VersionGateListBuilder) Build ¶ added in v0.0.329

func (b *VersionGateListBuilder) Build() (list *VersionGateList, err error)

Build creates a list of 'version_gate' objects using the configuration stored in the builder.

func (*VersionGateListBuilder) Copy ¶ added in v0.0.329

Copy copies the items of the given list into this builder, discarding any previous items.

func (*VersionGateListBuilder) Empty ¶ added in v0.0.329

func (b *VersionGateListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*VersionGateListBuilder) Items ¶ added in v0.0.329

Items sets the items of the list.

type VersionGatePollRequest ¶ added in v0.0.329

type VersionGatePollRequest struct {
	// contains filtered or unexported fields
}

VersionGatePollRequest is the request for the Poll method.

func (*VersionGatePollRequest) Header ¶ added in v0.0.329

func (r *VersionGatePollRequest) Header(name string, value interface{}) *VersionGatePollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*VersionGatePollRequest) Interval ¶ added in v0.0.329

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*VersionGatePollRequest) Parameter ¶ added in v0.0.329

func (r *VersionGatePollRequest) Parameter(name string, value interface{}) *VersionGatePollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*VersionGatePollRequest) Predicate ¶ added in v0.0.329

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*VersionGatePollRequest) StartContext ¶ added in v0.0.329

func (r *VersionGatePollRequest) StartContext(ctx context.Context) (response *VersionGatePollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*VersionGatePollRequest) Status ¶ added in v0.0.329

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type VersionGatePollResponse ¶ added in v0.0.329

type VersionGatePollResponse struct {
	// contains filtered or unexported fields
}

VersionGatePollResponse is the response for the Poll method.

func (*VersionGatePollResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

func (*VersionGatePollResponse) Error ¶ added in v0.0.329

func (r *VersionGatePollResponse) Error() *errors.Error

Error returns the response error.

func (*VersionGatePollResponse) GetBody ¶ added in v0.0.329

func (r *VersionGatePollResponse) GetBody() (value *VersionGate, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*VersionGatePollResponse) Header ¶ added in v0.0.329

func (r *VersionGatePollResponse) Header() http.Header

Header returns header of the response.

func (*VersionGatePollResponse) Status ¶ added in v0.0.329

func (r *VersionGatePollResponse) Status() int

Status returns the response status code.

type VersionGatesAddRequest ¶ added in v0.0.329

type VersionGatesAddRequest struct {
	// contains filtered or unexported fields
}

VersionGatesAddRequest is the request for the 'add' method.

func (*VersionGatesAddRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Details of the version gate

func (*VersionGatesAddRequest) Header ¶ added in v0.0.329

func (r *VersionGatesAddRequest) Header(name string, value interface{}) *VersionGatesAddRequest

Header adds a request header.

func (*VersionGatesAddRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VersionGatesAddRequest) Parameter ¶ added in v0.0.329

func (r *VersionGatesAddRequest) Parameter(name string, value interface{}) *VersionGatesAddRequest

Parameter adds a query parameter.

func (*VersionGatesAddRequest) Send ¶ added in v0.0.329

func (r *VersionGatesAddRequest) Send() (result *VersionGatesAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VersionGatesAddRequest) SendContext ¶ added in v0.0.329

func (r *VersionGatesAddRequest) SendContext(ctx context.Context) (result *VersionGatesAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type VersionGatesAddResponse ¶ added in v0.0.329

type VersionGatesAddResponse struct {
	// contains filtered or unexported fields
}

VersionGatesAddResponse is the response for the 'add' method.

func (*VersionGatesAddResponse) Body ¶ added in v0.0.329

Body returns the value of the 'body' parameter.

Details of the version gate

func (*VersionGatesAddResponse) Error ¶ added in v0.0.329

func (r *VersionGatesAddResponse) Error() *errors.Error

Error returns the response error.

func (*VersionGatesAddResponse) GetBody ¶ added in v0.0.329

func (r *VersionGatesAddResponse) GetBody() (value *VersionGate, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Details of the version gate

func (*VersionGatesAddResponse) Header ¶ added in v0.0.329

func (r *VersionGatesAddResponse) Header() http.Header

Header returns header of the response.

func (*VersionGatesAddResponse) Status ¶ added in v0.0.329

func (r *VersionGatesAddResponse) Status() int

Status returns the response status code.

type VersionGatesClient ¶ added in v0.0.329

type VersionGatesClient struct {
	// contains filtered or unexported fields
}

VersionGatesClient is the client of the 'version_gates' resource.

Manages the collection of version gates.

func NewVersionGatesClient ¶ added in v0.0.329

func NewVersionGatesClient(transport http.RoundTripper, path string) *VersionGatesClient

NewVersionGatesClient creates a new client for the 'version_gates' resource using the given transport to send the requests and receive the responses.

func (*VersionGatesClient) Add ¶ added in v0.0.329

Add creates a request for the 'add' method.

Adds a new version gate

func (*VersionGatesClient) List ¶ added in v0.0.329

List creates a request for the 'list' method.

Retrieves a list of version gates.

func (*VersionGatesClient) VersionGate ¶ added in v0.0.329

func (c *VersionGatesClient) VersionGate(id string) *VersionGateClient

VersionGate returns the target 'version_gate' resource for the given identifier.

Reference to the resource that manages a specific version gate.

type VersionGatesListRequest ¶ added in v0.0.329

type VersionGatesListRequest struct {
	// contains filtered or unexported fields
}

VersionGatesListRequest is the request for the 'list' method.

func (*VersionGatesListRequest) Header ¶ added in v0.0.329

func (r *VersionGatesListRequest) Header(name string, value interface{}) *VersionGatesListRequest

Header adds a request header.

func (*VersionGatesListRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VersionGatesListRequest) Order ¶ added in v0.0.329

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of an SQL statement, but using the names of the attributes of the version gate instead of the names of the columns of a table. For example, in order to sort the version gates descending by identifier the value should be:

```sql id desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*VersionGatesListRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*VersionGatesListRequest) Parameter ¶ added in v0.0.329

func (r *VersionGatesListRequest) Parameter(name string, value interface{}) *VersionGatesListRequest

Parameter adds a query parameter.

func (*VersionGatesListRequest) Search ¶ added in v0.0.329

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the version gate instead of the names of the columns of a table.

If the parameter isn't provided, or if the value is empty, then all the version gates that the user has permission to see will be returned.

func (*VersionGatesListRequest) Send ¶ added in v0.0.329

func (r *VersionGatesListRequest) Send() (result *VersionGatesListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VersionGatesListRequest) SendContext ¶ added in v0.0.329

func (r *VersionGatesListRequest) SendContext(ctx context.Context) (result *VersionGatesListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*VersionGatesListRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

Default value is `100`.

type VersionGatesListResponse ¶ added in v0.0.329

type VersionGatesListResponse struct {
	// contains filtered or unexported fields
}

VersionGatesListResponse is the response for the 'list' method.

func (*VersionGatesListResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*VersionGatesListResponse) GetItems ¶ added in v0.0.329

func (r *VersionGatesListResponse) GetItems() (value *VersionGateList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of version gates.

func (*VersionGatesListResponse) GetPage ¶ added in v0.0.329

func (r *VersionGatesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*VersionGatesListResponse) GetSize ¶ added in v0.0.329

func (r *VersionGatesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

Default value is `100`.

func (*VersionGatesListResponse) GetTotal ¶ added in v0.0.329

func (r *VersionGatesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*VersionGatesListResponse) Header ¶ added in v0.0.329

func (r *VersionGatesListResponse) Header() http.Header

Header returns header of the response.

func (*VersionGatesListResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of version gates.

func (*VersionGatesListResponse) Page ¶ added in v0.0.329

func (r *VersionGatesListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*VersionGatesListResponse) Size ¶ added in v0.0.329

func (r *VersionGatesListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

Default value is `100`.

func (*VersionGatesListResponse) Status ¶ added in v0.0.329

func (r *VersionGatesListResponse) Status() int

Status returns the response status code.

func (*VersionGatesListResponse) Total ¶ added in v0.0.329

func (r *VersionGatesListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type VersionGetRequest ¶

type VersionGetRequest struct {
	// contains filtered or unexported fields
}

VersionGetRequest is the request for the 'get' method.

func (*VersionGetRequest) Header ¶

func (r *VersionGetRequest) Header(name string, value interface{}) *VersionGetRequest

Header adds a request header.

func (*VersionGetRequest) Impersonate ¶ added in v0.0.329

func (r *VersionGetRequest) Impersonate(user string) *VersionGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VersionGetRequest) Parameter ¶

func (r *VersionGetRequest) Parameter(name string, value interface{}) *VersionGetRequest

Parameter adds a query parameter.

func (*VersionGetRequest) Send ¶

func (r *VersionGetRequest) Send() (result *VersionGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VersionGetRequest) SendContext ¶

func (r *VersionGetRequest) SendContext(ctx context.Context) (result *VersionGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type VersionGetResponse ¶

type VersionGetResponse struct {
	// contains filtered or unexported fields
}

VersionGetResponse is the response for the 'get' method.

func (*VersionGetResponse) Body ¶

func (r *VersionGetResponse) Body() *Version

Body returns the value of the 'body' parameter.

func (*VersionGetResponse) Error ¶

func (r *VersionGetResponse) Error() *errors.Error

Error returns the response error.

func (*VersionGetResponse) GetBody ¶

func (r *VersionGetResponse) GetBody() (value *Version, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*VersionGetResponse) Header ¶

func (r *VersionGetResponse) Header() http.Header

Header returns header of the response.

func (*VersionGetResponse) Status ¶

func (r *VersionGetResponse) Status() int

Status returns the response status code.

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) 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) 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 ¶ added in v0.0.329

func (b *VersionListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*VersionListBuilder) Items ¶

Items sets the items of the list.

type VersionPollRequest ¶

type VersionPollRequest struct {
	// contains filtered or unexported fields
}

VersionPollRequest is the request for the Poll method.

func (*VersionPollRequest) Header ¶

func (r *VersionPollRequest) Header(name string, value interface{}) *VersionPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*VersionPollRequest) Interval ¶

func (r *VersionPollRequest) Interval(value time.Duration) *VersionPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*VersionPollRequest) Parameter ¶

func (r *VersionPollRequest) Parameter(name string, value interface{}) *VersionPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*VersionPollRequest) Predicate ¶

func (r *VersionPollRequest) Predicate(value func(*VersionGetResponse) bool) *VersionPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*VersionPollRequest) StartContext ¶

func (r *VersionPollRequest) StartContext(ctx context.Context) (response *VersionPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*VersionPollRequest) Status ¶

func (r *VersionPollRequest) Status(value int) *VersionPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type VersionPollResponse ¶

type VersionPollResponse struct {
	// contains filtered or unexported fields
}

VersionPollResponse is the response for the Poll method.

func (*VersionPollResponse) Body ¶

func (r *VersionPollResponse) Body() *Version

Body returns the value of the 'body' parameter.

func (*VersionPollResponse) Error ¶

func (r *VersionPollResponse) Error() *errors.Error

Error returns the response error.

func (*VersionPollResponse) GetBody ¶

func (r *VersionPollResponse) GetBody() (value *Version, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*VersionPollResponse) Header ¶

func (r *VersionPollResponse) Header() http.Header

Header returns header of the response.

func (*VersionPollResponse) Status ¶

func (r *VersionPollResponse) Status() int

Status returns the response status code.

type VersionsClient ¶

type VersionsClient struct {
	// contains filtered or unexported fields
}

VersionsClient is the client of the 'versions' resource.

Manages the collection of versions.

func NewVersionsClient ¶

func NewVersionsClient(transport http.RoundTripper, path string) *VersionsClient

NewVersionsClient creates a new client for the 'versions' resource using the given transport to send the requests and receive the responses.

func (*VersionsClient) List ¶

List creates a request for the 'list' method.

Retrieves a list of versions.

func (*VersionsClient) Version ¶

func (c *VersionsClient) Version(id string) *VersionClient

Version returns the target 'version' resource for the given identifier.

Reference to the resource that manages a specific version.

type VersionsListRequest ¶

type VersionsListRequest struct {
	// contains filtered or unexported fields
}

VersionsListRequest is the request for the 'list' method.

func (*VersionsListRequest) Header ¶

func (r *VersionsListRequest) Header(name string, value interface{}) *VersionsListRequest

Header adds a request header.

func (*VersionsListRequest) Impersonate ¶ added in v0.0.329

func (r *VersionsListRequest) Impersonate(user string) *VersionsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VersionsListRequest) Order ¶

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the version instead of the names of the columns of a table. For example, in order to sort the versions descending by identifier the value should be:

```sql id desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*VersionsListRequest) Page ¶

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*VersionsListRequest) Parameter ¶

func (r *VersionsListRequest) Parameter(name string, value interface{}) *VersionsListRequest

Parameter adds a query parameter.

func (*VersionsListRequest) Search ¶

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the version instead of the names of the columns of a table. For example, in order to retrieve all the versions that are enabled:

```sql enabled = 't' ```

If the parameter isn't provided, or if the value is empty, then all the versions that the user has permission to see will be returned.

func (*VersionsListRequest) Send ¶

func (r *VersionsListRequest) Send() (result *VersionsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VersionsListRequest) SendContext ¶

func (r *VersionsListRequest) SendContext(ctx context.Context) (result *VersionsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*VersionsListRequest) Size ¶

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

Default value is `100`.

type VersionsListResponse ¶

type VersionsListResponse struct {
	// contains filtered or unexported fields
}

VersionsListResponse is the response for the 'list' method.

func (*VersionsListResponse) Error ¶

func (r *VersionsListResponse) Error() *errors.Error

Error returns the response error.

func (*VersionsListResponse) GetItems ¶

func (r *VersionsListResponse) GetItems() (value *VersionList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of versions.

func (*VersionsListResponse) GetPage ¶

func (r *VersionsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*VersionsListResponse) GetSize ¶

func (r *VersionsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

Default value is `100`.

func (*VersionsListResponse) GetTotal ¶

func (r *VersionsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*VersionsListResponse) Header ¶

func (r *VersionsListResponse) Header() http.Header

Header returns header of the response.

func (*VersionsListResponse) Items ¶

func (r *VersionsListResponse) Items() *VersionList

Items returns the value of the 'items' parameter.

Retrieved list of versions.

func (*VersionsListResponse) Page ¶

func (r *VersionsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*VersionsListResponse) Size ¶

func (r *VersionsListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

Default value is `100`.

func (*VersionsListResponse) Status ¶

func (r *VersionsListResponse) Status() int

Status returns the response status code.

func (*VersionsListResponse) Total ¶

func (r *VersionsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type VpcClient ¶ added in v0.1.376

type VpcClient struct {
	// contains filtered or unexported fields
}

VpcClient is the client of the 'vpc' resource.

Provides detailed information about the status of an specific cluster.

func NewVpcClient ¶ added in v0.1.376

func NewVpcClient(transport http.RoundTripper, path string) *VpcClient

NewVpcClient creates a new client for the 'vpc' resource using the given transport to send the requests and receive the responses.

func (*VpcClient) Get ¶ added in v0.1.376

func (c *VpcClient) Get() *VpcGetRequest

Get creates a request for the 'get' method.

func (*VpcClient) Poll ¶ added in v0.1.376

func (c *VpcClient) Poll() *VpcPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type VpcGetRequest ¶ added in v0.1.376

type VpcGetRequest struct {
	// contains filtered or unexported fields
}

VpcGetRequest is the request for the 'get' method.

func (*VpcGetRequest) Header ¶ added in v0.1.376

func (r *VpcGetRequest) Header(name string, value interface{}) *VpcGetRequest

Header adds a request header.

func (*VpcGetRequest) Impersonate ¶ added in v0.1.376

func (r *VpcGetRequest) Impersonate(user string) *VpcGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VpcGetRequest) Parameter ¶ added in v0.1.376

func (r *VpcGetRequest) Parameter(name string, value interface{}) *VpcGetRequest

Parameter adds a query parameter.

func (*VpcGetRequest) Send ¶ added in v0.1.376

func (r *VpcGetRequest) Send() (result *VpcGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VpcGetRequest) SendContext ¶ added in v0.1.376

func (r *VpcGetRequest) SendContext(ctx context.Context) (result *VpcGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type VpcGetResponse ¶ added in v0.1.376

type VpcGetResponse struct {
	// contains filtered or unexported fields
}

VpcGetResponse is the response for the 'get' method.

func (*VpcGetResponse) Body ¶ added in v0.1.376

func (r *VpcGetResponse) Body() *CloudVPC

Body returns the value of the 'body' parameter.

func (*VpcGetResponse) Error ¶ added in v0.1.376

func (r *VpcGetResponse) Error() *errors.Error

Error returns the response error.

func (*VpcGetResponse) GetBody ¶ added in v0.1.376

func (r *VpcGetResponse) GetBody() (value *CloudVPC, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*VpcGetResponse) Header ¶ added in v0.1.376

func (r *VpcGetResponse) Header() http.Header

Header returns header of the response.

func (*VpcGetResponse) Status ¶ added in v0.1.376

func (r *VpcGetResponse) Status() int

Status returns the response status code.

type VpcPollRequest ¶ added in v0.1.376

type VpcPollRequest struct {
	// contains filtered or unexported fields
}

VpcPollRequest is the request for the Poll method.

func (*VpcPollRequest) Header ¶ added in v0.1.376

func (r *VpcPollRequest) Header(name string, value interface{}) *VpcPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*VpcPollRequest) Interval ¶ added in v0.1.376

func (r *VpcPollRequest) Interval(value time.Duration) *VpcPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*VpcPollRequest) Parameter ¶ added in v0.1.376

func (r *VpcPollRequest) Parameter(name string, value interface{}) *VpcPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*VpcPollRequest) Predicate ¶ added in v0.1.376

func (r *VpcPollRequest) Predicate(value func(*VpcGetResponse) bool) *VpcPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*VpcPollRequest) StartContext ¶ added in v0.1.376

func (r *VpcPollRequest) StartContext(ctx context.Context) (response *VpcPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*VpcPollRequest) Status ¶ added in v0.1.376

func (r *VpcPollRequest) Status(value int) *VpcPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type VpcPollResponse ¶ added in v0.1.376

type VpcPollResponse struct {
	// contains filtered or unexported fields
}

VpcPollResponse is the response for the Poll method.

func (*VpcPollResponse) Body ¶ added in v0.1.376

func (r *VpcPollResponse) Body() *CloudVPC

Body returns the value of the 'body' parameter.

func (*VpcPollResponse) Error ¶ added in v0.1.376

func (r *VpcPollResponse) Error() *errors.Error

Error returns the response error.

func (*VpcPollResponse) GetBody ¶ added in v0.1.376

func (r *VpcPollResponse) GetBody() (value *CloudVPC, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*VpcPollResponse) Header ¶ added in v0.1.376

func (r *VpcPollResponse) Header() http.Header

Header returns header of the response.

func (*VpcPollResponse) Status ¶ added in v0.1.376

func (r *VpcPollResponse) Status() int

Status returns the response status code.

type VpcsInquiryClient ¶ added in v0.0.329

type VpcsInquiryClient struct {
	// contains filtered or unexported fields
}

VpcsInquiryClient is the client of the 'vpcs_inquiry' resource.

Manages the collection of vpcs inquiry.

func NewVpcsInquiryClient ¶ added in v0.0.329

func NewVpcsInquiryClient(transport http.RoundTripper, path string) *VpcsInquiryClient

NewVpcsInquiryClient creates a new client for the 'vpcs_inquiry' resource using the given transport to send the requests and receive the responses.

func (*VpcsInquiryClient) Search ¶ added in v0.0.329

Search creates a request for the 'search' method.

Retrieves the list of available vpcs of the cloud provider for specific region. IMPORTANT: This collection doesn't currently support paging or searching, so the returned `page` will always be 1 and `size` and `total` will always be the total number of available vpcs of the provider.

type VpcsInquirySearchRequest ¶ added in v0.0.329

type VpcsInquirySearchRequest struct {
	// contains filtered or unexported fields
}

VpcsInquirySearchRequest is the request for the 'search' method.

func (*VpcsInquirySearchRequest) Body ¶ added in v0.0.329

Body sets the value of the 'body' parameter.

Cloud provider data needed for the inquiry

func (*VpcsInquirySearchRequest) Header ¶ added in v0.0.329

func (r *VpcsInquirySearchRequest) Header(name string, value interface{}) *VpcsInquirySearchRequest

Header adds a request header.

func (*VpcsInquirySearchRequest) Impersonate ¶ added in v0.0.329

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*VpcsInquirySearchRequest) Page ¶ added in v0.0.329

Page sets the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*VpcsInquirySearchRequest) Parameter ¶ added in v0.0.329

func (r *VpcsInquirySearchRequest) Parameter(name string, value interface{}) *VpcsInquirySearchRequest

Parameter adds a query parameter.

func (*VpcsInquirySearchRequest) Send ¶ added in v0.0.329

func (r *VpcsInquirySearchRequest) Send() (result *VpcsInquirySearchResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*VpcsInquirySearchRequest) SendContext ¶ added in v0.0.329

func (r *VpcsInquirySearchRequest) SendContext(ctx context.Context) (result *VpcsInquirySearchResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*VpcsInquirySearchRequest) Size ¶ added in v0.0.329

Size sets the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of vpcs of the provider.

type VpcsInquirySearchResponse ¶ added in v0.0.329

type VpcsInquirySearchResponse struct {
	// contains filtered or unexported fields
}

VpcsInquirySearchResponse is the response for the 'search' method.

func (*VpcsInquirySearchResponse) Error ¶ added in v0.0.329

Error returns the response error.

func (*VpcsInquirySearchResponse) GetItems ¶ added in v0.0.329

func (r *VpcsInquirySearchResponse) GetItems() (value *CloudVPCList, ok bool)

GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.

Retrieved list of cloud VPC.

func (*VpcsInquirySearchResponse) GetPage ¶ added in v0.0.329

func (r *VpcsInquirySearchResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*VpcsInquirySearchResponse) GetSize ¶ added in v0.0.329

func (r *VpcsInquirySearchResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of vpcs of the provider.

func (*VpcsInquirySearchResponse) GetTotal ¶ added in v0.0.329

func (r *VpcsInquirySearchResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available vpcs of the provider.

func (*VpcsInquirySearchResponse) Header ¶ added in v0.0.329

Header returns header of the response.

func (*VpcsInquirySearchResponse) Items ¶ added in v0.0.329

Items returns the value of the 'items' parameter.

Retrieved list of cloud VPC.

func (*VpcsInquirySearchResponse) Page ¶ added in v0.0.329

func (r *VpcsInquirySearchResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.

func (*VpcsInquirySearchResponse) Size ¶ added in v0.0.329

func (r *VpcsInquirySearchResponse) Size() int

Size returns the value of the 'size' parameter.

Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of vpcs of the provider.

func (*VpcsInquirySearchResponse) Status ¶ added in v0.0.329

func (r *VpcsInquirySearchResponse) Status() int

Status returns the response status code.

func (*VpcsInquirySearchResponse) Total ¶ added in v0.0.329

func (r *VpcsInquirySearchResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available vpcs of the provider.

type WildcardPolicy ¶ added in v0.1.352

type WildcardPolicy string

WildcardPolicy represents the values of the 'wildcard_policy' enumerated type.

const (
	// Wildcards Allowed.
	WildcardPolicyWildcardsAllowed WildcardPolicy = "WildcardsAllowed"
	// Wildcards Disallowed.
	WildcardPolicyWildcardsDisallowed WildcardPolicy = "WildcardsDisallowed"
)

func UnmarshalWildcardPolicyList ¶ added in v0.1.352

func UnmarshalWildcardPolicyList(source interface{}) (items []WildcardPolicy, err error)

UnmarshalWildcardPolicyList reads a list of values of the 'wildcard_policy' type from the given source, which can be a slice of bytes, a string or a reader.

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL