v1

package
v0.0.435 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

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 AddonConfigListKind = "AddonConfigList"

AddonConfigListKind is the name of the type used to represent list of objects of type 'addon_config'.

View Source
const AddonConfigListLinkKind = "AddonConfigListLink"

AddonConfigListLinkKind is the name of the type used to represent links to list of objects of type 'addon_config'.

View Source
const AddonConfigListNilKind = "AddonConfigListNil"

AddonConfigNilKind is the name of the type used to nil lists of objects of type 'addon_config'.

View Source
const AddonEnvironmentVariableListKind = "AddonEnvironmentVariableList"

AddonEnvironmentVariableListKind is the name of the type used to represent list of objects of type 'addon_environment_variable'.

View Source
const AddonEnvironmentVariableListLinkKind = "AddonEnvironmentVariableListLink"

AddonEnvironmentVariableListLinkKind is the name of the type used to represent links to list of objects of type 'addon_environment_variable'.

View Source
const AddonEnvironmentVariableListNilKind = "AddonEnvironmentVariableListNil"

AddonEnvironmentVariableNilKind is the name of the type used to nil lists of objects of type 'addon_environment_variable'.

View Source
const AddonInstallationBillingListKind = "AddonInstallationBillingList"

AddonInstallationBillingListKind is the name of the type used to represent list of objects of type 'addon_installation_billing'.

View Source
const AddonInstallationBillingListLinkKind = "AddonInstallationBillingListLink"

AddonInstallationBillingListLinkKind is the name of the type used to represent links to list of objects of type 'addon_installation_billing'.

View Source
const AddonInstallationBillingListNilKind = "AddonInstallationBillingListNil"

AddonInstallationBillingNilKind is the name of the type used to nil lists of objects of type 'addon_installation_billing'.

View Source
const AddonInstallationKind = "AddonInstallation"

AddonInstallationKind is the name of the type used to represent objects of type 'addon_installation'.

View Source
const AddonInstallationLinkKind = "AddonInstallationLink"

AddonInstallationLinkKind is the name of the type used to represent links to objects of type 'addon_installation'.

View Source
const AddonInstallationListKind = "AddonInstallationList"

AddonInstallationListKind is the name of the type used to represent list of objects of type 'addon_installation'.

View Source
const AddonInstallationListLinkKind = "AddonInstallationListLink"

AddonInstallationListLinkKind is the name of the type used to represent links to list of objects of type 'addon_installation'.

View Source
const AddonInstallationListNilKind = "AddonInstallationListNil"

AddonInstallationNilKind is the name of the type used to nil lists of objects of type 'addon_installation'.

View Source
const AddonInstallationNilKind = "AddonInstallationNil"

AddonInstallationNilKind is the name of the type used to nil references to objects of type 'addon_installation'.

View Source
const AddonInstallationParameterListKind = "AddonInstallationParameterList"

AddonInstallationParameterListKind is the name of the type used to represent list of objects of type 'addon_installation_parameter'.

View Source
const AddonInstallationParameterListLinkKind = "AddonInstallationParameterListLink"

AddonInstallationParameterListLinkKind is the name of the type used to represent links to list of objects of type 'addon_installation_parameter'.

View Source
const AddonInstallationParameterListNilKind = "AddonInstallationParameterListNil"

AddonInstallationParameterNilKind is the name of the type used to nil lists of objects of type 'addon_installation_parameter'.

View Source
const AddonInstallationParametersListKind = "AddonInstallationParametersList"

AddonInstallationParametersListKind is the name of the type used to represent list of objects of type 'addon_installation_parameters'.

View Source
const AddonInstallationParametersListLinkKind = "AddonInstallationParametersListLink"

AddonInstallationParametersListLinkKind is the name of the type used to represent links to list of objects of type 'addon_installation_parameters'.

View Source
const AddonInstallationParametersListNilKind = "AddonInstallationParametersListNil"

AddonInstallationParametersNilKind is the name of the type used to nil lists of objects of type 'addon_installation_parameters'.

View Source
const AddonKind = "Addon"

AddonKind is the name of the type used to represent objects of type 'addon'.

View Source
const AddonLinkKind = "AddonLink"

AddonLinkKind is the name of the type used to represent links to objects of type 'addon'.

View Source
const AddonListKind = "AddonList"

AddonListKind is the name of the type used to represent list of objects of type 'addon'.

View Source
const AddonListLinkKind = "AddonListLink"

AddonListLinkKind is the name of the type used to represent links to list of objects of type 'addon'.

View Source
const AddonListNilKind = "AddonListNil"

AddonNilKind is the name of the type used to nil lists of objects of type 'addon'.

View Source
const AddonNamespaceListKind = "AddonNamespaceList"

AddonNamespaceListKind is the name of the type used to represent list of objects of type 'addon_namespace'.

View Source
const AddonNamespaceListLinkKind = "AddonNamespaceListLink"

AddonNamespaceListLinkKind is the name of the type used to represent links to list of objects of type 'addon_namespace'.

View Source
const AddonNamespaceListNilKind = "AddonNamespaceListNil"

AddonNamespaceNilKind is the name of the type used to nil lists of objects of type 'addon_namespace'.

View Source
const AddonNilKind = "AddonNil"

AddonNilKind is the name of the type used to nil references to objects of type 'addon'.

View Source
const AddonParameterListKind = "AddonParameterList"

AddonParameterListKind is the name of the type used to represent list of objects of type 'addon_parameter'.

View Source
const AddonParameterListLinkKind = "AddonParameterListLink"

AddonParameterListLinkKind is the name of the type used to represent links to list of objects of type 'addon_parameter'.

View Source
const AddonParameterListNilKind = "AddonParameterListNil"

AddonParameterNilKind is the name of the type used to nil lists of objects of type 'addon_parameter'.

View Source
const AddonParameterOptionListKind = "AddonParameterOptionList"

AddonParameterOptionListKind is the name of the type used to represent list of objects of type 'addon_parameter_option'.

View Source
const AddonParameterOptionListLinkKind = "AddonParameterOptionListLink"

AddonParameterOptionListLinkKind is the name of the type used to represent links to list of objects of type 'addon_parameter_option'.

View Source
const AddonParameterOptionListNilKind = "AddonParameterOptionListNil"

AddonParameterOptionNilKind is the name of the type used to nil lists of objects of type 'addon_parameter_option'.

View Source
const AddonParametersListKind = "AddonParametersList"

AddonParametersListKind is the name of the type used to represent list of objects of type 'addon_parameters'.

View Source
const AddonParametersListLinkKind = "AddonParametersListLink"

AddonParametersListLinkKind is the name of the type used to represent links to list of objects of type 'addon_parameters'.

View Source
const AddonParametersListNilKind = "AddonParametersListNil"

AddonParametersNilKind is the name of the type used to nil lists of objects of type 'addon_parameters'.

View Source
const AddonRequirementListKind = "AddonRequirementList"

AddonRequirementListKind is the name of the type used to represent list of objects of type 'addon_requirement'.

View Source
const AddonRequirementListLinkKind = "AddonRequirementListLink"

AddonRequirementListLinkKind is the name of the type used to represent links to list of objects of type 'addon_requirement'.

View Source
const AddonRequirementListNilKind = "AddonRequirementListNil"

AddonRequirementNilKind is the name of the type used to nil lists of objects of type 'addon_requirement'.

View Source
const AddonRequirementStatusListKind = "AddonRequirementStatusList"

AddonRequirementStatusListKind is the name of the type used to represent list of objects of type 'addon_requirement_status'.

View Source
const AddonRequirementStatusListLinkKind = "AddonRequirementStatusListLink"

AddonRequirementStatusListLinkKind is the name of the type used to represent links to list of objects of type 'addon_requirement_status'.

View Source
const AddonRequirementStatusListNilKind = "AddonRequirementStatusListNil"

AddonRequirementStatusNilKind is the name of the type used to nil lists of objects of type 'addon_requirement_status'.

View Source
const AddonSecretPropagationListKind = "AddonSecretPropagationList"

AddonSecretPropagationListKind is the name of the type used to represent list of objects of type 'addon_secret_propagation'.

View Source
const AddonSecretPropagationListLinkKind = "AddonSecretPropagationListLink"

AddonSecretPropagationListLinkKind is the name of the type used to represent links to list of objects of type 'addon_secret_propagation'.

View Source
const AddonSecretPropagationListNilKind = "AddonSecretPropagationListNil"

AddonSecretPropagationNilKind is the name of the type used to nil lists of objects of type 'addon_secret_propagation'.

View Source
const AddonStatusConditionListKind = "AddonStatusConditionList"

AddonStatusConditionListKind is the name of the type used to represent list of objects of type 'addon_status_condition'.

View Source
const AddonStatusConditionListLinkKind = "AddonStatusConditionListLink"

AddonStatusConditionListLinkKind is the name of the type used to represent links to list of objects of type 'addon_status_condition'.

View Source
const AddonStatusConditionListNilKind = "AddonStatusConditionListNil"

AddonStatusConditionNilKind is the name of the type used to nil lists of objects of type 'addon_status_condition'.

View Source
const AddonStatusKind = "AddonStatus"

AddonStatusKind is the name of the type used to represent objects of type 'addon_status'.

View Source
const AddonStatusLinkKind = "AddonStatusLink"

AddonStatusLinkKind is the name of the type used to represent links to objects of type 'addon_status'.

View Source
const AddonStatusListKind = "AddonStatusList"

AddonStatusListKind is the name of the type used to represent list of objects of type 'addon_status'.

View Source
const AddonStatusListLinkKind = "AddonStatusListLink"

AddonStatusListLinkKind is the name of the type used to represent links to list of objects of type 'addon_status'.

View Source
const AddonStatusListNilKind = "AddonStatusListNil"

AddonStatusNilKind is the name of the type used to nil lists of objects of type 'addon_status'.

View Source
const AddonStatusNilKind = "AddonStatusNil"

AddonStatusNilKind is the name of the type used to nil references to objects of type 'addon_status'.

View Source
const AddonSubOperatorListKind = "AddonSubOperatorList"

AddonSubOperatorListKind is the name of the type used to represent list of objects of type 'addon_sub_operator'.

View Source
const AddonSubOperatorListLinkKind = "AddonSubOperatorListLink"

AddonSubOperatorListLinkKind is the name of the type used to represent links to list of objects of type 'addon_sub_operator'.

View Source
const AddonSubOperatorListNilKind = "AddonSubOperatorListNil"

AddonSubOperatorNilKind is the name of the type used to nil lists of objects of type 'addon_sub_operator'.

View Source
const AddonVersionKind = "AddonVersion"

AddonVersionKind is the name of the type used to represent objects of type 'addon_version'.

View Source
const AddonVersionLinkKind = "AddonVersionLink"

AddonVersionLinkKind is the name of the type used to represent links to objects of type 'addon_version'.

View Source
const AddonVersionListKind = "AddonVersionList"

AddonVersionListKind is the name of the type used to represent list of objects of type 'addon_version'.

View Source
const AddonVersionListLinkKind = "AddonVersionListLink"

AddonVersionListLinkKind is the name of the type used to represent links to list of objects of type 'addon_version'.

View Source
const AddonVersionListNilKind = "AddonVersionListNil"

AddonVersionNilKind is the name of the type used to nil lists of objects of type 'addon_version'.

View Source
const AddonVersionNilKind = "AddonVersionNil"

AddonVersionNilKind is the name of the type used to nil references to objects of type 'addon_version'.

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 MetricsFederationListKind = "MetricsFederationList"

MetricsFederationListKind is the name of the type used to represent list of objects of type 'metrics_federation'.

View Source
const MetricsFederationListLinkKind = "MetricsFederationListLink"

MetricsFederationListLinkKind is the name of the type used to represent links to list of objects of type 'metrics_federation'.

View Source
const MetricsFederationListNilKind = "MetricsFederationListNil"

MetricsFederationNilKind is the name of the type used to nil lists of objects of type 'metrics_federation'.

View Source
const MonitoringStackListKind = "MonitoringStackList"

MonitoringStackListKind is the name of the type used to represent list of objects of type 'monitoring_stack'.

View Source
const MonitoringStackListLinkKind = "MonitoringStackListLink"

MonitoringStackListLinkKind is the name of the type used to represent links to list of objects of type 'monitoring_stack'.

View Source
const MonitoringStackListNilKind = "MonitoringStackListNil"

MonitoringStackNilKind is the name of the type used to nil lists of objects of type 'monitoring_stack'.

View Source
const MonitoringStackResourceListKind = "MonitoringStackResourceList"

MonitoringStackResourceListKind is the name of the type used to represent list of objects of type 'monitoring_stack_resource'.

View Source
const MonitoringStackResourceListLinkKind = "MonitoringStackResourceListLink"

MonitoringStackResourceListLinkKind is the name of the type used to represent links to list of objects of type 'monitoring_stack_resource'.

View Source
const MonitoringStackResourceListNilKind = "MonitoringStackResourceListNil"

MonitoringStackResourceNilKind is the name of the type used to nil lists of objects of type 'monitoring_stack_resource'.

View Source
const MonitoringStackResourcesListKind = "MonitoringStackResourcesList"

MonitoringStackResourcesListKind is the name of the type used to represent list of objects of type 'monitoring_stack_resources'.

View Source
const MonitoringStackResourcesListLinkKind = "MonitoringStackResourcesListLink"

MonitoringStackResourcesListLinkKind is the name of the type used to represent links to list of objects of type 'monitoring_stack_resources'.

View Source
const MonitoringStackResourcesListNilKind = "MonitoringStackResourcesListNil"

MonitoringStackResourcesNilKind is the name of the type used to nil lists of objects of type 'monitoring_stack_resources'.

View Source
const ObjectReferenceListKind = "ObjectReferenceList"

ObjectReferenceListKind is the name of the type used to represent list of objects of type 'object_reference'.

View Source
const ObjectReferenceListLinkKind = "ObjectReferenceListLink"

ObjectReferenceListLinkKind is the name of the type used to represent links to list of objects of type 'object_reference'.

View Source
const ObjectReferenceListNilKind = "ObjectReferenceListNil"

ObjectReferenceNilKind is the name of the type used to nil lists of objects of type 'object_reference'.

Variables

This section is empty.

Functions

func MarshalAdditionalCatalogSource

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

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

func MarshalAdditionalCatalogSourceList

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 MarshalAddon

func MarshalAddon(object *Addon, writer io.Writer) error

MarshalAddon writes a value of the 'addon' type to the given writer.

func MarshalAddonConfig

func MarshalAddonConfig(object *AddonConfig, writer io.Writer) error

MarshalAddonConfig writes a value of the 'addon_config' type to the given writer.

func MarshalAddonConfigList

func MarshalAddonConfigList(list []*AddonConfig, writer io.Writer) error

MarshalAddonConfigList writes a list of values of the 'addon_config' type to the given writer.

func MarshalAddonEnvironmentVariable

func MarshalAddonEnvironmentVariable(object *AddonEnvironmentVariable, writer io.Writer) error

MarshalAddonEnvironmentVariable writes a value of the 'addon_environment_variable' type to the given writer.

func MarshalAddonEnvironmentVariableList

func MarshalAddonEnvironmentVariableList(list []*AddonEnvironmentVariable, writer io.Writer) error

MarshalAddonEnvironmentVariableList writes a list of values of the 'addon_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 'addon_install_mode' type to the given writer.

func MarshalAddonInstallation

func MarshalAddonInstallation(object *AddonInstallation, writer io.Writer) error

MarshalAddonInstallation writes a value of the 'addon_installation' type to the given writer.

func MarshalAddonInstallationBilling

func MarshalAddonInstallationBilling(object *AddonInstallationBilling, writer io.Writer) error

MarshalAddonInstallationBilling writes a value of the 'addon_installation_billing' type to the given writer.

func MarshalAddonInstallationBillingList

func MarshalAddonInstallationBillingList(list []*AddonInstallationBilling, writer io.Writer) error

MarshalAddonInstallationBillingList writes a list of values of the 'addon_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 'addon_installation' type to the given writer.

func MarshalAddonInstallationParameter

func MarshalAddonInstallationParameter(object *AddonInstallationParameter, writer io.Writer) error

MarshalAddonInstallationParameter writes a value of the 'addon_installation_parameter' type to the given writer.

func MarshalAddonInstallationParameterList

func MarshalAddonInstallationParameterList(list []*AddonInstallationParameter, writer io.Writer) error

MarshalAddonInstallationParameterList writes a list of values of the 'addon_installation_parameter' type to the given writer.

func MarshalAddonInstallationParameters

func MarshalAddonInstallationParameters(object *AddonInstallationParameters, writer io.Writer) error

MarshalAddonInstallationParameters writes a value of the 'addon_installation_parameters' type to the given writer.

func MarshalAddonInstallationParametersList

func MarshalAddonInstallationParametersList(list []*AddonInstallationParameters, writer io.Writer) error

MarshalAddonInstallationParametersList writes a list of values of the 'addon_installation_parameters' type to the given writer.

func MarshalAddonInstallationStateList

func MarshalAddonInstallationStateList(list []AddonInstallationState, writer io.Writer) error

MarshalAddonInstallationStateList writes a list of values of the 'addon_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 'addon' type to the given writer.

func MarshalAddonNamespace

func MarshalAddonNamespace(object *AddonNamespace, writer io.Writer) error

MarshalAddonNamespace writes a value of the 'addon_namespace' type to the given writer.

func MarshalAddonNamespaceList

func MarshalAddonNamespaceList(list []*AddonNamespace, writer io.Writer) error

MarshalAddonNamespaceList writes a list of values of the 'addon_namespace' type to the given writer.

func MarshalAddonParameter

func MarshalAddonParameter(object *AddonParameter, writer io.Writer) error

MarshalAddonParameter writes a value of the 'addon_parameter' type to the given writer.

func MarshalAddonParameterList

func MarshalAddonParameterList(list []*AddonParameter, writer io.Writer) error

MarshalAddonParameterList writes a list of values of the 'addon_parameter' type to the given writer.

func MarshalAddonParameterOption

func MarshalAddonParameterOption(object *AddonParameterOption, writer io.Writer) error

MarshalAddonParameterOption writes a value of the 'addon_parameter_option' type to the given writer.

func MarshalAddonParameterOptionList

func MarshalAddonParameterOptionList(list []*AddonParameterOption, writer io.Writer) error

MarshalAddonParameterOptionList writes a list of values of the 'addon_parameter_option' type to the given writer.

func MarshalAddonParameterValueTypeList

func MarshalAddonParameterValueTypeList(list []AddonParameterValueType, writer io.Writer) error

MarshalAddonParameterValueTypeList writes a list of values of the 'addon_parameter_value_type' type to the given writer.

func MarshalAddonParameters

func MarshalAddonParameters(object *AddonParameters, writer io.Writer) error

MarshalAddonParameters writes a value of the 'addon_parameters' type to the given writer.

func MarshalAddonParametersList

func MarshalAddonParametersList(list []*AddonParameters, writer io.Writer) error

MarshalAddonParametersList writes a list of values of the 'addon_parameters' type to the given writer.

