v1

package
v0.1.400 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 10

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

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

OpenAPI contains the OpenAPI specification of the service in JSON.

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

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

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

func MarshalAddonInstallationBilling added in v0.1.365

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

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

func MarshalAddonInstallationBillingList added in v0.1.365

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

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

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

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

func MarshalAddonInstallationParameterList added in v0.1.365

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

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

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

func MarshalAddonInstallationParametersList added in v0.1.365

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

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

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

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

func MarshalAddonParametersList added in v0.1.387

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

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

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

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

func MarshalMetricsFederationList added in v0.1.365

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

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

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

func MarshalMonitoringStackList added in v0.1.365

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

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

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

func MarshalMonitoringStackResourceList added in v0.1.365

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

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

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

func MarshalMonitoringStackResourcesList added in v0.1.365

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

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

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

func MarshalObjectReferenceList added in v0.1.365

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 UnmarshalBooleanList

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

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

func UnmarshalDateList

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

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

func UnmarshalFloatList

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

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

func UnmarshalIntegerList

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

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

func UnmarshalInterfaceList

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

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

func UnmarshalLongList

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

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

func UnmarshalStringList

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

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

Types

type 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 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
}

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

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

func NewAdditionalCatalogSource

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) 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) 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 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 *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.

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 iif 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() *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.

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
}

AddonBuilder contains the data and logic needed to build 'addon' objects.

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 *AddonParametersBuilder) *AddonBuilder

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

Representation of AddonParameters

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 AddonClient

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

AddonClient is the client of the 'addon' resource.

Manages a specific addon.

func NewAddonClient

func NewAddonClient(transport http.RoundTripper, path string) *AddonClient

NewAddonClient creates a new client for the 'addon' resource using the given transport to send the requests and receive the responses.

func (*AddonClient) Delete

func (c *AddonClient) Delete() *AddonDeleteRequest

Delete creates a request for the 'delete' method.

Deletes the addon.

func (*AddonClient) Get

func (c *AddonClient) Get() *AddonGetRequest

Get creates a request for the 'get' method.

Retrieves the details of the addon.

func (*AddonClient) Poll

func (c *AddonClient) Poll() *AddonPollRequest

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*AddonClient) Update

func (c *AddonClient) Update() *AddonUpdateRequest

Update creates a request for the 'update' method.

Updates the addon.

func (*AddonClient) Versions

func (c *AddonClient) Versions() *AddonVersionsClient

Versions returns the target 'addon_versions' resource.

Reference to the resource that manages the collection of addon versions.

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

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

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

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

AddonDeleteRequest is the request for the 'delete' method.

func (*AddonDeleteRequest) Header

func (r *AddonDeleteRequest) Header(name string, value interface{}) *AddonDeleteRequest

Header adds a request header.

func (*AddonDeleteRequest) Impersonate

func (r *AddonDeleteRequest) Impersonate(user string) *AddonDeleteRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonDeleteRequest) Parameter

func (r *AddonDeleteRequest) Parameter(name string, value interface{}) *AddonDeleteRequest

Parameter adds a query parameter.

func (*AddonDeleteRequest) Send

func (r *AddonDeleteRequest) Send() (result *AddonDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonDeleteRequest) SendContext

func (r *AddonDeleteRequest) SendContext(ctx context.Context) (result *AddonDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonDeleteResponse

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

AddonDeleteResponse is the response for the 'delete' method.

func (*AddonDeleteResponse) Error

func (r *AddonDeleteResponse) Error() *errors.Error

Error returns the response error.

func (*AddonDeleteResponse) Header

func (r *AddonDeleteResponse) Header() http.Header

Header returns header of the response.

func (*AddonDeleteResponse) Status

func (r *AddonDeleteResponse) Status() int

Status returns the response status code.

type AddonEnvironmentVariable

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

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

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

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

AddonGetRequest is the request for the 'get' method.

func (*AddonGetRequest) Header

func (r *AddonGetRequest) Header(name string, value interface{}) *AddonGetRequest

Header adds a request header.

func (*AddonGetRequest) Impersonate

func (r *AddonGetRequest) Impersonate(user string) *AddonGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonGetRequest) Parameter

func (r *AddonGetRequest) Parameter(name string, value interface{}) *AddonGetRequest

Parameter adds a query parameter.

func (*AddonGetRequest) Send

func (r *AddonGetRequest) Send() (result *AddonGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonGetRequest) SendContext

func (r *AddonGetRequest) SendContext(ctx context.Context) (result *AddonGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonGetResponse

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

AddonGetResponse is the response for the 'get' method.

func (*AddonGetResponse) Body

func (r *AddonGetResponse) Body() *Addon

Body returns the value of the 'body' parameter.

func (*AddonGetResponse) Error

func (r *AddonGetResponse) Error() *errors.Error

Error returns the response error.

func (*AddonGetResponse) GetBody

func (r *AddonGetResponse) GetBody() (value *Addon, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonGetResponse) Header

func (r *AddonGetResponse) Header() http.Header

Header returns header of the response.

func (*AddonGetResponse) Status

func (r *AddonGetResponse) Status() int

Status returns the response status code.

type AddonInquiriesClient

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

AddonInquiriesClient is the client of the 'addon_inquiries' resource.

Manages add-on inquiries, inquiries perform validation of add-on(s) on a per cluster basis based on add-on conditions and requirements.

func NewAddonInquiriesClient

func NewAddonInquiriesClient(transport http.RoundTripper, path string) *AddonInquiriesClient

NewAddonInquiriesClient creates a new client for the 'addon_inquiries' resource using the given transport to send the requests and receive the responses.

func (*AddonInquiriesClient) AddonInquiry

func (c *AddonInquiriesClient) AddonInquiry(id string) *AddonInquiryClient

AddonInquiry returns the target 'addon_inquiry' resource for the given identifier.

func (*AddonInquiriesClient) List

List creates a request for the 'list' method.

type AddonInquiriesListRequest

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

AddonInquiriesListRequest is the request for the 'list' method.

func (*AddonInquiriesListRequest) Header

func (r *AddonInquiriesListRequest) Header(name string, value interface{}) *AddonInquiriesListRequest

Header adds a request header.

func (*AddonInquiriesListRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonInquiriesListRequest) Order

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the add-on instead of the names of the columns of a table. For example, in order to sort the add-ons descending by name the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AddonInquiriesListRequest) Page

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonInquiriesListRequest) Parameter

func (r *AddonInquiriesListRequest) Parameter(name string, value interface{}) *AddonInquiriesListRequest

Parameter adds a query parameter.

func (*AddonInquiriesListRequest) Search

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the add-on instead of the names of the columns of a table. For example, in order to retrieve all the add-ons with a name starting with `my` the value should be:

```sql name like 'my%' ```

If the parameter isn't provided, or if the value is empty, then all the add-ons that the user has permission to see will be returned.

func (*AddonInquiriesListRequest) Send

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonInquiriesListRequest) SendContext

func (r *AddonInquiriesListRequest) SendContext(ctx context.Context) (result *AddonInquiriesListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*AddonInquiriesListRequest) Size

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AddonInquiriesListResponse

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

AddonInquiriesListResponse is the response for the 'list' method.

func (*AddonInquiriesListResponse) Error

Error returns the response error.

func (*AddonInquiriesListResponse) GetItems

func (r *AddonInquiriesListResponse) GetItems() (value *AddonList, ok bool)

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

Retrieved list of add-ons.

func (*AddonInquiriesListResponse) GetPage

func (r *AddonInquiriesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AddonInquiriesListResponse) GetSize

func (r *AddonInquiriesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AddonInquiriesListResponse) GetTotal

func (r *AddonInquiriesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AddonInquiriesListResponse) Header

Header returns header of the response.

func (*AddonInquiriesListResponse) Items

Items returns the value of the 'items' parameter.

Retrieved list of add-ons.

func (*AddonInquiriesListResponse) Page

func (r *AddonInquiriesListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonInquiriesListResponse) Size

func (r *AddonInquiriesListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AddonInquiriesListResponse) Status

func (r *AddonInquiriesListResponse) Status() int

Status returns the response status code.

func (*AddonInquiriesListResponse) Total

func (r *AddonInquiriesListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type AddonInquiryClient

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

AddonInquiryClient is the client of the 'addon_inquiry' resource.

Manages a specific add-on inquiry

func NewAddonInquiryClient

func NewAddonInquiryClient(transport http.RoundTripper, path string) *AddonInquiryClient

NewAddonInquiryClient creates a new client for the 'addon_inquiry' resource using the given transport to send the requests and receive the responses.

func (*AddonInquiryClient) Get

Get creates a request for the 'get' method.

func (*AddonInquiryClient) Poll

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

type AddonInquiryGetRequest

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

AddonInquiryGetRequest is the request for the 'get' method.

func (*AddonInquiryGetRequest) Header

func (r *AddonInquiryGetRequest) Header(name string, value interface{}) *AddonInquiryGetRequest

Header adds a request header.

func (*AddonInquiryGetRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonInquiryGetRequest) Parameter

func (r *AddonInquiryGetRequest) Parameter(name string, value interface{}) *AddonInquiryGetRequest

Parameter adds a query parameter.

func (*AddonInquiryGetRequest) Send

func (r *AddonInquiryGetRequest) Send() (result *AddonInquiryGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonInquiryGetRequest) SendContext

func (r *AddonInquiryGetRequest) SendContext(ctx context.Context) (result *AddonInquiryGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonInquiryGetResponse

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

AddonInquiryGetResponse is the response for the 'get' method.

func (*AddonInquiryGetResponse) Body

func (r *AddonInquiryGetResponse) Body() *Addon

Body returns the value of the 'body' parameter.

func (*AddonInquiryGetResponse) Error

func (r *AddonInquiryGetResponse) Error() *errors.Error

Error returns the response error.

func (*AddonInquiryGetResponse) GetBody

func (r *AddonInquiryGetResponse) GetBody() (value *Addon, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonInquiryGetResponse) Header

func (r *AddonInquiryGetResponse) Header() http.Header

Header returns header of the response.

func (*AddonInquiryGetResponse) Status

func (r *AddonInquiryGetResponse) Status() int

Status returns the response status code.

type AddonInquiryPollRequest

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

AddonInquiryPollRequest is the request for the Poll method.

func (*AddonInquiryPollRequest) Header

func (r *AddonInquiryPollRequest) Header(name string, value interface{}) *AddonInquiryPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddonInquiryPollRequest) Interval

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddonInquiryPollRequest) Parameter

func (r *AddonInquiryPollRequest) Parameter(name string, value interface{}) *AddonInquiryPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddonInquiryPollRequest) Predicate

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddonInquiryPollRequest) StartContext

func (r *AddonInquiryPollRequest) StartContext(ctx context.Context) (response *AddonInquiryPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddonInquiryPollRequest) Status

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddonInquiryPollResponse

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

AddonInquiryPollResponse is the response for the Poll method.

func (*AddonInquiryPollResponse) Body

func (r *AddonInquiryPollResponse) Body() *Addon

Body returns the value of the 'body' parameter.

func (*AddonInquiryPollResponse) Error

Error returns the response error.

func (*AddonInquiryPollResponse) GetBody

func (r *AddonInquiryPollResponse) GetBody() (value *Addon, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonInquiryPollResponse) Header