func MarshalAddonRequirement

func MarshalAddonRequirement(object *AddonRequirement, writer io.Writer) error

MarshalAddonRequirement writes a value of the 'addon_requirement' type to the given writer.

func MarshalAddonRequirementList

func MarshalAddonRequirementList(list []*AddonRequirement, writer io.Writer) error

MarshalAddonRequirementList writes a list of values of the 'addon_requirement' type to the given writer.

func MarshalAddonRequirementResourceList

func MarshalAddonRequirementResourceList(list []AddonRequirementResource, writer io.Writer) error

MarshalAddonRequirementResourceList writes a list of values of the 'addon_requirement_resource' type to the given writer.

func MarshalAddonRequirementStatus

func MarshalAddonRequirementStatus(object *AddonRequirementStatus, writer io.Writer) error

MarshalAddonRequirementStatus writes a value of the 'addon_requirement_status' type to the given writer.

func MarshalAddonRequirementStatusList

func MarshalAddonRequirementStatusList(list []*AddonRequirementStatus, writer io.Writer) error

MarshalAddonRequirementStatusList writes a list of values of the 'addon_requirement_status' type to the given writer.

func MarshalAddonSecretPropagation

func MarshalAddonSecretPropagation(object *AddonSecretPropagation, writer io.Writer) error

MarshalAddonSecretPropagation writes a value of the 'addon_secret_propagation' type to the given writer.

func MarshalAddonSecretPropagationList

func MarshalAddonSecretPropagationList(list []*AddonSecretPropagation, writer io.Writer) error

MarshalAddonSecretPropagationList writes a list of values of the 'addon_secret_propagation' type to the given writer.

func MarshalAddonStatus

func MarshalAddonStatus(object *AddonStatus, writer io.Writer) error

MarshalAddonStatus writes a value of the 'addon_status' type to the given writer.

func MarshalAddonStatusCondition

func MarshalAddonStatusCondition(object *AddonStatusCondition, writer io.Writer) error

MarshalAddonStatusCondition writes a value of the 'addon_status_condition' type to the given writer.

func MarshalAddonStatusConditionList

func MarshalAddonStatusConditionList(list []*AddonStatusCondition, writer io.Writer) error

MarshalAddonStatusConditionList writes a list of values of the 'addon_status_condition' type to the given writer.

func MarshalAddonStatusConditionTypeList

func MarshalAddonStatusConditionTypeList(list []AddonStatusConditionType, writer io.Writer) error

MarshalAddonStatusConditionTypeList writes a list of values of the 'addon_status_condition_type' type to the given writer.

func MarshalAddonStatusConditionValueList

func MarshalAddonStatusConditionValueList(list []AddonStatusConditionValue, writer io.Writer) error

MarshalAddonStatusConditionValueList writes a list of values of the 'addon_status_condition_value' type to the given writer.

func MarshalAddonStatusList

func MarshalAddonStatusList(list []*AddonStatus, writer io.Writer) error

MarshalAddonStatusList writes a list of values of the 'addon_status' type to the given writer.

func MarshalAddonSubOperator

func MarshalAddonSubOperator(object *AddonSubOperator, writer io.Writer) error

MarshalAddonSubOperator writes a value of the 'addon_sub_operator' type to the given writer.

func MarshalAddonSubOperatorList

func MarshalAddonSubOperatorList(list []*AddonSubOperator, writer io.Writer) error

MarshalAddonSubOperatorList writes a list of values of the 'addon_sub_operator' type to the given writer.

func MarshalAddonVersion

func MarshalAddonVersion(object *AddonVersion, writer io.Writer) error

MarshalAddonVersion writes a value of the 'addon_version' type to the given writer.

func MarshalAddonVersionList

func MarshalAddonVersionList(list []*AddonVersion, writer io.Writer) error

MarshalAddonVersionList writes a list of values of the 'addon_version' type to the given writer.

func MarshalBillingModelList

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

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

func MarshalBooleanList

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

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

func MarshalCredentialRequest

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

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

func MarshalCredentialRequestList

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

MarshalCredentialRequestList writes a list of values of the 'credential_request' 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 MarshalFloatList

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

MarshalFloatList writes a list of values of the 'float' 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 MarshalLongList

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

MarshalLongList writes a list of values of the 'long' 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 MarshalMetricsFederation

func MarshalMetricsFederation(object *MetricsFederation, writer io.Writer) error

MarshalMetricsFederation writes a value of the 'metrics_federation' type to the given writer.

func MarshalMetricsFederationList

func MarshalMetricsFederationList(list []*MetricsFederation, writer io.Writer) error

MarshalMetricsFederationList writes a list of values of the 'metrics_federation' type to the given writer.

func MarshalMonitoringStack

func MarshalMonitoringStack(object *MonitoringStack, writer io.Writer) error

MarshalMonitoringStack writes a value of the 'monitoring_stack' type to the given writer.

func MarshalMonitoringStackList

func MarshalMonitoringStackList(list []*MonitoringStack, writer io.Writer) error

MarshalMonitoringStackList writes a list of values of the 'monitoring_stack' type to the given writer.

func MarshalMonitoringStackResource

func MarshalMonitoringStackResource(object *MonitoringStackResource, writer io.Writer) error

MarshalMonitoringStackResource writes a value of the 'monitoring_stack_resource' type to the given writer.

func MarshalMonitoringStackResourceList

func MarshalMonitoringStackResourceList(list []*MonitoringStackResource, writer io.Writer) error

MarshalMonitoringStackResourceList writes a list of values of the 'monitoring_stack_resource' type to the given writer.

func MarshalMonitoringStackResources

func MarshalMonitoringStackResources(object *MonitoringStackResources, writer io.Writer) error

MarshalMonitoringStackResources writes a value of the 'monitoring_stack_resources' type to the given writer.

func MarshalMonitoringStackResourcesList

func MarshalMonitoringStackResourcesList(list []*MonitoringStackResources, writer io.Writer) error

MarshalMonitoringStackResourcesList writes a list of values of the 'monitoring_stack_resources' type to the given writer.

func MarshalObjectReference

func MarshalObjectReference(object *ObjectReference, writer io.Writer) error

MarshalObjectReference writes a value of the 'object_reference' type to the given writer.

func MarshalObjectReferenceList

func MarshalObjectReferenceList(list []*ObjectReference, writer io.Writer) error

MarshalObjectReferenceList writes a list of values of the 'object_reference' 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 ReadBooleanList

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

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

func ReadDateList

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

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

func ReadFloatList

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

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

func ReadIntegerList

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

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

func ReadInterfaceList

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

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

func ReadLongList

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

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

func ReadStringList

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

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

func UnmarshalBooleanList

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

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

func UnmarshalDateList

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

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

func UnmarshalFloatList

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

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

func UnmarshalIntegerList

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

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

func UnmarshalInterfaceList

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

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

func UnmarshalLongList

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

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

func UnmarshalStringList

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

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

func WriteAdditionalCatalogSource

func WriteAdditionalCatalogSource(object *AdditionalCatalogSource, stream *jsoniter.Stream)

WriteAdditionalCatalogSource writes a value of the 'additional_catalog_source' type to the given stream.

func WriteAdditionalCatalogSourceList

func WriteAdditionalCatalogSourceList(list []*AdditionalCatalogSource, stream *jsoniter.Stream)

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

func WriteAddon

func WriteAddon(object *Addon, stream *jsoniter.Stream)

WriteAddon writes a value of the 'addon' type to the given stream.

func WriteAddonConfig

func WriteAddonConfig(object *AddonConfig, stream *jsoniter.Stream)

WriteAddonConfig writes a value of the 'addon_config' type to the given stream.

func WriteAddonConfigList

func WriteAddonConfigList(list []*AddonConfig, stream *jsoniter.Stream)

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

func WriteAddonEnvironmentVariable

func WriteAddonEnvironmentVariable(object *AddonEnvironmentVariable, stream *jsoniter.Stream)

WriteAddonEnvironmentVariable writes a value of the 'addon_environment_variable' type to the given stream.

func WriteAddonEnvironmentVariableList

func WriteAddonEnvironmentVariableList(list []*AddonEnvironmentVariable, stream *jsoniter.Stream)

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

func WriteAddonInstallModeList

func WriteAddonInstallModeList(list []AddonInstallMode, stream *jsoniter.Stream)

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

func WriteAddonInstallation

func WriteAddonInstallation(object *AddonInstallation, stream *jsoniter.Stream)

WriteAddonInstallation writes a value of the 'addon_installation' type to the given stream.

func WriteAddonInstallationBilling

func WriteAddonInstallationBilling(object *AddonInstallationBilling, stream *jsoniter.Stream)

WriteAddonInstallationBilling writes a value of the 'addon_installation_billing' type to the given stream.

func WriteAddonInstallationBillingList

func WriteAddonInstallationBillingList(list []*AddonInstallationBilling, stream *jsoniter.Stream)

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

func WriteAddonInstallationList

func WriteAddonInstallationList(list []*AddonInstallation, stream *jsoniter.Stream)

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

func WriteAddonInstallationParameter

func WriteAddonInstallationParameter(object *AddonInstallationParameter, stream *jsoniter.Stream)

WriteAddonInstallationParameter writes a value of the 'addon_installation_parameter' type to the given stream.

func WriteAddonInstallationParameterList

func WriteAddonInstallationParameterList(list []*AddonInstallationParameter, stream *jsoniter.Stream)

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

func WriteAddonInstallationParameters

func WriteAddonInstallationParameters(object *AddonInstallationParameters, stream *jsoniter.Stream)

WriteAddonInstallationParameters writes a value of the 'addon_installation_parameters' type to the given stream.

func WriteAddonInstallationParametersList

func WriteAddonInstallationParametersList(list []*AddonInstallationParameters, stream *jsoniter.Stream)

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

func WriteAddonInstallationStateList

func WriteAddonInstallationStateList(list []AddonInstallationState, stream *jsoniter.Stream)

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

func WriteAddonList

func WriteAddonList(list []*Addon, stream *jsoniter.Stream)

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

func WriteAddonNamespace

func WriteAddonNamespace(object *AddonNamespace, stream *jsoniter.Stream)

WriteAddonNamespace writes a value of the 'addon_namespace' type to the given stream.

func WriteAddonNamespaceList

func WriteAddonNamespaceList(list []*AddonNamespace, stream *jsoniter.Stream)

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

func WriteAddonParameter

func WriteAddonParameter(object *AddonParameter, stream *jsoniter.Stream)

WriteAddonParameter writes a value of the 'addon_parameter' type to the given stream.

func WriteAddonParameterList

func WriteAddonParameterList(list []*AddonParameter, stream *jsoniter.Stream)

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

func WriteAddonParameterOption

func WriteAddonParameterOption(object *AddonParameterOption, stream *jsoniter.Stream)

WriteAddonParameterOption writes a value of the 'addon_parameter_option' type to the given stream.

func WriteAddonParameterOptionList

func WriteAddonParameterOptionList(list []*AddonParameterOption, stream *jsoniter.Stream)

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

func WriteAddonParameterValueTypeList

func WriteAddonParameterValueTypeList(list []AddonParameterValueType, stream *jsoniter.Stream)

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

func WriteAddonParameters

func WriteAddonParameters(object *AddonParameters, stream *jsoniter.Stream)

WriteAddonParameters writes a value of the 'addon_parameters' type to the given stream.

func WriteAddonParametersList

func WriteAddonParametersList(list []*AddonParameters, stream *jsoniter.Stream)

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

func WriteAddonRequirement

func WriteAddonRequirement(object *AddonRequirement, stream *jsoniter.Stream)

WriteAddonRequirement writes a value of the 'addon_requirement' type to the given stream.

func WriteAddonRequirementList

func WriteAddonRequirementList(list []*AddonRequirement, stream *jsoniter.Stream)

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

func WriteAddonRequirementResourceList

func WriteAddonRequirementResourceList(list []AddonRequirementResource, stream *jsoniter.Stream)

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

func WriteAddonRequirementStatus

func WriteAddonRequirementStatus(object *AddonRequirementStatus, stream *jsoniter.Stream)

WriteAddonRequirementStatus writes a value of the 'addon_requirement_status' type to the given stream.

func WriteAddonRequirementStatusList

func WriteAddonRequirementStatusList(list []*AddonRequirementStatus, stream *jsoniter.Stream)

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

func WriteAddonSecretPropagation

func WriteAddonSecretPropagation(object *AddonSecretPropagation, stream *jsoniter.Stream)

WriteAddonSecretPropagation writes a value of the 'addon_secret_propagation' type to the given stream.

func WriteAddonSecretPropagationList

func WriteAddonSecretPropagationList(list []*AddonSecretPropagation, stream *jsoniter.Stream)

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

func WriteAddonStatus

func WriteAddonStatus(object *AddonStatus, stream *jsoniter.Stream)

WriteAddonStatus writes a value of the 'addon_status' type to the given stream.

func WriteAddonStatusCondition

func WriteAddonStatusCondition(object *AddonStatusCondition, stream *jsoniter.Stream)

WriteAddonStatusCondition writes a value of the 'addon_status_condition' type to the given stream.

func WriteAddonStatusConditionList

func WriteAddonStatusConditionList(list []*AddonStatusCondition, stream *jsoniter.Stream)

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

func WriteAddonStatusConditionTypeList

func WriteAddonStatusConditionTypeList(list []AddonStatusConditionType, stream *jsoniter.Stream)

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

func WriteAddonStatusConditionValueList

func WriteAddonStatusConditionValueList(list []AddonStatusConditionValue, stream *jsoniter.Stream)

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

func WriteAddonStatusList

func WriteAddonStatusList(list []*AddonStatus, stream *jsoniter.Stream)

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

func WriteAddonSubOperator

func WriteAddonSubOperator(object *AddonSubOperator, stream *jsoniter.Stream)

WriteAddonSubOperator writes a value of the 'addon_sub_operator' type to the given stream.

func WriteAddonSubOperatorList

func WriteAddonSubOperatorList(list []*AddonSubOperator, stream *jsoniter.Stream)

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

func WriteAddonVersion

func WriteAddonVersion(object *AddonVersion, stream *jsoniter.Stream)

WriteAddonVersion writes a value of the 'addon_version' type to the given stream.

func WriteAddonVersionList

func WriteAddonVersionList(list []*AddonVersion, stream *jsoniter.Stream)

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

func WriteBillingModelList

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

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

func WriteBooleanList

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

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

func WriteCredentialRequest

func WriteCredentialRequest(object *CredentialRequest, stream *jsoniter.Stream)

WriteCredentialRequest writes a value of the 'credential_request' type to the given stream.

func WriteCredentialRequestList

func WriteCredentialRequestList(list []*CredentialRequest, stream *jsoniter.Stream)

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

func WriteDateList

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

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

func WriteFloatList

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

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

func WriteIntegerList

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

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

func WriteInterfaceList

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

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

func WriteLongList

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

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

func WriteMetricsFederation

func WriteMetricsFederation(object *MetricsFederation, stream *jsoniter.Stream)

WriteMetricsFederation writes a value of the 'metrics_federation' type to the given stream.

func WriteMetricsFederationList

func WriteMetricsFederationList(list []*MetricsFederation, stream *jsoniter.Stream)

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

func WriteMonitoringStack

func WriteMonitoringStack(object *MonitoringStack, stream *jsoniter.Stream)

WriteMonitoringStack writes a value of the 'monitoring_stack' type to the given stream.

func WriteMonitoringStackList

func WriteMonitoringStackList(list []*MonitoringStack, stream *jsoniter.Stream)

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

func WriteMonitoringStackResource

func WriteMonitoringStackResource(object *MonitoringStackResource, stream *jsoniter.Stream)

WriteMonitoringStackResource writes a value of the 'monitoring_stack_resource' type to the given stream.

func WriteMonitoringStackResourceList

func WriteMonitoringStackResourceList(list []*MonitoringStackResource, stream *jsoniter.Stream)

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

func WriteMonitoringStackResources

func WriteMonitoringStackResources(object *MonitoringStackResources, stream *jsoniter.Stream)

WriteMonitoringStackResources writes a value of the 'monitoring_stack_resources' type to the given stream.

func WriteMonitoringStackResourcesList

func WriteMonitoringStackResourcesList(list []*MonitoringStackResources, stream *jsoniter.Stream)

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

func WriteObjectReference

func WriteObjectReference(object *ObjectReference, stream *jsoniter.Stream)

WriteObjectReference writes a value of the 'object_reference' type to the given stream.

func WriteObjectReferenceList

func WriteObjectReferenceList(list []*ObjectReference, stream *jsoniter.Stream)

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

func WriteStringList

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

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

Types

type AdditionalCatalogSource

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 ReadAdditionalCatalogSource

func ReadAdditionalCatalogSource(iterator *jsoniter.Iterator) *AdditionalCatalogSource

ReadAdditionalCatalogSource reads a value of the 'additional_catalog_source' type from the given iterator.

func ReadAdditionalCatalogSourceList

func ReadAdditionalCatalogSourceList(iterator *jsoniter.Iterator) []*AdditionalCatalogSource

ReadAdditionalCatalogSourceList reads list of values of the ”additional_catalog_source' type from the given iterator.

func UnmarshalAdditionalCatalogSource

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

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

func (o *AdditionalCatalogSource) Empty() bool

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

func (*AdditionalCatalogSource) Enabled

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

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

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

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

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

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

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

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

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

Representation of an addon catalog source object used by addon versions.

func NewAdditionalCatalogSource

func NewAdditionalCatalogSource() *AdditionalCatalogSourceBuilder

NewAdditionalCatalogSource creates a new builder of 'additional_catalog_source' objects.

func (*AdditionalCatalogSourceBuilder) Build

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

func (*AdditionalCatalogSourceBuilder) Copy

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

func (*AdditionalCatalogSourceBuilder) Empty

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

func (*AdditionalCatalogSourceBuilder) Enabled

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AdditionalCatalogSourceBuilder) ID

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

func (*AdditionalCatalogSourceBuilder) Image

Image sets the value of the 'image' attribute to the given value.

func (*AdditionalCatalogSourceBuilder) Name

Name sets the value of the 'name' attribute to the given value.

type AdditionalCatalogSourceList

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

AdditionalCatalogSourceList is a list of values of the 'additional_catalog_source' type.

func (*AdditionalCatalogSourceList) 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 (*AdditionalCatalogSourceList) Empty

func (l *AdditionalCatalogSourceList) Empty() bool

Empty returns true if the list is empty.

func (*AdditionalCatalogSourceList) Get

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

func (*AdditionalCatalogSourceList) Items

Items returns the items of the list.

func (*AdditionalCatalogSourceList) Len

Len returns the length of the list.

func (*AdditionalCatalogSourceList) Range

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) SetHREF

func (l *AdditionalCatalogSourceList) SetHREF(href string)

Items sets the items of the list.

func (*AdditionalCatalogSourceList) SetItems

Items sets the items of the list.

func (l *AdditionalCatalogSourceList) SetLink(link bool)

Items sets the items of the list.

func (*AdditionalCatalogSourceList) 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 AdditionalCatalogSourceListBuilder

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

AdditionalCatalogSourceListBuilder contains the data and logic needed to build 'additional_catalog_source' objects.

func NewAdditionalCatalogSourceList

func NewAdditionalCatalogSourceList() *AdditionalCatalogSourceListBuilder

NewAdditionalCatalogSourceList creates a new builder of 'additional_catalog_source' objects.

func (*AdditionalCatalogSourceListBuilder) Build

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

func (*AdditionalCatalogSourceListBuilder) Copy

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

func (*AdditionalCatalogSourceListBuilder) Empty

Empty returns true if the list is empty.

func (*AdditionalCatalogSourceListBuilder) Items

Items sets the items of the list.

type Addon

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

Addon represents the values of the 'addon' type.

Representation of an addon that can be installed in a cluster.

func ReadAddon

func ReadAddon(iterator *jsoniter.Iterator) *Addon

ReadAddon reads a value of the 'addon' type from the given iterator.

func ReadAddonList

func ReadAddonList(iterator *jsoniter.Iterator) []*Addon

ReadAddonList reads list of values of the ”addon' type from the given iterator.

func UnmarshalAddon

func UnmarshalAddon(source interface{}) (object *Addon, err error)

UnmarshalAddon reads a value of the 'addon' 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 'addon' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Addon) CommonAnnotations

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 for this addon.

func (*Addon) CommonLabels

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 for this addon.

func (*Addon) Config

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

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

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

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 addon can be added to clusters.

func (*Addon) GetCommonAnnotations

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 for this addon.

func (*Addon) GetCommonLabels

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 for this addon.

func (*Addon) GetConfig

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

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

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

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 addon 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

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 addon has external resources associated with it

func (*Addon) GetHidden

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 addon 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 addon. 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 addon is installed.

func (*Addon) GetManagedService

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

func (*Addon) GetNamespaces

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.

List of namespaces associated with 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 addon.

func (*Addon) GetParameters

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

func (*Addon) GetRequirements

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

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

func (*Addon) GetSubOperators

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

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

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

func (*Addon) HREF

func (o *Addon) HREF() string

HREF returns the link to the object.

func (*Addon) HasExternalResources

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 addon has external resources associated with it

func (*Addon) Hidden

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 addon 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 addon. 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 addon is installed.

func (o *Addon) Link() bool

Link returns true if this is a link.

func (*Addon) ManagedService

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

func (*Addon) Namespaces

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.

List of namespaces associated with 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 addon.

func (*Addon) Parameters

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

func (*Addon) Requirements

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

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

func (*Addon) SubOperators

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

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

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

type AddonBuilder

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

Representation of an addon that can be installed in a cluster.

func NewAddon

func NewAddon() *AddonBuilder

NewAddon creates a new builder of 'addon' objects.

func (*AddonBuilder) Build

func (b *AddonBuilder) Build() (object *Addon, err error)

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

func (*AddonBuilder) CommonAnnotations

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

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

func (b *AddonBuilder) Config(value *AddonConfigBuilder) *AddonBuilder

Config sets the value of the 'config' attribute to the given value.

Representation of an addon 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

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

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

func (b *AddonBuilder) HasExternalResources(value bool) *AddonBuilder

HasExternalResources sets the value of the 'has_external_resources' attribute to the given value.

func (*AddonBuilder) Hidden

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 addon 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

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

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

func (b *AddonBuilder) Parameters(value *AddonParameterListBuilder) *AddonBuilder

Parameters sets the value of the 'parameters' attribute to the given values.

func (*AddonBuilder) Requirements

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

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

func (b *AddonBuilder) Version(value *AddonVersionBuilder) *AddonBuilder

Version sets the value of the 'version' attribute to the given value.

Representation of an addon version.

type AddonConfig

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

AddonConfig represents the values of the 'addon_config' type.

Representation of an addon config. The attributes under it are to be used by the addon once its installed in the cluster.

func ReadAddonConfig

func ReadAddonConfig(iterator *jsoniter.Iterator) *AddonConfig

ReadAddonConfig reads a value of the 'addon_config' type from the given iterator.

func ReadAddonConfigList

func ReadAddonConfigList(iterator *jsoniter.Iterator) []*AddonConfig

ReadAddonConfigList reads list of values of the ”addon_config' type from the given iterator.

func UnmarshalAddonConfig

func UnmarshalAddonConfig(source interface{}) (object *AddonConfig, err error)

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

func UnmarshalAddonConfigList

func UnmarshalAddonConfigList(source interface{}) (items []*AddonConfig, err error)

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

func (*AddonConfig) AddOnEnvironmentVariables

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) AddOnSecretPropagations

func (o *AddonConfig) AddOnSecretPropagations() []*AddonSecretPropagation

AddOnSecretPropagations returns the value of the 'add_on_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

func (*AddonConfig) Empty

func (o *AddonConfig) Empty() bool

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

func (*AddonConfig) GetAddOnEnvironmentVariables

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) GetAddOnSecretPropagations

func (o *AddonConfig) GetAddOnSecretPropagations() (value []*AddonSecretPropagation, ok bool)

GetAddOnSecretPropagations returns the value of the 'add_on_secret_propagations' attribute and a flag indicating if the attribute has a value.

List of secret propagations for the addon

type AddonConfigBuilder

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

Representation of an addon config. The attributes under it are to be used by the addon once its installed in the cluster.

func NewAddonConfig

func NewAddonConfig() *AddonConfigBuilder

NewAddonConfig creates a new builder of 'addon_config' objects.

func (*AddonConfigBuilder) AddOnEnvironmentVariables

func (b *AddonConfigBuilder) AddOnEnvironmentVariables(values ...*AddonEnvironmentVariableBuilder) *AddonConfigBuilder

AddOnEnvironmentVariables sets the value of the 'add_on_environment_variables' attribute to the given values.

func (*AddonConfigBuilder) AddOnSecretPropagations

func (b *AddonConfigBuilder) AddOnSecretPropagations(values ...*AddonSecretPropagationBuilder) *AddonConfigBuilder

AddOnSecretPropagations sets the value of the 'add_on_secret_propagations' attribute to the given values.

func (*AddonConfigBuilder) Build

func (b *AddonConfigBuilder) Build() (object *AddonConfig, err error)

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

func (*AddonConfigBuilder) Copy

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

func (*AddonConfigBuilder) Empty

func (b *AddonConfigBuilder) Empty() bool

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

type AddonConfigList

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

AddonConfigList is a list of values of the 'addon_config' type.

func (*AddonConfigList) Each

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

func (l *AddonConfigList) Empty() bool

Empty returns true if the list is empty.

func (*AddonConfigList) Get

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) Items

func (l *AddonConfigList) Items() []*AddonConfig

Items returns the items of the list.

func (*AddonConfigList) Len

func (l *AddonConfigList) Len() int

Len returns the length of the list.

func (*AddonConfigList) Range

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) SetHREF

func (l *AddonConfigList) SetHREF(href string)

Items sets the items of the list.

func (*AddonConfigList) SetItems

func (l *AddonConfigList) SetItems(items []*AddonConfig)

Items sets the items of the list.

func (l *AddonConfigList) SetLink(link bool)

Items sets the items of the list.

func (*AddonConfigList) Slice

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

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

AddonConfigListBuilder contains the data and logic needed to build 'addon_config' objects.

func NewAddonConfigList

func NewAddonConfigList() *AddonConfigListBuilder

NewAddonConfigList creates a new builder of 'addon_config' objects.

func (*AddonConfigListBuilder) Build

func (b *AddonConfigListBuilder) Build() (list *AddonConfigList, err error)

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

func (*AddonConfigListBuilder) Copy

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

func (*AddonConfigListBuilder) Empty

func (b *AddonConfigListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddonConfigListBuilder) Items

Items sets the items of the list.

type AddonEnvironmentVariable

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

AddonEnvironmentVariable represents the values of the 'addon_environment_variable' type.

Representation of an addon env object.

func ReadAddonEnvironmentVariable

func ReadAddonEnvironmentVariable(iterator *jsoniter.Iterator) *AddonEnvironmentVariable

ReadAddonEnvironmentVariable reads a value of the 'addon_environment_variable' type from the given iterator.

func ReadAddonEnvironmentVariableList

func ReadAddonEnvironmentVariableList(iterator *jsoniter.Iterator) []*AddonEnvironmentVariable

ReadAddonEnvironmentVariableList reads list of values of the ”addon_environment_variable' type from the given iterator.

func UnmarshalAddonEnvironmentVariable

func UnmarshalAddonEnvironmentVariable(source interface{}) (object *AddonEnvironmentVariable, err error)

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

func UnmarshalAddonEnvironmentVariableList

func UnmarshalAddonEnvironmentVariableList(source interface{}) (items []*AddonEnvironmentVariable, err error)

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

func (*AddonEnvironmentVariable) Empty

func (o *AddonEnvironmentVariable) Empty() bool

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

func (*AddonEnvironmentVariable) Enabled

func (o *AddonEnvironmentVariable) 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 environment variable is enabled for the addon

func (*AddonEnvironmentVariable) GetEnabled

func (o *AddonEnvironmentVariable) 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 environment variable is enabled for the addon

func (*AddonEnvironmentVariable) GetID

func (o *AddonEnvironmentVariable) 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 environment variable

func (*AddonEnvironmentVariable) GetName

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 environment variable

func (*AddonEnvironmentVariable) GetValue

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 environment variable

func (*AddonEnvironmentVariable) ID

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 environment variable

func (*AddonEnvironmentVariable) Name

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 environment variable

func (*AddonEnvironmentVariable) Value

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 environment variable

type AddonEnvironmentVariableBuilder

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

Representation of an addon env object.

func NewAddonEnvironmentVariable

func NewAddonEnvironmentVariable() *AddonEnvironmentVariableBuilder

NewAddonEnvironmentVariable creates a new builder of 'addon_environment_variable' objects.

func (*AddonEnvironmentVariableBuilder) Build

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

func (*AddonEnvironmentVariableBuilder) Copy

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

func (*AddonEnvironmentVariableBuilder) Empty

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

func (*AddonEnvironmentVariableBuilder) Enabled

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddonEnvironmentVariableBuilder) ID

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

func (*AddonEnvironmentVariableBuilder) Name

Name sets the value of the 'name' attribute to the given value.

func (*AddonEnvironmentVariableBuilder) Value

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

type AddonEnvironmentVariableList

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

AddonEnvironmentVariableList is a list of values of the 'addon_environment_variable' type.

func (*AddonEnvironmentVariableList) 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 (*AddonEnvironmentVariableList) Empty

Empty returns true if the list is empty.

func (*AddonEnvironmentVariableList) Get

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

func (*AddonEnvironmentVariableList) Items

Items returns the items of the list.

func (*AddonEnvironmentVariableList) Len

Len returns the length of the list.

func (*AddonEnvironmentVariableList) Range

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) SetHREF

func (l *AddonEnvironmentVariableList) SetHREF(href string)

Items sets the items of the list.

func (*AddonEnvironmentVariableList) SetItems

Items sets the items of the list.

func (l *AddonEnvironmentVariableList) SetLink(link bool)

Items sets the items of the list.

func (*AddonEnvironmentVariableList) 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 AddonEnvironmentVariableListBuilder

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

AddonEnvironmentVariableListBuilder contains the data and logic needed to build 'addon_environment_variable' objects.

func NewAddonEnvironmentVariableList

func NewAddonEnvironmentVariableList() *AddonEnvironmentVariableListBuilder

NewAddonEnvironmentVariableList creates a new builder of 'addon_environment_variable' objects.

func (*AddonEnvironmentVariableListBuilder) Build

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

func (*AddonEnvironmentVariableListBuilder) Copy

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

func (*AddonEnvironmentVariableListBuilder) Empty

Empty returns true if the list is empty.

func (*AddonEnvironmentVariableListBuilder) Items

Items sets the items of the list.

type AddonInstallMode

type AddonInstallMode string

AddonInstallMode represents the values of the 'addon_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 ReadAddonInstallModeList

func ReadAddonInstallModeList(iterator *jsoniter.Iterator) []AddonInstallMode

ReadAddonInstallModeList reads list of values of the ”addon_install_mode' type from the given iterator.

func UnmarshalAddonInstallModeList

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

UnmarshalAddonInstallModeList reads a list of values of the 'addon_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 'addon_installation' type.

Representation of addon installation

func ReadAddonInstallation

func ReadAddonInstallation(iterator *jsoniter.Iterator) *AddonInstallation

ReadAddonInstallation reads a value of the 'addon_installation' type from the given iterator.

func ReadAddonInstallationList

func ReadAddonInstallationList(iterator *jsoniter.Iterator) []*AddonInstallation

ReadAddonInstallationList reads list of values of the ”addon_installation' type from the given iterator.

func UnmarshalAddonInstallation

func UnmarshalAddonInstallation(source interface{}) (object *AddonInstallation, err error)

UnmarshalAddonInstallation reads a value of the 'addon_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 'addon_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.

Addon installed

func (*AddonInstallation) AddonVersion

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.

Addon version of the addon

func (*AddonInstallation) Billing

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

Billing of addon installation.

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) CsvName

func (o *AddonInstallation) CsvName() string

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

Current CSV installed on cluster

func (*AddonInstallation) DeletedTimestamp

func (o *AddonInstallation) DeletedTimestamp() time.Time

DeletedTimestamp returns the value of the 'deleted_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 deleted at.

func (*AddonInstallation) DesiredVersion

func (o *AddonInstallation) DesiredVersion() string

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

Version of the next scheduled upgrade

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.

Addon installed

func (*AddonInstallation) GetAddonVersion

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.

Addon version of the addon

func (*AddonInstallation) GetBilling

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 of addon installation.

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) GetCsvName

func (o *AddonInstallation) GetCsvName() (value string, ok bool)

GetCsvName returns the value of the 'csv_name' attribute and a flag indicating if the attribute has a value.

Current CSV installed on cluster

func (*AddonInstallation) GetDeletedTimestamp

func (o *AddonInstallation) GetDeletedTimestamp() (value time.Time, ok bool)

GetDeletedTimestamp returns the value of the 'deleted_timestamp' attribute and a flag indicating if the attribute has a value.

Date and time when the add-on installation deleted at.

func (*AddonInstallation) GetDesiredVersion

func (o *AddonInstallation) GetDesiredVersion() (value string, ok bool)

GetDesiredVersion returns the value of the 'desired_version' attribute and a flag indicating if the attribute has a value.

Version of the next scheduled upgrade

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

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.

Parameters in the 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.

Addon Installation State

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) GetSubscription

func (o *AddonInstallation) GetSubscription() (value *ObjectReference, ok bool)

GetSubscription returns the value of the 'subscription' attribute and a flag indicating if the attribute has a value.

Subscription for the addon installation

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 if 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

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

Parameters in the 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.

Addon Installation State

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) Subscription

func (o *AddonInstallation) Subscription() *ObjectReference

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

Subscription for the addon installation

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

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

AddonInstallationBilling represents the values of the 'addon_installation_billing' type.

Representation of an add-on installation billing.

func ReadAddonInstallationBilling

func ReadAddonInstallationBilling(iterator *jsoniter.Iterator) *AddonInstallationBilling

ReadAddonInstallationBilling reads a value of the 'addon_installation_billing' type from the given iterator.

func ReadAddonInstallationBillingList

func ReadAddonInstallationBillingList(iterator *jsoniter.Iterator) []*AddonInstallationBilling

ReadAddonInstallationBillingList reads list of values of the ”addon_installation_billing' type from the given iterator.

func UnmarshalAddonInstallationBilling

func UnmarshalAddonInstallationBilling(source interface{}) (object *AddonInstallationBilling, err error)

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

func UnmarshalAddonInstallationBillingList

func UnmarshalAddonInstallationBillingList(source interface{}) (items []*AddonInstallationBilling, err error)

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

func (*AddonInstallationBilling) BillingMarketplaceAccount

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

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

func (o *AddonInstallationBilling) Empty() bool

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

func (*AddonInstallationBilling) GetBillingMarketplaceAccount

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

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

func (o *AddonInstallationBilling) GetHref() (value string, ok bool)

GetHref returns the value of the 'href' attribute and a flag indicating if the attribute has a value.

Self link

func (*AddonInstallationBilling) GetId

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

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

Unique identifier of the object

func (*AddonInstallationBilling) GetKind

func (o *AddonInstallationBilling) GetKind() (value string, ok bool)

GetKind returns the value of the 'kind' attribute and a flag indicating if the attribute has a value.

Indicates the type of this object

func (*AddonInstallationBilling) Href

func (o *AddonInstallationBilling) Href() string

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

Self link

func (*AddonInstallationBilling) Id

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

Unique identifier of the object

func (*AddonInstallationBilling) Kind

func (o *AddonInstallationBilling) Kind() string

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

Indicates the type of this object

type AddonInstallationBillingBuilder

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

Representation of an add-on installation billing.

func NewAddonInstallationBilling

func NewAddonInstallationBilling() *AddonInstallationBillingBuilder

NewAddonInstallationBilling creates a new builder of 'addon_installation_billing' objects.

func (*AddonInstallationBillingBuilder) BillingMarketplaceAccount

func (b *AddonInstallationBillingBuilder) BillingMarketplaceAccount(value string) *AddonInstallationBillingBuilder

BillingMarketplaceAccount sets the value of the 'billing_marketplace_account' attribute to the given value.

func (*AddonInstallationBillingBuilder) BillingModel

BillingModel sets the value of the 'billing_model' attribute to the given value.

Representation of an billing model field.

func (*AddonInstallationBillingBuilder) Build

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

func (*AddonInstallationBillingBuilder) Copy

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

func (*AddonInstallationBillingBuilder) Empty

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

func (*AddonInstallationBillingBuilder) Href

Href sets the value of the 'href' attribute to the given value.

func (*AddonInstallationBillingBuilder) Id

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

func (*AddonInstallationBillingBuilder) Kind

Kind sets the value of the 'kind' attribute to the given value.

type AddonInstallationBillingList

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

AddonInstallationBillingList is a list of values of the 'addon_installation_billing' type.

func (*AddonInstallationBillingList) 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 (*AddonInstallationBillingList) Empty

Empty returns true if the list is empty.

func (*AddonInstallationBillingList) Get

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

func (*AddonInstallationBillingList) Items

Items returns the items of the list.

func (*AddonInstallationBillingList) Len

Len returns the length of the list.

func (*AddonInstallationBillingList) Range

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) SetHREF

func (l *AddonInstallationBillingList) SetHREF(href string)

Items sets the items of the list.

func (*AddonInstallationBillingList) SetItems

Items sets the items of the list.

func (l *AddonInstallationBillingList) SetLink(link bool)

Items sets the items of the list.

func (*AddonInstallationBillingList) 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 AddonInstallationBillingListBuilder

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

AddonInstallationBillingListBuilder contains the data and logic needed to build 'addon_installation_billing' objects.

func NewAddonInstallationBillingList

func NewAddonInstallationBillingList() *AddonInstallationBillingListBuilder