func (r *AddonInquiryPollResponse) Header() http.Header

Header returns header of the response.

func (*AddonInquiryPollResponse) Status

func (r *AddonInquiryPollResponse) Status() int

Status returns the response status code.

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

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

AddonInstallation represents the values of the 'addon_installation' type.

Representation of addon installation

func UnmarshalAddonInstallation added in v0.1.365

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

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

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

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

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

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

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

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

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

func (o *AddonInstallation) Empty() bool

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

func (*AddonInstallation) GetAddon added in v0.1.365

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

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

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

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

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

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

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

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

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

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

GetOperatorVersion returns the value of the 'operator_version' attribute and a flag indicating if the attribute has a value.

Version of the operator installed by the add-on.

func (*AddonInstallation) GetParameters added in v0.1.365

func (o *AddonInstallation) GetParameters() (value *AddonInstallationParameters, 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 added in v0.1.365

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

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

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

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

func (o *AddonInstallation) HREF() string

HREF returns the link to the object.

func (*AddonInstallation) ID added in v0.1.365

func (o *AddonInstallation) ID() string

ID returns the identifier of the object.

func (*AddonInstallation) Kind added in v0.1.365

func (o *AddonInstallation) Kind() string

Kind returns the name of the type of the object.

func (o *AddonInstallation) Link() bool

Link returns true iif this is a link.

func (*AddonInstallation) OperatorVersion added in v0.1.365

func (o *AddonInstallation) OperatorVersion() string

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

Version of the operator installed by the add-on.

func (*AddonInstallation) Parameters added in v0.1.365

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

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

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

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

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

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

Date and time when the add-on installation information was last updated.

type AddonInstallationBilling added in v0.1.365

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 UnmarshalAddonInstallationBilling added in v0.1.365

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

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

func (o *AddonInstallationBilling) BillingMarketplaceAccount() string

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

Account ID for billing market place

func (*AddonInstallationBilling) BillingModel added in v0.1.365

func (o *AddonInstallationBilling) BillingModel() BillingModel

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

Billing Model for addon resources

func (*AddonInstallationBilling) Empty added in v0.1.365

func (o *AddonInstallationBilling) Empty() bool

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

func (*AddonInstallationBilling) GetBillingMarketplaceAccount added in v0.1.365

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

GetBillingMarketplaceAccount returns the value of the 'billing_marketplace_account' attribute and a flag indicating if the attribute has a value.

Account ID for billing market place

func (*AddonInstallationBilling) GetBillingModel added in v0.1.365

func (o *AddonInstallationBilling) GetBillingModel() (value BillingModel, ok bool)

GetBillingModel returns the value of the 'billing_model' attribute and a flag indicating if the attribute has a value.

Billing Model for addon resources

func (*AddonInstallationBilling) GetHref added in v0.1.365

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

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

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

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

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

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

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

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

Representation of an add-on installation billing.

func NewAddonInstallationBilling added in v0.1.365

func NewAddonInstallationBilling() *AddonInstallationBillingBuilder

NewAddonInstallationBilling creates a new builder of 'addon_installation_billing' objects.

func (*AddonInstallationBillingBuilder) BillingMarketplaceAccount added in v0.1.365

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

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

func (*AddonInstallationBillingBuilder) BillingModel added in v0.1.365

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

Representation of an billing model field.

func (*AddonInstallationBillingBuilder) Build added in v0.1.365

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

func (*AddonInstallationBillingBuilder) Copy added in v0.1.365

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

func (*AddonInstallationBillingBuilder) Empty added in v0.1.365

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

func (*AddonInstallationBillingBuilder) Href added in v0.1.365

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

func (*AddonInstallationBillingBuilder) Id added in v0.1.365

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

func (*AddonInstallationBillingBuilder) Kind added in v0.1.365

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

type AddonInstallationBillingList added in v0.1.365

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

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

func (*AddonInstallationBillingList) Each added in v0.1.365

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonInstallationBillingList) Empty added in v0.1.365

Empty returns true if the list is empty.

func (*AddonInstallationBillingList) Get added in v0.1.365

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

func (*AddonInstallationBillingList) Len added in v0.1.365

Len returns the length of the list.

func (*AddonInstallationBillingList) Range added in v0.1.365

func (l *AddonInstallationBillingList) Range(f func(index int, item *AddonInstallationBilling) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonInstallationBillingList) Slice added in v0.1.365

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AddonInstallationBillingListBuilder added in v0.1.365

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

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

func NewAddonInstallationBillingList added in v0.1.365

func NewAddonInstallationBillingList() *AddonInstallationBillingListBuilder

NewAddonInstallationBillingList creates a new builder of 'addon_installation_billing' objects.

func (*AddonInstallationBillingListBuilder) Build added in v0.1.365

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

func (*AddonInstallationBillingListBuilder) Copy added in v0.1.365

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

func (*AddonInstallationBillingListBuilder) Empty added in v0.1.365

Empty returns true if the list is empty.

func (*AddonInstallationBillingListBuilder) Items added in v0.1.365

Items sets the items of the list.

type AddonInstallationBuilder added in v0.1.365

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

AddonInstallationBuilder contains the data and logic needed to build 'addon_installation' objects.

Representation of addon installation

func NewAddonInstallation added in v0.1.365

func NewAddonInstallation() *AddonInstallationBuilder

NewAddonInstallation creates a new builder of 'addon_installation' objects.

func (*AddonInstallationBuilder) Addon added in v0.1.365

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

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

Representation of an addon version.

func (*AddonInstallationBuilder) Billing added in v0.1.365

Billing sets the value of the 'billing' attribute to the given value.

Representation of an add-on installation billing.

func (*AddonInstallationBuilder) Build added in v0.1.365

func (b *AddonInstallationBuilder) Build() (object *AddonInstallation, err error)

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

func (*AddonInstallationBuilder) Copy added in v0.1.365

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

func (*AddonInstallationBuilder) CreationTimestamp added in v0.1.365

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

CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.

func (*AddonInstallationBuilder) CsvName added in v0.1.365

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

func (*AddonInstallationBuilder) DeletedTimestamp added in v0.1.365

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

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

func (*AddonInstallationBuilder) DesiredVersion added in v0.1.387

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

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

func (*AddonInstallationBuilder) Empty added in v0.1.365

func (b *AddonInstallationBuilder) Empty() bool

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

func (*AddonInstallationBuilder) HREF added in v0.1.365

HREF sets the link to the object.

func (*AddonInstallationBuilder) ID added in v0.1.365

ID sets the identifier of the object.

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

func (*AddonInstallationBuilder) OperatorVersion added in v0.1.365

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

OperatorVersion sets the value of the 'operator_version' attribute to the given value.

func (*AddonInstallationBuilder) Parameters added in v0.1.365

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

representation of addon installation parameter

func (*AddonInstallationBuilder) State added in v0.1.365

State sets the value of the 'state' attribute to the given value.

representation of addon installation state

func (*AddonInstallationBuilder) StateDescription added in v0.1.365

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

StateDescription sets the value of the 'state_description' attribute to the given value.

func (*AddonInstallationBuilder) Subscription added in v0.1.365

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

representation of object reference/subscription

func (*AddonInstallationBuilder) UpdatedTimestamp added in v0.1.365

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

UpdatedTimestamp sets the value of the 'updated_timestamp' attribute to the given value.

type AddonInstallationClient added in v0.1.365

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

AddonInstallationClient is the client of the 'addon_installation' resource.

Manages a specific addon installation.

func NewAddonInstallationClient added in v0.1.365

func NewAddonInstallationClient(transport http.RoundTripper, path string) *AddonInstallationClient

NewAddonInstallationClient creates a new client for the 'addon_installation' resource using the given transport to send the requests and receive the responses.

func (*AddonInstallationClient) Delete added in v0.1.365

Delete creates a request for the 'delete' method.

Deletes the addon installation.

func (*AddonInstallationClient) Get added in v0.1.365

Get creates a request for the 'get' method.

Retrieves the details of the addon installation.

func (*AddonInstallationClient) Poll added in v0.1.365

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*AddonInstallationClient) Update added in v0.1.365

Update creates a request for the 'update' method.

Updates the addon installation.

type AddonInstallationDeleteRequest added in v0.1.365

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

AddonInstallationDeleteRequest is the request for the 'delete' method.

func (*AddonInstallationDeleteRequest) Header added in v0.1.365

func (r *AddonInstallationDeleteRequest) Header(name string, value interface{}) *AddonInstallationDeleteRequest

Header adds a request header.

func (*AddonInstallationDeleteRequest) Impersonate added in v0.1.365

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonInstallationDeleteRequest) Parameter added in v0.1.365

func (r *AddonInstallationDeleteRequest) Parameter(name string, value interface{}) *AddonInstallationDeleteRequest

Parameter adds a query parameter.

func (*AddonInstallationDeleteRequest) Send added in v0.1.365

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonInstallationDeleteRequest) SendContext added in v0.1.365

SendContext sends this request, waits for the response, and returns it.

type AddonInstallationDeleteResponse added in v0.1.365

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

AddonInstallationDeleteResponse is the response for the 'delete' method.

func (*AddonInstallationDeleteResponse) Error added in v0.1.365

Error returns the response error.

func (*AddonInstallationDeleteResponse) Header added in v0.1.365

Header returns header of the response.

func (*AddonInstallationDeleteResponse) Status added in v0.1.365

Status returns the response status code.

type AddonInstallationGetRequest added in v0.1.365

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

AddonInstallationGetRequest is the request for the 'get' method.

func (*AddonInstallationGetRequest) Header added in v0.1.365

func (r *AddonInstallationGetRequest) Header(name string, value interface{}) *AddonInstallationGetRequest

Header adds a request header.

func (*AddonInstallationGetRequest) Impersonate added in v0.1.365

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonInstallationGetRequest) Parameter added in v0.1.365

func (r *AddonInstallationGetRequest) Parameter(name string, value interface{}) *AddonInstallationGetRequest

Parameter adds a query parameter.

func (*AddonInstallationGetRequest) Send added in v0.1.365

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonInstallationGetRequest) SendContext added in v0.1.365

SendContext sends this request, waits for the response, and returns it.

type AddonInstallationGetResponse added in v0.1.365

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

AddonInstallationGetResponse is the response for the 'get' method.

func (*AddonInstallationGetResponse) Body added in v0.1.365

Body returns the value of the 'body' parameter.

func (*AddonInstallationGetResponse) Error added in v0.1.365

Error returns the response error.

func (*AddonInstallationGetResponse) GetBody added in v0.1.365

func (r *AddonInstallationGetResponse) GetBody() (value *AddonInstallation, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonInstallationGetResponse) Header added in v0.1.365

Header returns header of the response.

func (*AddonInstallationGetResponse) Status added in v0.1.365

func (r *AddonInstallationGetResponse) Status() int

Status returns the response status code.

type AddonInstallationList added in v0.1.365

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

AddonInstallationList is a list of values of the 'addon_installation' type.

func (*AddonInstallationList) Each added in v0.1.365

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

func (l *AddonInstallationList) Empty() bool

Empty returns true if the list is empty.

func (*AddonInstallationList) Get added in v0.1.365

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

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

func (l *AddonInstallationList) HREF() string

HREF returns the link to the list.