NewAddonInstallationBillingList creates a new builder of 'addon_installation_billing' objects.

func (*AddonInstallationBillingListBuilder) Build

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

func (*AddonInstallationBillingListBuilder) Copy

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

func (*AddonInstallationBillingListBuilder) Empty

Empty returns true if the list is empty.

func (*AddonInstallationBillingListBuilder) Items

Items sets the items of the list.

type AddonInstallationBuilder

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

Representation of addon installation

func NewAddonInstallation

func NewAddonInstallation() *AddonInstallationBuilder

NewAddonInstallation creates a new builder of 'addon_installation' objects.

func (*AddonInstallationBuilder) Addon

Addon sets the value of the 'addon' attribute to the given value.

Representation of an addon that can be installed in a cluster.

func (*AddonInstallationBuilder) AddonVersion

AddonVersion sets the value of the 'addon_version' attribute to the given value.

Representation of an addon version.

func (*AddonInstallationBuilder) Billing

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 'addon_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) CsvName

CsvName sets the value of the 'csv_name' attribute to the given value.

func (*AddonInstallationBuilder) DeletedTimestamp

func (b *AddonInstallationBuilder) DeletedTimestamp(value time.Time) *AddonInstallationBuilder

DeletedTimestamp sets the value of the 'deleted_timestamp' attribute to the given value.

func (*AddonInstallationBuilder) DesiredVersion

func (b *AddonInstallationBuilder) DesiredVersion(value string) *AddonInstallationBuilder

DesiredVersion sets the value of the 'desired_version' attribute to the given value.

func (*AddonInstallationBuilder) Empty

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

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 addon installation state

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) Subscription

Subscription sets the value of the 'subscription' attribute to the given value.

representation of object reference/subscription

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 AddonInstallationList

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

AddonInstallationList is a list of values of the 'addon_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) Items

Items returns the items of 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) SetHREF

func (l *AddonInstallationList) SetHREF(href string)

Items sets the items of the list.

func (*AddonInstallationList) SetItems

func (l *AddonInstallationList) SetItems(items []*AddonInstallation)

Items sets the items of the list.

func (l *AddonInstallationList) SetLink(link bool)

Items sets the items of the list.

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

func NewAddonInstallationList

func NewAddonInstallationList() *AddonInstallationListBuilder

NewAddonInstallationList creates a new builder of 'addon_installation' objects.

func (*AddonInstallationListBuilder) Build

Build creates a list of 'addon_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

Empty returns true if the list is empty.

func (*AddonInstallationListBuilder) Items

Items sets the items of the list.

type AddonInstallationParameter

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

AddonInstallationParameter represents the values of the 'addon_installation_parameter' type.

representation of addon installation parameter

func ReadAddonInstallationParameter

func ReadAddonInstallationParameter(iterator *jsoniter.Iterator) *AddonInstallationParameter

ReadAddonInstallationParameter reads a value of the 'addon_installation_parameter' type from the given iterator.

func ReadAddonInstallationParameterList

func ReadAddonInstallationParameterList(iterator *jsoniter.Iterator) []*AddonInstallationParameter

ReadAddonInstallationParameterList reads list of values of the ”addon_installation_parameter' type from the given iterator.

func UnmarshalAddonInstallationParameter

func UnmarshalAddonInstallationParameter(source interface{}) (object *AddonInstallationParameter, err error)

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

func UnmarshalAddonInstallationParameterList

func UnmarshalAddonInstallationParameterList(source interface{}) (items []*AddonInstallationParameter, err error)

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

func (*AddonInstallationParameter) Empty

func (o *AddonInstallationParameter) Empty() bool

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

func (*AddonInstallationParameter) GetHref

func (o *AddonInstallationParameter) GetHref() (value string, ok bool)

GetHref returns the value of the 'href' attribute and a flag indicating if the attribute has a value.

Self link

func (*AddonInstallationParameter) GetId

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

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

Unique identifier of the object

func (*AddonInstallationParameter) GetKind

func (o *AddonInstallationParameter) GetKind() (value string, ok bool)

GetKind returns the value of the 'kind' attribute and a flag indicating if the attribute has a value.

Indicates the type of this object

func (*AddonInstallationParameter) GetValue

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

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

Self link

func (*AddonInstallationParameter) Id

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

Unique identifier of the object

func (*AddonInstallationParameter) Kind

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

Indicates the type of this object

func (*AddonInstallationParameter) Value

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

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

representation of addon installation parameter

func NewAddonInstallationParameter

func NewAddonInstallationParameter() *AddonInstallationParameterBuilder

NewAddonInstallationParameter creates a new builder of 'addon_installation_parameter' objects.

func (*AddonInstallationParameterBuilder) Build

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

func (*AddonInstallationParameterBuilder) Copy

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

func (*AddonInstallationParameterBuilder) Empty

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

func (*AddonInstallationParameterBuilder) Href

Href sets the value of the 'href' attribute to the given value.

func (*AddonInstallationParameterBuilder) Id

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

func (*AddonInstallationParameterBuilder) Kind

Kind sets the value of the 'kind' attribute to the given value.

func (*AddonInstallationParameterBuilder) Value

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

type AddonInstallationParameterList

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

AddonInstallationParameterList is a list of values of the 'addon_installation_parameter' type.

func (*AddonInstallationParameterList) 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 (*AddonInstallationParameterList) Empty

Empty returns true if the list is empty.

func (*AddonInstallationParameterList) Get

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

func (*AddonInstallationParameterList) Items

Items returns the items of the list.

func (*AddonInstallationParameterList) Len

Len returns the length of the list.

func (*AddonInstallationParameterList) Range

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) SetHREF

func (l *AddonInstallationParameterList) SetHREF(href string)

Items sets the items of the list.

func (*AddonInstallationParameterList) SetItems

Items sets the items of the list.

func (l *AddonInstallationParameterList) SetLink(link bool)

Items sets the items of the list.

func (*AddonInstallationParameterList) 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 AddonInstallationParameterListBuilder

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

AddonInstallationParameterListBuilder contains the data and logic needed to build 'addon_installation_parameter' objects.

func NewAddonInstallationParameterList

func NewAddonInstallationParameterList() *AddonInstallationParameterListBuilder

NewAddonInstallationParameterList creates a new builder of 'addon_installation_parameter' objects.

func (*AddonInstallationParameterListBuilder) Build

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

func (*AddonInstallationParameterListBuilder) Copy

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

func (*AddonInstallationParameterListBuilder) Empty

Empty returns true if the list is empty.

func (*AddonInstallationParameterListBuilder) Items

Items sets the items of the list.

type AddonInstallationParameters

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

AddonInstallationParameters represents the values of the 'addon_installation_parameters' type.

representation of addon installation parameter

func ReadAddonInstallationParameters

func ReadAddonInstallationParameters(iterator *jsoniter.Iterator) *AddonInstallationParameters

ReadAddonInstallationParameters reads a value of the 'addon_installation_parameters' type from the given iterator.

func ReadAddonInstallationParametersList

func ReadAddonInstallationParametersList(iterator *jsoniter.Iterator) []*AddonInstallationParameters

ReadAddonInstallationParametersList reads list of values of the ”addon_installation_parameters' type from the given iterator.

func UnmarshalAddonInstallationParameters

func UnmarshalAddonInstallationParameters(source interface{}) (object *AddonInstallationParameters, err error)

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

func UnmarshalAddonInstallationParametersList

func UnmarshalAddonInstallationParametersList(source interface{}) (items []*AddonInstallationParameters, err error)

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

func (*AddonInstallationParameters) Empty

func (o *AddonInstallationParameters) Empty() bool

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

func (*AddonInstallationParameters) GetItems

func (o *AddonInstallationParameters) GetItems() (value []*AddonInstallationParameter, ok bool)

GetItems returns the value of the 'items' attribute and a flag indicating if the attribute has a value.

list of addon installation parameters

func (*AddonInstallationParameters) Items

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

list of addon installation parameters

type AddonInstallationParametersBuilder

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

representation of addon installation parameter

func NewAddonInstallationParameters

func NewAddonInstallationParameters() *AddonInstallationParametersBuilder

NewAddonInstallationParameters creates a new builder of 'addon_installation_parameters' objects.

func (*AddonInstallationParametersBuilder) Build

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

func (*AddonInstallationParametersBuilder) Copy

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

func (*AddonInstallationParametersBuilder) Empty

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

func (*AddonInstallationParametersBuilder) Items

Items sets the value of the 'items' attribute to the given values.

type AddonInstallationParametersList

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

AddonInstallationParametersList is a list of values of the 'addon_installation_parameters' type.

func (*AddonInstallationParametersList) 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 (*AddonInstallationParametersList) Empty

Empty returns true if the list is empty.

func (*AddonInstallationParametersList) Get

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

func (*AddonInstallationParametersList) Items

Items returns the items of the list.

func (*AddonInstallationParametersList) Len

Len returns the length of the list.

func (*AddonInstallationParametersList) 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 (*AddonInstallationParametersList) SetHREF

func (l *AddonInstallationParametersList) SetHREF(href string)

Items sets the items of the list.

func (*AddonInstallationParametersList) SetItems

Items sets the items of the list.

func (l *AddonInstallationParametersList) SetLink(link bool)

Items sets the items of the list.

func (*AddonInstallationParametersList) 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 AddonInstallationParametersListBuilder

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

AddonInstallationParametersListBuilder contains the data and logic needed to build 'addon_installation_parameters' objects.

func NewAddonInstallationParametersList

func NewAddonInstallationParametersList() *AddonInstallationParametersListBuilder

NewAddonInstallationParametersList creates a new builder of 'addon_installation_parameters' objects.

func (*AddonInstallationParametersListBuilder) Build

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

func (*AddonInstallationParametersListBuilder) Copy

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

func (*AddonInstallationParametersListBuilder) Empty

Empty returns true if the list is empty.

func (*AddonInstallationParametersListBuilder) Items

Items sets the items of the list.

type AddonInstallationState

type AddonInstallationState string

AddonInstallationState represents the values of the 'addon_installation_state' enumerated type.

const (
	//
	AddonInstallationStateDeleteFailed AddonInstallationState = "delete-failed"
	//
	AddonInstallationStateDeletePending AddonInstallationState = "delete-pending"
	//
	AddonInstallationStateDeleted AddonInstallationState = "deleted"
	//
	AddonInstallationStateDeleting AddonInstallationState = "deleting"
	//
	AddonInstallationStateFailed AddonInstallationState = "failed"
	//
	AddonInstallationStateInstalling AddonInstallationState = "installing"
	//
	AddonInstallationStatePending AddonInstallationState = "pending"
	//
	AddonInstallationStateReady AddonInstallationState = "ready"
	//
	AddonInstallationStateUndefined AddonInstallationState = "undefined"
	//
	AddonInstallationStateUpgrading AddonInstallationState = "upgrading"
)

func ReadAddonInstallationStateList

func ReadAddonInstallationStateList(iterator *jsoniter.Iterator) []AddonInstallationState

ReadAddonInstallationStateList reads list of values of the ”addon_installation_state' type from the given iterator.

func UnmarshalAddonInstallationStateList

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

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

type AddonList

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

AddonList is a list of values of the 'addon' 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) Items

func (l *AddonList) Items() []*Addon

Items returns the items of 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) SetHREF

func (l *AddonList) SetHREF(href string)

Items sets the items of the list.

func (*AddonList) SetItems

func (l *AddonList) SetItems(items []*Addon)

Items sets the items of the list.

func (l *AddonList) SetLink(link bool)

Items sets the items of the list.

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

func NewAddonList

func NewAddonList() *AddonListBuilder

NewAddonList creates a new builder of 'addon' objects.

func (*AddonListBuilder) Build

func (b *AddonListBuilder) Build() (list *AddonList, err error)

Build creates a list of 'addon' 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

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

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

AddonNamespace represents the values of the 'addon_namespace' type.

Representation of an addon namespace object.

func ReadAddonNamespace

func ReadAddonNamespace(iterator *jsoniter.Iterator) *AddonNamespace

ReadAddonNamespace reads a value of the 'addon_namespace' type from the given iterator.

func ReadAddonNamespaceList

func ReadAddonNamespaceList(iterator *jsoniter.Iterator) []*AddonNamespace

ReadAddonNamespaceList reads list of values of the ”addon_namespace' type from the given iterator.

func UnmarshalAddonNamespace

func UnmarshalAddonNamespace(source interface{}) (object *AddonNamespace, err error)

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

func UnmarshalAddonNamespaceList

func UnmarshalAddonNamespaceList(source interface{}) (items []*AddonNamespace, err error)

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

func (*AddonNamespace) Annotations

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 included in the addon namespace

func (*AddonNamespace) Empty

func (o *AddonNamespace) Empty() bool

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

func (*AddonNamespace) Enabled

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

Enabled shows if this namespace object is in use

func (*AddonNamespace) GetAnnotations

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 included in the addon namespace

func (*AddonNamespace) GetEnabled

func (o *AddonNamespace) GetEnabled() (value bool, ok bool)

GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.

Enabled shows if this namespace object is in use

func (*AddonNamespace) GetLabels

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 included in the addon namespace

func (*AddonNamespace) GetName

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) Labels

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 included in the addon namespace

func (*AddonNamespace) Name

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

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

Representation of an addon namespace object.

func NewAddonNamespace

func NewAddonNamespace() *AddonNamespaceBuilder

NewAddonNamespace creates a new builder of 'addon_namespace' objects.

func (*AddonNamespaceBuilder) Annotations

func (b *AddonNamespaceBuilder) Annotations(value map[string]string) *AddonNamespaceBuilder

Annotations sets the value of the 'annotations' attribute to the given value.

func (*AddonNamespaceBuilder) Build

func (b *AddonNamespaceBuilder) Build() (object *AddonNamespace, err error)

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

func (*AddonNamespaceBuilder) Copy

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

func (*AddonNamespaceBuilder) Empty

func (b *AddonNamespaceBuilder) Empty() bool

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

func (*AddonNamespaceBuilder) Enabled

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddonNamespaceBuilder) Labels

Labels sets the value of the 'labels' attribute to the given value.

func (*AddonNamespaceBuilder) Name

Name sets the value of the 'name' attribute to the given value.

type AddonNamespaceList

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

AddonNamespaceList is a list of values of the 'addon_namespace' type.

func (*AddonNamespaceList) Each

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

func (l *AddonNamespaceList) Empty() bool

Empty returns true if the list is empty.

func (*AddonNamespaceList) Get

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

func (*AddonNamespaceList) Items

func (l *AddonNamespaceList) Items() []*AddonNamespace

Items returns the items of the list.

func (*AddonNamespaceList) Len

func (l *AddonNamespaceList) Len() int

Len returns the length of the list.

func (*AddonNamespaceList) Range

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) SetHREF

func (l *AddonNamespaceList) SetHREF(href string)

Items sets the items of the list.

func (*AddonNamespaceList) SetItems

func (l *AddonNamespaceList) SetItems(items []*AddonNamespace)

Items sets the items of the list.

func (l *AddonNamespaceList) SetLink(link bool)

Items sets the items of the list.

func (*AddonNamespaceList) Slice

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

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

AddonNamespaceListBuilder contains the data and logic needed to build 'addon_namespace' objects.

func NewAddonNamespaceList

func NewAddonNamespaceList() *AddonNamespaceListBuilder

NewAddonNamespaceList creates a new builder of 'addon_namespace' objects.

func (*AddonNamespaceListBuilder) Build

func (b *AddonNamespaceListBuilder) Build() (list *AddonNamespaceList, err error)

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

func (*AddonNamespaceListBuilder) Copy

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

func (*AddonNamespaceListBuilder) Empty

func (b *AddonNamespaceListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddonNamespaceListBuilder) Items

Items sets the items of the list.

type AddonParameter

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

AddonParameter represents the values of the 'addon_parameter' type.

Representation of an addon parameter.

func ReadAddonParameter

func ReadAddonParameter(iterator *jsoniter.Iterator) *AddonParameter

ReadAddonParameter reads a value of the 'addon_parameter' type from the given iterator.

func ReadAddonParameterList

func ReadAddonParameterList(iterator *jsoniter.Iterator) []*AddonParameter

ReadAddonParameterList reads list of values of the ”addon_parameter' type from the given iterator.

func UnmarshalAddonParameter

func UnmarshalAddonParameter(source interface{}) (object *AddonParameter, err error)

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

func UnmarshalAddonParameterList

func UnmarshalAddonParameterList(source interface{}) (items []*AddonParameter, err error)

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

func (*AddonParameter) Addon

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.

func (*AddonParameter) Conditions

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

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 addon parameter.

func (*AddonParameter) Description

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 addon parameter.

func (*AddonParameter) Editable

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

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

func (o *AddonParameter) Empty() bool

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

func (*AddonParameter) Enabled

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

func (*AddonParameter) GetAddon

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.

func (*AddonParameter) GetConditions

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

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 addon parameter.

func (*AddonParameter) GetDescription

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 addon parameter.

func (*AddonParameter) GetEditable

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

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

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

func (*AddonParameter) GetID

func (o *AddonParameter) 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 this addon parameter

func (*AddonParameter) GetName

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 addon parameter.

func (*AddonParameter) GetOptions

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 addon parameter value.

func (*AddonParameter) GetOrder

func (o *AddonParameter) GetOrder() (value int, ok bool)

GetOrder returns the value of the 'order' attribute and a flag indicating if the attribute has a value.

Indicates the weight of the AddonParameter which would be used by sort order

func (*AddonParameter) GetRequired

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

func (*AddonParameter) GetValidation

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 addon parameter.

func (*AddonParameter) GetValidationErrMsg

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

func (o *AddonParameter) GetValueType() (value AddonParameterValueType, 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 addon parameter.

func (*AddonParameter) ID

func (o *AddonParameter) 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 this addon parameter

func (*AddonParameter) Name

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 addon parameter.

func (*AddonParameter) Options

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 addon parameter value.

func (*AddonParameter) Order

func (o *AddonParameter) Order() int

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

Indicates the weight of the AddonParameter which would be used by sort order

func (*AddonParameter) Required

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

func (*AddonParameter) Validation

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 addon parameter.

func (*AddonParameter) ValidationErrMsg

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

func (o *AddonParameter) ValueType() AddonParameterValueType

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 addon parameter.

type AddonParameterBuilder

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

Representation of an addon parameter.

func NewAddonParameter

func NewAddonParameter() *AddonParameterBuilder

NewAddonParameter creates a new builder of 'addon_parameter' objects.

func (*AddonParameterBuilder) Addon

Addon sets the value of the 'addon' attribute to the given value.

Representation of an addon that can be installed in a cluster.

func (*AddonParameterBuilder) Build

func (b *AddonParameterBuilder) Build() (object *AddonParameter, err error)

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

func (*AddonParameterBuilder) Conditions

Conditions sets the value of the 'conditions' attribute to the given values.

func (*AddonParameterBuilder) Copy

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

func (*AddonParameterBuilder) DefaultValue

func (b *AddonParameterBuilder) DefaultValue(value string) *AddonParameterBuilder

DefaultValue sets the value of the 'default_value' attribute to the given value.

func (*AddonParameterBuilder) Description

func (b *AddonParameterBuilder) Description(value string) *AddonParameterBuilder

Description sets the value of the 'description' attribute to the given value.

func (*AddonParameterBuilder) Editable

func (b *AddonParameterBuilder) Editable(value bool) *AddonParameterBuilder

Editable sets the value of the 'editable' attribute to the given value.

func (*AddonParameterBuilder) EditableDirection

func (b *AddonParameterBuilder) EditableDirection(value string) *AddonParameterBuilder

EditableDirection sets the value of the 'editable_direction' attribute to the given value.

func (*AddonParameterBuilder) Empty

func (b *AddonParameterBuilder) Empty() bool

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

func (*AddonParameterBuilder) Enabled

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddonParameterBuilder) ID

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