func (*AddonInstallationList) Kind added in v0.1.365

func (l *AddonInstallationList) Kind() string

Kind returns the name of the type of the object.

func (*AddonInstallationList) Len added in v0.1.365

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

func (l *AddonInstallationList) Range(f func(index int, item *AddonInstallation) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonInstallationList) Slice added in v0.1.365

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't 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 added in v0.1.365

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

AddonInstallationListBuilder contains the data and logic needed to build 'addon_installation' objects.

func NewAddonInstallationList added in v0.1.365

func NewAddonInstallationList() *AddonInstallationListBuilder

NewAddonInstallationList creates a new builder of 'addon_installation' objects.

func (*AddonInstallationListBuilder) Build added in v0.1.365

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

func (*AddonInstallationListBuilder) Copy added in v0.1.365

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

func (*AddonInstallationListBuilder) Empty added in v0.1.365

Empty returns true if the list is empty.

func (*AddonInstallationListBuilder) Items added in v0.1.365

Items sets the items of the list.

type AddonInstallationParameter added in v0.1.365

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

AddonInstallationParameter represents the values of the 'addon_installation_parameter' type.

representation of addon installation parameter

func UnmarshalAddonInstallationParameter added in v0.1.365

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

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

func (o *AddonInstallationParameter) Empty() bool

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

func (*AddonInstallationParameter) GetHref added in v0.1.365

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

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

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

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

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

Value of the parameter

func (*AddonInstallationParameter) Href added in v0.1.365

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

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

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

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

Value of the parameter

type AddonInstallationParameterBuilder added in v0.1.365

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

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

representation of addon installation parameter

func NewAddonInstallationParameter added in v0.1.365

func NewAddonInstallationParameter() *AddonInstallationParameterBuilder

NewAddonInstallationParameter creates a new builder of 'addon_installation_parameter' objects.

func (*AddonInstallationParameterBuilder) Build added in v0.1.365

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

func (*AddonInstallationParameterBuilder) Copy added in v0.1.365

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

func (*AddonInstallationParameterBuilder) Empty added in v0.1.365

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

func (*AddonInstallationParameterBuilder) Href added in v0.1.365

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

func (*AddonInstallationParameterBuilder) Id added in v0.1.365

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

func (*AddonInstallationParameterBuilder) Kind added in v0.1.365

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

func (*AddonInstallationParameterBuilder) Value added in v0.1.365

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

type AddonInstallationParameterList added in v0.1.365

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

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

func (*AddonInstallationParameterList) Each added in v0.1.365

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonInstallationParameterList) Empty added in v0.1.365

Empty returns true if the list is empty.

func (*AddonInstallationParameterList) Get added in v0.1.365

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

func (*AddonInstallationParameterList) Len added in v0.1.365

Len returns the length of the list.

func (*AddonInstallationParameterList) Range added in v0.1.365

func (l *AddonInstallationParameterList) Range(f func(index int, item *AddonInstallationParameter) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonInstallationParameterList) Slice added in v0.1.365

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AddonInstallationParameterListBuilder added in v0.1.365

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

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

func NewAddonInstallationParameterList added in v0.1.365

func NewAddonInstallationParameterList() *AddonInstallationParameterListBuilder

NewAddonInstallationParameterList creates a new builder of 'addon_installation_parameter' objects.

func (*AddonInstallationParameterListBuilder) Build added in v0.1.365

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

func (*AddonInstallationParameterListBuilder) Copy added in v0.1.365

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

func (*AddonInstallationParameterListBuilder) Empty added in v0.1.365

Empty returns true if the list is empty.

func (*AddonInstallationParameterListBuilder) Items added in v0.1.365

Items sets the items of the list.

type AddonInstallationParameters added in v0.1.365

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

AddonInstallationParameters represents the values of the 'addon_installation_parameters' type.

representation of addon installation parameter

func UnmarshalAddonInstallationParameters added in v0.1.365

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

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

func (o *AddonInstallationParameters) Empty() bool

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

func (*AddonInstallationParameters) GetItems added in v0.1.365

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

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

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

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

representation of addon installation parameter

func NewAddonInstallationParameters added in v0.1.365

func NewAddonInstallationParameters() *AddonInstallationParametersBuilder

NewAddonInstallationParameters creates a new builder of 'addon_installation_parameters' objects.

func (*AddonInstallationParametersBuilder) Build added in v0.1.365

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

func (*AddonInstallationParametersBuilder) Copy added in v0.1.365

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

func (*AddonInstallationParametersBuilder) Empty added in v0.1.365

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

func (*AddonInstallationParametersBuilder) Items added in v0.1.365

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

type AddonInstallationParametersList added in v0.1.365

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

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

func (*AddonInstallationParametersList) Each added in v0.1.365

Each runs the given function for each item of the list, 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 added in v0.1.365

Empty returns true if the list is empty.

func (*AddonInstallationParametersList) Get added in v0.1.365

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

func (*AddonInstallationParametersList) Len added in v0.1.365

Len returns the length of the list.

func (*AddonInstallationParametersList) Range added in v0.1.365

Range runs the given function for each index and item of the list, 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) Slice added in v0.1.365

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't 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 added in v0.1.365

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

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

func NewAddonInstallationParametersList added in v0.1.365

func NewAddonInstallationParametersList() *AddonInstallationParametersListBuilder

NewAddonInstallationParametersList creates a new builder of 'addon_installation_parameters' objects.

func (*AddonInstallationParametersListBuilder) Build added in v0.1.365

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

func (*AddonInstallationParametersListBuilder) Copy added in v0.1.365

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

func (*AddonInstallationParametersListBuilder) Empty added in v0.1.365

Empty returns true if the list is empty.

func (*AddonInstallationParametersListBuilder) Items added in v0.1.365

Items sets the items of the list.

type AddonInstallationPollRequest added in v0.1.365

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

AddonInstallationPollRequest is the request for the Poll method.

func (*AddonInstallationPollRequest) Header added in v0.1.365

func (r *AddonInstallationPollRequest) Header(name string, value interface{}) *AddonInstallationPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddonInstallationPollRequest) Interval added in v0.1.365

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddonInstallationPollRequest) Parameter added in v0.1.365

func (r *AddonInstallationPollRequest) Parameter(name string, value interface{}) *AddonInstallationPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddonInstallationPollRequest) Predicate added in v0.1.365

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddonInstallationPollRequest) StartContext added in v0.1.365

func (r *AddonInstallationPollRequest) StartContext(ctx context.Context) (response *AddonInstallationPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddonInstallationPollRequest) Status added in v0.1.365

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddonInstallationPollResponse added in v0.1.365

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

AddonInstallationPollResponse is the response for the Poll method.

func (*AddonInstallationPollResponse) Body added in v0.1.365

Body returns the value of the 'body' parameter.

func (*AddonInstallationPollResponse) Error added in v0.1.365

Error returns the response error.

func (*AddonInstallationPollResponse) GetBody added in v0.1.365

func (r *AddonInstallationPollResponse) GetBody() (value *AddonInstallation, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonInstallationPollResponse) Header added in v0.1.365

Header returns header of the response.

func (*AddonInstallationPollResponse) Status added in v0.1.365

func (r *AddonInstallationPollResponse) Status() int

Status returns the response status code.

type AddonInstallationState added in v0.1.365

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 UnmarshalAddonInstallationStateList added in v0.1.365

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 AddonInstallationUpdateRequest added in v0.1.365

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

AddonInstallationUpdateRequest is the request for the 'update' method.

func (*AddonInstallationUpdateRequest) Body added in v0.1.365

Body sets the value of the 'body' parameter.

func (*AddonInstallationUpdateRequest) DryRun added in v0.1.365

DryRun sets the value of the 'dry_run' parameter.

DryRun indicates the request body will not be persisted when dryRun=true.

func (*AddonInstallationUpdateRequest) Header added in v0.1.365

func (r *AddonInstallationUpdateRequest) Header(name string, value interface{}) *AddonInstallationUpdateRequest

Header adds a request header.

func (*AddonInstallationUpdateRequest) Impersonate added in v0.1.365

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonInstallationUpdateRequest) Parameter added in v0.1.365

func (r *AddonInstallationUpdateRequest) Parameter(name string, value interface{}) *AddonInstallationUpdateRequest

Parameter adds a query parameter.

func (*AddonInstallationUpdateRequest) Send added in v0.1.365

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonInstallationUpdateRequest) SendContext added in v0.1.365

SendContext sends this request, waits for the response, and returns it.

type AddonInstallationUpdateResponse added in v0.1.365

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

AddonInstallationUpdateResponse is the response for the 'update' method.

func (*AddonInstallationUpdateResponse) Body added in v0.1.365

Body returns the value of the 'body' parameter.

func (*AddonInstallationUpdateResponse) Error added in v0.1.365

Error returns the response error.

func (*AddonInstallationUpdateResponse) GetBody added in v0.1.365

func (r *AddonInstallationUpdateResponse) GetBody() (value *AddonInstallation, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonInstallationUpdateResponse) Header added in v0.1.365

Header returns header of the response.

func (*AddonInstallationUpdateResponse) Status added in v0.1.365

Status returns the response status code.

type AddonInstallationsAddRequest added in v0.1.365

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

AddonInstallationsAddRequest is the request for the 'add' method.

func (*AddonInstallationsAddRequest) Body added in v0.1.365

Body sets the value of the 'body' parameter.

Description of the addon installation.

func (*AddonInstallationsAddRequest) Header added in v0.1.365

func (r *AddonInstallationsAddRequest) Header(name string, value interface{}) *AddonInstallationsAddRequest

Header adds a request header.

func (*AddonInstallationsAddRequest) Impersonate added in v0.1.365

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonInstallationsAddRequest) Parameter added in v0.1.365

func (r *AddonInstallationsAddRequest) Parameter(name string, value interface{}) *AddonInstallationsAddRequest

Parameter adds a query parameter.

func (*AddonInstallationsAddRequest) Send added in v0.1.365

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonInstallationsAddRequest) SendContext added in v0.1.365

SendContext sends this request, waits for the response, and returns it.

type AddonInstallationsAddResponse added in v0.1.365

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

AddonInstallationsAddResponse is the response for the 'add' method.

func (*AddonInstallationsAddResponse) Body added in v0.1.365

Body returns the value of the 'body' parameter.

Description of the addon installation.

func (*AddonInstallationsAddResponse) Error added in v0.1.365

Error returns the response error.

func (*AddonInstallationsAddResponse) GetBody added in v0.1.365