func (*AddonParameterBuilder) Name

Name sets the value of the 'name' attribute to the given value.

func (*AddonParameterBuilder) Options

Options sets the value of the 'options' attribute to the given values.

func (*AddonParameterBuilder) Order

Order sets the value of the 'order' attribute to the given value.

func (*AddonParameterBuilder) Required

func (b *AddonParameterBuilder) Required(value bool) *AddonParameterBuilder

Required sets the value of the 'required' attribute to the given value.

func (*AddonParameterBuilder) Validation

func (b *AddonParameterBuilder) Validation(value string) *AddonParameterBuilder

Validation sets the value of the 'validation' attribute to the given value.

func (*AddonParameterBuilder) ValidationErrMsg

func (b *AddonParameterBuilder) ValidationErrMsg(value string) *AddonParameterBuilder

ValidationErrMsg sets the value of the 'validation_err_msg' attribute to the given value.

func (*AddonParameterBuilder) ValueType

ValueType sets the value of the 'value_type' attribute to the given value.

Representation of the value type for this specific addon parameter

type AddonParameterList

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

AddonParameterList is a list of values of the 'addon_parameter' type.

func (*AddonParameterList) Each

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

func (l *AddonParameterList) Empty() bool

Empty returns true if the list is empty.

func (*AddonParameterList) Get

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

func (*AddonParameterList) Items

func (l *AddonParameterList) Items() []*AddonParameter

Items returns the items of the list.

func (*AddonParameterList) Len

func (l *AddonParameterList) Len() int

Len returns the length of the list.

func (*AddonParameterList) Range

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) SetHREF

func (l *AddonParameterList) SetHREF(href string)

Items sets the items of the list.

func (*AddonParameterList) SetItems

func (l *AddonParameterList) SetItems(items []*AddonParameter)

Items sets the items of the list.

func (l *AddonParameterList) SetLink(link bool)

Items sets the items of the list.

func (*AddonParameterList) Slice

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

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

AddonParameterListBuilder contains the data and logic needed to build 'addon_parameter' objects.

func NewAddonParameterList

func NewAddonParameterList() *AddonParameterListBuilder

NewAddonParameterList creates a new builder of 'addon_parameter' objects.

func (*AddonParameterListBuilder) Build

func (b *AddonParameterListBuilder) Build() (list *AddonParameterList, err error)

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

func (*AddonParameterListBuilder) Copy

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

func (*AddonParameterListBuilder) Empty

func (b *AddonParameterListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddonParameterListBuilder) Items

Items sets the items of the list.

type AddonParameterOption

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

AddonParameterOption represents the values of the 'addon_parameter_option' type.

Representation of an addon parameter option.

func ReadAddonParameterOption

func ReadAddonParameterOption(iterator *jsoniter.Iterator) *AddonParameterOption

ReadAddonParameterOption reads a value of the 'addon_parameter_option' type from the given iterator.

func ReadAddonParameterOptionList

func ReadAddonParameterOptionList(iterator *jsoniter.Iterator) []*AddonParameterOption

ReadAddonParameterOptionList reads list of values of the ”addon_parameter_option' type from the given iterator.

func UnmarshalAddonParameterOption

func UnmarshalAddonParameterOption(source interface{}) (object *AddonParameterOption, err error)

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

func UnmarshalAddonParameterOptionList

func UnmarshalAddonParameterOptionList(source interface{}) (items []*AddonParameterOption, err error)

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

func (*AddonParameterOption) Empty

func (o *AddonParameterOption) Empty() bool

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

func (*AddonParameterOption) GetName

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 addon parameter option.

func (*AddonParameterOption) GetRank

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

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 addon requirements for this parameter option.

func (*AddonParameterOption) GetValue

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 addon parameter option.

func (*AddonParameterOption) Name

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 addon parameter option.

func (*AddonParameterOption) Rank

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

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 addon requirements for this parameter option.

func (*AddonParameterOption) Value

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 addon parameter option.

type AddonParameterOptionBuilder

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

Representation of an addon parameter option.

func NewAddonParameterOption

func NewAddonParameterOption() *AddonParameterOptionBuilder

NewAddonParameterOption creates a new builder of 'addon_parameter_option' objects.

func (*AddonParameterOptionBuilder) Build

func (b *AddonParameterOptionBuilder) Build() (object *AddonParameterOption, err error)

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

func (*AddonParameterOptionBuilder) Copy

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

func (*AddonParameterOptionBuilder) Empty

func (b *AddonParameterOptionBuilder) Empty() bool

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

func (*AddonParameterOptionBuilder) Name

Name sets the value of the 'name' attribute to the given value.

func (*AddonParameterOptionBuilder) Rank

Rank sets the value of the 'rank' attribute to the given value.

func (*AddonParameterOptionBuilder) Requirements

Requirements sets the value of the 'requirements' attribute to the given values.

func (*AddonParameterOptionBuilder) Value

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

type AddonParameterOptionList

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

AddonParameterOptionList is a list of values of the 'addon_parameter_option' type.

func (*AddonParameterOptionList) Each

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

func (l *AddonParameterOptionList) Empty() bool

Empty returns true if the list is empty.

func (*AddonParameterOptionList) Get

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

func (*AddonParameterOptionList) Items

Items returns the items of the list.

func (*AddonParameterOptionList) Len

func (l *AddonParameterOptionList) Len() int

Len returns the length of the list.

func (*AddonParameterOptionList) Range

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) SetHREF

func (l *AddonParameterOptionList) SetHREF(href string)

Items sets the items of the list.

func (*AddonParameterOptionList) SetItems

func (l *AddonParameterOptionList) SetItems(items []*AddonParameterOption)

Items sets the items of the list.

func (l *AddonParameterOptionList) SetLink(link bool)

Items sets the items of the list.

func (*AddonParameterOptionList) 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 AddonParameterOptionListBuilder

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

AddonParameterOptionListBuilder contains the data and logic needed to build 'addon_parameter_option' objects.

func NewAddonParameterOptionList

func NewAddonParameterOptionList() *AddonParameterOptionListBuilder

NewAddonParameterOptionList creates a new builder of 'addon_parameter_option' objects.

func (*AddonParameterOptionListBuilder) Build

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

func (*AddonParameterOptionListBuilder) Copy

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

func (*AddonParameterOptionListBuilder) Empty

Empty returns true if the list is empty.

func (*AddonParameterOptionListBuilder) Items

Items sets the items of the list.

type AddonParameterValueType

type AddonParameterValueType string

AddonParameterValueType represents the values of the 'addon_parameter_value_type' enumerated type.

const (
	// This value type enforces a valid CIDR value to be passed as parameter value
	AddonParameterValueTypeCIDR AddonParameterValueType = "cidr"
	// This value type must be a valid boolean
	AddonParameterValueTypeBoolean AddonParameterValueType = "boolean"
	// This value type must be a valid number, this includes integer and float type numbers
	AddonParameterValueTypeNumber AddonParameterValueType = "number"
	// This value must match a valid SKU resource in OCM
	AddonParameterValueTypeResource AddonParameterValueType = "resource"
	// This value must match a valid SKU resource in OCM and allows for validation of SKU resource in OCM
	AddonParameterValueTypeResourceRequirement AddonParameterValueType = "resource_requirement"
	// This value type must be a valid string
	AddonParameterValueTypeString AddonParameterValueType = "string"
)

func ReadAddonParameterValueTypeList

func ReadAddonParameterValueTypeList(iterator *jsoniter.Iterator) []AddonParameterValueType

ReadAddonParameterValueTypeList reads list of values of the ”addon_parameter_value_type' type from the given iterator.

func UnmarshalAddonParameterValueTypeList

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

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

type AddonParameters

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

AddonParameters represents the values of the 'addon_parameters' type.

Representation of AddonParameters

func ReadAddonParameters

func ReadAddonParameters(iterator *jsoniter.Iterator) *AddonParameters

ReadAddonParameters reads a value of the 'addon_parameters' type from the given iterator.

func ReadAddonParametersList

func ReadAddonParametersList(iterator *jsoniter.Iterator) []*AddonParameters

ReadAddonParametersList reads list of values of the ”addon_parameters' type from the given iterator.

func UnmarshalAddonParameters

func UnmarshalAddonParameters(source interface{}) (object *AddonParameters, err error)

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

func UnmarshalAddonParametersList

func UnmarshalAddonParametersList(source interface{}) (items []*AddonParameters, err error)

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

func (*AddonParameters) Empty

func (o *AddonParameters) Empty() bool

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

func (*AddonParameters) GetItems

func (o *AddonParameters) GetItems() (value []*AddonParameter, ok bool)

GetItems returns the value of the 'items' attribute and a flag indicating if the attribute has a value.

List of addon parameters

func (*AddonParameters) Items

func (o *AddonParameters) Items() []*AddonParameter

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

List of addon parameters

type AddonParametersBuilder

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

Representation of AddonParameters

func NewAddonParameters

func NewAddonParameters() *AddonParametersBuilder

NewAddonParameters creates a new builder of 'addon_parameters' objects.

func (*AddonParametersBuilder) Build

func (b *AddonParametersBuilder) Build() (object *AddonParameters, err error)

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

func (*AddonParametersBuilder) Copy

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

func (*AddonParametersBuilder) Empty

func (b *AddonParametersBuilder) Empty() bool

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

func (*AddonParametersBuilder) Items

Items sets the value of the 'items' attribute to the given values.

type AddonParametersList

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

AddonParametersList is a list of values of the 'addon_parameters' type.

func (*AddonParametersList) Each

func (l *AddonParametersList) Each(f func(item *AddonParameters) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonParametersList) Empty

func (l *AddonParametersList) Empty() bool

Empty returns true if the list is empty.

func (*AddonParametersList) Get

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

func (*AddonParametersList) Items

func (l *AddonParametersList) Items() []*AddonParameters

Items returns the items of the list.

func (*AddonParametersList) Len

func (l *AddonParametersList) Len() int

Len returns the length of the list.

func (*AddonParametersList) Range

func (l *AddonParametersList) Range(f func(index int, item *AddonParameters) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonParametersList) SetHREF

func (l *AddonParametersList) SetHREF(href string)

Items sets the items of the list.

func (*AddonParametersList) SetItems

func (l *AddonParametersList) SetItems(items []*AddonParameters)

Items sets the items of the list.

func (l *AddonParametersList) SetLink(link bool)

Items sets the items of the list.

func (*AddonParametersList) Slice

func (l *AddonParametersList) Slice() []*AddonParameters

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AddonParametersListBuilder

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

AddonParametersListBuilder contains the data and logic needed to build 'addon_parameters' objects.

func NewAddonParametersList

func NewAddonParametersList() *AddonParametersListBuilder

NewAddonParametersList creates a new builder of 'addon_parameters' objects.

func (*AddonParametersListBuilder) Build

func (b *AddonParametersListBuilder) Build() (list *AddonParametersList, err error)

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

func (*AddonParametersListBuilder) Copy

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

func (*AddonParametersListBuilder) Empty

func (b *AddonParametersListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddonParametersListBuilder) Items

Items sets the items of the list.

type AddonRequirement

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

AddonRequirement represents the values of the 'addon_requirement' type.

Representation of an addon requirement.

func ReadAddonRequirement

func ReadAddonRequirement(iterator *jsoniter.Iterator) *AddonRequirement

ReadAddonRequirement reads a value of the 'addon_requirement' type from the given iterator.

func ReadAddonRequirementList

func ReadAddonRequirementList(iterator *jsoniter.Iterator) []*AddonRequirement

ReadAddonRequirementList reads list of values of the ”addon_requirement' type from the given iterator.

func UnmarshalAddonRequirement

func UnmarshalAddonRequirement(source interface{}) (object *AddonRequirement, err error)

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

func UnmarshalAddonRequirementList

func UnmarshalAddonRequirementList(source interface{}) (items []*AddonRequirement, err error)

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

func (*AddonRequirement) Data

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 addon requirement.

func (*AddonRequirement) Empty

func (o *AddonRequirement) Empty() bool

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

func (*AddonRequirement) Enabled

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

func (*AddonRequirement) GetData

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 addon requirement.

func (*AddonRequirement) GetEnabled

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

func (*AddonRequirement) GetID

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 addon requirement.

func (*AddonRequirement) GetResource

func (o *AddonRequirement) GetResource() (value AddonRequirementResource, 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 addon requirement.

func (*AddonRequirement) GetStatus

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

func (*AddonRequirement) ID

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 addon requirement.

func (*AddonRequirement) Resource

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 addon requirement.

func (*AddonRequirement) Status

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

type AddonRequirementBuilder

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

Representation of an addon requirement.

func NewAddonRequirement

func NewAddonRequirement() *AddonRequirementBuilder

NewAddonRequirement creates a new builder of 'addon_requirement' objects.

func (*AddonRequirementBuilder) Build

func (b *AddonRequirementBuilder) Build() (object *AddonRequirement, err error)

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

func (*AddonRequirementBuilder) Copy

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

func (*AddonRequirementBuilder) Data

func (b *AddonRequirementBuilder) Data(value map[string]interface{}) *AddonRequirementBuilder

Data sets the value of the 'data' attribute to the given value.

func (*AddonRequirementBuilder) Empty

func (b *AddonRequirementBuilder) Empty() bool

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

func (*AddonRequirementBuilder) Enabled

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddonRequirementBuilder) ID

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

func (*AddonRequirementBuilder) Resource

Resource sets the value of the 'resource' attribute to the given value.

Addon requirement resource type

func (*AddonRequirementBuilder) Status

Status sets the value of the 'status' attribute to the given value.

Representation of an addon requirement status.

type AddonRequirementList

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

AddonRequirementList is a list of values of the 'addon_requirement' type.

func (*AddonRequirementList) Each

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

func (l *AddonRequirementList) Empty() bool

Empty returns true if the list is empty.

func (*AddonRequirementList) Get

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

func (*AddonRequirementList) Items

func (l *AddonRequirementList) Items() []*AddonRequirement

Items returns the items of the list.

func (*AddonRequirementList) Len

func (l *AddonRequirementList) Len() int

Len returns the length of the list.

func (*AddonRequirementList) Range

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) SetHREF

func (l *AddonRequirementList) SetHREF(href string)

Items sets the items of the list.

func (*AddonRequirementList) SetItems

func (l *AddonRequirementList) SetItems(items []*AddonRequirement)

Items sets the items of the list.

func (l *AddonRequirementList) SetLink(link bool)

Items sets the items of the list.

func (*AddonRequirementList) Slice

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

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

AddonRequirementListBuilder contains the data and logic needed to build 'addon_requirement' objects.

func NewAddonRequirementList

func NewAddonRequirementList() *AddonRequirementListBuilder

NewAddonRequirementList creates a new builder of 'addon_requirement' objects.

func (*AddonRequirementListBuilder) Build

func (b *AddonRequirementListBuilder) Build() (list *AddonRequirementList, err error)

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

func (*AddonRequirementListBuilder) Copy

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

func (*AddonRequirementListBuilder) Empty

func (b *AddonRequirementListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddonRequirementListBuilder) Items

Items sets the items of the list.

type AddonRequirementResource

type AddonRequirementResource string

AddonRequirementResource represents the values of the 'addon_requirement_resource' enumerated type.

const (
	// This requirement resource data will be validated and checked against addon installation resources
	AddonRequirementResourceAddon AddonRequirementResource = "addon"
	// This requirement resource data will be validated and checked against cluster resources
	AddonRequirementResourceCluster AddonRequirementResource = "cluster"
	// This requirement resource data will be validated and checked against machine pool resources
	AddonRequirementResourceMachinePool AddonRequirementResource = "machine_pool"
)

func ReadAddonRequirementResourceList

func ReadAddonRequirementResourceList(iterator *jsoniter.Iterator) []AddonRequirementResource

ReadAddonRequirementResourceList reads list of values of the ”addon_requirement_resource' type from the given iterator.

func UnmarshalAddonRequirementResourceList

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

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

type AddonRequirementStatus

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

AddonRequirementStatus represents the values of the 'addon_requirement_status' type.

Representation of an addon requirement status.

func ReadAddonRequirementStatus

func ReadAddonRequirementStatus(iterator *jsoniter.Iterator) *AddonRequirementStatus

ReadAddonRequirementStatus reads a value of the 'addon_requirement_status' type from the given iterator.

func ReadAddonRequirementStatusList

func ReadAddonRequirementStatusList(iterator *jsoniter.Iterator) []*AddonRequirementStatus

ReadAddonRequirementStatusList reads list of values of the ”addon_requirement_status' type from the given iterator.

func UnmarshalAddonRequirementStatus

func UnmarshalAddonRequirementStatus(source interface{}) (object *AddonRequirementStatus, err error)

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

func UnmarshalAddonRequirementStatusList

func UnmarshalAddonRequirementStatusList(source interface{}) (items []*AddonRequirementStatus, err error)

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

func (*AddonRequirementStatus) Empty

func (o *AddonRequirementStatus) Empty() bool

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

func (*AddonRequirementStatus) ErrorMsgs

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

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

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

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

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

Representation of an addon requirement status.

func NewAddonRequirementStatus

func NewAddonRequirementStatus() *AddonRequirementStatusBuilder

NewAddonRequirementStatus creates a new builder of 'addon_requirement_status' objects.

func (*AddonRequirementStatusBuilder) Build

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

func (*AddonRequirementStatusBuilder) Copy

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

func (*AddonRequirementStatusBuilder) Empty

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

func (*AddonRequirementStatusBuilder) ErrorMsgs

ErrorMsgs sets the value of the 'error_msgs' attribute to the given values.

func (*AddonRequirementStatusBuilder) Fulfilled

Fulfilled sets the value of the 'fulfilled' attribute to the given value.

type AddonRequirementStatusList

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

AddonRequirementStatusList is a list of values of the 'addon_requirement_status' type.

func (*AddonRequirementStatusList) 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 (*AddonRequirementStatusList) Empty

func (l *AddonRequirementStatusList) Empty() bool

Empty returns true if the list is empty.

func (*AddonRequirementStatusList) Get

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

func (*AddonRequirementStatusList) Items

Items returns the items of the list.

func (*AddonRequirementStatusList) Len

Len returns the length of the list.

func (*AddonRequirementStatusList) Range

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) SetHREF

func (l *AddonRequirementStatusList) SetHREF(href string)

Items sets the items of the list.

func (*AddonRequirementStatusList) SetItems

func (l *AddonRequirementStatusList) SetItems(items []*AddonRequirementStatus)

Items sets the items of the list.

func (l *AddonRequirementStatusList) SetLink(link bool)

Items sets the items of the list.

func (*AddonRequirementStatusList) 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 AddonRequirementStatusListBuilder

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

AddonRequirementStatusListBuilder contains the data and logic needed to build 'addon_requirement_status' objects.

func NewAddonRequirementStatusList

func NewAddonRequirementStatusList() *AddonRequirementStatusListBuilder

NewAddonRequirementStatusList creates a new builder of 'addon_requirement_status' objects.

func (*AddonRequirementStatusListBuilder) Build

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

func (*AddonRequirementStatusListBuilder) Copy

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

func (*AddonRequirementStatusListBuilder) Empty

Empty returns true if the list is empty.

func (*AddonRequirementStatusListBuilder) Items

Items sets the items of the list.

type AddonSecretPropagation

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

AddonSecretPropagation represents the values of the 'addon_secret_propagation' type.

Representation of an addon secret propagation

func ReadAddonSecretPropagation

func ReadAddonSecretPropagation(iterator *jsoniter.Iterator) *AddonSecretPropagation

ReadAddonSecretPropagation reads a value of the 'addon_secret_propagation' type from the given iterator.

func ReadAddonSecretPropagationList

func ReadAddonSecretPropagationList(iterator *jsoniter.Iterator) []*AddonSecretPropagation

ReadAddonSecretPropagationList reads list of values of the ”addon_secret_propagation' type from the given iterator.

func UnmarshalAddonSecretPropagation

func UnmarshalAddonSecretPropagation(source interface{}) (object *AddonSecretPropagation, err error)

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

func UnmarshalAddonSecretPropagationList

func UnmarshalAddonSecretPropagationList(source interface{}) (items []*AddonSecretPropagation, err error)

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

func (*AddonSecretPropagation) DestinationSecret

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

func (o *AddonSecretPropagation) Empty() bool

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

func (*AddonSecretPropagation) Enabled

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

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

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

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

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

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

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

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

Representation of an addon secret propagation

func NewAddonSecretPropagation

func NewAddonSecretPropagation() *AddonSecretPropagationBuilder

NewAddonSecretPropagation creates a new builder of 'addon_secret_propagation' objects.

func (*AddonSecretPropagationBuilder) Build

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

func (*AddonSecretPropagationBuilder) Copy

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

func (*AddonSecretPropagationBuilder) DestinationSecret

DestinationSecret sets the value of the 'destination_secret' attribute to the given value.

func (*AddonSecretPropagationBuilder) Empty

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

func (*AddonSecretPropagationBuilder) Enabled

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddonSecretPropagationBuilder) ID

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

func (*AddonSecretPropagationBuilder) SourceSecret

SourceSecret sets the value of the 'source_secret' attribute to the given value.

type AddonSecretPropagationList

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

AddonSecretPropagationList is a list of values of the 'addon_secret_propagation' type.

func (*AddonSecretPropagationList) 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 (*AddonSecretPropagationList) Empty

func (l *AddonSecretPropagationList) Empty() bool

Empty returns true if the list is empty.

func (*AddonSecretPropagationList) Get

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

func (*AddonSecretPropagationList) Items

Items returns the items of the list.

func (*AddonSecretPropagationList) Len

Len returns the length of the list.

func (*AddonSecretPropagationList) Range

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) SetHREF

func (l *AddonSecretPropagationList) SetHREF(href string)

Items sets the items of the list.

func (*AddonSecretPropagationList) SetItems

func (l *AddonSecretPropagationList) SetItems(items []*AddonSecretPropagation)

Items sets the items of the list.

func (l *AddonSecretPropagationList) SetLink(link bool)

Items sets the items of the list.

func (*AddonSecretPropagationList) 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 AddonSecretPropagationListBuilder

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

AddonSecretPropagationListBuilder contains the data and logic needed to build 'addon_secret_propagation' objects.

func NewAddonSecretPropagationList

func NewAddonSecretPropagationList() *AddonSecretPropagationListBuilder

NewAddonSecretPropagationList creates a new builder of 'addon_secret_propagation' objects.

func (*AddonSecretPropagationListBuilder) Build

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

func (*AddonSecretPropagationListBuilder) Copy

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

func (*AddonSecretPropagationListBuilder) Empty

Empty returns true if the list is empty.

func (*AddonSecretPropagationListBuilder) Items

Items sets the items of the list.

type AddonStatus

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

AddonStatus represents the values of the 'addon_status' type.

Representation of an addon status.

func ReadAddonStatus

func ReadAddonStatus(iterator *jsoniter.Iterator) *AddonStatus

ReadAddonStatus reads a value of the 'addon_status' type from the given iterator.

func ReadAddonStatusList

func ReadAddonStatusList(iterator *jsoniter.Iterator) []*AddonStatus

ReadAddonStatusList reads list of values of the ”addon_status' type from the given iterator.

func UnmarshalAddonStatus

func UnmarshalAddonStatus(source interface{}) (object *AddonStatus, err error)

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

func UnmarshalAddonStatusList

func UnmarshalAddonStatusList(source interface{}) (items []*AddonStatus, err error)

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

func (*AddonStatus) AddonId

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

ID of the addon whose status belongs to.

func (*AddonStatus) CorrelationID

func (o *AddonStatus) CorrelationID() string

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

Identifier for co-relating current AddonCR revision and reported status.

func (*AddonStatus) Empty

func (o *AddonStatus) Empty() bool

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

func (*AddonStatus) GetAddonId

func (o *AddonStatus) GetAddonId() (value string, ok bool)

GetAddonId returns the value of the 'addon_id' attribute and a flag indicating if the attribute has a value.

ID of the addon whose status belongs to.

func (*AddonStatus) GetCorrelationID

func (o *AddonStatus) GetCorrelationID() (value string, ok bool)

GetCorrelationID returns the value of the 'correlation_ID' attribute and a flag indicating if the attribute has a value.

Identifier for co-relating current AddonCR revision and reported status.

func (*AddonStatus) GetHREF

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

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

func (*AddonStatus) GetID

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

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

func (*AddonStatus) GetStatusConditions

func (o *AddonStatus) GetStatusConditions() (value []*AddonStatusCondition, ok bool)

GetStatusConditions returns the value of the 'status_conditions' attribute and a flag indicating if the attribute has a value.

List of reported addon status conditions

func (*AddonStatus) GetVersion

func (o *AddonStatus) GetVersion() (value string, ok bool)

GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.

Version of the addon reporting the status

func (*AddonStatus) HREF

func (o *AddonStatus) HREF() string

HREF returns the link to the object.

func (*AddonStatus) ID

func (o *AddonStatus) ID() string

ID returns the identifier of the object.

func (*AddonStatus) Kind

func (o *AddonStatus) Kind() string

Kind returns the name of the type of the object.

func (o *AddonStatus) Link() bool

Link returns true if this is a link.

func (*AddonStatus) StatusConditions

func (o *AddonStatus) StatusConditions() []*AddonStatusCondition

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

List of reported addon status conditions

func (*AddonStatus) Version

func (o *AddonStatus) 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 of the addon reporting the status

type AddonStatusBuilder

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

Representation of an addon status.

func NewAddonStatus

func NewAddonStatus() *AddonStatusBuilder

NewAddonStatus creates a new builder of 'addon_status' objects.

func (*AddonStatusBuilder) AddonId

func (b *AddonStatusBuilder) AddonId(value string) *AddonStatusBuilder

AddonId sets the value of the 'addon_id' attribute to the given value.

func (*AddonStatusBuilder) Build

func (b *AddonStatusBuilder) Build() (object *AddonStatus, err error)

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

func (*AddonStatusBuilder) Copy

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

func (*AddonStatusBuilder) CorrelationID

func (b *AddonStatusBuilder) CorrelationID(value string) *AddonStatusBuilder

CorrelationID sets the value of the 'correlation_ID' attribute to the given value.

func (*AddonStatusBuilder) Empty

func (b *AddonStatusBuilder) Empty() bool

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

func (*AddonStatusBuilder) HREF

HREF sets the link to the object.

func (*AddonStatusBuilder) ID

ID sets the identifier of the object.

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

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

func (*AddonStatusBuilder) StatusConditions

func (b *AddonStatusBuilder) StatusConditions(values ...*AddonStatusConditionBuilder) *AddonStatusBuilder

StatusConditions sets the value of the 'status_conditions' attribute to the given values.

func (*AddonStatusBuilder) Version

func (b *AddonStatusBuilder) Version(value string) *AddonStatusBuilder

Version sets the value of the 'version' attribute to the given value.

type AddonStatusCondition

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

AddonStatusCondition represents the values of the 'addon_status_condition' type.

Representation of an addon status condition type.

func ReadAddonStatusCondition

func ReadAddonStatusCondition(iterator *jsoniter.Iterator) *AddonStatusCondition

ReadAddonStatusCondition reads a value of the 'addon_status_condition' type from the given iterator.

func ReadAddonStatusConditionList

func ReadAddonStatusConditionList(iterator *jsoniter.Iterator) []*AddonStatusCondition

ReadAddonStatusConditionList reads list of values of the ”addon_status_condition' type from the given iterator.

func UnmarshalAddonStatusCondition

func UnmarshalAddonStatusCondition(source interface{}) (object *AddonStatusCondition, err error)

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

func UnmarshalAddonStatusConditionList

func UnmarshalAddonStatusConditionList(source interface{}) (items []*AddonStatusCondition, err error)

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

func (*AddonStatusCondition) Empty

func (o *AddonStatusCondition) Empty() bool

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

func (*AddonStatusCondition) GetMessage

func (o *AddonStatusCondition) GetMessage() (value string, ok bool)

GetMessage returns the value of the 'message' attribute and a flag indicating if the attribute has a value.

Message for the condition

func (*AddonStatusCondition) GetReason

func (o *AddonStatusCondition) GetReason() (value string, ok bool)

GetReason returns the value of the 'reason' attribute and a flag indicating if the attribute has a value.

Reason for the condition

func (*AddonStatusCondition) GetStatusType

func (o *AddonStatusCondition) GetStatusType() (value AddonStatusConditionType, ok bool)

GetStatusType returns the value of the 'status_type' attribute and a flag indicating if the attribute has a value.

Type of the reported addon status condition

func (*AddonStatusCondition) GetStatusValue

func (o *AddonStatusCondition) GetStatusValue() (value AddonStatusConditionValue, ok bool)

GetStatusValue returns the value of the 'status_value' attribute and a flag indicating if the attribute has a value.

Value of the reported addon status condition

func (*AddonStatusCondition) Message

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

Message for the condition

func (*AddonStatusCondition) Reason

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

Reason for the condition

func (*AddonStatusCondition) StatusType

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

Type of the reported addon status condition

func (*AddonStatusCondition) StatusValue

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

Value of the reported addon status condition

type AddonStatusConditionBuilder

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

Representation of an addon status condition type.

func NewAddonStatusCondition

func NewAddonStatusCondition() *AddonStatusConditionBuilder

NewAddonStatusCondition creates a new builder of 'addon_status_condition' objects.

func (*AddonStatusConditionBuilder) Build

func (b *AddonStatusConditionBuilder) Build() (object *AddonStatusCondition, err error)

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

func (*AddonStatusConditionBuilder) Copy

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

func (*AddonStatusConditionBuilder) Empty

func (b *AddonStatusConditionBuilder) Empty() bool

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

func (*AddonStatusConditionBuilder) Message

Message sets the value of the 'message' attribute to the given value.

func (*AddonStatusConditionBuilder) Reason

Reason sets the value of the 'reason' attribute to the given value.

func (*AddonStatusConditionBuilder) StatusType

StatusType sets the value of the 'status_type' attribute to the given value.

Representation of an addon status condition type field.

func (*AddonStatusConditionBuilder) StatusValue

StatusValue sets the value of the 'status_value' attribute to the given value.

Representation of an addon status condition value field.

type AddonStatusConditionList

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

AddonStatusConditionList is a list of values of the 'addon_status_condition' type.

func (*AddonStatusConditionList) Each

func (l *AddonStatusConditionList) Each(f func(item *AddonStatusCondition) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonStatusConditionList) Empty

func (l *AddonStatusConditionList) Empty() bool

Empty returns true if the list is empty.

func (*AddonStatusConditionList) Get

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

func (*AddonStatusConditionList) Items

Items returns the items of the list.

func (*AddonStatusConditionList) Len

func (l *AddonStatusConditionList) Len() int

Len returns the length of the list.

func (*AddonStatusConditionList) Range

func (l *AddonStatusConditionList) Range(f func(index int, item *AddonStatusCondition) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonStatusConditionList) SetHREF

func (l *AddonStatusConditionList) SetHREF(href string)

Items sets the items of the list.

func (*AddonStatusConditionList) SetItems

func (l *AddonStatusConditionList) SetItems(items []*AddonStatusCondition)

Items sets the items of the list.

func (l *AddonStatusConditionList) SetLink(link bool)

Items sets the items of the list.

func (*AddonStatusConditionList) 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 AddonStatusConditionListBuilder

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

AddonStatusConditionListBuilder contains the data and logic needed to build 'addon_status_condition' objects.

func NewAddonStatusConditionList

func NewAddonStatusConditionList() *AddonStatusConditionListBuilder

NewAddonStatusConditionList creates a new builder of 'addon_status_condition' objects.

func (*AddonStatusConditionListBuilder) Build

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

func (*AddonStatusConditionListBuilder) Copy

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

func (*AddonStatusConditionListBuilder) Empty

Empty returns true if the list is empty.

func (*AddonStatusConditionListBuilder) Items

Items sets the items of the list.

type AddonStatusConditionType

type AddonStatusConditionType string

AddonStatusConditionType represents the values of the 'addon_status_condition_type' enumerated type.

const (
	//
	AddonStatusConditionTypeAvailable AddonStatusConditionType = "Available"
	//
	AddonStatusConditionTypeDegraded AddonStatusConditionType = "Degraded"
	//
	AddonStatusConditionTypeDeleteTimeout AddonStatusConditionType = "DeleteTimeout"
	//
	AddonStatusConditionTypeHealthy AddonStatusConditionType = "Healthy"
	//
	AddonStatusConditionTypeInstalled AddonStatusConditionType = "Installed"
	//
	AddonStatusConditionTypePaused AddonStatusConditionType = "Paused"
	//
	AddonStatusConditionTypeReadyToBeDeleted AddonStatusConditionType = "ReadyToBeDeleted"
	//
	AddonStatusConditionTypeUpgradeStarted AddonStatusConditionType = "UpgradeStarted"
	//
	AddonStatusConditionTypeUpgradeSucceeded AddonStatusConditionType = "UpgradeSucceeded"
)

func ReadAddonStatusConditionTypeList

func ReadAddonStatusConditionTypeList(iterator *jsoniter.Iterator) []AddonStatusConditionType

ReadAddonStatusConditionTypeList reads list of values of the ”addon_status_condition_type' type from the given iterator.

func UnmarshalAddonStatusConditionTypeList

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

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

type AddonStatusConditionValue

type AddonStatusConditionValue string

AddonStatusConditionValue represents the values of the 'addon_status_condition_value' enumerated type.

const (
	//
	AddonStatusConditionValueFalse AddonStatusConditionValue = "False"
	//
	AddonStatusConditionValueTrue AddonStatusConditionValue = "True"
	//
	AddonStatusConditionValueUnknown AddonStatusConditionValue = "Unknown"
)

func ReadAddonStatusConditionValueList

func ReadAddonStatusConditionValueList(iterator *jsoniter.Iterator) []AddonStatusConditionValue

ReadAddonStatusConditionValueList reads list of values of the ”addon_status_condition_value' type from the given iterator.

func UnmarshalAddonStatusConditionValueList

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

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

type AddonStatusList

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

AddonStatusList is a list of values of the 'addon_status' type.

func (*AddonStatusList) Each

func (l *AddonStatusList) Each(f func(item *AddonStatus) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonStatusList) Empty

func (l *AddonStatusList) Empty() bool

Empty returns true if the list is empty.

func (*AddonStatusList) Get

func (l *AddonStatusList) Get(i int) *AddonStatus

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

func (*AddonStatusList) GetHREF

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

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

func (*AddonStatusList) HREF

func (l *AddonStatusList) HREF() string

HREF returns the link to the list.

func (*AddonStatusList) Items

func (l *AddonStatusList) Items() []*AddonStatus

Items returns the items of the list.

func (*AddonStatusList) Kind

func (l *AddonStatusList) Kind() string

Kind returns the name of the type of the object.

func (*AddonStatusList) Len

func (l *AddonStatusList) Len() int

Len returns the length of the list.

func (l *AddonStatusList) Link() bool

Link returns true iif this is a link.

func (*AddonStatusList) Range

func (l *AddonStatusList) Range(f func(index int, item *AddonStatus) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonStatusList) SetHREF

func (l *AddonStatusList) SetHREF(href string)

Items sets the items of the list.

func (*AddonStatusList) SetItems

func (l *AddonStatusList) SetItems(items []*AddonStatus)

Items sets the items of the list.

func (l *AddonStatusList) SetLink(link bool)

Items sets the items of the list.

func (*AddonStatusList) Slice

func (l *AddonStatusList) Slice() []*AddonStatus

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AddonStatusListBuilder

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

AddonStatusListBuilder contains the data and logic needed to build 'addon_status' objects.

func NewAddonStatusList

func NewAddonStatusList() *AddonStatusListBuilder

NewAddonStatusList creates a new builder of 'addon_status' objects.

func (*AddonStatusListBuilder) Build

func (b *AddonStatusListBuilder) Build() (list *AddonStatusList, err error)

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

func (*AddonStatusListBuilder) Copy

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

func (*AddonStatusListBuilder) Empty

func (b *AddonStatusListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddonStatusListBuilder) Items

Items sets the items of the list.

type AddonSubOperator

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

AddonSubOperator represents the values of the 'addon_sub_operator' type.

Representation of an addon sub operator. A sub operator is an operator who's life cycle is controlled by the addon umbrella operator.

func ReadAddonSubOperator

func ReadAddonSubOperator(iterator *jsoniter.Iterator) *AddonSubOperator

ReadAddonSubOperator reads a value of the 'addon_sub_operator' type from the given iterator.

func ReadAddonSubOperatorList

func ReadAddonSubOperatorList(iterator *jsoniter.Iterator) []*AddonSubOperator

ReadAddonSubOperatorList reads list of values of the ”addon_sub_operator' type from the given iterator.

func UnmarshalAddonSubOperator

func UnmarshalAddonSubOperator(source interface{}) (object *AddonSubOperator, err error)

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

func UnmarshalAddonSubOperatorList

func UnmarshalAddonSubOperatorList(source interface{}) (items []*AddonSubOperator, err error)

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