func (r *AddonInstallationsAddResponse) GetBody() (value *AddonInstallation, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the addon installation.

func (*AddonInstallationsAddResponse) Header added in v0.1.365

Header returns header of the response.

func (*AddonInstallationsAddResponse) Status added in v0.1.365

func (r *AddonInstallationsAddResponse) Status() int

Status returns the response status code.

type AddonInstallationsClient added in v0.1.365

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

AddonInstallationsClient is the client of the 'addon_installations' resource.

Manages a collection of addon installations for a specific cluster

func NewAddonInstallationsClient added in v0.1.365

func NewAddonInstallationsClient(transport http.RoundTripper, path string) *AddonInstallationsClient

NewAddonInstallationsClient creates a new client for the 'addon_installations' resource using the given transport to send the requests and receive the responses.

func (*AddonInstallationsClient) Add added in v0.1.365

Add creates a request for the 'add' method.

Create a new addon status and add it to the collection of addons installation.

func (*AddonInstallationsClient) Addon added in v0.1.365

Addon returns the target 'addon_installation' resource for the given identifier.

Returns a reference to the service that manages a specific addon installation.

func (*AddonInstallationsClient) Delete added in v0.1.388

Delete creates a request for the 'delete' method.

func (*AddonInstallationsClient) List added in v0.1.365

List creates a request for the 'list' method.

Retrieves the list of addon installations for a cluster.

type AddonInstallationsDeleteRequest added in v0.1.388

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

AddonInstallationsDeleteRequest is the request for the 'delete' method.

func (*AddonInstallationsDeleteRequest) Header added in v0.1.388

func (r *AddonInstallationsDeleteRequest) Header(name string, value interface{}) *AddonInstallationsDeleteRequest

Header adds a request header.

func (*AddonInstallationsDeleteRequest) Impersonate added in v0.1.388

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonInstallationsDeleteRequest) Parameter added in v0.1.388

func (r *AddonInstallationsDeleteRequest) Parameter(name string, value interface{}) *AddonInstallationsDeleteRequest

Parameter adds a query parameter.

func (*AddonInstallationsDeleteRequest) Send added in v0.1.388

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonInstallationsDeleteRequest) SendContext added in v0.1.388

SendContext sends this request, waits for the response, and returns it.

type AddonInstallationsDeleteResponse added in v0.1.388

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

AddonInstallationsDeleteResponse is the response for the 'delete' method.

func (*AddonInstallationsDeleteResponse) Error added in v0.1.388

Error returns the response error.

func (*AddonInstallationsDeleteResponse) Header added in v0.1.388

Header returns header of the response.

func (*AddonInstallationsDeleteResponse) Status added in v0.1.388

Status returns the response status code.

type AddonInstallationsListRequest added in v0.1.365

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

AddonInstallationsListRequest is the request for the 'list' method.

func (*AddonInstallationsListRequest) Header added in v0.1.365

func (r *AddonInstallationsListRequest) Header(name string, value interface{}) *AddonInstallationsListRequest

Header adds a request header.

func (*AddonInstallationsListRequest) Impersonate added in v0.1.365

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonInstallationsListRequest) Order added in v0.1.365

Order sets the value of the 'order' parameter.

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AddonInstallationsListRequest) Page added in v0.1.365

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonInstallationsListRequest) Parameter added in v0.1.365

func (r *AddonInstallationsListRequest) Parameter(name string, value interface{}) *AddonInstallationsListRequest

Parameter adds a query parameter.

func (*AddonInstallationsListRequest) Send added in v0.1.365

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonInstallationsListRequest) SendContext added in v0.1.365

SendContext sends this request, waits for the response, and returns it.

func (*AddonInstallationsListRequest) Size added in v0.1.365

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AddonInstallationsListResponse added in v0.1.365

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

AddonInstallationsListResponse is the response for the 'list' method.

func (*AddonInstallationsListResponse) Error added in v0.1.365

Error returns the response error.

func (*AddonInstallationsListResponse) GetItems added in v0.1.365

func (r *AddonInstallationsListResponse) GetItems() (value *AddonInstallationList, ok bool)

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

Retrieved list of addon installations

func (*AddonInstallationsListResponse) GetPage added in v0.1.365

func (r *AddonInstallationsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AddonInstallationsListResponse) GetSize added in v0.1.365

func (r *AddonInstallationsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AddonInstallationsListResponse) GetTotal added in v0.1.365

func (r *AddonInstallationsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection regardless of the size of the page.

func (*AddonInstallationsListResponse) Header added in v0.1.365

Header returns header of the response.

func (*AddonInstallationsListResponse) Items added in v0.1.365

Items returns the value of the 'items' parameter.

Retrieved list of addon installations

func (*AddonInstallationsListResponse) Page added in v0.1.365

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonInstallationsListResponse) Size added in v0.1.365

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AddonInstallationsListResponse) Status added in v0.1.365

func (r *AddonInstallationsListResponse) Status() int

Status returns the response status code.

func (*AddonInstallationsListResponse) Total added in v0.1.365

Total returns the value of the 'total' parameter.

Total number of items of the collection regardless of the size of the page.

type AddonList

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

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

func (l *AddonList) Kind() string

Kind returns the name of the type of the object.

func (*AddonList) Len

func (l *AddonList) Len() int

Len returns the length of the list.

func (l *AddonList) Link() bool

Link returns true iif this is a link.

func (*AddonList) Range

func (l *AddonList) Range(f func(index int, item *Addon) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*AddonList) Slice

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

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type AddonListBuilder

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

AddonListBuilder contains the data and logic needed to build '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 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
}

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

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) 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) 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 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 added in v0.1.365

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

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

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

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
}

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

Representation of an addon parameter.

func NewAddonParameter

func NewAddonParameter() *AddonParameterBuilder

NewAddonParameter creates a new builder of 'addon_parameter' objects.

func (*AddonParameterBuilder) Addon added in v0.1.365

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

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

AddonParameterOptionBuilder contains the data and logic needed to build 'addon_parameter_option' objects.

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) 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) 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 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 added in v0.1.387

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

AddonParameters represents the values of the 'addon_parameters' type.

Representation of AddonParameters

func UnmarshalAddonParameters added in v0.1.387

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

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

func (o *AddonParameters) Empty() bool

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

func (*AddonParameters) GetItems added in v0.1.387

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

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

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

AddonParametersBuilder contains the data and logic needed to build 'addon_parameters' objects.

Representation of AddonParameters

func NewAddonParameters added in v0.1.387

func NewAddonParameters() *AddonParametersBuilder

NewAddonParameters creates a new builder of 'addon_parameters' objects.

func (*AddonParametersBuilder) Build added in v0.1.387

func (b *AddonParametersBuilder) Build() (object *AddonParameters, err error)

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

func (*AddonParametersBuilder) Copy added in v0.1.387

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

func (*AddonParametersBuilder) Empty added in v0.1.387

func (b *AddonParametersBuilder) Empty() bool

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

func (*AddonParametersBuilder) Items added in v0.1.387

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

type AddonParametersList added in v0.1.387

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

AddonParametersList is a list of values of the 'addon_parameters' type.

func (*AddonParametersList) Each added in v0.1.387

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

func (l *AddonParametersList) Empty() bool

Empty returns true if the list is empty.

func (*AddonParametersList) Get added in v0.1.387

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

func (*AddonParametersList) Len added in v0.1.387

func (l *AddonParametersList) Len() int

Len returns the length of the list.

func (*AddonParametersList) Range added in v0.1.387

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) Slice added in v0.1.387

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

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

AddonParametersListBuilder contains the data and logic needed to build 'addon_parameters' objects.

func NewAddonParametersList added in v0.1.387

func NewAddonParametersList() *AddonParametersListBuilder

NewAddonParametersList creates a new builder of 'addon_parameters' objects.

func (*AddonParametersListBuilder) Build added in v0.1.387

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

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

func (*AddonParametersListBuilder) Empty added in v0.1.387

func (b *AddonParametersListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AddonParametersListBuilder) Items added in v0.1.387

Items sets the items of the list.

type AddonPollRequest

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

AddonPollRequest is the request for the Poll method.

func (*AddonPollRequest) Header

func (r *AddonPollRequest) Header(name string, value interface{}) *AddonPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddonPollRequest) Interval

func (r *AddonPollRequest) Interval(value time.Duration) *AddonPollRequest

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddonPollRequest) Parameter

func (r *AddonPollRequest) Parameter(name string, value interface{}) *AddonPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddonPollRequest) Predicate

func (r *AddonPollRequest) Predicate(value func(*AddonGetResponse) bool) *AddonPollRequest

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddonPollRequest) StartContext

func (r *AddonPollRequest) StartContext(ctx context.Context) (response *AddonPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddonPollRequest) Status

func (r *AddonPollRequest) Status(value int) *AddonPollRequest

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddonPollResponse

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

AddonPollResponse is the response for the Poll method.

func (*AddonPollResponse) Body

func (r *AddonPollResponse) Body() *Addon

Body returns the value of the 'body' parameter.

func (*AddonPollResponse) Error

func (r *AddonPollResponse) Error() *errors.Error

Error returns the response error.

func (*AddonPollResponse) GetBody

func (r *AddonPollResponse) GetBody() (value *Addon, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonPollResponse) Header

func (r *AddonPollResponse) Header() http.Header

Header returns header of the response.

func (*AddonPollResponse) Status

func (r *AddonPollResponse) Status() int

Status returns the response status code.

type AddonRequirement

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

AddonRequirement represents the values of the 'addon_requirement' type.

Representation of an addon requirement.

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
}

AddonRequirementBuilder contains the data and logic needed to build 'addon_requirement' objects.

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

AddonRequirementStatusBuilder contains the data and logic needed to build 'addon_requirement_status' objects.

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

AddonSecretPropagationBuilder contains the data and logic needed to build 'addon_secret_propagation' objects.

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) 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) 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 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 added in v0.1.365

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 iif 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 added in v0.1.365

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
}

AddonStatusBuilder contains the data and logic needed to build 'addon_status' objects.

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

func (b *AddonStatusBuilder) Version(value string) *AddonStatusBuilder

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

type AddonStatusClient

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

AddonStatusClient is the client of the 'addon_status' resource.

Manages a specific addon status.

func NewAddonStatusClient

func NewAddonStatusClient(transport http.RoundTripper, path string) *AddonStatusClient

NewAddonStatusClient creates a new client for the 'addon_status' resource using the given transport to send the requests and receive the responses.

func (*AddonStatusClient) Delete

Delete creates a request for the 'delete' method.

Deletes the addon version.

func (*AddonStatusClient) Get

Get creates a request for the 'get' method.

Retrieves the details of the addon version.

func (*AddonStatusClient) Poll

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*AddonStatusClient) Update

Update creates a request for the 'update' method.

Updates the addon version.

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

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

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
}

AddonStatusConditionBuilder contains the data and logic needed to build 'addon_status_condition' objects.

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

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

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

AddonStatusDeleteRequest is the request for the 'delete' method.

func (*AddonStatusDeleteRequest) Header

func (r *AddonStatusDeleteRequest) Header(name string, value interface{}) *AddonStatusDeleteRequest

Header adds a request header.

func (*AddonStatusDeleteRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonStatusDeleteRequest) Parameter

func (r *AddonStatusDeleteRequest) Parameter(name string, value interface{}) *AddonStatusDeleteRequest

Parameter adds a query parameter.

func (*AddonStatusDeleteRequest) Send

func (r *AddonStatusDeleteRequest) Send() (result *AddonStatusDeleteResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonStatusDeleteRequest) SendContext

func (r *AddonStatusDeleteRequest) SendContext(ctx context.Context) (result *AddonStatusDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonStatusDeleteResponse

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

AddonStatusDeleteResponse is the response for the 'delete' method.

func (*AddonStatusDeleteResponse) Error

Error returns the response error.

func (*AddonStatusDeleteResponse) Header

Header returns header of the response.

func (*AddonStatusDeleteResponse) Status

func (r *AddonStatusDeleteResponse) Status() int

Status returns the response status code.

type AddonStatusGetRequest

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

AddonStatusGetRequest is the request for the 'get' method.

func (*AddonStatusGetRequest) Header

func (r *AddonStatusGetRequest) Header(name string, value interface{}) *AddonStatusGetRequest

Header adds a request header.

func (*AddonStatusGetRequest) Impersonate

func (r *AddonStatusGetRequest) Impersonate(user string) *AddonStatusGetRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonStatusGetRequest) Parameter

func (r *AddonStatusGetRequest) Parameter(name string, value interface{}) *AddonStatusGetRequest

Parameter adds a query parameter.

func (*AddonStatusGetRequest) Send

func (r *AddonStatusGetRequest) Send() (result *AddonStatusGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonStatusGetRequest) SendContext

func (r *AddonStatusGetRequest) SendContext(ctx context.Context) (result *AddonStatusGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonStatusGetResponse

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

AddonStatusGetResponse is the response for the 'get' method.

func (*AddonStatusGetResponse) Body

Body returns the value of the 'body' parameter.

func (*AddonStatusGetResponse) Error

func (r *AddonStatusGetResponse) Error() *errors.Error

Error returns the response error.

func (*AddonStatusGetResponse) GetBody

func (r *AddonStatusGetResponse) GetBody() (value *AddonStatus, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonStatusGetResponse) Header

func (r *AddonStatusGetResponse) Header() http.Header

Header returns header of the response.

func (*AddonStatusGetResponse) Status

func (r *AddonStatusGetResponse) Status() int

Status returns the response status code.

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

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

AddonStatusPollRequest is the request for the Poll method.

func (*AddonStatusPollRequest) Header

func (r *AddonStatusPollRequest) Header(name string, value interface{}) *AddonStatusPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddonStatusPollRequest) Interval

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddonStatusPollRequest) Parameter

func (r *AddonStatusPollRequest) Parameter(name string, value interface{}) *AddonStatusPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddonStatusPollRequest) Predicate

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddonStatusPollRequest) StartContext

func (r *AddonStatusPollRequest) StartContext(ctx context.Context) (response *AddonStatusPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddonStatusPollRequest) Status

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddonStatusPollResponse

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

AddonStatusPollResponse is the response for the Poll method.

func (*AddonStatusPollResponse) Body

Body returns the value of the 'body' parameter.

func (*AddonStatusPollResponse) Error

func (r *AddonStatusPollResponse) Error() *errors.Error

Error returns the response error.

func (*AddonStatusPollResponse) GetBody

func (r *AddonStatusPollResponse) GetBody() (value *AddonStatus, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonStatusPollResponse) Header

func (r *AddonStatusPollResponse) Header() http.Header

Header returns header of the response.

func (*AddonStatusPollResponse) Status

func (r *AddonStatusPollResponse) Status() int

Status returns the response status code.

type AddonStatusUpdateRequest

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

AddonStatusUpdateRequest is the request for the 'update' method.

func (*AddonStatusUpdateRequest) Body

Body sets the value of the 'body' parameter.

func (*AddonStatusUpdateRequest) Header

func (r *AddonStatusUpdateRequest) Header(name string, value interface{}) *AddonStatusUpdateRequest

Header adds a request header.

func (*AddonStatusUpdateRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonStatusUpdateRequest) Parameter

func (r *AddonStatusUpdateRequest) Parameter(name string, value interface{}) *AddonStatusUpdateRequest

Parameter adds a query parameter.

func (*AddonStatusUpdateRequest) Send

func (r *AddonStatusUpdateRequest) Send() (result *AddonStatusUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonStatusUpdateRequest) SendContext

func (r *AddonStatusUpdateRequest) SendContext(ctx context.Context) (result *AddonStatusUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonStatusUpdateResponse

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

AddonStatusUpdateResponse is the response for the 'update' method.

func (*AddonStatusUpdateResponse) Body

Body returns the value of the 'body' parameter.

func (*AddonStatusUpdateResponse) Error

Error returns the response error.

func (*AddonStatusUpdateResponse) GetBody

func (r *AddonStatusUpdateResponse) GetBody() (value *AddonStatus, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonStatusUpdateResponse) Header

Header returns header of the response.

func (*AddonStatusUpdateResponse) Status

func (r *AddonStatusUpdateResponse) Status() int

Status returns the response status code.

type AddonStatusesAddRequest

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

AddonStatusesAddRequest is the request for the 'add' method.

func (*AddonStatusesAddRequest) Body

Body sets the value of the 'body' parameter.

Description of the addon status.

func (*AddonStatusesAddRequest) Header

func (r *AddonStatusesAddRequest) Header(name string, value interface{}) *AddonStatusesAddRequest

Header adds a request header.

func (*AddonStatusesAddRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonStatusesAddRequest) Parameter

func (r *AddonStatusesAddRequest) Parameter(name string, value interface{}) *AddonStatusesAddRequest

Parameter adds a query parameter.

func (*AddonStatusesAddRequest) Send

func (r *AddonStatusesAddRequest) Send() (result *AddonStatusesAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonStatusesAddRequest) SendContext

func (r *AddonStatusesAddRequest) SendContext(ctx context.Context) (result *AddonStatusesAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonStatusesAddResponse

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

AddonStatusesAddResponse is the response for the 'add' method.

func (*AddonStatusesAddResponse) Body

Body returns the value of the 'body' parameter.

Description of the addon status.

func (*AddonStatusesAddResponse) Error

Error returns the response error.

func (*AddonStatusesAddResponse) GetBody

func (r *AddonStatusesAddResponse) GetBody() (value *AddonStatus, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the addon status.

func (*AddonStatusesAddResponse) Header

func (r *AddonStatusesAddResponse) Header() http.Header

Header returns header of the response.

func (*AddonStatusesAddResponse) Status

func (r *AddonStatusesAddResponse) Status() int

Status returns the response status code.

type AddonStatusesClient

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

AddonStatusesClient is the client of the 'addon_statuses' resource.

Manages the collection of addon statuses for a cluster.

func NewAddonStatusesClient

func NewAddonStatusesClient(transport http.RoundTripper, path string) *AddonStatusesClient

NewAddonStatusesClient creates a new client for the 'addon_statuses' resource using the given transport to send the requests and receive the responses.

func (*AddonStatusesClient) Add

Add creates a request for the 'add' method.

Create a new addon status and add it to the collection of addons statuses.

func (*AddonStatusesClient) Addon

Addon returns the target 'addon_status' resource for the given identifier.

Returns a reference to a specific addon status.

func (*AddonStatusesClient) List

List creates a request for the 'list' method.

Retrieves the list of addon statuses for a cluster.

type AddonStatusesListRequest

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

AddonStatusesListRequest is the request for the 'list' method.

func (*AddonStatusesListRequest) Header

func (r *AddonStatusesListRequest) Header(name string, value interface{}) *AddonStatusesListRequest

Header adds a request header.

func (*AddonStatusesListRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonStatusesListRequest) Order

Order sets the value of the 'order' parameter.

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AddonStatusesListRequest) Page

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonStatusesListRequest) Parameter

func (r *AddonStatusesListRequest) Parameter(name string, value interface{}) *AddonStatusesListRequest

Parameter adds a query parameter.

func (*AddonStatusesListRequest) Send

func (r *AddonStatusesListRequest) Send() (result *AddonStatusesListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonStatusesListRequest) SendContext

func (r *AddonStatusesListRequest) SendContext(ctx context.Context) (result *AddonStatusesListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*AddonStatusesListRequest) Size

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AddonStatusesListResponse

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

AddonStatusesListResponse is the response for the 'list' method.

func (*AddonStatusesListResponse) Error

Error returns the response error.

func (*AddonStatusesListResponse) GetItems

func (r *AddonStatusesListResponse) GetItems() (value *AddonStatusList, ok bool)

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

Retrieved list of addon status conditions

func (*AddonStatusesListResponse) GetPage

func (r *AddonStatusesListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AddonStatusesListResponse) GetSize

func (r *AddonStatusesListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AddonStatusesListResponse) GetTotal

func (r *AddonStatusesListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection regardless of the size of the page.

func (*AddonStatusesListResponse) Header

Header returns header of the response.

func (*AddonStatusesListResponse) Items

Items returns the value of the 'items' parameter.

Retrieved list of addon status conditions

func (*AddonStatusesListResponse) Page

func (r *AddonStatusesListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonStatusesListResponse) Size

func (r *AddonStatusesListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AddonStatusesListResponse) Status

func (r *AddonStatusesListResponse) Status() int

Status returns the response status code.

func (*AddonStatusesListResponse) Total

func (r *AddonStatusesListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection regardless of the size of the page.

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

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

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
}

AddonSubOperatorBuilder contains the data and logic needed to build 'addon_sub_operator' objects.

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

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

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

AddonUpdateRequest is the request for the 'update' method.

func (*AddonUpdateRequest) Body

func (r *AddonUpdateRequest) Body(value *Addon) *AddonUpdateRequest

Body sets the value of the 'body' parameter.

func (*AddonUpdateRequest) DryRun

func (r *AddonUpdateRequest) DryRun(value bool) *AddonUpdateRequest

DryRun sets the value of the 'dry_run' parameter.

DryRun indicates the request body will not be persisted when dryRun=true.

func (*AddonUpdateRequest) Header

func (r *AddonUpdateRequest) Header(name string, value interface{}) *AddonUpdateRequest

Header adds a request header.

func (*AddonUpdateRequest) Impersonate

func (r *AddonUpdateRequest) Impersonate(user string) *AddonUpdateRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonUpdateRequest) Parameter

func (r *AddonUpdateRequest) Parameter(name string, value interface{}) *AddonUpdateRequest

Parameter adds a query parameter.

func (*AddonUpdateRequest) Send

func (r *AddonUpdateRequest) Send() (result *AddonUpdateResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonUpdateRequest) SendContext

func (r *AddonUpdateRequest) SendContext(ctx context.Context) (result *AddonUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonUpdateResponse

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

AddonUpdateResponse is the response for the 'update' method.

func (*AddonUpdateResponse) Body

func (r *AddonUpdateResponse) Body() *Addon

Body returns the value of the 'body' parameter.

func (*AddonUpdateResponse) Error

func (r *AddonUpdateResponse) Error() *errors.Error

Error returns the response error.

func (*AddonUpdateResponse) GetBody

func (r *AddonUpdateResponse) GetBody() (value *Addon, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonUpdateResponse) Header

func (r *AddonUpdateResponse) Header() http.Header

Header returns header of the response.

func (*AddonUpdateResponse) Status

func (r *AddonUpdateResponse) Status() int

Status returns the response status code.

type AddonVersion

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

AddonVersion represents the values of the 'addon_version' type.

Representation of an addon version.

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

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

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

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

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 iif this is a link.

func (*AddonVersion) MetricsFederation added in v0.1.365

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

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

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

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
}

AddonVersionBuilder contains the data and logic needed to build 'addon_version' objects.

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

MetricsFederation sets the value of the 'metrics_federation' attribute to the given value.

Representation of Metrics Federation

func (*AddonVersionBuilder) MonitoringStack added in v0.1.365

MonitoringStack sets the value of the 'monitoring_stack' attribute to the given value.

Representation of Monitoring Stack

func (*AddonVersionBuilder) PackageImage added in v0.1.387

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

func (b *AddonVersionBuilder) UpgradePlansCreated(value bool) *AddonVersionBuilder

UpgradePlansCreated sets the value of the 'upgrade_plans_created' attribute to the given value.

type AddonVersionClient

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

AddonVersionClient is the client of the 'addon_version' resource.

Manages a specific addon version.

func NewAddonVersionClient

func NewAddonVersionClient(transport http.RoundTripper, path string) *AddonVersionClient

NewAddonVersionClient creates a new client for the 'addon_version' resource using the given transport to send the requests and receive the responses.

func (*AddonVersionClient) Delete

Delete creates a request for the 'delete' method.

Deletes the addon version.

func (*AddonVersionClient) Get

Get creates a request for the 'get' method.

Retrieves the details of the addon version.

func (*AddonVersionClient) Poll

Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.

func (*AddonVersionClient) Update

Update creates a request for the 'update' method.

Updates the addon version.

type AddonVersionDeleteRequest

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

AddonVersionDeleteRequest is the request for the 'delete' method.

func (*AddonVersionDeleteRequest) Header

func (r *AddonVersionDeleteRequest) Header(name string, value interface{}) *AddonVersionDeleteRequest

Header adds a request header.

func (*AddonVersionDeleteRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonVersionDeleteRequest) Parameter

func (r *AddonVersionDeleteRequest) Parameter(name string, value interface{}) *AddonVersionDeleteRequest

Parameter adds a query parameter.

func (*AddonVersionDeleteRequest) Send

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonVersionDeleteRequest) SendContext