func (*AddonSubOperator) Addon

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

func (*AddonSubOperator) Empty

func (o *AddonSubOperator) Empty() bool

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

func (*AddonSubOperator) Enabled

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 addon

func (*AddonSubOperator) GetAddon

func (o *AddonSubOperator) GetAddon() (value *Addon, ok bool)

GetAddon returns the value of the 'addon' attribute and a flag indicating if the attribute has a value.

func (*AddonSubOperator) GetEnabled

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 addon

func (*AddonSubOperator) GetOperatorName

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 addon sub operator

func (*AddonSubOperator) GetOperatorNamespace

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 addon sub operator

func (*AddonSubOperator) OperatorName

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 addon sub operator

func (*AddonSubOperator) OperatorNamespace

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 addon sub operator

type AddonSubOperatorBuilder

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

Representation of an addon sub operator. A sub operator is an operator who's life cycle is controlled by the addon umbrella operator.

func NewAddonSubOperator

func NewAddonSubOperator() *AddonSubOperatorBuilder

NewAddonSubOperator creates a new builder of 'addon_sub_operator' objects.

func (*AddonSubOperatorBuilder) Addon

Addon sets the value of the 'addon' attribute to the given value.

Representation of an addon that can be installed in a cluster.

func (*AddonSubOperatorBuilder) Build

func (b *AddonSubOperatorBuilder) Build() (object *AddonSubOperator, err error)

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

func (*AddonSubOperatorBuilder) Copy

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

func (*AddonSubOperatorBuilder) Empty

func (b *AddonSubOperatorBuilder) Empty() bool

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

func (*AddonSubOperatorBuilder) Enabled

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddonSubOperatorBuilder) OperatorName

func (b *AddonSubOperatorBuilder) OperatorName(value string) *AddonSubOperatorBuilder

OperatorName sets the value of the 'operator_name' attribute to the given value.

func (*AddonSubOperatorBuilder) OperatorNamespace

func (b *AddonSubOperatorBuilder) OperatorNamespace(value string) *AddonSubOperatorBuilder

OperatorNamespace sets the value of the 'operator_namespace' attribute to the given value.

type AddonSubOperatorList

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

AddonSubOperatorList is a list of values of the 'addon_sub_operator' type.

func (*AddonSubOperatorList) Each

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

func (l *AddonSubOperatorList) Empty() bool

Empty returns true if the list is empty.

func (*AddonSubOperatorList) Get

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

func (*AddonSubOperatorList) Items

func (l *AddonSubOperatorList) Items() []*AddonSubOperator

Items returns the items of the list.

func (*AddonSubOperatorList) Len

func (l *AddonSubOperatorList) Len() int

Len returns the length of the list.

func (*AddonSubOperatorList) Range

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) SetHREF

func (l *AddonSubOperatorList) SetHREF(href string)

Items sets the items of the list.

func (*AddonSubOperatorList) SetItems

func (l *AddonSubOperatorList) SetItems(items []*AddonSubOperator)

Items sets the items of the list.

func (l *AddonSubOperatorList) SetLink(link bool)

Items sets the items of the list.

func (*AddonSubOperatorList) Slice

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

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

AddonSubOperatorListBuilder contains the data and logic needed to build 'addon_sub_operator' objects.

func NewAddonSubOperatorList

func NewAddonSubOperatorList() *AddonSubOperatorListBuilder

NewAddonSubOperatorList creates a new builder of 'addon_sub_operator' objects.

func (*AddonSubOperatorListBuilder) Build

func (b *AddonSubOperatorListBuilder) Build() (list *AddonSubOperatorList, err error)

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

func (*AddonSubOperatorListBuilder) Copy

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

func (*AddonSubOperatorListBuilder) Empty

func (b *AddonSubOperatorListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddonSubOperatorListBuilder) Items

Items sets the items of the list.

type AddonVersion

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

AddonVersion represents the values of the 'addon_version' type.

Representation of an addon version.

func ReadAddonVersion

func ReadAddonVersion(iterator *jsoniter.Iterator) *AddonVersion

ReadAddonVersion reads a value of the 'addon_version' type from the given iterator.

func ReadAddonVersionList

func ReadAddonVersionList(iterator *jsoniter.Iterator) []*AddonVersion

ReadAddonVersionList reads list of values of the ”addon_version' type from the given iterator.

func UnmarshalAddonVersion

func UnmarshalAddonVersion(source interface{}) (object *AddonVersion, err error)

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

func UnmarshalAddonVersionList

func UnmarshalAddonVersionList(source interface{}) (items []*AddonVersion, err error)

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

func (*AddonVersion) AdditionalCatalogSources

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

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

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

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

func (o *AddonVersion) Empty() bool

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

func (*AddonVersion) Enabled

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 addon version can be added to clusters.

func (*AddonVersion) GetAdditionalCatalogSources

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

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

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

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

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 addon version can be added to clusters.

func (*AddonVersion) GetHREF

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

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) GetMetricsFederation

func (o *AddonVersion) GetMetricsFederation() (value *MetricsFederation, ok bool)

GetMetricsFederation returns the value of the 'metrics_federation' attribute and a flag indicating if the attribute has a value.

Configuration parameters to be injected in the ServiceMonitor used for federation.

func (*AddonVersion) GetMonitoringStack

func (o *AddonVersion) GetMonitoringStack() (value *MonitoringStack, ok bool)

GetMonitoringStack returns the value of the 'monitoring_stack' attribute and a flag indicating if the attribute has a value.

Configuration parameters which will determine the underlying configuration of the MonitoringStack CR.

func (*AddonVersion) GetPackageImage

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 url for the package image

func (*AddonVersion) GetParameters

func (o *AddonVersion) GetParameters() (value *AddonParameters, 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 addon version.

func (*AddonVersion) GetPullSecretName

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

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 addon version.

func (*AddonVersion) GetSourceImage

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 addon version.

func (*AddonVersion) GetSubOperators

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 addon version.

func (*AddonVersion) GetUpgradePlansCreated

func (o *AddonVersion) GetUpgradePlansCreated() (value bool, ok bool)

GetUpgradePlansCreated returns the value of the 'upgrade_plans_created' attribute and a flag indicating if the attribute has a value.

Indicates if upgrade plans have been created for this addon version

func (*AddonVersion) HREF

func (o *AddonVersion) HREF() string

HREF returns the link to the object.

func (*AddonVersion) ID

func (o *AddonVersion) ID() string

ID returns the identifier of the object.

func (*AddonVersion) Kind

func (o *AddonVersion) Kind() string

Kind returns the name of the type of the object.

func (o *AddonVersion) Link() bool

Link returns true if this is a link.

func (*AddonVersion) MetricsFederation

func (o *AddonVersion) MetricsFederation() *MetricsFederation

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

Configuration parameters to be injected in the ServiceMonitor used for federation.

func (*AddonVersion) MonitoringStack

func (o *AddonVersion) MonitoringStack() *MonitoringStack

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

Configuration parameters which will determine the underlying configuration of the MonitoringStack CR.

func (*AddonVersion) PackageImage

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 url for the package image

func (*AddonVersion) Parameters

func (o *AddonVersion) Parameters() *AddonParameters

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 addon version.

func (*AddonVersion) PullSecretName

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

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 addon version.

func (*AddonVersion) SourceImage

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 addon version.

func (*AddonVersion) SubOperators

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 addon version.

func (*AddonVersion) UpgradePlansCreated

func (o *AddonVersion) UpgradePlansCreated() bool

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

Indicates if upgrade plans have been created for this addon version

type AddonVersionBuilder

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

Representation of an addon version.

func NewAddonVersion

func NewAddonVersion() *AddonVersionBuilder

NewAddonVersion creates a new builder of 'addon_version' objects.

func (*AddonVersionBuilder) AdditionalCatalogSources

func (b *AddonVersionBuilder) AdditionalCatalogSources(values ...*AdditionalCatalogSourceBuilder) *AddonVersionBuilder

AdditionalCatalogSources sets the value of the 'additional_catalog_sources' attribute to the given values.

func (*AddonVersionBuilder) AvailableUpgrades

func (b *AddonVersionBuilder) AvailableUpgrades(values ...string) *AddonVersionBuilder

AvailableUpgrades sets the value of the 'available_upgrades' attribute to the given values.

func (*AddonVersionBuilder) Build

func (b *AddonVersionBuilder) Build() (object *AddonVersion, err error)

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

func (*AddonVersionBuilder) Channel

func (b *AddonVersionBuilder) Channel(value string) *AddonVersionBuilder

Channel sets the value of the 'channel' attribute to the given value.

func (*AddonVersionBuilder) Config

Config sets the value of the 'config' attribute to the given value.

Representation of an addon config. The attributes under it are to be used by the addon once its installed in the cluster.

func (*AddonVersionBuilder) Copy

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

func (*AddonVersionBuilder) Empty

func (b *AddonVersionBuilder) Empty() bool

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

func (*AddonVersionBuilder) Enabled

func (b *AddonVersionBuilder) Enabled(value bool) *AddonVersionBuilder

Enabled sets the value of the 'enabled' attribute to the given value.

func (*AddonVersionBuilder) HREF

HREF sets the link to the object.

func (*AddonVersionBuilder) ID

ID sets the identifier of the object.

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

func (*AddonVersionBuilder) MetricsFederation

MetricsFederation sets the value of the 'metrics_federation' attribute to the given value.

Representation of Metrics Federation

func (*AddonVersionBuilder) MonitoringStack

MonitoringStack sets the value of the 'monitoring_stack' attribute to the given value.

Representation of Monitoring Stack

func (*AddonVersionBuilder) PackageImage

func (b *AddonVersionBuilder) PackageImage(value string) *AddonVersionBuilder

PackageImage sets the value of the 'package_image' attribute to the given value.

func (*AddonVersionBuilder) Parameters

Parameters sets the value of the 'parameters' attribute to the given value.

Representation of AddonParameters

func (*AddonVersionBuilder) PullSecretName

func (b *AddonVersionBuilder) PullSecretName(value string) *AddonVersionBuilder

PullSecretName sets the value of the 'pull_secret_name' attribute to the given value.

func (*AddonVersionBuilder) Requirements

Requirements sets the value of the 'requirements' attribute to the given values.

func (*AddonVersionBuilder) SourceImage

func (b *AddonVersionBuilder) SourceImage(value string) *AddonVersionBuilder

SourceImage sets the value of the 'source_image' attribute to the given value.

func (*AddonVersionBuilder) SubOperators

SubOperators sets the value of the 'sub_operators' attribute to the given values.

func (*AddonVersionBuilder) UpgradePlansCreated

func (b *AddonVersionBuilder) UpgradePlansCreated(value bool) *AddonVersionBuilder

UpgradePlansCreated sets the value of the 'upgrade_plans_created' attribute to the given value.

type AddonVersionList

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

AddonVersionList is a list of values of the 'addon_version' type.

func (*AddonVersionList) Each

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

func (l *AddonVersionList) Empty() bool

Empty returns true if the list is empty.

func (*AddonVersionList) Get

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

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

func (l *AddonVersionList) HREF() string

HREF returns the link to the list.

func (*AddonVersionList) Items

func (l *AddonVersionList) Items() []*AddonVersion

Items returns the items of the list.

func (*AddonVersionList) Kind

func (l *AddonVersionList) Kind() string

Kind returns the name of the type of the object.

func (*AddonVersionList) Len

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

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) SetHREF

func (l *AddonVersionList) SetHREF(href string)

Items sets the items of the list.

func (*AddonVersionList) SetItems

func (l *AddonVersionList) SetItems(items []*AddonVersion)

Items sets the items of the list.

func (l *AddonVersionList) SetLink(link bool)

Items sets the items of the list.

func (*AddonVersionList) Slice

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

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

AddonVersionListBuilder contains the data and logic needed to build 'addon_version' objects.

func NewAddonVersionList

func NewAddonVersionList() *AddonVersionListBuilder

NewAddonVersionList creates a new builder of 'addon_version' objects.

func (*AddonVersionListBuilder) Build

func (b *AddonVersionListBuilder) Build() (list *AddonVersionList, err error)

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

func (*AddonVersionListBuilder) Copy

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

func (*AddonVersionListBuilder) Empty

func (b *AddonVersionListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddonVersionListBuilder) Items

Items sets the items of the list.

type BillingModel

type BillingModel string

BillingModel represents the values of the 'billing_model' enumerated type.

const (
	//
	BillingModelMarketplace BillingModel = "marketplace"
	//
	BillingModelMarketplaceAws BillingModel = "marketplace-aws"
	//
	BillingModelMarketplaceAzure BillingModel = "marketplace-azure"
	//
	BillingModelMarketplaceRhm BillingModel = "marketplace-rhm"
	//
	BillingModelStandard BillingModel = "standard"
)

func ReadBillingModelList

func ReadBillingModelList(iterator *jsoniter.Iterator) []BillingModel

ReadBillingModelList reads list of values of the ”billing_model' type from the given iterator.

func UnmarshalBillingModelList

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

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

type CredentialRequest

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 ReadCredentialRequest

func ReadCredentialRequest(iterator *jsoniter.Iterator) *CredentialRequest

ReadCredentialRequest reads a value of the 'credential_request' type from the given iterator.

func ReadCredentialRequestList

func ReadCredentialRequestList(iterator *jsoniter.Iterator) []*CredentialRequest

ReadCredentialRequestList reads list of values of the ”credential_request' type from the given iterator.

func UnmarshalCredentialRequest

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

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

func (o *CredentialRequest) Empty() bool

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

func (*CredentialRequest) GetName

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

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

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

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

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

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

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

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

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

Contains the necessary attributes to allow each operator to access the necessary AWS resources

func NewCredentialRequest

func NewCredentialRequest() *CredentialRequestBuilder

NewCredentialRequest creates a new builder of 'credential_request' objects.

func (*CredentialRequestBuilder) Build

func (b *CredentialRequestBuilder) Build() (object *CredentialRequest, err error)

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

func (*CredentialRequestBuilder) Copy

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

func (*CredentialRequestBuilder) Empty

func (b *CredentialRequestBuilder) Empty() bool

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

func (*CredentialRequestBuilder) Name

Name sets the value of the 'name' attribute to the given value.

func (*CredentialRequestBuilder) Namespace

Namespace sets the value of the 'namespace' attribute to the given value.

func (*CredentialRequestBuilder) PolicyPermissions

func (b *CredentialRequestBuilder) PolicyPermissions(values ...string) *CredentialRequestBuilder

PolicyPermissions sets the value of the 'policy_permissions' attribute to the given values.

func (*CredentialRequestBuilder) ServiceAccount

func (b *CredentialRequestBuilder) ServiceAccount(value string) *CredentialRequestBuilder

ServiceAccount sets the value of the 'service_account' attribute to the given value.

type CredentialRequestList

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

CredentialRequestList is a list of values of the 'credential_request' type.

func (*CredentialRequestList) Each

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

func (l *CredentialRequestList) Empty() bool

Empty returns true if the list is empty.

func (*CredentialRequestList) Get

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

func (*CredentialRequestList) Items

Items returns the items of the list.

func (*CredentialRequestList) Len

func (l *CredentialRequestList) Len() int

Len returns the length of the list.

func (*CredentialRequestList) Range

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) SetHREF

func (l *CredentialRequestList) SetHREF(href string)

Items sets the items of the list.

func (*CredentialRequestList) SetItems

func (l *CredentialRequestList) SetItems(items []*CredentialRequest)

Items sets the items of the list.

func (l *CredentialRequestList) SetLink(link bool)

Items sets the items of the list.

func (*CredentialRequestList) 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 CredentialRequestListBuilder

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

CredentialRequestListBuilder contains the data and logic needed to build 'credential_request' objects.

func NewCredentialRequestList

func NewCredentialRequestList() *CredentialRequestListBuilder

NewCredentialRequestList creates a new builder of 'credential_request' objects.

func (*CredentialRequestListBuilder) Build

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

func (*CredentialRequestListBuilder) Copy

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

func (*CredentialRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*CredentialRequestListBuilder) Items

Items sets the items of the list.

type Metadata

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

Metadata contains the version metadata.

func UnmarshalMetadata

func UnmarshalMetadata(source interface{}) (object *Metadata, err error)

UnmarshalMetadata reads a value of the metadata type from the given source, which which can be a reader, a slice of byte or a string.

func (*Metadata) GetServerVersion

func (m *Metadata) GetServerVersion() (value string, ok bool)

GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.

func (*Metadata) ServerVersion

func (m *Metadata) ServerVersion() string

ServerVersion returns the version of the server.

type MetricsFederation

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

MetricsFederation represents the values of the 'metrics_federation' type.

Representation of Metrics Federation

func ReadMetricsFederation

func ReadMetricsFederation(iterator *jsoniter.Iterator) *MetricsFederation

ReadMetricsFederation reads a value of the 'metrics_federation' type from the given iterator.

func ReadMetricsFederationList

func ReadMetricsFederationList(iterator *jsoniter.Iterator) []*MetricsFederation

ReadMetricsFederationList reads list of values of the ”metrics_federation' type from the given iterator.

func UnmarshalMetricsFederation

func UnmarshalMetricsFederation(source interface{}) (object *MetricsFederation, err error)

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

func UnmarshalMetricsFederationList

func UnmarshalMetricsFederationList(source interface{}) (items []*MetricsFederation, err error)

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

func (*MetricsFederation) Empty

func (o *MetricsFederation) Empty() bool

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

func (*MetricsFederation) GetMatchLabels

func (o *MetricsFederation) GetMatchLabels() (value map[string]string, ok bool)

GetMatchLabels returns the value of the 'match_labels' attribute and a flag indicating if the attribute has a value.

List of labels used to discover the prometheus server(s) to be federated.

func (*MetricsFederation) GetMatchNames

func (o *MetricsFederation) GetMatchNames() (value []string, ok bool)

GetMatchNames returns the value of the 'match_names' attribute and a flag indicating if the attribute has a value.

List of series names to federate from the prometheus server.

func (*MetricsFederation) GetNamespace

func (o *MetricsFederation) 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 prometheus server is running.

func (*MetricsFederation) GetPortName

func (o *MetricsFederation) GetPortName() (value string, ok bool)

GetPortName returns the value of the 'port_name' attribute and a flag indicating if the attribute has a value.

Indicates the name of the service port fronting the prometheus server.

func (*MetricsFederation) MatchLabels

func (o *MetricsFederation) MatchLabels() map[string]string

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

List of labels used to discover the prometheus server(s) to be federated.

func (*MetricsFederation) MatchNames

func (o *MetricsFederation) MatchNames() []string

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

List of series names to federate from the prometheus server.

func (*MetricsFederation) Namespace

func (o *MetricsFederation) 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 prometheus server is running.

func (*MetricsFederation) PortName

func (o *MetricsFederation) PortName() string

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

Indicates the name of the service port fronting the prometheus server.

type MetricsFederationBuilder

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

Representation of Metrics Federation

func NewMetricsFederation

func NewMetricsFederation() *MetricsFederationBuilder