func (r *AddonVersionDeleteRequest) SendContext(ctx context.Context) (result *AddonVersionDeleteResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonVersionDeleteResponse

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

AddonVersionDeleteResponse is the response for the 'delete' method.

func (*AddonVersionDeleteResponse) Error

Error returns the response error.

func (*AddonVersionDeleteResponse) Header

Header returns header of the response.

func (*AddonVersionDeleteResponse) Status

func (r *AddonVersionDeleteResponse) Status() int

Status returns the response status code.

type AddonVersionGetRequest

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

AddonVersionGetRequest is the request for the 'get' method.

func (*AddonVersionGetRequest) Header

func (r *AddonVersionGetRequest) Header(name string, value interface{}) *AddonVersionGetRequest

Header adds a request header.

func (*AddonVersionGetRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonVersionGetRequest) Parameter

func (r *AddonVersionGetRequest) Parameter(name string, value interface{}) *AddonVersionGetRequest

Parameter adds a query parameter.

func (*AddonVersionGetRequest) Send

func (r *AddonVersionGetRequest) Send() (result *AddonVersionGetResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonVersionGetRequest) SendContext

func (r *AddonVersionGetRequest) SendContext(ctx context.Context) (result *AddonVersionGetResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonVersionGetResponse

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

AddonVersionGetResponse is the response for the 'get' method.

func (*AddonVersionGetResponse) Body

Body returns the value of the 'body' parameter.

func (*AddonVersionGetResponse) Error

func (r *AddonVersionGetResponse) Error() *errors.Error

Error returns the response error.

func (*AddonVersionGetResponse) GetBody

func (r *AddonVersionGetResponse) GetBody() (value *AddonVersion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonVersionGetResponse) Header

func (r *AddonVersionGetResponse) Header() http.Header

Header returns header of the response.

func (*AddonVersionGetResponse) Status

func (r *AddonVersionGetResponse) Status() int

Status returns the response status code.

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

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

AddonVersionPollRequest is the request for the Poll method.

func (*AddonVersionPollRequest) Header

func (r *AddonVersionPollRequest) Header(name string, value interface{}) *AddonVersionPollRequest

Header adds a request header to all the requests that will be used to retrieve the object.

func (*AddonVersionPollRequest) Interval

Interval sets the polling interval. This parameter is mandatory and must be greater than zero.

func (*AddonVersionPollRequest) Parameter

func (r *AddonVersionPollRequest) Parameter(name string, value interface{}) *AddonVersionPollRequest

Parameter adds a query parameter to all the requests that will be used to retrieve the object.

func (*AddonVersionPollRequest) Predicate

Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.

func (*AddonVersionPollRequest) StartContext

func (r *AddonVersionPollRequest) StartContext(ctx context.Context) (response *AddonVersionPollResponse, err error)

StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.

The context must have a timeout or deadline, otherwise this method will immediately return an error.

func (*AddonVersionPollRequest) Status

Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.

type AddonVersionPollResponse

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

AddonVersionPollResponse is the response for the Poll method.

func (*AddonVersionPollResponse) Body

Body returns the value of the 'body' parameter.

func (*AddonVersionPollResponse) Error

Error returns the response error.

func (*AddonVersionPollResponse) GetBody

func (r *AddonVersionPollResponse) GetBody() (value *AddonVersion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonVersionPollResponse) Header

func (r *AddonVersionPollResponse) Header() http.Header

Header returns header of the response.

func (*AddonVersionPollResponse) Status

func (r *AddonVersionPollResponse) Status() int

Status returns the response status code.

type AddonVersionUpdateRequest

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

AddonVersionUpdateRequest is the request for the 'update' method.

func (*AddonVersionUpdateRequest) Body

Body sets the value of the 'body' parameter.

func (*AddonVersionUpdateRequest) DryRun

DryRun sets the value of the 'dry_run' parameter.

DryRun indicates the request body will not be persisted when dryRun=true.

func (*AddonVersionUpdateRequest) Header

func (r *AddonVersionUpdateRequest) Header(name string, value interface{}) *AddonVersionUpdateRequest

Header adds a request header.

func (*AddonVersionUpdateRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonVersionUpdateRequest) Parameter

func (r *AddonVersionUpdateRequest) Parameter(name string, value interface{}) *AddonVersionUpdateRequest

Parameter adds a query parameter.

func (*AddonVersionUpdateRequest) Send

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonVersionUpdateRequest) SendContext

func (r *AddonVersionUpdateRequest) SendContext(ctx context.Context) (result *AddonVersionUpdateResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonVersionUpdateResponse

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

AddonVersionUpdateResponse is the response for the 'update' method.

func (*AddonVersionUpdateResponse) Body

Body returns the value of the 'body' parameter.

func (*AddonVersionUpdateResponse) Error

Error returns the response error.

func (*AddonVersionUpdateResponse) GetBody

func (r *AddonVersionUpdateResponse) GetBody() (value *AddonVersion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

func (*AddonVersionUpdateResponse) Header

Header returns header of the response.

func (*AddonVersionUpdateResponse) Status

func (r *AddonVersionUpdateResponse) Status() int

Status returns the response status code.

type AddonVersionsAddRequest

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

AddonVersionsAddRequest is the request for the 'add' method.

func (*AddonVersionsAddRequest) Body

Body sets the value of the 'body' parameter.

Description of the addon version.

func (*AddonVersionsAddRequest) DryRun

DryRun sets the value of the 'dry_run' parameter.

DryRun indicates the request body will not be persisted when dryRun=true.

func (*AddonVersionsAddRequest) Header

func (r *AddonVersionsAddRequest) Header(name string, value interface{}) *AddonVersionsAddRequest

Header adds a request header.

func (*AddonVersionsAddRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonVersionsAddRequest) Parameter

func (r *AddonVersionsAddRequest) Parameter(name string, value interface{}) *AddonVersionsAddRequest

Parameter adds a query parameter.

func (*AddonVersionsAddRequest) Send

func (r *AddonVersionsAddRequest) Send() (result *AddonVersionsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonVersionsAddRequest) SendContext

func (r *AddonVersionsAddRequest) SendContext(ctx context.Context) (result *AddonVersionsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonVersionsAddResponse

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

AddonVersionsAddResponse is the response for the 'add' method.

func (*AddonVersionsAddResponse) Body

Body returns the value of the 'body' parameter.

Description of the addon version.

func (*AddonVersionsAddResponse) Error

Error returns the response error.

func (*AddonVersionsAddResponse) GetBody

func (r *AddonVersionsAddResponse) GetBody() (value *AddonVersion, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the addon version.

func (*AddonVersionsAddResponse) Header

func (r *AddonVersionsAddResponse) Header() http.Header

Header returns header of the response.

func (*AddonVersionsAddResponse) Status

func (r *AddonVersionsAddResponse) Status() int

Status returns the response status code.

type AddonVersionsClient

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

AddonVersionsClient is the client of the 'addon_versions' resource.

Manages the collection of addon versions.

func NewAddonVersionsClient

func NewAddonVersionsClient(transport http.RoundTripper, path string) *AddonVersionsClient

NewAddonVersionsClient creates a new client for the 'addon_versions' resource using the given transport to send the requests and receive the responses.

func (*AddonVersionsClient) Add

Add creates a request for the 'add' method.

Create a new addon version and add it to the collection of addons.

func (*AddonVersionsClient) List

List creates a request for the 'list' method.

Retrieves the list of addon versions.

func (*AddonVersionsClient) Version

Version returns the target 'addon_version' resource for the given identifier.

Returns a reference to the service that manages a specific addon version.

type AddonVersionsListRequest

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

AddonVersionsListRequest is the request for the 'list' method.

func (*AddonVersionsListRequest) Header

func (r *AddonVersionsListRequest) Header(name string, value interface{}) *AddonVersionsListRequest

Header adds a request header.

func (*AddonVersionsListRequest) Impersonate

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonVersionsListRequest) Order

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the addon instead of the names of the columns of a table. For example, in order to sort the addon versions descending by id the value should be:

```sql id desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AddonVersionsListRequest) Page

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonVersionsListRequest) Parameter

func (r *AddonVersionsListRequest) Parameter(name string, value interface{}) *AddonVersionsListRequest

Parameter adds a query parameter.

func (*AddonVersionsListRequest) Search

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the addon version instead of the names of the columns of a table. For example, in order to retrieve all the addon versions with an id starting with `0.1` the value should be:

```sql id like '0.1.%' ```

If the parameter isn't provided, or if the value is empty, then all the addon versions that the user has permission to see will be returned.

func (*AddonVersionsListRequest) Send

func (r *AddonVersionsListRequest) Send() (result *AddonVersionsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonVersionsListRequest) SendContext

func (r *AddonVersionsListRequest) SendContext(ctx context.Context) (result *AddonVersionsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*AddonVersionsListRequest) Size

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AddonVersionsListResponse

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

AddonVersionsListResponse is the response for the 'list' method.

func (*AddonVersionsListResponse) Error

Error returns the response error.

func (*AddonVersionsListResponse) GetItems

func (r *AddonVersionsListResponse) GetItems() (value *AddonVersionList, ok bool)

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

Retrieved list of addon versions.

func (*AddonVersionsListResponse) GetPage

func (r *AddonVersionsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AddonVersionsListResponse) GetSize

func (r *AddonVersionsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AddonVersionsListResponse) GetTotal

func (r *AddonVersionsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AddonVersionsListResponse) Header

Header returns header of the response.

func (*AddonVersionsListResponse) Items

Items returns the value of the 'items' parameter.

Retrieved list of addon versions.

func (*AddonVersionsListResponse) Page

func (r *AddonVersionsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonVersionsListResponse) Size

func (r *AddonVersionsListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AddonVersionsListResponse) Status

func (r *AddonVersionsListResponse) Status() int

Status returns the response status code.

func (*AddonVersionsListResponse) Total

func (r *AddonVersionsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type AddonsAddRequest

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

AddonsAddRequest is the request for the 'add' method.

func (*AddonsAddRequest) Body

func (r *AddonsAddRequest) Body(value *Addon) *AddonsAddRequest

Body sets the value of the 'body' parameter.

Description of the addon.

func (*AddonsAddRequest) DryRun

func (r *AddonsAddRequest) DryRun(value bool) *AddonsAddRequest

DryRun sets the value of the 'dry_run' parameter.

DryRun indicates the request body will not be persisted when dryRun=true.

func (*AddonsAddRequest) Header

func (r *AddonsAddRequest) Header(name string, value interface{}) *AddonsAddRequest

Header adds a request header.

func (*AddonsAddRequest) Impersonate

func (r *AddonsAddRequest) Impersonate(user string) *AddonsAddRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonsAddRequest) Parameter

func (r *AddonsAddRequest) Parameter(name string, value interface{}) *AddonsAddRequest

Parameter adds a query parameter.

func (*AddonsAddRequest) Send

func (r *AddonsAddRequest) Send() (result *AddonsAddResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonsAddRequest) SendContext

func (r *AddonsAddRequest) SendContext(ctx context.Context) (result *AddonsAddResponse, err error)

SendContext sends this request, waits for the response, and returns it.

type AddonsAddResponse

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

AddonsAddResponse is the response for the 'add' method.

func (*AddonsAddResponse) Body

func (r *AddonsAddResponse) Body() *Addon

Body returns the value of the 'body' parameter.

Description of the addon.

func (*AddonsAddResponse) Error

func (r *AddonsAddResponse) Error() *errors.Error

Error returns the response error.

func (*AddonsAddResponse) GetBody

func (r *AddonsAddResponse) GetBody() (value *Addon, ok bool)

GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.

Description of the addon.

func (*AddonsAddResponse) Header

func (r *AddonsAddResponse) Header() http.Header

Header returns header of the response.

func (*AddonsAddResponse) Status

func (r *AddonsAddResponse) Status() int

Status returns the response status code.

type AddonsClient

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

AddonsClient is the client of the 'addons' resource.

Manages the collection of addons.

func NewAddonsClient

func NewAddonsClient(transport http.RoundTripper, path string) *AddonsClient

NewAddonsClient creates a new client for the 'addons' resource using the given transport to send the requests and receive the responses.

func (*AddonsClient) Add

func (c *AddonsClient) Add() *AddonsAddRequest

Add creates a request for the 'add' method.

Create a new addon and add it to the collection of addons.

func (*AddonsClient) Addon

func (c *AddonsClient) Addon(id string) *AddonClient

Addon returns the target 'addon' resource for the given identifier.

Returns a reference to the service that manages a specific addon.

func (*AddonsClient) List

func (c *AddonsClient) List() *AddonsListRequest

List creates a request for the 'list' method.

Retrieves the list of addons.

type AddonsListRequest

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

AddonsListRequest is the request for the 'list' method.

func (*AddonsListRequest) Header

func (r *AddonsListRequest) Header(name string, value interface{}) *AddonsListRequest

Header adds a request header.

func (*AddonsListRequest) Impersonate

func (r *AddonsListRequest) Impersonate(user string) *AddonsListRequest

Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.

func (*AddonsListRequest) Order

func (r *AddonsListRequest) Order(value string) *AddonsListRequest

Order sets the value of the 'order' parameter.

Order criteria.

The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the addon instead of the names of the columns of a table. For example, in order to sort the addons descending by name the value should be:

```sql name desc ```

If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.

func (*AddonsListRequest) Page

func (r *AddonsListRequest) Page(value int) *AddonsListRequest

Page sets the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonsListRequest) Parameter

func (r *AddonsListRequest) Parameter(name string, value interface{}) *AddonsListRequest

Parameter adds a query parameter.

func (*AddonsListRequest) Search

func (r *AddonsListRequest) Search(value string) *AddonsListRequest

Search sets the value of the 'search' parameter.

Search criteria.

The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the addon instead of the names of the columns of a table. For example, in order to retrieve all the addons with a name starting with `my` the value should be:

```sql name like 'my%' ```

If the parameter isn't provided, or if the value is empty, then all the addons that the user has permission to see will be returned.

func (*AddonsListRequest) Send

func (r *AddonsListRequest) Send() (result *AddonsListResponse, err error)

Send sends this request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*AddonsListRequest) SendContext

func (r *AddonsListRequest) SendContext(ctx context.Context) (result *AddonsListResponse, err error)

SendContext sends this request, waits for the response, and returns it.

func (*AddonsListRequest) Size

func (r *AddonsListRequest) Size(value int) *AddonsListRequest

Size sets the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

type AddonsListResponse

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

AddonsListResponse is the response for the 'list' method.

func (*AddonsListResponse) Error

func (r *AddonsListResponse) Error() *errors.Error

Error returns the response error.

func (*AddonsListResponse) GetItems

func (r *AddonsListResponse) GetItems() (value *AddonList, ok bool)

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

Retrieved list of add-ons.

func (*AddonsListResponse) GetPage

func (r *AddonsListResponse) GetPage() (value int, ok bool)

GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.

Index of the requested page, where one corresponds to the first page.

func (*AddonsListResponse) GetSize

func (r *AddonsListResponse) GetSize() (value int, ok bool)

GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.

Maximum number of items that will be contained in the returned page.

func (*AddonsListResponse) GetTotal

func (r *AddonsListResponse) GetTotal() (value int, ok bool)

GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

func (*AddonsListResponse) Header

func (r *AddonsListResponse) Header() http.Header

Header returns header of the response.

func (*AddonsListResponse) Items

func (r *AddonsListResponse) Items() *AddonList

Items returns the value of the 'items' parameter.

Retrieved list of add-ons.

func (*AddonsListResponse) Page

func (r *AddonsListResponse) Page() int

Page returns the value of the 'page' parameter.

Index of the requested page, where one corresponds to the first page.

func (*AddonsListResponse) Size

func (r *AddonsListResponse) Size() int

Size returns the value of the 'size' parameter.

Maximum number of items that will be contained in the returned page.

func (*AddonsListResponse) Status

func (r *AddonsListResponse) Status() int

Status returns the response status code.

func (*AddonsListResponse) Total

func (r *AddonsListResponse) Total() int

Total returns the value of the 'total' parameter.

Total number of items of the collection that match the search criteria, regardless of the size of the page.

type BillingModel added in v0.1.365

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 UnmarshalBillingModelList added in v0.1.365

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 Client

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

Client is the client of the 'root' resource.

Root of the tree of resources of the Addons Management.

func NewClient

func NewClient(transport http.RoundTripper, path string) *Client

NewClient creates a new client for the 'root' resource using the given transport to send the requests and receive the responses.

func (*Client) Addons

func (c *Client) Addons() *AddonsClient

Addons returns the target 'addons' resource.

Reference to the resource that manages the collection of Addons.

func (*Client) Clusters

func (c *Client) Clusters() *ClustersClient

Clusters returns the target 'clusters' resource.

func (*Client) Get

func (c *Client) Get() *MetadataRequest

Creates a new request for the method that retrieves the metadata.

type ClusterClient

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

ClusterClient is the client of the 'cluster' resource.

Manages a specific cluster.

func NewClusterClient

func NewClusterClient(transport http.RoundTripper, path string) *ClusterClient

NewClusterClient creates a new client for the 'cluster' resource using the given transport to send the requests and receive the responses.

func (*ClusterClient) AddonInquiries

func (c *ClusterClient) AddonInquiries() *AddonInquiriesClient

AddonInquiries returns the target 'addon_inquiries' resource.

Reference to the inquiries of addons on a specific cluster

func (*ClusterClient) Addons added in v0.1.365

Addons returns the target 'addon_installations' resource.

Reference to the installations of addon on a specific cluster

func (*ClusterClient) Status

func (c *ClusterClient) Status() *AddonStatusesClient

Status returns the target 'addon_statuses' resource.

Reference to the status of addon installation on a specific cluster

type ClustersClient

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

ClustersClient is the client of the 'clusters' resource.

Manages a list of clusters.

func NewClustersClient

func NewClustersClient(transport http.RoundTripper, path string) *ClustersClient

NewClustersClient creates a new client for the 'clusters' resource using the given transport to send the requests and receive the responses.

func (*ClustersClient) Cluster

func (c *ClustersClient) Cluster(id string) *ClusterClient

Cluster returns the target 'cluster' resource for the given identifier.

Reference to the specific cluster which an addon can be installed on

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

CredentialRequestBuilder contains the data and logic needed to build 'credential_request' objects.

Contains the necessary attributes to allow each operator to access the necessary AWS resources

func NewCredentialRequest

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

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

MetadataRequest is the request to retrieve the metadata.

func (*MetadataRequest) Header

func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest

Header adds a request header.

func (*MetadataRequest) Parameter

func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest

Parameter adds a query parameter.

func (*MetadataRequest) Send

func (r *MetadataRequest) Send() (result *MetadataResponse, err error)

Send sends the metadata request, waits for the response, and returns it.

This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.

func (*MetadataRequest) SendContext

func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)

SendContext sends the metadata request, waits for the response, and returns it.

type MetadataResponse

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

MetadataResponse is the response for the metadata request.

func (*MetadataResponse) Body

func (r *MetadataResponse) Body() *Metadata

Body returns the response body.

func (*MetadataResponse) Error

func (r *MetadataResponse) Error() *errors.Error

Error returns the response error.

func (*MetadataResponse) Header

func (r *MetadataResponse) Header() http.Header

Header returns header of the response.

func (*MetadataResponse) Status

func (r *MetadataResponse) Status() int

Status returns the response status code.

type MetricsFederation added in v0.1.365

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

MetricsFederation represents the values of the 'metrics_federation' type.

Representation of Metrics Federation

func UnmarshalMetricsFederation added in v0.1.365

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

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

func (o *MetricsFederation) Empty() bool

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

func (*MetricsFederation) GetMatchLabels added in v0.1.365

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

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

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

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

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

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

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

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

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

MetricsFederationBuilder contains the data and logic needed to build 'metrics_federation' objects.

Representation of Metrics Federation

func NewMetricsFederation added in v0.1.365

func NewMetricsFederation() *MetricsFederationBuilder

NewMetricsFederation creates a new builder of 'metrics_federation' objects.

func (*MetricsFederationBuilder) Build added in v0.1.365

func (b *MetricsFederationBuilder) Build() (object *MetricsFederation, err error)

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

func (*MetricsFederationBuilder) Copy added in v0.1.365

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

func (*MetricsFederationBuilder) Empty added in v0.1.365

func (b *MetricsFederationBuilder) Empty() bool

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

func (*MetricsFederationBuilder) MatchLabels added in v0.1.365

MatchLabels sets the value of the 'match_labels' attribute to the given value.

func (*MetricsFederationBuilder) MatchNames added in v0.1.365

func (b *MetricsFederationBuilder) MatchNames(values ...string) *MetricsFederationBuilder

MatchNames sets the value of the 'match_names' attribute to the given values.

func (*MetricsFederationBuilder) Namespace added in v0.1.365

Namespace sets the value of the 'namespace' attribute to the given value.

func (*MetricsFederationBuilder) PortName added in v0.1.365

PortName sets the value of the 'port_name' attribute to the given value.

type MetricsFederationList added in v0.1.365

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

MetricsFederationList is a list of values of the 'metrics_federation' type.

func (*MetricsFederationList) Each added in v0.1.365

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

func (l *MetricsFederationList) Empty() bool

Empty returns true if the list is empty.

func (*MetricsFederationList) Get added in v0.1.365

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

func (*MetricsFederationList) Len added in v0.1.365

func (l *MetricsFederationList) Len() int

Len returns the length of the list.

func (*MetricsFederationList) Range added in v0.1.365

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) Slice added in v0.1.365

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't 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 added in v0.1.365

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

MetricsFederationListBuilder contains the data and logic needed to build 'metrics_federation' objects.

func NewMetricsFederationList added in v0.1.365

func NewMetricsFederationList() *MetricsFederationListBuilder

NewMetricsFederationList creates a new builder of 'metrics_federation' objects.

func (*MetricsFederationListBuilder) Build added in v0.1.365

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

func (*MetricsFederationListBuilder) Copy added in v0.1.365

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

func (*MetricsFederationListBuilder) Empty added in v0.1.365

Empty returns true if the list is empty.

func (*MetricsFederationListBuilder) Items added in v0.1.365

Items sets the items of the list.

type MonitoringStack added in v0.1.365

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

MonitoringStack represents the values of the 'monitoring_stack' type.

Representation of Monitoring Stack

func UnmarshalMonitoringStack added in v0.1.365

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

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

func (o *MonitoringStack) Empty() bool

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

func (*MonitoringStack) Enabled added in v0.1.365

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

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

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

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

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

MonitoringStackBuilder contains the data and logic needed to build 'monitoring_stack' objects.

Representation of Monitoring Stack

func NewMonitoringStack added in v0.1.365

func NewMonitoringStack() *MonitoringStackBuilder

NewMonitoringStack creates a new builder of 'monitoring_stack' objects.

func (*MonitoringStackBuilder) Build added in v0.1.365

func (b *MonitoringStackBuilder) Build() (object *MonitoringStack, err error)

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

func (*MonitoringStackBuilder) Copy added in v0.1.365

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

func (*MonitoringStackBuilder) Empty added in v0.1.365

func (b *MonitoringStackBuilder) Empty() bool

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

func (*MonitoringStackBuilder) Enabled added in v0.1.365

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

func (*MonitoringStackBuilder) Resources added in v0.1.365

Resources sets the value of the 'resources' attribute to the given value.

Representation of Monitoring Stack Resources

type MonitoringStackList added in v0.1.365

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

MonitoringStackList is a list of values of the 'monitoring_stack' type.

func (*MonitoringStackList) Each added in v0.1.365

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

func (l *MonitoringStackList) Empty() bool

Empty returns true if the list is empty.

func (*MonitoringStackList) Get added in v0.1.365

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

func (*MonitoringStackList) Len added in v0.1.365

func (l *MonitoringStackList) Len() int

Len returns the length of the list.

func (*MonitoringStackList) Range added in v0.1.365

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) Slice added in v0.1.365

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

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

MonitoringStackListBuilder contains the data and logic needed to build 'monitoring_stack' objects.

func NewMonitoringStackList added in v0.1.365

func NewMonitoringStackList() *MonitoringStackListBuilder

NewMonitoringStackList creates a new builder of 'monitoring_stack' objects.

func (*MonitoringStackListBuilder) Build added in v0.1.365

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

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

func (*MonitoringStackListBuilder) Empty added in v0.1.365

func (b *MonitoringStackListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*MonitoringStackListBuilder) Items added in v0.1.365

Items sets the items of the list.

type MonitoringStackResource added in v0.1.365

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

MonitoringStackResource represents the values of the 'monitoring_stack_resource' type.

Representation of Monitoring Stack Resource

func UnmarshalMonitoringStackResource added in v0.1.365

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

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

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

func (o *MonitoringStackResource) Empty() bool

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

func (*MonitoringStackResource) GetCpu added in v0.1.365

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

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

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

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

MonitoringStackResourceBuilder contains the data and logic needed to build 'monitoring_stack_resource' objects.

Representation of Monitoring Stack Resource

func NewMonitoringStackResource added in v0.1.365

func NewMonitoringStackResource() *MonitoringStackResourceBuilder

NewMonitoringStackResource creates a new builder of 'monitoring_stack_resource' objects.

func (*MonitoringStackResourceBuilder) Build added in v0.1.365

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

func (*MonitoringStackResourceBuilder) Copy added in v0.1.365

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

func (*MonitoringStackResourceBuilder) Cpu added in v0.1.365

Cpu sets the value of the 'cpu' attribute to the given value.

func (*MonitoringStackResourceBuilder) Empty added in v0.1.365

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

func (*MonitoringStackResourceBuilder) Memory added in v0.1.365

Memory sets the value of the 'memory' attribute to the given value.

type MonitoringStackResourceList added in v0.1.365

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

MonitoringStackResourceList is a list of values of the 'monitoring_stack_resource' type.

func (*MonitoringStackResourceList) Each added in v0.1.365

Each runs the given function for each item of the list, 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 added in v0.1.365

func (l *MonitoringStackResourceList) Empty() bool

Empty returns true if the list is empty.

func (*MonitoringStackResourceList) Get added in v0.1.365

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

func (*MonitoringStackResourceList) Len added in v0.1.365

Len returns the length of the list.

func (*MonitoringStackResourceList) Range added in v0.1.365

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) Slice added in v0.1.365

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't 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 added in v0.1.365

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

MonitoringStackResourceListBuilder contains the data and logic needed to build 'monitoring_stack_resource' objects.

func NewMonitoringStackResourceList added in v0.1.365

func NewMonitoringStackResourceList() *MonitoringStackResourceListBuilder

NewMonitoringStackResourceList creates a new builder of 'monitoring_stack_resource' objects.

func (*MonitoringStackResourceListBuilder) Build added in v0.1.365

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

func (*MonitoringStackResourceListBuilder) Copy added in v0.1.365

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

func (*MonitoringStackResourceListBuilder) Empty added in v0.1.365

Empty returns true if the list is empty.

func (*MonitoringStackResourceListBuilder) Items added in v0.1.365

Items sets the items of the list.

type MonitoringStackResources added in v0.1.365

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

MonitoringStackResources represents the values of the 'monitoring_stack_resources' type.

Representation of Monitoring Stack Resources

func UnmarshalMonitoringStackResources added in v0.1.365

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

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

func (o *MonitoringStackResources) Empty() bool

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

func (*MonitoringStackResources) GetLimits added in v0.1.365

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

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

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

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

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

MonitoringStackResourcesBuilder contains the data and logic needed to build 'monitoring_stack_resources' objects.

Representation of Monitoring Stack Resources

func NewMonitoringStackResources added in v0.1.365

func NewMonitoringStackResources() *MonitoringStackResourcesBuilder

NewMonitoringStackResources creates a new builder of 'monitoring_stack_resources' objects.

func (*MonitoringStackResourcesBuilder) Build added in v0.1.365

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

func (*MonitoringStackResourcesBuilder) Copy added in v0.1.365

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

func (*MonitoringStackResourcesBuilder) Empty added in v0.1.365

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

func (*MonitoringStackResourcesBuilder) Limits added in v0.1.365

Limits sets the value of the 'limits' attribute to the given value.

Representation of Monitoring Stack Resource

func (*MonitoringStackResourcesBuilder) Requests added in v0.1.365

Requests sets the value of the 'requests' attribute to the given value.

Representation of Monitoring Stack Resource

type MonitoringStackResourcesList added in v0.1.365

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

MonitoringStackResourcesList is a list of values of the 'monitoring_stack_resources' type.

func (*MonitoringStackResourcesList) Each added in v0.1.365

Each runs the given function for each item of the list, 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 added in v0.1.365

Empty returns true if the list is empty.

func (*MonitoringStackResourcesList) Get added in v0.1.365

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

func (*MonitoringStackResourcesList) Len added in v0.1.365

Len returns the length of the list.

func (*MonitoringStackResourcesList) Range added in v0.1.365

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) Slice added in v0.1.365

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't 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 added in v0.1.365

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

MonitoringStackResourcesListBuilder contains the data and logic needed to build 'monitoring_stack_resources' objects.

func NewMonitoringStackResourcesList added in v0.1.365

func NewMonitoringStackResourcesList() *MonitoringStackResourcesListBuilder

NewMonitoringStackResourcesList creates a new builder of 'monitoring_stack_resources' objects.

func (*MonitoringStackResourcesListBuilder) Build added in v0.1.365

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

func (*MonitoringStackResourcesListBuilder) Copy added in v0.1.365

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

func (*MonitoringStackResourcesListBuilder) Empty added in v0.1.365

Empty returns true if the list is empty.

func (*MonitoringStackResourcesListBuilder) Items added in v0.1.365

Items sets the items of the list.

type ObjectReference added in v0.1.365

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

ObjectReference represents the values of the 'object_reference' type.

representation of object reference/subscription

func UnmarshalObjectReference added in v0.1.365

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

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

func (o *ObjectReference) Empty() bool

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

func (*ObjectReference) GetHref added in v0.1.365

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

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

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

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

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

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

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

ObjectReferenceBuilder contains the data and logic needed to build 'object_reference' objects.

representation of object reference/subscription

func NewObjectReference added in v0.1.365

func NewObjectReference() *ObjectReferenceBuilder

NewObjectReference creates a new builder of 'object_reference' objects.

func (*ObjectReferenceBuilder) Build added in v0.1.365

func (b *ObjectReferenceBuilder) Build() (object *ObjectReference, err error)

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

func (*ObjectReferenceBuilder) Copy added in v0.1.365

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

func (*ObjectReferenceBuilder) Empty added in v0.1.365

func (b *ObjectReferenceBuilder) Empty() bool

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

func (*ObjectReferenceBuilder) Href added in v0.1.365

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

func (*ObjectReferenceBuilder) Id added in v0.1.365

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

func (*ObjectReferenceBuilder) Kind added in v0.1.365

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

type ObjectReferenceList added in v0.1.365

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

ObjectReferenceList is a list of values of the 'object_reference' type.

func (*ObjectReferenceList) Each added in v0.1.365

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

func (l *ObjectReferenceList) Empty() bool

Empty returns true if the list is empty.

func (*ObjectReferenceList) Get added in v0.1.365

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

func (*ObjectReferenceList) Len added in v0.1.365

func (l *ObjectReferenceList) Len() int

Len returns the length of the list.

func (*ObjectReferenceList) Range added in v0.1.365

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) Slice added in v0.1.365

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

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

ObjectReferenceListBuilder contains the data and logic needed to build 'object_reference' objects.

func NewObjectReferenceList added in v0.1.365

func NewObjectReferenceList() *ObjectReferenceListBuilder

NewObjectReferenceList creates a new builder of 'object_reference' objects.

func (*ObjectReferenceListBuilder) Build added in v0.1.365

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

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

func (*ObjectReferenceListBuilder) Empty added in v0.1.365

func (b *ObjectReferenceListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ObjectReferenceListBuilder) Items added in v0.1.365

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