NewMetricsFederation creates a new builder of 'metrics_federation' objects.

func (*MetricsFederationBuilder) Build

func (b *MetricsFederationBuilder) Build() (object *MetricsFederation, err error)

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

func (*MetricsFederationBuilder) Copy

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

func (*MetricsFederationBuilder) Empty

func (b *MetricsFederationBuilder) Empty() bool

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

func (*MetricsFederationBuilder) MatchLabels

MatchLabels sets the value of the 'match_labels' attribute to the given value.

func (*MetricsFederationBuilder) MatchNames

func (b *MetricsFederationBuilder) MatchNames(values ...string) *MetricsFederationBuilder

MatchNames sets the value of the 'match_names' attribute to the given values.

func (*MetricsFederationBuilder) Namespace

Namespace sets the value of the 'namespace' attribute to the given value.

func (*MetricsFederationBuilder) PortName

PortName sets the value of the 'port_name' attribute to the given value.

type MetricsFederationList

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

MetricsFederationList is a list of values of the 'metrics_federation' type.

func (*MetricsFederationList) Each

func (l *MetricsFederationList) Each(f func(item *MetricsFederation) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MetricsFederationList) Empty

func (l *MetricsFederationList) Empty() bool

Empty returns true if the list is empty.

func (*MetricsFederationList) Get

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

func (*MetricsFederationList) Items

Items returns the items of the list.

func (*MetricsFederationList) Len

func (l *MetricsFederationList) Len() int

Len returns the length of the list.

func (*MetricsFederationList) Range

func (l *MetricsFederationList) Range(f func(index int, item *MetricsFederation) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MetricsFederationList) SetHREF

func (l *MetricsFederationList) SetHREF(href string)

Items sets the items of the list.

func (*MetricsFederationList) SetItems

func (l *MetricsFederationList) SetItems(items []*MetricsFederation)

Items sets the items of the list.

func (l *MetricsFederationList) SetLink(link bool)

Items sets the items of the list.

func (*MetricsFederationList) 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 MetricsFederationListBuilder

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

MetricsFederationListBuilder contains the data and logic needed to build 'metrics_federation' objects.

func NewMetricsFederationList

func NewMetricsFederationList() *MetricsFederationListBuilder

NewMetricsFederationList creates a new builder of 'metrics_federation' objects.

func (*MetricsFederationListBuilder) Build

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

func (*MetricsFederationListBuilder) Copy

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

func (*MetricsFederationListBuilder) Empty

Empty returns true if the list is empty.

func (*MetricsFederationListBuilder) Items

Items sets the items of the list.

type MonitoringStack

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

MonitoringStack represents the values of the 'monitoring_stack' type.

Representation of Monitoring Stack

func ReadMonitoringStack

func ReadMonitoringStack(iterator *jsoniter.Iterator) *MonitoringStack

ReadMonitoringStack reads a value of the 'monitoring_stack' type from the given iterator.

func ReadMonitoringStackList

func ReadMonitoringStackList(iterator *jsoniter.Iterator) []*MonitoringStack

ReadMonitoringStackList reads list of values of the ”monitoring_stack' type from the given iterator.

func UnmarshalMonitoringStack

func UnmarshalMonitoringStack(source interface{}) (object *MonitoringStack, err error)

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

func UnmarshalMonitoringStackList

func UnmarshalMonitoringStackList(source interface{}) (items []*MonitoringStack, err error)

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

func (*MonitoringStack) Empty

func (o *MonitoringStack) Empty() bool

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

func (*MonitoringStack) Enabled

func (o *MonitoringStack) 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 monitoring stack can be added to clusters for the addon.

func (*MonitoringStack) GetEnabled

func (o *MonitoringStack) 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 monitoring stack can be added to clusters for the addon.

func (*MonitoringStack) GetResources

func (o *MonitoringStack) GetResources() (value *MonitoringStackResources, ok bool)

GetResources returns the value of the 'resources' attribute and a flag indicating if the attribute has a value.

Indicates the resources for the monitoring stack

func (*MonitoringStack) Resources

func (o *MonitoringStack) Resources() *MonitoringStackResources

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

Indicates the resources for the monitoring stack

type MonitoringStackBuilder

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

Representation of Monitoring Stack

func NewMonitoringStack

func NewMonitoringStack() *MonitoringStackBuilder

NewMonitoringStack creates a new builder of 'monitoring_stack' objects.

func (*MonitoringStackBuilder) Build

func (b *MonitoringStackBuilder) Build() (object *MonitoringStack, err error)

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

func (*MonitoringStackBuilder) Copy

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

func (*MonitoringStackBuilder) Empty

func (b *MonitoringStackBuilder) Empty() bool

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

func (*MonitoringStackBuilder) Enabled

Enabled sets the value of the 'enabled' attribute to the given value.

func (*MonitoringStackBuilder) Resources

Resources sets the value of the 'resources' attribute to the given value.

Representation of Monitoring Stack Resources

type MonitoringStackList

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

MonitoringStackList is a list of values of the 'monitoring_stack' type.

func (*MonitoringStackList) Each

func (l *MonitoringStackList) Each(f func(item *MonitoringStack) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MonitoringStackList) Empty

func (l *MonitoringStackList) Empty() bool

Empty returns true if the list is empty.

func (*MonitoringStackList) Get

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

func (*MonitoringStackList) Items

func (l *MonitoringStackList) Items() []*MonitoringStack

Items returns the items of the list.

func (*MonitoringStackList) Len

func (l *MonitoringStackList) Len() int

Len returns the length of the list.

func (*MonitoringStackList) Range

func (l *MonitoringStackList) Range(f func(index int, item *MonitoringStack) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MonitoringStackList) SetHREF

func (l *MonitoringStackList) SetHREF(href string)

Items sets the items of the list.

func (*MonitoringStackList) SetItems

func (l *MonitoringStackList) SetItems(items []*MonitoringStack)

Items sets the items of the list.

func (l *MonitoringStackList) SetLink(link bool)

Items sets the items of the list.

func (*MonitoringStackList) Slice

func (l *MonitoringStackList) Slice() []*MonitoringStack

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type MonitoringStackListBuilder

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

MonitoringStackListBuilder contains the data and logic needed to build 'monitoring_stack' objects.

func NewMonitoringStackList

func NewMonitoringStackList() *MonitoringStackListBuilder

NewMonitoringStackList creates a new builder of 'monitoring_stack' objects.

func (*MonitoringStackListBuilder) Build

func (b *MonitoringStackListBuilder) Build() (list *MonitoringStackList, err error)

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

func (*MonitoringStackListBuilder) Copy

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

func (*MonitoringStackListBuilder) Empty

func (b *MonitoringStackListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*MonitoringStackListBuilder) Items

Items sets the items of the list.

type MonitoringStackResource

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

MonitoringStackResource represents the values of the 'monitoring_stack_resource' type.

Representation of Monitoring Stack Resource

func ReadMonitoringStackResource

func ReadMonitoringStackResource(iterator *jsoniter.Iterator) *MonitoringStackResource

ReadMonitoringStackResource reads a value of the 'monitoring_stack_resource' type from the given iterator.

func ReadMonitoringStackResourceList

func ReadMonitoringStackResourceList(iterator *jsoniter.Iterator) []*MonitoringStackResource

ReadMonitoringStackResourceList reads list of values of the ”monitoring_stack_resource' type from the given iterator.

func UnmarshalMonitoringStackResource

func UnmarshalMonitoringStackResource(source interface{}) (object *MonitoringStackResource, err error)

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

func UnmarshalMonitoringStackResourceList

func UnmarshalMonitoringStackResourceList(source interface{}) (items []*MonitoringStackResource, err error)

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

func (*MonitoringStackResource) Cpu

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

Indicates the CPU resource for monitoring stack.

func (*MonitoringStackResource) Empty

func (o *MonitoringStackResource) Empty() bool

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

func (*MonitoringStackResource) GetCpu

func (o *MonitoringStackResource) GetCpu() (value string, ok bool)

GetCpu returns the value of the 'cpu' attribute and a flag indicating if the attribute has a value.

Indicates the CPU resource for monitoring stack.

func (*MonitoringStackResource) GetMemory

func (o *MonitoringStackResource) GetMemory() (value string, ok bool)

GetMemory returns the value of the 'memory' attribute and a flag indicating if the attribute has a value.

Indicates the memory resource for monitoring stack.

func (*MonitoringStackResource) Memory

func (o *MonitoringStackResource) Memory() string

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

Indicates the memory resource for monitoring stack.

type MonitoringStackResourceBuilder

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

Representation of Monitoring Stack Resource

func NewMonitoringStackResource

func NewMonitoringStackResource() *MonitoringStackResourceBuilder

NewMonitoringStackResource creates a new builder of 'monitoring_stack_resource' objects.

func (*MonitoringStackResourceBuilder) Build

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

func (*MonitoringStackResourceBuilder) Copy

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

func (*MonitoringStackResourceBuilder) Cpu

Cpu sets the value of the 'cpu' attribute to the given value.

func (*MonitoringStackResourceBuilder) Empty

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

func (*MonitoringStackResourceBuilder) Memory

Memory sets the value of the 'memory' attribute to the given value.

type MonitoringStackResourceList

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

MonitoringStackResourceList is a list of values of the 'monitoring_stack_resource' type.

func (*MonitoringStackResourceList) 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 (*MonitoringStackResourceList) Empty

func (l *MonitoringStackResourceList) Empty() bool

Empty returns true if the list is empty.

func (*MonitoringStackResourceList) Get

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

func (*MonitoringStackResourceList) Items

Items returns the items of the list.

func (*MonitoringStackResourceList) Len

Len returns the length of the list.

func (*MonitoringStackResourceList) Range

func (l *MonitoringStackResourceList) Range(f func(index int, item *MonitoringStackResource) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MonitoringStackResourceList) SetHREF

func (l *MonitoringStackResourceList) SetHREF(href string)

Items sets the items of the list.

func (*MonitoringStackResourceList) SetItems

Items sets the items of the list.

func (l *MonitoringStackResourceList) SetLink(link bool)

Items sets the items of the list.

func (*MonitoringStackResourceList) 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 MonitoringStackResourceListBuilder

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

MonitoringStackResourceListBuilder contains the data and logic needed to build 'monitoring_stack_resource' objects.

func NewMonitoringStackResourceList

func NewMonitoringStackResourceList() *MonitoringStackResourceListBuilder

NewMonitoringStackResourceList creates a new builder of 'monitoring_stack_resource' objects.

func (*MonitoringStackResourceListBuilder) Build

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

func (*MonitoringStackResourceListBuilder) Copy

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

func (*MonitoringStackResourceListBuilder) Empty

Empty returns true if the list is empty.

func (*MonitoringStackResourceListBuilder) Items

Items sets the items of the list.

type MonitoringStackResources

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

MonitoringStackResources represents the values of the 'monitoring_stack_resources' type.

Representation of Monitoring Stack Resources

func ReadMonitoringStackResources

func ReadMonitoringStackResources(iterator *jsoniter.Iterator) *MonitoringStackResources

ReadMonitoringStackResources reads a value of the 'monitoring_stack_resources' type from the given iterator.

func ReadMonitoringStackResourcesList

func ReadMonitoringStackResourcesList(iterator *jsoniter.Iterator) []*MonitoringStackResources

ReadMonitoringStackResourcesList reads list of values of the ”monitoring_stack_resources' type from the given iterator.

func UnmarshalMonitoringStackResources

func UnmarshalMonitoringStackResources(source interface{}) (object *MonitoringStackResources, err error)

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

func UnmarshalMonitoringStackResourcesList

func UnmarshalMonitoringStackResourcesList(source interface{}) (items []*MonitoringStackResources, err error)

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

func (*MonitoringStackResources) Empty

func (o *MonitoringStackResources) Empty() bool

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

func (*MonitoringStackResources) GetLimits

func (o *MonitoringStackResources) GetLimits() (value *MonitoringStackResource, ok bool)

GetLimits returns the value of the 'limits' attribute and a flag indicating if the attribute has a value.

Indicates the limit of resource for monitoring stack.

func (*MonitoringStackResources) GetRequests

func (o *MonitoringStackResources) GetRequests() (value *MonitoringStackResource, ok bool)

GetRequests returns the value of the 'requests' attribute and a flag indicating if the attribute has a value.

Indicates the requested amount of resource for monitoring stack.

func (*MonitoringStackResources) Limits

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

Indicates the limit of resource for monitoring stack.

func (*MonitoringStackResources) Requests

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

Indicates the requested amount of resource for monitoring stack.

type MonitoringStackResourcesBuilder

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

Representation of Monitoring Stack Resources

func NewMonitoringStackResources

func NewMonitoringStackResources() *MonitoringStackResourcesBuilder

NewMonitoringStackResources creates a new builder of 'monitoring_stack_resources' objects.

func (*MonitoringStackResourcesBuilder) Build

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

func (*MonitoringStackResourcesBuilder) Copy

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

func (*MonitoringStackResourcesBuilder) Empty

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

func (*MonitoringStackResourcesBuilder) Limits

Limits sets the value of the 'limits' attribute to the given value.

Representation of Monitoring Stack Resource

func (*MonitoringStackResourcesBuilder) Requests

Requests sets the value of the 'requests' attribute to the given value.

Representation of Monitoring Stack Resource

type MonitoringStackResourcesList

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

MonitoringStackResourcesList is a list of values of the 'monitoring_stack_resources' type.

func (*MonitoringStackResourcesList) 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 (*MonitoringStackResourcesList) Empty

Empty returns true if the list is empty.

func (*MonitoringStackResourcesList) Get

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

func (*MonitoringStackResourcesList) Items

Items returns the items of the list.

func (*MonitoringStackResourcesList) Len

Len returns the length of the list.

func (*MonitoringStackResourcesList) Range

func (l *MonitoringStackResourcesList) Range(f func(index int, item *MonitoringStackResources) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*MonitoringStackResourcesList) SetHREF

func (l *MonitoringStackResourcesList) SetHREF(href string)

Items sets the items of the list.

func (*MonitoringStackResourcesList) SetItems

Items sets the items of the list.

func (l *MonitoringStackResourcesList) SetLink(link bool)

Items sets the items of the list.

func (*MonitoringStackResourcesList) 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 MonitoringStackResourcesListBuilder

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

MonitoringStackResourcesListBuilder contains the data and logic needed to build 'monitoring_stack_resources' objects.

func NewMonitoringStackResourcesList

func NewMonitoringStackResourcesList() *MonitoringStackResourcesListBuilder

NewMonitoringStackResourcesList creates a new builder of 'monitoring_stack_resources' objects.

func (*MonitoringStackResourcesListBuilder) Build

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

func (*MonitoringStackResourcesListBuilder) Copy

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

func (*MonitoringStackResourcesListBuilder) Empty

Empty returns true if the list is empty.

func (*MonitoringStackResourcesListBuilder) Items

Items sets the items of the list.

type ObjectReference

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

ObjectReference represents the values of the 'object_reference' type.

representation of object reference/subscription

func ReadObjectReference

func ReadObjectReference(iterator *jsoniter.Iterator) *ObjectReference

ReadObjectReference reads a value of the 'object_reference' type from the given iterator.

func ReadObjectReferenceList

func ReadObjectReferenceList(iterator *jsoniter.Iterator) []*ObjectReference

ReadObjectReferenceList reads list of values of the ”object_reference' type from the given iterator.

func UnmarshalObjectReference

func UnmarshalObjectReference(source interface{}) (object *ObjectReference, err error)

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

func UnmarshalObjectReferenceList

func UnmarshalObjectReferenceList(source interface{}) (items []*ObjectReference, err error)

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

func (*ObjectReference) Empty

func (o *ObjectReference) Empty() bool

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

func (*ObjectReference) GetHref

func (o *ObjectReference) GetHref() (value string, ok bool)

GetHref returns the value of the 'href' attribute and a flag indicating if the attribute has a value.

Self Link

func (*ObjectReference) GetId

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

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

Unique identifier of the object.

func (*ObjectReference) GetKind

func (o *ObjectReference) GetKind() (value string, ok bool)

GetKind returns the value of the 'kind' attribute and a flag indicating if the attribute has a value.

Indicates the type of this object.

func (*ObjectReference) Href

func (o *ObjectReference) Href() string

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

Self Link

func (*ObjectReference) Id

func (o *ObjectReference) Id() string

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

Unique identifier of the object.

func (*ObjectReference) Kind

func (o *ObjectReference) Kind() string

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

Indicates the type of this object.

type ObjectReferenceBuilder

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

representation of object reference/subscription

func NewObjectReference

func NewObjectReference() *ObjectReferenceBuilder

NewObjectReference creates a new builder of 'object_reference' objects.

func (*ObjectReferenceBuilder) Build

func (b *ObjectReferenceBuilder) Build() (object *ObjectReference, err error)

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

func (*ObjectReferenceBuilder) Copy

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

func (*ObjectReferenceBuilder) Empty

func (b *ObjectReferenceBuilder) Empty() bool

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

func (*ObjectReferenceBuilder) Href

Href sets the value of the 'href' attribute to the given value.

func (*ObjectReferenceBuilder) Id

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

func (*ObjectReferenceBuilder) Kind

Kind sets the value of the 'kind' attribute to the given value.

type ObjectReferenceList

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

ObjectReferenceList is a list of values of the 'object_reference' type.

func (*ObjectReferenceList) Each

func (l *ObjectReferenceList) Each(f func(item *ObjectReference) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ObjectReferenceList) Empty

func (l *ObjectReferenceList) Empty() bool

Empty returns true if the list is empty.

func (*ObjectReferenceList) Get

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

func (*ObjectReferenceList) Items

func (l *ObjectReferenceList) Items() []*ObjectReference

Items returns the items of the list.

func (*ObjectReferenceList) Len

func (l *ObjectReferenceList) Len() int

Len returns the length of the list.

func (*ObjectReferenceList) Range

func (l *ObjectReferenceList) Range(f func(index int, item *ObjectReference) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ObjectReferenceList) SetHREF

func (l *ObjectReferenceList) SetHREF(href string)

Items sets the items of the list.

func (*ObjectReferenceList) SetItems

func (l *ObjectReferenceList) SetItems(items []*ObjectReference)

Items sets the items of the list.

func (l *ObjectReferenceList) SetLink(link bool)

Items sets the items of the list.

func (*ObjectReferenceList) Slice

func (l *ObjectReferenceList) Slice() []*ObjectReference

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ObjectReferenceListBuilder

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

ObjectReferenceListBuilder contains the data and logic needed to build 'object_reference' objects.

func NewObjectReferenceList

func NewObjectReferenceList() *ObjectReferenceListBuilder

NewObjectReferenceList creates a new builder of 'object_reference' objects.

func (*ObjectReferenceListBuilder) Build

func (b *ObjectReferenceListBuilder) Build() (list *ObjectReferenceList, err error)

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

func (*ObjectReferenceListBuilder) Copy

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

func (*ObjectReferenceListBuilder) Empty

func (b *ObjectReferenceListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ObjectReferenceListBuilder) Items

Items sets the items of the list.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL