Documentation ¶
Index ¶
- Constants
- Variables
- func Dispatch(w http.ResponseWriter, r *http.Request, server Server, segments []string)
- func MarshalAWS(object *AWS, writer io.Writer) error
- func MarshalAWSFlavour(object *AWSFlavour, writer io.Writer) error
- func MarshalAWSFlavourList(list []*AWSFlavour, writer io.Writer) error
- func MarshalAWSInfrastructureAccessRole(object *AWSInfrastructureAccessRole, writer io.Writer) error
- func MarshalAWSInfrastructureAccessRoleGrant(object *AWSInfrastructureAccessRoleGrant, writer io.Writer) error
- func MarshalAWSInfrastructureAccessRoleGrantList(list []*AWSInfrastructureAccessRoleGrant, writer io.Writer) error
- func MarshalAWSInfrastructureAccessRoleGrantStateList(list []AWSInfrastructureAccessRoleGrantState, writer io.Writer) error
- func MarshalAWSInfrastructureAccessRoleList(list []*AWSInfrastructureAccessRole, writer io.Writer) error
- func MarshalAWSInfrastructureAccessRoleStateList(list []AWSInfrastructureAccessRoleState, writer io.Writer) error
- func MarshalAWSList(list []*AWS, writer io.Writer) error
- func MarshalAWSVolume(object *AWSVolume, writer io.Writer) error
- func MarshalAWSVolumeList(list []*AWSVolume, writer io.Writer) error
- func MarshalAddOn(object *AddOn, writer io.Writer) error
- func MarshalAddOnInstallModeList(list []AddOnInstallMode, writer io.Writer) error
- func MarshalAddOnInstallation(object *AddOnInstallation, writer io.Writer) error
- func MarshalAddOnInstallationList(list []*AddOnInstallation, writer io.Writer) error
- func MarshalAddOnInstallationParameter(object *AddOnInstallationParameter, writer io.Writer) error
- func MarshalAddOnInstallationParameterList(list []*AddOnInstallationParameter, writer io.Writer) error
- func MarshalAddOnInstallationStateList(list []AddOnInstallationState, writer io.Writer) error
- func MarshalAddOnList(list []*AddOn, writer io.Writer) error
- func MarshalAddOnParameter(object *AddOnParameter, writer io.Writer) error
- func MarshalAddOnParameterList(list []*AddOnParameter, writer io.Writer) error
- func MarshalAddOnRequirement(object *AddOnRequirement, writer io.Writer) error
- func MarshalAddOnRequirementList(list []*AddOnRequirement, writer io.Writer) error
- func MarshalAdminCredentials(object *AdminCredentials, writer io.Writer) error
- func MarshalAdminCredentialsList(list []*AdminCredentials, writer io.Writer) error
- func MarshalAlertInfo(object *AlertInfo, writer io.Writer) error
- func MarshalAlertInfoList(list []*AlertInfo, writer io.Writer) error
- func MarshalAlertSeverityList(list []AlertSeverity, writer io.Writer) error
- func MarshalAlertsInfo(object *AlertsInfo, writer io.Writer) error
- func MarshalAlertsInfoList(list []*AlertsInfo, writer io.Writer) error
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalCCS(object *CCS, writer io.Writer) error
- func MarshalCCSList(list []*CCS, writer io.Writer) error
- func MarshalCPUTotalNodeRoleOSMetricNode(object *CPUTotalNodeRoleOSMetricNode, writer io.Writer) error
- func MarshalCPUTotalNodeRoleOSMetricNodeList(list []*CPUTotalNodeRoleOSMetricNode, writer io.Writer) error
- func MarshalCPUTotalsNodeRoleOSMetricNode(object *CPUTotalsNodeRoleOSMetricNode, writer io.Writer) error
- func MarshalCPUTotalsNodeRoleOSMetricNodeList(list []*CPUTotalsNodeRoleOSMetricNode, writer io.Writer) error
- func MarshalCloudProvider(object *CloudProvider, writer io.Writer) error
- func MarshalCloudProviderList(list []*CloudProvider, writer io.Writer) error
- func MarshalCloudRegion(object *CloudRegion, writer io.Writer) error
- func MarshalCloudRegionList(list []*CloudRegion, writer io.Writer) error
- func MarshalCluster(object *Cluster, writer io.Writer) error
- func MarshalClusterAPI(object *ClusterAPI, writer io.Writer) error
- func MarshalClusterAPIList(list []*ClusterAPI, writer io.Writer) error
- func MarshalClusterConsole(object *ClusterConsole, writer io.Writer) error
- func MarshalClusterConsoleList(list []*ClusterConsole, writer io.Writer) error
- func MarshalClusterCredentials(object *ClusterCredentials, writer io.Writer) error
- func MarshalClusterCredentialsList(list []*ClusterCredentials, writer io.Writer) error
- func MarshalClusterHealthStateList(list []ClusterHealthState, writer io.Writer) error
- func MarshalClusterList(list []*Cluster, writer io.Writer) error
- func MarshalClusterMetric(object *ClusterMetric, writer io.Writer) error
- func MarshalClusterMetricList(list []*ClusterMetric, writer io.Writer) error
- func MarshalClusterMetrics(object *ClusterMetrics, writer io.Writer) error
- func MarshalClusterMetricsList(list []*ClusterMetrics, writer io.Writer) error
- func MarshalClusterNodes(object *ClusterNodes, writer io.Writer) error
- func MarshalClusterNodesList(list []*ClusterNodes, writer io.Writer) error
- func MarshalClusterOperatorInfo(object *ClusterOperatorInfo, writer io.Writer) error
- func MarshalClusterOperatorInfoList(list []*ClusterOperatorInfo, writer io.Writer) error
- func MarshalClusterOperatorStateList(list []ClusterOperatorState, writer io.Writer) error
- func MarshalClusterOperatorsInfo(object *ClusterOperatorsInfo, writer io.Writer) error
- func MarshalClusterOperatorsInfoList(list []*ClusterOperatorsInfo, writer io.Writer) error
- func MarshalClusterRegistration(object *ClusterRegistration, writer io.Writer) error
- func MarshalClusterRegistrationList(list []*ClusterRegistration, writer io.Writer) error
- func MarshalClusterStateList(list []ClusterState, writer io.Writer) error
- func MarshalClusterStatus(object *ClusterStatus, writer io.Writer) error
- func MarshalClusterStatusList(list []*ClusterStatus, writer io.Writer) error
- func MarshalDNS(object *DNS, writer io.Writer) error
- func MarshalDNSList(list []*DNS, writer io.Writer) error
- func MarshalDashboard(object *Dashboard, writer io.Writer) error
- func MarshalDashboardList(list []*Dashboard, writer io.Writer) error
- func MarshalDateList(list []time.Time, writer io.Writer) error
- func MarshalExternalConfiguration(object *ExternalConfiguration, writer io.Writer) error
- func MarshalExternalConfigurationList(list []*ExternalConfiguration, writer io.Writer) error
- func MarshalFlavour(object *Flavour, writer io.Writer) error
- func MarshalFlavourList(list []*Flavour, writer io.Writer) error
- func MarshalFlavourNodes(object *FlavourNodes, writer io.Writer) error
- func MarshalFlavourNodesList(list []*FlavourNodes, writer io.Writer) error
- func MarshalFloatList(list []float64, writer io.Writer) error
- func MarshalGCP(object *GCP, writer io.Writer) error
- func MarshalGCPFlavour(object *GCPFlavour, writer io.Writer) error
- func MarshalGCPFlavourList(list []*GCPFlavour, writer io.Writer) error
- func MarshalGCPList(list []*GCP, writer io.Writer) error
- func MarshalGithubIdentityProvider(object *GithubIdentityProvider, writer io.Writer) error
- func MarshalGithubIdentityProviderList(list []*GithubIdentityProvider, writer io.Writer) error
- func MarshalGitlabIdentityProvider(object *GitlabIdentityProvider, writer io.Writer) error
- func MarshalGitlabIdentityProviderList(list []*GitlabIdentityProvider, writer io.Writer) error
- func MarshalGoogleIdentityProvider(object *GoogleIdentityProvider, writer io.Writer) error
- func MarshalGoogleIdentityProviderList(list []*GoogleIdentityProvider, writer io.Writer) error
- func MarshalGroup(object *Group, writer io.Writer) error
- func MarshalGroupList(list []*Group, writer io.Writer) error
- func MarshalHTPasswdIdentityProvider(object *HTPasswdIdentityProvider, writer io.Writer) error
- func MarshalHTPasswdIdentityProviderList(list []*HTPasswdIdentityProvider, writer io.Writer) error
- func MarshalIdentityProvider(object *IdentityProvider, writer io.Writer) error
- func MarshalIdentityProviderList(list []*IdentityProvider, writer io.Writer) error
- func MarshalIdentityProviderMappingMethodList(list []IdentityProviderMappingMethod, writer io.Writer) error
- func MarshalIdentityProviderTypeList(list []IdentityProviderType, writer io.Writer) error
- func MarshalIngress(object *Ingress, writer io.Writer) error
- func MarshalIngressList(list []*Ingress, writer io.Writer) error
- func MarshalIntegerList(list []int, writer io.Writer) error
- func MarshalInterfaceList(list []interface{}, writer io.Writer) error
- func MarshalLDAPAttributes(object *LDAPAttributes, writer io.Writer) error
- func MarshalLDAPAttributesList(list []*LDAPAttributes, writer io.Writer) error
- func MarshalLDAPIdentityProvider(object *LDAPIdentityProvider, writer io.Writer) error
- func MarshalLDAPIdentityProviderList(list []*LDAPIdentityProvider, writer io.Writer) error
- func MarshalLabel(object *Label, writer io.Writer) error
- func MarshalLabelList(list []*Label, writer io.Writer) error
- func MarshalListeningMethodList(list []ListeningMethod, writer io.Writer) error
- func MarshalLog(object *Log, writer io.Writer) error
- func MarshalLogList(list []*Log, writer io.Writer) error
- func MarshalLongList(list []int64, writer io.Writer) error
- func MarshalMachinePool(object *MachinePool, writer io.Writer) error
- func MarshalMachinePoolAutoscaling(object *MachinePoolAutoscaling, writer io.Writer) error
- func MarshalMachinePoolAutoscalingList(list []*MachinePoolAutoscaling, writer io.Writer) error
- func MarshalMachinePoolList(list []*MachinePool, writer io.Writer) error
- func MarshalMachineType(object *MachineType, writer io.Writer) error
- func MarshalMachineTypeCategoryList(list []MachineTypeCategory, writer io.Writer) error
- func MarshalMachineTypeList(list []*MachineType, writer io.Writer) error
- func MarshalMachineTypeSizeList(list []MachineTypeSize, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalMetric(object *Metric, writer io.Writer) error
- func MarshalMetricList(list []*Metric, writer io.Writer) error
- func MarshalNetwork(object *Network, writer io.Writer) error
- func MarshalNetworkList(list []*Network, writer io.Writer) error
- func MarshalNodeInfo(object *NodeInfo, writer io.Writer) error
- func MarshalNodeInfoList(list []*NodeInfo, writer io.Writer) error
- func MarshalNodeTypeList(list []NodeType, writer io.Writer) error
- func MarshalNodesInfo(object *NodesInfo, writer io.Writer) error
- func MarshalNodesInfoList(list []*NodesInfo, writer io.Writer) error
- func MarshalOpenIDClaims(object *OpenIDClaims, writer io.Writer) error
- func MarshalOpenIDClaimsList(list []*OpenIDClaims, writer io.Writer) error
- func MarshalOpenIDIdentityProvider(object *OpenIDIdentityProvider, writer io.Writer) error
- func MarshalOpenIDIdentityProviderList(list []*OpenIDIdentityProvider, writer io.Writer) error
- func MarshalProduct(object *Product, writer io.Writer) error
- func MarshalProductList(list []*Product, writer io.Writer) error
- func MarshalProvisionShard(object *ProvisionShard, writer io.Writer) error
- func MarshalProvisionShardList(list []*ProvisionShard, writer io.Writer) error
- func MarshalSSHCredentials(object *SSHCredentials, writer io.Writer) error
- func MarshalSSHCredentialsList(list []*SSHCredentials, writer io.Writer) error
- func MarshalSample(object *Sample, writer io.Writer) error
- func MarshalSampleList(list []*Sample, writer io.Writer) error
- func MarshalServerConfig(object *ServerConfig, writer io.Writer) error
- func MarshalServerConfigList(list []*ServerConfig, writer io.Writer) error
- func MarshalSocketTotalNodeRoleOSMetricNode(object *SocketTotalNodeRoleOSMetricNode, writer io.Writer) error
- func MarshalSocketTotalNodeRoleOSMetricNodeList(list []*SocketTotalNodeRoleOSMetricNode, writer io.Writer) error
- func MarshalSocketTotalsNodeRoleOSMetricNode(object *SocketTotalsNodeRoleOSMetricNode, writer io.Writer) error
- func MarshalSocketTotalsNodeRoleOSMetricNodeList(list []*SocketTotalsNodeRoleOSMetricNode, writer io.Writer) error
- func MarshalStringList(list []string, writer io.Writer) error
- func MarshalSubscription(object *Subscription, writer io.Writer) error
- func MarshalSubscriptionList(list []*Subscription, writer io.Writer) error
- func MarshalSyncset(object *Syncset, writer io.Writer) error
- func MarshalSyncsetList(list []*Syncset, writer io.Writer) error
- func MarshalTaint(object *Taint, writer io.Writer) error
- func MarshalTaintList(list []*Taint, writer io.Writer) error
- func MarshalUpgradePolicy(object *UpgradePolicy, writer io.Writer) error
- func MarshalUpgradePolicyList(list []*UpgradePolicy, writer io.Writer) error
- func MarshalUpgradePolicyState(object *UpgradePolicyState, writer io.Writer) error
- func MarshalUpgradePolicyStateList(list []*UpgradePolicyState, writer io.Writer) error
- func MarshalUser(object *User, writer io.Writer) error
- func MarshalUserList(list []*User, writer io.Writer) error
- func MarshalValue(object *Value, writer io.Writer) error
- func MarshalValueList(list []*Value, writer io.Writer) error
- func MarshalVersion(object *Version, writer io.Writer) error
- func MarshalVersionList(list []*Version, writer io.Writer) error
- func UnmarshalBooleanList(source interface{}) (items []bool, err error)
- func UnmarshalDateList(source interface{}) (items []time.Time, err error)
- func UnmarshalFloatList(source interface{}) (items []float64, err error)
- func UnmarshalIntegerList(source interface{}) (items []int, err error)
- func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
- func UnmarshalLongList(source interface{}) (items []int64, err error)
- func UnmarshalStringList(source interface{}) (items []string, err error)
- type AWS
- func (o *AWS) AccessKeyID() string
- func (o *AWS) AccountID() string
- func (o *AWS) Empty() bool
- func (o *AWS) GetAccessKeyID() (value string, ok bool)
- func (o *AWS) GetAccountID() (value string, ok bool)
- func (o *AWS) GetSecretAccessKey() (value string, ok bool)
- func (o *AWS) GetSubnetIDs() (value []string, ok bool)
- func (o *AWS) SecretAccessKey() string
- func (o *AWS) SubnetIDs() []string
- type AWSBuilder
- func (b *AWSBuilder) AccessKeyID(value string) *AWSBuilder
- func (b *AWSBuilder) AccountID(value string) *AWSBuilder
- func (b *AWSBuilder) Build() (object *AWS, err error)
- func (b *AWSBuilder) Copy(object *AWS) *AWSBuilder
- func (b *AWSBuilder) SecretAccessKey(value string) *AWSBuilder
- func (b *AWSBuilder) SubnetIDs(values ...string) *AWSBuilder
- type AWSFlavour
- func (o *AWSFlavour) ComputeInstanceType() string
- func (o *AWSFlavour) Empty() bool
- func (o *AWSFlavour) GetComputeInstanceType() (value string, ok bool)
- func (o *AWSFlavour) GetInfraInstanceType() (value string, ok bool)
- func (o *AWSFlavour) GetInfraVolume() (value *AWSVolume, ok bool)
- func (o *AWSFlavour) GetMasterInstanceType() (value string, ok bool)
- func (o *AWSFlavour) GetMasterVolume() (value *AWSVolume, ok bool)
- func (o *AWSFlavour) GetWorkerVolume() (value *AWSVolume, ok bool)
- func (o *AWSFlavour) InfraInstanceType() string
- func (o *AWSFlavour) InfraVolume() *AWSVolume
- func (o *AWSFlavour) MasterInstanceType() string
- func (o *AWSFlavour) MasterVolume() *AWSVolume
- func (o *AWSFlavour) WorkerVolume() *AWSVolume
- type AWSFlavourBuilder
- func (b *AWSFlavourBuilder) Build() (object *AWSFlavour, err error)
- func (b *AWSFlavourBuilder) ComputeInstanceType(value string) *AWSFlavourBuilder
- func (b *AWSFlavourBuilder) Copy(object *AWSFlavour) *AWSFlavourBuilder
- func (b *AWSFlavourBuilder) InfraInstanceType(value string) *AWSFlavourBuilder
- func (b *AWSFlavourBuilder) InfraVolume(value *AWSVolumeBuilder) *AWSFlavourBuilder
- func (b *AWSFlavourBuilder) MasterInstanceType(value string) *AWSFlavourBuilder
- func (b *AWSFlavourBuilder) MasterVolume(value *AWSVolumeBuilder) *AWSFlavourBuilder
- func (b *AWSFlavourBuilder) WorkerVolume(value *AWSVolumeBuilder) *AWSFlavourBuilder
- type AWSFlavourList
- func (l *AWSFlavourList) Each(f func(item *AWSFlavour) bool)
- func (l *AWSFlavourList) Empty() bool
- func (l *AWSFlavourList) Get(i int) *AWSFlavour
- func (l *AWSFlavourList) Len() int
- func (l *AWSFlavourList) Range(f func(index int, item *AWSFlavour) bool)
- func (l *AWSFlavourList) Slice() []*AWSFlavour
- type AWSFlavourListBuilder
- type AWSInfrastructureAccessRole
- func (o *AWSInfrastructureAccessRole) Description() string
- func (o *AWSInfrastructureAccessRole) DisplayName() string
- func (o *AWSInfrastructureAccessRole) Empty() bool
- func (o *AWSInfrastructureAccessRole) GetDescription() (value string, ok bool)
- func (o *AWSInfrastructureAccessRole) GetDisplayName() (value string, ok bool)
- func (o *AWSInfrastructureAccessRole) GetHREF() (value string, ok bool)
- func (o *AWSInfrastructureAccessRole) GetID() (value string, ok bool)
- func (o *AWSInfrastructureAccessRole) GetState() (value AWSInfrastructureAccessRoleState, ok bool)
- func (o *AWSInfrastructureAccessRole) HREF() string
- func (o *AWSInfrastructureAccessRole) ID() string
- func (o *AWSInfrastructureAccessRole) Kind() string
- func (o *AWSInfrastructureAccessRole) Link() bool
- func (o *AWSInfrastructureAccessRole) State() AWSInfrastructureAccessRoleState
- type AWSInfrastructureAccessRoleBuilder
- func (b *AWSInfrastructureAccessRoleBuilder) Build() (object *AWSInfrastructureAccessRole, err error)
- func (b *AWSInfrastructureAccessRoleBuilder) Copy(object *AWSInfrastructureAccessRole) *AWSInfrastructureAccessRoleBuilder
- func (b *AWSInfrastructureAccessRoleBuilder) Description(value string) *AWSInfrastructureAccessRoleBuilder
- func (b *AWSInfrastructureAccessRoleBuilder) DisplayName(value string) *AWSInfrastructureAccessRoleBuilder
- func (b *AWSInfrastructureAccessRoleBuilder) HREF(value string) *AWSInfrastructureAccessRoleBuilder
- func (b *AWSInfrastructureAccessRoleBuilder) ID(value string) *AWSInfrastructureAccessRoleBuilder
- func (b *AWSInfrastructureAccessRoleBuilder) Link(value bool) *AWSInfrastructureAccessRoleBuilder
- func (b *AWSInfrastructureAccessRoleBuilder) State(value AWSInfrastructureAccessRoleState) *AWSInfrastructureAccessRoleBuilder
- type AWSInfrastructureAccessRoleClient
- type AWSInfrastructureAccessRoleGetRequest
- func (r *AWSInfrastructureAccessRoleGetRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGetRequest
- func (r *AWSInfrastructureAccessRoleGetRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGetRequest
- func (r *AWSInfrastructureAccessRoleGetRequest) Send() (result *AWSInfrastructureAccessRoleGetResponse, err error)
- func (r *AWSInfrastructureAccessRoleGetRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRoleGetResponse, err error)
- type AWSInfrastructureAccessRoleGetResponse
- func (r *AWSInfrastructureAccessRoleGetResponse) Body() *AWSInfrastructureAccessRole
- func (r *AWSInfrastructureAccessRoleGetResponse) Error() *errors.Error
- func (r *AWSInfrastructureAccessRoleGetResponse) GetBody() (value *AWSInfrastructureAccessRole, ok bool)
- func (r *AWSInfrastructureAccessRoleGetResponse) Header() http.Header
- func (r *AWSInfrastructureAccessRoleGetResponse) Status() int
- type AWSInfrastructureAccessRoleGetServerRequest
- type AWSInfrastructureAccessRoleGetServerResponse
- type AWSInfrastructureAccessRoleGrant
- func (o *AWSInfrastructureAccessRoleGrant) ConsoleURL() string
- func (o *AWSInfrastructureAccessRoleGrant) Empty() bool
- func (o *AWSInfrastructureAccessRoleGrant) GetConsoleURL() (value string, ok bool)
- func (o *AWSInfrastructureAccessRoleGrant) GetHREF() (value string, ok bool)
- func (o *AWSInfrastructureAccessRoleGrant) GetID() (value string, ok bool)
- func (o *AWSInfrastructureAccessRoleGrant) GetRole() (value *AWSInfrastructureAccessRole, ok bool)
- func (o *AWSInfrastructureAccessRoleGrant) GetState() (value AWSInfrastructureAccessRoleGrantState, ok bool)
- func (o *AWSInfrastructureAccessRoleGrant) GetStateDescription() (value string, ok bool)
- func (o *AWSInfrastructureAccessRoleGrant) GetUserARN() (value string, ok bool)
- func (o *AWSInfrastructureAccessRoleGrant) HREF() string
- func (o *AWSInfrastructureAccessRoleGrant) ID() string
- func (o *AWSInfrastructureAccessRoleGrant) Kind() string
- func (o *AWSInfrastructureAccessRoleGrant) Link() bool
- func (o *AWSInfrastructureAccessRoleGrant) Role() *AWSInfrastructureAccessRole
- func (o *AWSInfrastructureAccessRoleGrant) State() AWSInfrastructureAccessRoleGrantState
- func (o *AWSInfrastructureAccessRoleGrant) StateDescription() string
- func (o *AWSInfrastructureAccessRoleGrant) UserARN() string
- type AWSInfrastructureAccessRoleGrantBuilder
- func (b *AWSInfrastructureAccessRoleGrantBuilder) Build() (object *AWSInfrastructureAccessRoleGrant, err error)
- func (b *AWSInfrastructureAccessRoleGrantBuilder) ConsoleURL(value string) *AWSInfrastructureAccessRoleGrantBuilder
- func (b *AWSInfrastructureAccessRoleGrantBuilder) Copy(object *AWSInfrastructureAccessRoleGrant) *AWSInfrastructureAccessRoleGrantBuilder
- func (b *AWSInfrastructureAccessRoleGrantBuilder) HREF(value string) *AWSInfrastructureAccessRoleGrantBuilder
- func (b *AWSInfrastructureAccessRoleGrantBuilder) ID(value string) *AWSInfrastructureAccessRoleGrantBuilder
- func (b *AWSInfrastructureAccessRoleGrantBuilder) Link(value bool) *AWSInfrastructureAccessRoleGrantBuilder
- func (b *AWSInfrastructureAccessRoleGrantBuilder) Role(value *AWSInfrastructureAccessRoleBuilder) *AWSInfrastructureAccessRoleGrantBuilder
- func (b *AWSInfrastructureAccessRoleGrantBuilder) State(value AWSInfrastructureAccessRoleGrantState) *AWSInfrastructureAccessRoleGrantBuilder
- func (b *AWSInfrastructureAccessRoleGrantBuilder) StateDescription(value string) *AWSInfrastructureAccessRoleGrantBuilder
- func (b *AWSInfrastructureAccessRoleGrantBuilder) UserARN(value string) *AWSInfrastructureAccessRoleGrantBuilder
- type AWSInfrastructureAccessRoleGrantClient
- func (c *AWSInfrastructureAccessRoleGrantClient) Delete() *AWSInfrastructureAccessRoleGrantDeleteRequest
- func (c *AWSInfrastructureAccessRoleGrantClient) Get() *AWSInfrastructureAccessRoleGrantGetRequest
- func (c *AWSInfrastructureAccessRoleGrantClient) Poll() *AWSInfrastructureAccessRoleGrantPollRequest
- type AWSInfrastructureAccessRoleGrantDeleteRequest
- func (r *AWSInfrastructureAccessRoleGrantDeleteRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGrantDeleteRequest
- func (r *AWSInfrastructureAccessRoleGrantDeleteRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGrantDeleteRequest
- func (r *AWSInfrastructureAccessRoleGrantDeleteRequest) Send() (result *AWSInfrastructureAccessRoleGrantDeleteResponse, err error)
- func (r *AWSInfrastructureAccessRoleGrantDeleteRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRoleGrantDeleteResponse, err error)
- type AWSInfrastructureAccessRoleGrantDeleteResponse
- type AWSInfrastructureAccessRoleGrantDeleteServerRequest
- type AWSInfrastructureAccessRoleGrantDeleteServerResponse
- type AWSInfrastructureAccessRoleGrantGetRequest
- func (r *AWSInfrastructureAccessRoleGrantGetRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGrantGetRequest
- func (r *AWSInfrastructureAccessRoleGrantGetRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGrantGetRequest
- func (r *AWSInfrastructureAccessRoleGrantGetRequest) Send() (result *AWSInfrastructureAccessRoleGrantGetResponse, err error)
- func (r *AWSInfrastructureAccessRoleGrantGetRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRoleGrantGetResponse, err error)
- type AWSInfrastructureAccessRoleGrantGetResponse
- func (r *AWSInfrastructureAccessRoleGrantGetResponse) Body() *AWSInfrastructureAccessRoleGrant
- func (r *AWSInfrastructureAccessRoleGrantGetResponse) Error() *errors.Error
- func (r *AWSInfrastructureAccessRoleGrantGetResponse) GetBody() (value *AWSInfrastructureAccessRoleGrant, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantGetResponse) Header() http.Header
- func (r *AWSInfrastructureAccessRoleGrantGetResponse) Status() int
- type AWSInfrastructureAccessRoleGrantGetServerRequest
- type AWSInfrastructureAccessRoleGrantGetServerResponse
- type AWSInfrastructureAccessRoleGrantList
- func (l *AWSInfrastructureAccessRoleGrantList) Each(f func(item *AWSInfrastructureAccessRoleGrant) bool)
- func (l *AWSInfrastructureAccessRoleGrantList) Empty() bool
- func (l *AWSInfrastructureAccessRoleGrantList) Get(i int) *AWSInfrastructureAccessRoleGrant
- func (l *AWSInfrastructureAccessRoleGrantList) GetHREF() (value string, ok bool)
- func (l *AWSInfrastructureAccessRoleGrantList) HREF() string
- func (l *AWSInfrastructureAccessRoleGrantList) Kind() string
- func (l *AWSInfrastructureAccessRoleGrantList) Len() int
- func (l *AWSInfrastructureAccessRoleGrantList) Link() bool
- func (l *AWSInfrastructureAccessRoleGrantList) Range(f func(index int, item *AWSInfrastructureAccessRoleGrant) bool)
- func (l *AWSInfrastructureAccessRoleGrantList) Slice() []*AWSInfrastructureAccessRoleGrant
- type AWSInfrastructureAccessRoleGrantListBuilder
- func (b *AWSInfrastructureAccessRoleGrantListBuilder) Build() (list *AWSInfrastructureAccessRoleGrantList, err error)
- func (b *AWSInfrastructureAccessRoleGrantListBuilder) Copy(list *AWSInfrastructureAccessRoleGrantList) *AWSInfrastructureAccessRoleGrantListBuilder
- func (b *AWSInfrastructureAccessRoleGrantListBuilder) Items(values ...*AWSInfrastructureAccessRoleGrantBuilder) *AWSInfrastructureAccessRoleGrantListBuilder
- type AWSInfrastructureAccessRoleGrantPollRequest
- func (r *AWSInfrastructureAccessRoleGrantPollRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGrantPollRequest
- func (r *AWSInfrastructureAccessRoleGrantPollRequest) Interval(value time.Duration) *AWSInfrastructureAccessRoleGrantPollRequest
- func (r *AWSInfrastructureAccessRoleGrantPollRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGrantPollRequest
- func (r *AWSInfrastructureAccessRoleGrantPollRequest) Predicate(value func(*AWSInfrastructureAccessRoleGrantGetResponse) bool) *AWSInfrastructureAccessRoleGrantPollRequest
- func (r *AWSInfrastructureAccessRoleGrantPollRequest) StartContext(ctx context.Context) (response *AWSInfrastructureAccessRoleGrantPollResponse, err error)
- func (r *AWSInfrastructureAccessRoleGrantPollRequest) Status(value int) *AWSInfrastructureAccessRoleGrantPollRequest
- type AWSInfrastructureAccessRoleGrantPollResponse
- func (r *AWSInfrastructureAccessRoleGrantPollResponse) Body() *AWSInfrastructureAccessRoleGrant
- func (r *AWSInfrastructureAccessRoleGrantPollResponse) Error() *errors.Error
- func (r *AWSInfrastructureAccessRoleGrantPollResponse) GetBody() (value *AWSInfrastructureAccessRoleGrant, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantPollResponse) Header() http.Header
- func (r *AWSInfrastructureAccessRoleGrantPollResponse) Status() int
- type AWSInfrastructureAccessRoleGrantServer
- type AWSInfrastructureAccessRoleGrantState
- type AWSInfrastructureAccessRoleGrantsAddRequest
- func (r *AWSInfrastructureAccessRoleGrantsAddRequest) Body(value *AWSInfrastructureAccessRoleGrant) *AWSInfrastructureAccessRoleGrantsAddRequest
- func (r *AWSInfrastructureAccessRoleGrantsAddRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGrantsAddRequest
- func (r *AWSInfrastructureAccessRoleGrantsAddRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGrantsAddRequest
- func (r *AWSInfrastructureAccessRoleGrantsAddRequest) Send() (result *AWSInfrastructureAccessRoleGrantsAddResponse, err error)
- func (r *AWSInfrastructureAccessRoleGrantsAddRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRoleGrantsAddResponse, err error)
- type AWSInfrastructureAccessRoleGrantsAddResponse
- func (r *AWSInfrastructureAccessRoleGrantsAddResponse) Body() *AWSInfrastructureAccessRoleGrant
- func (r *AWSInfrastructureAccessRoleGrantsAddResponse) Error() *errors.Error
- func (r *AWSInfrastructureAccessRoleGrantsAddResponse) GetBody() (value *AWSInfrastructureAccessRoleGrant, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantsAddResponse) Header() http.Header
- func (r *AWSInfrastructureAccessRoleGrantsAddResponse) Status() int
- type AWSInfrastructureAccessRoleGrantsAddServerRequest
- type AWSInfrastructureAccessRoleGrantsAddServerResponse
- type AWSInfrastructureAccessRoleGrantsClient
- func (c *AWSInfrastructureAccessRoleGrantsClient) AWSInfrastructureAccessRoleGrant(id string) *AWSInfrastructureAccessRoleGrantClient
- func (c *AWSInfrastructureAccessRoleGrantsClient) Add() *AWSInfrastructureAccessRoleGrantsAddRequest
- func (c *AWSInfrastructureAccessRoleGrantsClient) List() *AWSInfrastructureAccessRoleGrantsListRequest
- type AWSInfrastructureAccessRoleGrantsListRequest
- func (r *AWSInfrastructureAccessRoleGrantsListRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGrantsListRequest
- func (r *AWSInfrastructureAccessRoleGrantsListRequest) Order(value string) *AWSInfrastructureAccessRoleGrantsListRequest
- func (r *AWSInfrastructureAccessRoleGrantsListRequest) Page(value int) *AWSInfrastructureAccessRoleGrantsListRequest
- func (r *AWSInfrastructureAccessRoleGrantsListRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGrantsListRequest
- func (r *AWSInfrastructureAccessRoleGrantsListRequest) Search(value string) *AWSInfrastructureAccessRoleGrantsListRequest
- func (r *AWSInfrastructureAccessRoleGrantsListRequest) Send() (result *AWSInfrastructureAccessRoleGrantsListResponse, err error)
- func (r *AWSInfrastructureAccessRoleGrantsListRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRoleGrantsListResponse, err error)
- func (r *AWSInfrastructureAccessRoleGrantsListRequest) Size(value int) *AWSInfrastructureAccessRoleGrantsListRequest
- type AWSInfrastructureAccessRoleGrantsListResponse
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) Error() *errors.Error
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetItems() (value *AWSInfrastructureAccessRoleGrantList, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetPage() (value int, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetSize() (value int, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetTotal() (value int, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) Header() http.Header
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) Items() *AWSInfrastructureAccessRoleGrantList
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) Page() int
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) Size() int
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) Status() int
- func (r *AWSInfrastructureAccessRoleGrantsListResponse) Total() int
- type AWSInfrastructureAccessRoleGrantsListServerRequest
- func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) GetOrder() (value string, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) GetPage() (value int, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) GetSearch() (value string, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) GetSize() (value int, ok bool)
- func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) Order() string
- func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) Page() int
- func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) Search() string
- func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) Size() int
- type AWSInfrastructureAccessRoleGrantsListServerResponse
- func (r *AWSInfrastructureAccessRoleGrantsListServerResponse) Items(value *AWSInfrastructureAccessRoleGrantList) *AWSInfrastructureAccessRoleGrantsListServerResponse
- func (r *AWSInfrastructureAccessRoleGrantsListServerResponse) Page(value int) *AWSInfrastructureAccessRoleGrantsListServerResponse
- func (r *AWSInfrastructureAccessRoleGrantsListServerResponse) Size(value int) *AWSInfrastructureAccessRoleGrantsListServerResponse
- func (r *AWSInfrastructureAccessRoleGrantsListServerResponse) Status(value int) *AWSInfrastructureAccessRoleGrantsListServerResponse
- func (r *AWSInfrastructureAccessRoleGrantsListServerResponse) Total(value int) *AWSInfrastructureAccessRoleGrantsListServerResponse
- type AWSInfrastructureAccessRoleGrantsServer
- type AWSInfrastructureAccessRoleList
- func (l *AWSInfrastructureAccessRoleList) Each(f func(item *AWSInfrastructureAccessRole) bool)
- func (l *AWSInfrastructureAccessRoleList) Empty() bool
- func (l *AWSInfrastructureAccessRoleList) Get(i int) *AWSInfrastructureAccessRole
- func (l *AWSInfrastructureAccessRoleList) GetHREF() (value string, ok bool)
- func (l *AWSInfrastructureAccessRoleList) HREF() string
- func (l *AWSInfrastructureAccessRoleList) Kind() string
- func (l *AWSInfrastructureAccessRoleList) Len() int
- func (l *AWSInfrastructureAccessRoleList) Link() bool
- func (l *AWSInfrastructureAccessRoleList) Range(f func(index int, item *AWSInfrastructureAccessRole) bool)
- func (l *AWSInfrastructureAccessRoleList) Slice() []*AWSInfrastructureAccessRole
- type AWSInfrastructureAccessRoleListBuilder
- func (b *AWSInfrastructureAccessRoleListBuilder) Build() (list *AWSInfrastructureAccessRoleList, err error)
- func (b *AWSInfrastructureAccessRoleListBuilder) Copy(list *AWSInfrastructureAccessRoleList) *AWSInfrastructureAccessRoleListBuilder
- func (b *AWSInfrastructureAccessRoleListBuilder) Items(values ...*AWSInfrastructureAccessRoleBuilder) *AWSInfrastructureAccessRoleListBuilder
- type AWSInfrastructureAccessRolePollRequest
- func (r *AWSInfrastructureAccessRolePollRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRolePollRequest
- func (r *AWSInfrastructureAccessRolePollRequest) Interval(value time.Duration) *AWSInfrastructureAccessRolePollRequest
- func (r *AWSInfrastructureAccessRolePollRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRolePollRequest
- func (r *AWSInfrastructureAccessRolePollRequest) Predicate(value func(*AWSInfrastructureAccessRoleGetResponse) bool) *AWSInfrastructureAccessRolePollRequest
- func (r *AWSInfrastructureAccessRolePollRequest) StartContext(ctx context.Context) (response *AWSInfrastructureAccessRolePollResponse, err error)
- func (r *AWSInfrastructureAccessRolePollRequest) Status(value int) *AWSInfrastructureAccessRolePollRequest
- type AWSInfrastructureAccessRolePollResponse
- func (r *AWSInfrastructureAccessRolePollResponse) Body() *AWSInfrastructureAccessRole
- func (r *AWSInfrastructureAccessRolePollResponse) Error() *errors.Error
- func (r *AWSInfrastructureAccessRolePollResponse) GetBody() (value *AWSInfrastructureAccessRole, ok bool)
- func (r *AWSInfrastructureAccessRolePollResponse) Header() http.Header
- func (r *AWSInfrastructureAccessRolePollResponse) Status() int
- type AWSInfrastructureAccessRoleServer
- type AWSInfrastructureAccessRoleState
- type AWSInfrastructureAccessRolesClient
- type AWSInfrastructureAccessRolesListRequest
- func (r *AWSInfrastructureAccessRolesListRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRolesListRequest
- func (r *AWSInfrastructureAccessRolesListRequest) Order(value string) *AWSInfrastructureAccessRolesListRequest
- func (r *AWSInfrastructureAccessRolesListRequest) Page(value int) *AWSInfrastructureAccessRolesListRequest
- func (r *AWSInfrastructureAccessRolesListRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRolesListRequest
- func (r *AWSInfrastructureAccessRolesListRequest) Search(value string) *AWSInfrastructureAccessRolesListRequest
- func (r *AWSInfrastructureAccessRolesListRequest) Send() (result *AWSInfrastructureAccessRolesListResponse, err error)
- func (r *AWSInfrastructureAccessRolesListRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRolesListResponse, err error)
- func (r *AWSInfrastructureAccessRolesListRequest) Size(value int) *AWSInfrastructureAccessRolesListRequest
- type AWSInfrastructureAccessRolesListResponse
- func (r *AWSInfrastructureAccessRolesListResponse) Error() *errors.Error
- func (r *AWSInfrastructureAccessRolesListResponse) GetItems() (value *AWSInfrastructureAccessRoleList, ok bool)
- func (r *AWSInfrastructureAccessRolesListResponse) GetPage() (value int, ok bool)
- func (r *AWSInfrastructureAccessRolesListResponse) GetSize() (value int, ok bool)
- func (r *AWSInfrastructureAccessRolesListResponse) GetTotal() (value int, ok bool)
- func (r *AWSInfrastructureAccessRolesListResponse) Header() http.Header
- func (r *AWSInfrastructureAccessRolesListResponse) Items() *AWSInfrastructureAccessRoleList
- func (r *AWSInfrastructureAccessRolesListResponse) Page() int
- func (r *AWSInfrastructureAccessRolesListResponse) Size() int
- func (r *AWSInfrastructureAccessRolesListResponse) Status() int
- func (r *AWSInfrastructureAccessRolesListResponse) Total() int
- type AWSInfrastructureAccessRolesListServerRequest
- func (r *AWSInfrastructureAccessRolesListServerRequest) GetOrder() (value string, ok bool)
- func (r *AWSInfrastructureAccessRolesListServerRequest) GetPage() (value int, ok bool)
- func (r *AWSInfrastructureAccessRolesListServerRequest) GetSearch() (value string, ok bool)
- func (r *AWSInfrastructureAccessRolesListServerRequest) GetSize() (value int, ok bool)
- func (r *AWSInfrastructureAccessRolesListServerRequest) Order() string
- func (r *AWSInfrastructureAccessRolesListServerRequest) Page() int
- func (r *AWSInfrastructureAccessRolesListServerRequest) Search() string
- func (r *AWSInfrastructureAccessRolesListServerRequest) Size() int
- type AWSInfrastructureAccessRolesListServerResponse
- func (r *AWSInfrastructureAccessRolesListServerResponse) Items(value *AWSInfrastructureAccessRoleList) *AWSInfrastructureAccessRolesListServerResponse
- func (r *AWSInfrastructureAccessRolesListServerResponse) Page(value int) *AWSInfrastructureAccessRolesListServerResponse
- func (r *AWSInfrastructureAccessRolesListServerResponse) Size(value int) *AWSInfrastructureAccessRolesListServerResponse
- func (r *AWSInfrastructureAccessRolesListServerResponse) Status(value int) *AWSInfrastructureAccessRolesListServerResponse
- func (r *AWSInfrastructureAccessRolesListServerResponse) Total(value int) *AWSInfrastructureAccessRolesListServerResponse
- type AWSInfrastructureAccessRolesServer
- type AWSList
- type AWSListBuilder
- type AWSVolume
- type AWSVolumeBuilder
- func (b *AWSVolumeBuilder) Build() (object *AWSVolume, err error)
- func (b *AWSVolumeBuilder) Copy(object *AWSVolume) *AWSVolumeBuilder
- func (b *AWSVolumeBuilder) IOPS(value int) *AWSVolumeBuilder
- func (b *AWSVolumeBuilder) Size(value int) *AWSVolumeBuilder
- func (b *AWSVolumeBuilder) Type(value string) *AWSVolumeBuilder
- type AWSVolumeList
- type AWSVolumeListBuilder
- type AddOn
- func (o *AddOn) Description() string
- func (o *AddOn) DocsLink() string
- func (o *AddOn) Empty() bool
- func (o *AddOn) Enabled() bool
- func (o *AddOn) GetDescription() (value string, ok bool)
- func (o *AddOn) GetDocsLink() (value string, ok bool)
- func (o *AddOn) GetEnabled() (value bool, ok bool)
- func (o *AddOn) GetHREF() (value string, ok bool)
- func (o *AddOn) GetHasExternalResources() (value bool, ok bool)
- func (o *AddOn) GetHidden() (value bool, ok bool)
- func (o *AddOn) GetID() (value string, ok bool)
- func (o *AddOn) GetIcon() (value string, ok bool)
- func (o *AddOn) GetInstallMode() (value AddOnInstallMode, ok bool)
- func (o *AddOn) GetLabel() (value string, ok bool)
- func (o *AddOn) GetName() (value string, ok bool)
- func (o *AddOn) GetOperatorName() (value string, ok bool)
- func (o *AddOn) GetParameters() (value *AddOnParameterList, ok bool)
- func (o *AddOn) GetRequirements() (value []*AddOnRequirement, ok bool)
- func (o *AddOn) GetResourceCost() (value float64, ok bool)
- func (o *AddOn) GetResourceName() (value string, ok bool)
- func (o *AddOn) GetTargetNamespace() (value string, ok bool)
- func (o *AddOn) HREF() string
- func (o *AddOn) HasExternalResources() bool
- func (o *AddOn) Hidden() bool
- func (o *AddOn) ID() string
- func (o *AddOn) Icon() string
- func (o *AddOn) InstallMode() AddOnInstallMode
- func (o *AddOn) Kind() string
- func (o *AddOn) Label() string
- func (o *AddOn) Link() bool
- func (o *AddOn) Name() string
- func (o *AddOn) OperatorName() string
- func (o *AddOn) Parameters() *AddOnParameterList
- func (o *AddOn) Requirements() []*AddOnRequirement
- func (o *AddOn) ResourceCost() float64
- func (o *AddOn) ResourceName() string
- func (o *AddOn) TargetNamespace() string
- type AddOnBuilder
- func (b *AddOnBuilder) Build() (object *AddOn, err error)
- func (b *AddOnBuilder) Copy(object *AddOn) *AddOnBuilder
- func (b *AddOnBuilder) Description(value string) *AddOnBuilder
- func (b *AddOnBuilder) DocsLink(value string) *AddOnBuilder
- func (b *AddOnBuilder) Enabled(value bool) *AddOnBuilder
- func (b *AddOnBuilder) HREF(value string) *AddOnBuilder
- func (b *AddOnBuilder) HasExternalResources(value bool) *AddOnBuilder
- func (b *AddOnBuilder) Hidden(value bool) *AddOnBuilder
- func (b *AddOnBuilder) ID(value string) *AddOnBuilder
- func (b *AddOnBuilder) Icon(value string) *AddOnBuilder
- func (b *AddOnBuilder) InstallMode(value AddOnInstallMode) *AddOnBuilder
- func (b *AddOnBuilder) Label(value string) *AddOnBuilder
- func (b *AddOnBuilder) Link(value bool) *AddOnBuilder
- func (b *AddOnBuilder) Name(value string) *AddOnBuilder
- func (b *AddOnBuilder) OperatorName(value string) *AddOnBuilder
- func (b *AddOnBuilder) Parameters(value *AddOnParameterListBuilder) *AddOnBuilder
- func (b *AddOnBuilder) Requirements(values ...*AddOnRequirementBuilder) *AddOnBuilder
- func (b *AddOnBuilder) ResourceCost(value float64) *AddOnBuilder
- func (b *AddOnBuilder) ResourceName(value string) *AddOnBuilder
- func (b *AddOnBuilder) TargetNamespace(value string) *AddOnBuilder
- type AddOnClient
- type AddOnDeleteRequest
- func (r *AddOnDeleteRequest) Header(name string, value interface{}) *AddOnDeleteRequest
- func (r *AddOnDeleteRequest) Parameter(name string, value interface{}) *AddOnDeleteRequest
- func (r *AddOnDeleteRequest) Send() (result *AddOnDeleteResponse, err error)
- func (r *AddOnDeleteRequest) SendContext(ctx context.Context) (result *AddOnDeleteResponse, err error)
- type AddOnDeleteResponse
- type AddOnDeleteServerRequest
- type AddOnDeleteServerResponse
- type AddOnGetRequest
- func (r *AddOnGetRequest) Header(name string, value interface{}) *AddOnGetRequest
- func (r *AddOnGetRequest) Parameter(name string, value interface{}) *AddOnGetRequest
- func (r *AddOnGetRequest) Send() (result *AddOnGetResponse, err error)
- func (r *AddOnGetRequest) SendContext(ctx context.Context) (result *AddOnGetResponse, err error)
- type AddOnGetResponse
- type AddOnGetServerRequest
- type AddOnGetServerResponse
- type AddOnInstallMode
- type AddOnInstallation
- func (o *AddOnInstallation) Addon() *AddOn
- func (o *AddOnInstallation) Cluster() *Cluster
- func (o *AddOnInstallation) CreationTimestamp() time.Time
- func (o *AddOnInstallation) Empty() bool
- func (o *AddOnInstallation) GetAddon() (value *AddOn, ok bool)
- func (o *AddOnInstallation) GetCluster() (value *Cluster, ok bool)
- func (o *AddOnInstallation) GetCreationTimestamp() (value time.Time, ok bool)
- func (o *AddOnInstallation) GetHREF() (value string, ok bool)
- func (o *AddOnInstallation) GetID() (value string, ok bool)
- func (o *AddOnInstallation) GetOperatorVersion() (value string, ok bool)
- func (o *AddOnInstallation) GetParameters() (value *AddOnInstallationParameterList, ok bool)
- func (o *AddOnInstallation) GetState() (value AddOnInstallationState, ok bool)
- func (o *AddOnInstallation) GetStateDescription() (value string, ok bool)
- func (o *AddOnInstallation) GetUpdatedTimestamp() (value time.Time, ok bool)
- func (o *AddOnInstallation) HREF() string
- func (o *AddOnInstallation) ID() string
- func (o *AddOnInstallation) Kind() string
- func (o *AddOnInstallation) Link() bool
- func (o *AddOnInstallation) OperatorVersion() string
- func (o *AddOnInstallation) Parameters() *AddOnInstallationParameterList
- func (o *AddOnInstallation) State() AddOnInstallationState
- func (o *AddOnInstallation) StateDescription() string
- func (o *AddOnInstallation) UpdatedTimestamp() time.Time
- type AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) Addon(value *AddOnBuilder) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) Build() (object *AddOnInstallation, err error)
- func (b *AddOnInstallationBuilder) Cluster(value *ClusterBuilder) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) Copy(object *AddOnInstallation) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) CreationTimestamp(value time.Time) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) HREF(value string) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) ID(value string) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) Link(value bool) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) OperatorVersion(value string) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) Parameters(value *AddOnInstallationParameterListBuilder) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) State(value AddOnInstallationState) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) StateDescription(value string) *AddOnInstallationBuilder
- func (b *AddOnInstallationBuilder) UpdatedTimestamp(value time.Time) *AddOnInstallationBuilder
- type AddOnInstallationClient
- type AddOnInstallationDeleteRequest
- func (r *AddOnInstallationDeleteRequest) Header(name string, value interface{}) *AddOnInstallationDeleteRequest
- func (r *AddOnInstallationDeleteRequest) Parameter(name string, value interface{}) *AddOnInstallationDeleteRequest
- func (r *AddOnInstallationDeleteRequest) Send() (result *AddOnInstallationDeleteResponse, err error)
- func (r *AddOnInstallationDeleteRequest) SendContext(ctx context.Context) (result *AddOnInstallationDeleteResponse, err error)
- type AddOnInstallationDeleteResponse
- type AddOnInstallationDeleteServerRequest
- type AddOnInstallationDeleteServerResponse
- type AddOnInstallationGetRequest
- func (r *AddOnInstallationGetRequest) Header(name string, value interface{}) *AddOnInstallationGetRequest
- func (r *AddOnInstallationGetRequest) Parameter(name string, value interface{}) *AddOnInstallationGetRequest
- func (r *AddOnInstallationGetRequest) Send() (result *AddOnInstallationGetResponse, err error)
- func (r *AddOnInstallationGetRequest) SendContext(ctx context.Context) (result *AddOnInstallationGetResponse, err error)
- type AddOnInstallationGetResponse
- func (r *AddOnInstallationGetResponse) Body() *AddOnInstallation
- func (r *AddOnInstallationGetResponse) Error() *errors.Error
- func (r *AddOnInstallationGetResponse) GetBody() (value *AddOnInstallation, ok bool)
- func (r *AddOnInstallationGetResponse) Header() http.Header
- func (r *AddOnInstallationGetResponse) Status() int
- type AddOnInstallationGetServerRequest
- type AddOnInstallationGetServerResponse
- type AddOnInstallationList
- func (l *AddOnInstallationList) Each(f func(item *AddOnInstallation) bool)
- func (l *AddOnInstallationList) Empty() bool
- func (l *AddOnInstallationList) Get(i int) *AddOnInstallation
- func (l *AddOnInstallationList) GetHREF() (value string, ok bool)
- func (l *AddOnInstallationList) HREF() string
- func (l *AddOnInstallationList) Kind() string
- func (l *AddOnInstallationList) Len() int
- func (l *AddOnInstallationList) Link() bool
- func (l *AddOnInstallationList) Range(f func(index int, item *AddOnInstallation) bool)
- func (l *AddOnInstallationList) Slice() []*AddOnInstallation
- type AddOnInstallationListBuilder
- func (b *AddOnInstallationListBuilder) Build() (list *AddOnInstallationList, err error)
- func (b *AddOnInstallationListBuilder) Copy(list *AddOnInstallationList) *AddOnInstallationListBuilder
- func (b *AddOnInstallationListBuilder) Items(values ...*AddOnInstallationBuilder) *AddOnInstallationListBuilder
- type AddOnInstallationParameter
- func (o *AddOnInstallationParameter) Empty() bool
- func (o *AddOnInstallationParameter) GetHREF() (value string, ok bool)
- func (o *AddOnInstallationParameter) GetID() (value string, ok bool)
- func (o *AddOnInstallationParameter) GetValue() (value string, ok bool)
- func (o *AddOnInstallationParameter) HREF() string
- func (o *AddOnInstallationParameter) ID() string
- func (o *AddOnInstallationParameter) Kind() string
- func (o *AddOnInstallationParameter) Link() bool
- func (o *AddOnInstallationParameter) Value() string
- type AddOnInstallationParameterBuilder
- func (b *AddOnInstallationParameterBuilder) Build() (object *AddOnInstallationParameter, err error)
- func (b *AddOnInstallationParameterBuilder) Copy(object *AddOnInstallationParameter) *AddOnInstallationParameterBuilder
- func (b *AddOnInstallationParameterBuilder) HREF(value string) *AddOnInstallationParameterBuilder
- func (b *AddOnInstallationParameterBuilder) ID(value string) *AddOnInstallationParameterBuilder
- func (b *AddOnInstallationParameterBuilder) Link(value bool) *AddOnInstallationParameterBuilder
- func (b *AddOnInstallationParameterBuilder) Value(value string) *AddOnInstallationParameterBuilder
- type AddOnInstallationParameterList
- func (l *AddOnInstallationParameterList) Each(f func(item *AddOnInstallationParameter) bool)
- func (l *AddOnInstallationParameterList) Empty() bool
- func (l *AddOnInstallationParameterList) Get(i int) *AddOnInstallationParameter
- func (l *AddOnInstallationParameterList) GetHREF() (value string, ok bool)
- func (l *AddOnInstallationParameterList) HREF() string
- func (l *AddOnInstallationParameterList) Kind() string
- func (l *AddOnInstallationParameterList) Len() int
- func (l *AddOnInstallationParameterList) Link() bool
- func (l *AddOnInstallationParameterList) Range(f func(index int, item *AddOnInstallationParameter) bool)
- func (l *AddOnInstallationParameterList) Slice() []*AddOnInstallationParameter
- type AddOnInstallationParameterListBuilder
- func (b *AddOnInstallationParameterListBuilder) Build() (list *AddOnInstallationParameterList, err error)
- func (b *AddOnInstallationParameterListBuilder) Copy(list *AddOnInstallationParameterList) *AddOnInstallationParameterListBuilder
- func (b *AddOnInstallationParameterListBuilder) Items(values ...*AddOnInstallationParameterBuilder) *AddOnInstallationParameterListBuilder
- type AddOnInstallationPollRequest
- func (r *AddOnInstallationPollRequest) Header(name string, value interface{}) *AddOnInstallationPollRequest
- func (r *AddOnInstallationPollRequest) Interval(value time.Duration) *AddOnInstallationPollRequest
- func (r *AddOnInstallationPollRequest) Parameter(name string, value interface{}) *AddOnInstallationPollRequest
- func (r *AddOnInstallationPollRequest) Predicate(value func(*AddOnInstallationGetResponse) bool) *AddOnInstallationPollRequest
- func (r *AddOnInstallationPollRequest) StartContext(ctx context.Context) (response *AddOnInstallationPollResponse, err error)
- func (r *AddOnInstallationPollRequest) Status(value int) *AddOnInstallationPollRequest
- type AddOnInstallationPollResponse
- func (r *AddOnInstallationPollResponse) Body() *AddOnInstallation
- func (r *AddOnInstallationPollResponse) Error() *errors.Error
- func (r *AddOnInstallationPollResponse) GetBody() (value *AddOnInstallation, ok bool)
- func (r *AddOnInstallationPollResponse) Header() http.Header
- func (r *AddOnInstallationPollResponse) Status() int
- type AddOnInstallationServer
- type AddOnInstallationState
- type AddOnInstallationUpdateRequest
- func (r *AddOnInstallationUpdateRequest) Body(value *AddOnInstallation) *AddOnInstallationUpdateRequest
- func (r *AddOnInstallationUpdateRequest) Header(name string, value interface{}) *AddOnInstallationUpdateRequest
- func (r *AddOnInstallationUpdateRequest) Parameter(name string, value interface{}) *AddOnInstallationUpdateRequest
- func (r *AddOnInstallationUpdateRequest) Send() (result *AddOnInstallationUpdateResponse, err error)
- func (r *AddOnInstallationUpdateRequest) SendContext(ctx context.Context) (result *AddOnInstallationUpdateResponse, err error)
- type AddOnInstallationUpdateResponse
- func (r *AddOnInstallationUpdateResponse) Body() *AddOnInstallation
- func (r *AddOnInstallationUpdateResponse) Error() *errors.Error
- func (r *AddOnInstallationUpdateResponse) GetBody() (value *AddOnInstallation, ok bool)
- func (r *AddOnInstallationUpdateResponse) Header() http.Header
- func (r *AddOnInstallationUpdateResponse) Status() int
- type AddOnInstallationUpdateServerRequest
- type AddOnInstallationUpdateServerResponse
- type AddOnInstallationsAddRequest
- func (r *AddOnInstallationsAddRequest) Body(value *AddOnInstallation) *AddOnInstallationsAddRequest
- func (r *AddOnInstallationsAddRequest) Header(name string, value interface{}) *AddOnInstallationsAddRequest
- func (r *AddOnInstallationsAddRequest) Parameter(name string, value interface{}) *AddOnInstallationsAddRequest
- func (r *AddOnInstallationsAddRequest) Send() (result *AddOnInstallationsAddResponse, err error)
- func (r *AddOnInstallationsAddRequest) SendContext(ctx context.Context) (result *AddOnInstallationsAddResponse, err error)
- type AddOnInstallationsAddResponse
- func (r *AddOnInstallationsAddResponse) Body() *AddOnInstallation
- func (r *AddOnInstallationsAddResponse) Error() *errors.Error
- func (r *AddOnInstallationsAddResponse) GetBody() (value *AddOnInstallation, ok bool)
- func (r *AddOnInstallationsAddResponse) Header() http.Header
- func (r *AddOnInstallationsAddResponse) Status() int
- type AddOnInstallationsAddServerRequest
- type AddOnInstallationsAddServerResponse
- type AddOnInstallationsClient
- type AddOnInstallationsListRequest
- func (r *AddOnInstallationsListRequest) Header(name string, value interface{}) *AddOnInstallationsListRequest
- func (r *AddOnInstallationsListRequest) Order(value string) *AddOnInstallationsListRequest
- func (r *AddOnInstallationsListRequest) Page(value int) *AddOnInstallationsListRequest
- func (r *AddOnInstallationsListRequest) Parameter(name string, value interface{}) *AddOnInstallationsListRequest
- func (r *AddOnInstallationsListRequest) Search(value string) *AddOnInstallationsListRequest
- func (r *AddOnInstallationsListRequest) Send() (result *AddOnInstallationsListResponse, err error)
- func (r *AddOnInstallationsListRequest) SendContext(ctx context.Context) (result *AddOnInstallationsListResponse, err error)
- func (r *AddOnInstallationsListRequest) Size(value int) *AddOnInstallationsListRequest
- type AddOnInstallationsListResponse
- func (r *AddOnInstallationsListResponse) Error() *errors.Error
- func (r *AddOnInstallationsListResponse) GetItems() (value *AddOnInstallationList, ok bool)
- func (r *AddOnInstallationsListResponse) GetPage() (value int, ok bool)
- func (r *AddOnInstallationsListResponse) GetSize() (value int, ok bool)
- func (r *AddOnInstallationsListResponse) GetTotal() (value int, ok bool)
- func (r *AddOnInstallationsListResponse) Header() http.Header
- func (r *AddOnInstallationsListResponse) Items() *AddOnInstallationList
- func (r *AddOnInstallationsListResponse) Page() int
- func (r *AddOnInstallationsListResponse) Size() int
- func (r *AddOnInstallationsListResponse) Status() int
- func (r *AddOnInstallationsListResponse) Total() int
- type AddOnInstallationsListServerRequest
- func (r *AddOnInstallationsListServerRequest) GetOrder() (value string, ok bool)
- func (r *AddOnInstallationsListServerRequest) GetPage() (value int, ok bool)
- func (r *AddOnInstallationsListServerRequest) GetSearch() (value string, ok bool)
- func (r *AddOnInstallationsListServerRequest) GetSize() (value int, ok bool)
- func (r *AddOnInstallationsListServerRequest) Order() string
- func (r *AddOnInstallationsListServerRequest) Page() int
- func (r *AddOnInstallationsListServerRequest) Search() string
- func (r *AddOnInstallationsListServerRequest) Size() int
- type AddOnInstallationsListServerResponse
- func (r *AddOnInstallationsListServerResponse) Items(value *AddOnInstallationList) *AddOnInstallationsListServerResponse
- func (r *AddOnInstallationsListServerResponse) Page(value int) *AddOnInstallationsListServerResponse
- func (r *AddOnInstallationsListServerResponse) Size(value int) *AddOnInstallationsListServerResponse
- func (r *AddOnInstallationsListServerResponse) Status(value int) *AddOnInstallationsListServerResponse
- func (r *AddOnInstallationsListServerResponse) Total(value int) *AddOnInstallationsListServerResponse
- type AddOnInstallationsServer
- type AddOnList
- func (l *AddOnList) Each(f func(item *AddOn) bool)
- func (l *AddOnList) Empty() bool
- func (l *AddOnList) Get(i int) *AddOn
- func (l *AddOnList) GetHREF() (value string, ok bool)
- func (l *AddOnList) HREF() string
- func (l *AddOnList) Kind() string
- func (l *AddOnList) Len() int
- func (l *AddOnList) Link() bool
- func (l *AddOnList) Range(f func(index int, item *AddOn) bool)
- func (l *AddOnList) Slice() []*AddOn
- type AddOnListBuilder
- type AddOnParameter
- func (o *AddOnParameter) Addon() *AddOn
- func (o *AddOnParameter) DefaultValue() string
- func (o *AddOnParameter) Description() string
- func (o *AddOnParameter) Editable() bool
- func (o *AddOnParameter) Empty() bool
- func (o *AddOnParameter) Enabled() bool
- func (o *AddOnParameter) GetAddon() (value *AddOn, ok bool)
- func (o *AddOnParameter) GetDefaultValue() (value string, ok bool)
- func (o *AddOnParameter) GetDescription() (value string, ok bool)
- func (o *AddOnParameter) GetEditable() (value bool, ok bool)
- func (o *AddOnParameter) GetEnabled() (value bool, ok bool)
- func (o *AddOnParameter) GetHREF() (value string, ok bool)
- func (o *AddOnParameter) GetID() (value string, ok bool)
- func (o *AddOnParameter) GetName() (value string, ok bool)
- func (o *AddOnParameter) GetRequired() (value bool, ok bool)
- func (o *AddOnParameter) GetValidation() (value string, ok bool)
- func (o *AddOnParameter) GetValueType() (value string, ok bool)
- func (o *AddOnParameter) HREF() string
- func (o *AddOnParameter) ID() string
- func (o *AddOnParameter) Kind() string
- func (o *AddOnParameter) Link() bool
- func (o *AddOnParameter) Name() string
- func (o *AddOnParameter) Required() bool
- func (o *AddOnParameter) Validation() string
- func (o *AddOnParameter) ValueType() string
- type AddOnParameterBuilder
- func (b *AddOnParameterBuilder) Addon(value *AddOnBuilder) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) Build() (object *AddOnParameter, err error)
- func (b *AddOnParameterBuilder) Copy(object *AddOnParameter) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) DefaultValue(value string) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) Description(value string) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) Editable(value bool) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) Enabled(value bool) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) HREF(value string) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) ID(value string) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) Link(value bool) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) Name(value string) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) Required(value bool) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) Validation(value string) *AddOnParameterBuilder
- func (b *AddOnParameterBuilder) ValueType(value string) *AddOnParameterBuilder
- type AddOnParameterList
- func (l *AddOnParameterList) Each(f func(item *AddOnParameter) bool)
- func (l *AddOnParameterList) Empty() bool
- func (l *AddOnParameterList) Get(i int) *AddOnParameter
- func (l *AddOnParameterList) GetHREF() (value string, ok bool)
- func (l *AddOnParameterList) HREF() string
- func (l *AddOnParameterList) Kind() string
- func (l *AddOnParameterList) Len() int
- func (l *AddOnParameterList) Link() bool
- func (l *AddOnParameterList) Range(f func(index int, item *AddOnParameter) bool)
- func (l *AddOnParameterList) Slice() []*AddOnParameter
- type AddOnParameterListBuilder
- type AddOnPollRequest
- func (r *AddOnPollRequest) Header(name string, value interface{}) *AddOnPollRequest
- func (r *AddOnPollRequest) Interval(value time.Duration) *AddOnPollRequest
- func (r *AddOnPollRequest) Parameter(name string, value interface{}) *AddOnPollRequest
- func (r *AddOnPollRequest) Predicate(value func(*AddOnGetResponse) bool) *AddOnPollRequest
- func (r *AddOnPollRequest) StartContext(ctx context.Context) (response *AddOnPollResponse, err error)
- func (r *AddOnPollRequest) Status(value int) *AddOnPollRequest
- type AddOnPollResponse
- type AddOnRequirement
- func (o *AddOnRequirement) Data() map[string]interface{}
- func (o *AddOnRequirement) Empty() bool
- func (o *AddOnRequirement) Enabled() bool
- func (o *AddOnRequirement) GetData() (value map[string]interface{}, ok bool)
- func (o *AddOnRequirement) GetEnabled() (value bool, ok bool)
- func (o *AddOnRequirement) GetID() (value string, ok bool)
- func (o *AddOnRequirement) GetResource() (value string, ok bool)
- func (o *AddOnRequirement) ID() string
- func (o *AddOnRequirement) Resource() string
- type AddOnRequirementBuilder
- func (b *AddOnRequirementBuilder) Build() (object *AddOnRequirement, err error)
- func (b *AddOnRequirementBuilder) Copy(object *AddOnRequirement) *AddOnRequirementBuilder
- func (b *AddOnRequirementBuilder) Data(value map[string]interface{}) *AddOnRequirementBuilder
- func (b *AddOnRequirementBuilder) Enabled(value bool) *AddOnRequirementBuilder
- func (b *AddOnRequirementBuilder) ID(value string) *AddOnRequirementBuilder
- func (b *AddOnRequirementBuilder) Resource(value string) *AddOnRequirementBuilder
- type AddOnRequirementList
- func (l *AddOnRequirementList) Each(f func(item *AddOnRequirement) bool)
- func (l *AddOnRequirementList) Empty() bool
- func (l *AddOnRequirementList) Get(i int) *AddOnRequirement
- func (l *AddOnRequirementList) Len() int
- func (l *AddOnRequirementList) Range(f func(index int, item *AddOnRequirement) bool)
- func (l *AddOnRequirementList) Slice() []*AddOnRequirement
- type AddOnRequirementListBuilder
- type AddOnServer
- type AddOnUpdateRequest
- func (r *AddOnUpdateRequest) Body(value *AddOn) *AddOnUpdateRequest
- func (r *AddOnUpdateRequest) Header(name string, value interface{}) *AddOnUpdateRequest
- func (r *AddOnUpdateRequest) Parameter(name string, value interface{}) *AddOnUpdateRequest
- func (r *AddOnUpdateRequest) Send() (result *AddOnUpdateResponse, err error)
- func (r *AddOnUpdateRequest) SendContext(ctx context.Context) (result *AddOnUpdateResponse, err error)
- type AddOnUpdateResponse
- type AddOnUpdateServerRequest
- type AddOnUpdateServerResponse
- type AddOnsAddRequest
- func (r *AddOnsAddRequest) Body(value *AddOn) *AddOnsAddRequest
- func (r *AddOnsAddRequest) Header(name string, value interface{}) *AddOnsAddRequest
- func (r *AddOnsAddRequest) Parameter(name string, value interface{}) *AddOnsAddRequest
- func (r *AddOnsAddRequest) Send() (result *AddOnsAddResponse, err error)
- func (r *AddOnsAddRequest) SendContext(ctx context.Context) (result *AddOnsAddResponse, err error)
- type AddOnsAddResponse
- type AddOnsAddServerRequest
- type AddOnsAddServerResponse
- type AddOnsClient
- type AddOnsListRequest
- func (r *AddOnsListRequest) Header(name string, value interface{}) *AddOnsListRequest
- func (r *AddOnsListRequest) Order(value string) *AddOnsListRequest
- func (r *AddOnsListRequest) Page(value int) *AddOnsListRequest
- func (r *AddOnsListRequest) Parameter(name string, value interface{}) *AddOnsListRequest
- func (r *AddOnsListRequest) Search(value string) *AddOnsListRequest
- func (r *AddOnsListRequest) Send() (result *AddOnsListResponse, err error)
- func (r *AddOnsListRequest) SendContext(ctx context.Context) (result *AddOnsListResponse, err error)
- func (r *AddOnsListRequest) Size(value int) *AddOnsListRequest
- type AddOnsListResponse
- func (r *AddOnsListResponse) Error() *errors.Error
- func (r *AddOnsListResponse) GetItems() (value *AddOnList, ok bool)
- func (r *AddOnsListResponse) GetPage() (value int, ok bool)
- func (r *AddOnsListResponse) GetSize() (value int, ok bool)
- func (r *AddOnsListResponse) GetTotal() (value int, ok bool)
- func (r *AddOnsListResponse) Header() http.Header
- func (r *AddOnsListResponse) Items() *AddOnList
- func (r *AddOnsListResponse) Page() int
- func (r *AddOnsListResponse) Size() int
- func (r *AddOnsListResponse) Status() int
- func (r *AddOnsListResponse) Total() int
- type AddOnsListServerRequest
- func (r *AddOnsListServerRequest) GetOrder() (value string, ok bool)
- func (r *AddOnsListServerRequest) GetPage() (value int, ok bool)
- func (r *AddOnsListServerRequest) GetSearch() (value string, ok bool)
- func (r *AddOnsListServerRequest) GetSize() (value int, ok bool)
- func (r *AddOnsListServerRequest) Order() string
- func (r *AddOnsListServerRequest) Page() int
- func (r *AddOnsListServerRequest) Search() string
- func (r *AddOnsListServerRequest) Size() int
- type AddOnsListServerResponse
- func (r *AddOnsListServerResponse) Items(value *AddOnList) *AddOnsListServerResponse
- func (r *AddOnsListServerResponse) Page(value int) *AddOnsListServerResponse
- func (r *AddOnsListServerResponse) Size(value int) *AddOnsListServerResponse
- func (r *AddOnsListServerResponse) Status(value int) *AddOnsListServerResponse
- func (r *AddOnsListServerResponse) Total(value int) *AddOnsListServerResponse
- type AddOnsServer
- type AdminCredentials
- type AdminCredentialsBuilder
- func (b *AdminCredentialsBuilder) Build() (object *AdminCredentials, err error)
- func (b *AdminCredentialsBuilder) Copy(object *AdminCredentials) *AdminCredentialsBuilder
- func (b *AdminCredentialsBuilder) Password(value string) *AdminCredentialsBuilder
- func (b *AdminCredentialsBuilder) User(value string) *AdminCredentialsBuilder
- type AdminCredentialsList
- func (l *AdminCredentialsList) Each(f func(item *AdminCredentials) bool)
- func (l *AdminCredentialsList) Empty() bool
- func (l *AdminCredentialsList) Get(i int) *AdminCredentials
- func (l *AdminCredentialsList) Len() int
- func (l *AdminCredentialsList) Range(f func(index int, item *AdminCredentials) bool)
- func (l *AdminCredentialsList) Slice() []*AdminCredentials
- type AdminCredentialsListBuilder
- type AlertInfo
- type AlertInfoBuilder
- type AlertInfoList
- type AlertInfoListBuilder
- type AlertSeverity
- type AlertsInfo
- type AlertsInfoBuilder
- type AlertsInfoList
- func (l *AlertsInfoList) Each(f func(item *AlertsInfo) bool)
- func (l *AlertsInfoList) Empty() bool
- func (l *AlertsInfoList) Get(i int) *AlertsInfo
- func (l *AlertsInfoList) Len() int
- func (l *AlertsInfoList) Range(f func(index int, item *AlertsInfo) bool)
- func (l *AlertsInfoList) Slice() []*AlertsInfo
- type AlertsInfoListBuilder
- type AlertsMetricQueryClient
- type AlertsMetricQueryGetRequest
- func (r *AlertsMetricQueryGetRequest) Header(name string, value interface{}) *AlertsMetricQueryGetRequest
- func (r *AlertsMetricQueryGetRequest) Parameter(name string, value interface{}) *AlertsMetricQueryGetRequest
- func (r *AlertsMetricQueryGetRequest) Send() (result *AlertsMetricQueryGetResponse, err error)
- func (r *AlertsMetricQueryGetRequest) SendContext(ctx context.Context) (result *AlertsMetricQueryGetResponse, err error)
- type AlertsMetricQueryGetResponse
- func (r *AlertsMetricQueryGetResponse) Body() *AlertsInfo
- func (r *AlertsMetricQueryGetResponse) Error() *errors.Error
- func (r *AlertsMetricQueryGetResponse) GetBody() (value *AlertsInfo, ok bool)
- func (r *AlertsMetricQueryGetResponse) Header() http.Header
- func (r *AlertsMetricQueryGetResponse) Status() int
- type AlertsMetricQueryGetServerRequest
- type AlertsMetricQueryGetServerResponse
- type AlertsMetricQueryPollRequest
- func (r *AlertsMetricQueryPollRequest) Header(name string, value interface{}) *AlertsMetricQueryPollRequest
- func (r *AlertsMetricQueryPollRequest) Interval(value time.Duration) *AlertsMetricQueryPollRequest
- func (r *AlertsMetricQueryPollRequest) Parameter(name string, value interface{}) *AlertsMetricQueryPollRequest
- func (r *AlertsMetricQueryPollRequest) Predicate(value func(*AlertsMetricQueryGetResponse) bool) *AlertsMetricQueryPollRequest
- func (r *AlertsMetricQueryPollRequest) StartContext(ctx context.Context) (response *AlertsMetricQueryPollResponse, err error)
- func (r *AlertsMetricQueryPollRequest) Status(value int) *AlertsMetricQueryPollRequest
- type AlertsMetricQueryPollResponse
- func (r *AlertsMetricQueryPollResponse) Body() *AlertsInfo
- func (r *AlertsMetricQueryPollResponse) Error() *errors.Error
- func (r *AlertsMetricQueryPollResponse) GetBody() (value *AlertsInfo, ok bool)
- func (r *AlertsMetricQueryPollResponse) Header() http.Header
- func (r *AlertsMetricQueryPollResponse) Status() int
- type AlertsMetricQueryServer
- type AvailableRegionsClient
- type AvailableRegionsSearchRequest
- func (r *AvailableRegionsSearchRequest) Body(value *AWS) *AvailableRegionsSearchRequest
- func (r *AvailableRegionsSearchRequest) Header(name string, value interface{}) *AvailableRegionsSearchRequest
- func (r *AvailableRegionsSearchRequest) Page(value int) *AvailableRegionsSearchRequest
- func (r *AvailableRegionsSearchRequest) Parameter(name string, value interface{}) *AvailableRegionsSearchRequest
- func (r *AvailableRegionsSearchRequest) Send() (result *AvailableRegionsSearchResponse, err error)
- func (r *AvailableRegionsSearchRequest) SendContext(ctx context.Context) (result *AvailableRegionsSearchResponse, err error)
- func (r *AvailableRegionsSearchRequest) Size(value int) *AvailableRegionsSearchRequest
- type AvailableRegionsSearchResponse
- func (r *AvailableRegionsSearchResponse) Error() *errors.Error
- func (r *AvailableRegionsSearchResponse) GetItems() (value *CloudRegionList, ok bool)
- func (r *AvailableRegionsSearchResponse) GetPage() (value int, ok bool)
- func (r *AvailableRegionsSearchResponse) GetSize() (value int, ok bool)
- func (r *AvailableRegionsSearchResponse) GetTotal() (value int, ok bool)
- func (r *AvailableRegionsSearchResponse) Header() http.Header
- func (r *AvailableRegionsSearchResponse) Items() *CloudRegionList
- func (r *AvailableRegionsSearchResponse) Page() int
- func (r *AvailableRegionsSearchResponse) Size() int
- func (r *AvailableRegionsSearchResponse) Status() int
- func (r *AvailableRegionsSearchResponse) Total() int
- type AvailableRegionsSearchServerRequest
- func (r *AvailableRegionsSearchServerRequest) Body() *AWS
- func (r *AvailableRegionsSearchServerRequest) GetBody() (value *AWS, ok bool)
- func (r *AvailableRegionsSearchServerRequest) GetPage() (value int, ok bool)
- func (r *AvailableRegionsSearchServerRequest) GetSize() (value int, ok bool)
- func (r *AvailableRegionsSearchServerRequest) Page() int
- func (r *AvailableRegionsSearchServerRequest) Size() int
- type AvailableRegionsSearchServerResponse
- func (r *AvailableRegionsSearchServerResponse) Items(value *CloudRegionList) *AvailableRegionsSearchServerResponse
- func (r *AvailableRegionsSearchServerResponse) Page(value int) *AvailableRegionsSearchServerResponse
- func (r *AvailableRegionsSearchServerResponse) Size(value int) *AvailableRegionsSearchServerResponse
- func (r *AvailableRegionsSearchServerResponse) Status(value int) *AvailableRegionsSearchServerResponse
- func (r *AvailableRegionsSearchServerResponse) Total(value int) *AvailableRegionsSearchServerResponse
- type AvailableRegionsServer
- type CCS
- func (o *CCS) DisableSCPChecks() bool
- func (o *CCS) Empty() bool
- func (o *CCS) Enabled() bool
- func (o *CCS) GetDisableSCPChecks() (value bool, ok bool)
- func (o *CCS) GetEnabled() (value bool, ok bool)
- func (o *CCS) GetHREF() (value string, ok bool)
- func (o *CCS) GetID() (value string, ok bool)
- func (o *CCS) HREF() string
- func (o *CCS) ID() string
- func (o *CCS) Kind() string
- func (o *CCS) Link() bool
- type CCSBuilder
- func (b *CCSBuilder) Build() (object *CCS, err error)
- func (b *CCSBuilder) Copy(object *CCS) *CCSBuilder
- func (b *CCSBuilder) DisableSCPChecks(value bool) *CCSBuilder
- func (b *CCSBuilder) Enabled(value bool) *CCSBuilder
- func (b *CCSBuilder) HREF(value string) *CCSBuilder
- func (b *CCSBuilder) ID(value string) *CCSBuilder
- func (b *CCSBuilder) Link(value bool) *CCSBuilder
- type CCSList
- func (l *CCSList) Each(f func(item *CCS) bool)
- func (l *CCSList) Empty() bool
- func (l *CCSList) Get(i int) *CCS
- func (l *CCSList) GetHREF() (value string, ok bool)
- func (l *CCSList) HREF() string
- func (l *CCSList) Kind() string
- func (l *CCSList) Len() int
- func (l *CCSList) Link() bool
- func (l *CCSList) Range(f func(index int, item *CCS) bool)
- func (l *CCSList) Slice() []*CCS
- type CCSListBuilder
- type CPUTotalByNodeRolesOSMetricQueryClient
- type CPUTotalByNodeRolesOSMetricQueryGetRequest
- func (r *CPUTotalByNodeRolesOSMetricQueryGetRequest) Header(name string, value interface{}) *CPUTotalByNodeRolesOSMetricQueryGetRequest
- func (r *CPUTotalByNodeRolesOSMetricQueryGetRequest) Parameter(name string, value interface{}) *CPUTotalByNodeRolesOSMetricQueryGetRequest
- func (r *CPUTotalByNodeRolesOSMetricQueryGetRequest) Send() (result *CPUTotalByNodeRolesOSMetricQueryGetResponse, err error)
- func (r *CPUTotalByNodeRolesOSMetricQueryGetRequest) SendContext(ctx context.Context) (result *CPUTotalByNodeRolesOSMetricQueryGetResponse, err error)
- type CPUTotalByNodeRolesOSMetricQueryGetResponse
- func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Body() *CPUTotalsNodeRoleOSMetricNode
- func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Error() *errors.Error
- func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) GetBody() (value *CPUTotalsNodeRoleOSMetricNode, ok bool)
- func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Header() http.Header
- func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Status() int
- type CPUTotalByNodeRolesOSMetricQueryGetServerRequest
- type CPUTotalByNodeRolesOSMetricQueryGetServerResponse
- type CPUTotalByNodeRolesOSMetricQueryPollRequest
- func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) Header(name string, value interface{}) *CPUTotalByNodeRolesOSMetricQueryPollRequest
- func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) Interval(value time.Duration) *CPUTotalByNodeRolesOSMetricQueryPollRequest
- func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) Parameter(name string, value interface{}) *CPUTotalByNodeRolesOSMetricQueryPollRequest
- func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) Predicate(value func(*CPUTotalByNodeRolesOSMetricQueryGetResponse) bool) *CPUTotalByNodeRolesOSMetricQueryPollRequest
- func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) StartContext(ctx context.Context) (response *CPUTotalByNodeRolesOSMetricQueryPollResponse, err error)
- func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) Status(value int) *CPUTotalByNodeRolesOSMetricQueryPollRequest
- type CPUTotalByNodeRolesOSMetricQueryPollResponse
- func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) Body() *CPUTotalsNodeRoleOSMetricNode
- func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) Error() *errors.Error
- func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) GetBody() (value *CPUTotalsNodeRoleOSMetricNode, ok bool)
- func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) Header() http.Header
- func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) Status() int
- type CPUTotalByNodeRolesOSMetricQueryServer
- type CPUTotalNodeRoleOSMetricNode
- func (o *CPUTotalNodeRoleOSMetricNode) CPUTotal() float64
- func (o *CPUTotalNodeRoleOSMetricNode) Empty() bool
- func (o *CPUTotalNodeRoleOSMetricNode) GetCPUTotal() (value float64, ok bool)
- func (o *CPUTotalNodeRoleOSMetricNode) GetNodeRoles() (value []string, ok bool)
- func (o *CPUTotalNodeRoleOSMetricNode) GetOperatingSystem() (value string, ok bool)
- func (o *CPUTotalNodeRoleOSMetricNode) GetTime() (value time.Time, ok bool)
- func (o *CPUTotalNodeRoleOSMetricNode) NodeRoles() []string
- func (o *CPUTotalNodeRoleOSMetricNode) OperatingSystem() string
- func (o *CPUTotalNodeRoleOSMetricNode) Time() time.Time
- type CPUTotalNodeRoleOSMetricNodeBuilder
- func (b *CPUTotalNodeRoleOSMetricNodeBuilder) Build() (object *CPUTotalNodeRoleOSMetricNode, err error)
- func (b *CPUTotalNodeRoleOSMetricNodeBuilder) CPUTotal(value float64) *CPUTotalNodeRoleOSMetricNodeBuilder
- func (b *CPUTotalNodeRoleOSMetricNodeBuilder) Copy(object *CPUTotalNodeRoleOSMetricNode) *CPUTotalNodeRoleOSMetricNodeBuilder
- func (b *CPUTotalNodeRoleOSMetricNodeBuilder) NodeRoles(values ...string) *CPUTotalNodeRoleOSMetricNodeBuilder
- func (b *CPUTotalNodeRoleOSMetricNodeBuilder) OperatingSystem(value string) *CPUTotalNodeRoleOSMetricNodeBuilder
- func (b *CPUTotalNodeRoleOSMetricNodeBuilder) Time(value time.Time) *CPUTotalNodeRoleOSMetricNodeBuilder
- type CPUTotalNodeRoleOSMetricNodeList
- func (l *CPUTotalNodeRoleOSMetricNodeList) Each(f func(item *CPUTotalNodeRoleOSMetricNode) bool)
- func (l *CPUTotalNodeRoleOSMetricNodeList) Empty() bool
- func (l *CPUTotalNodeRoleOSMetricNodeList) Get(i int) *CPUTotalNodeRoleOSMetricNode
- func (l *CPUTotalNodeRoleOSMetricNodeList) Len() int
- func (l *CPUTotalNodeRoleOSMetricNodeList) Range(f func(index int, item *CPUTotalNodeRoleOSMetricNode) bool)
- func (l *CPUTotalNodeRoleOSMetricNodeList) Slice() []*CPUTotalNodeRoleOSMetricNode
- type CPUTotalNodeRoleOSMetricNodeListBuilder
- func (b *CPUTotalNodeRoleOSMetricNodeListBuilder) Build() (list *CPUTotalNodeRoleOSMetricNodeList, err error)
- func (b *CPUTotalNodeRoleOSMetricNodeListBuilder) Copy(list *CPUTotalNodeRoleOSMetricNodeList) *CPUTotalNodeRoleOSMetricNodeListBuilder
- func (b *CPUTotalNodeRoleOSMetricNodeListBuilder) Items(values ...*CPUTotalNodeRoleOSMetricNodeBuilder) *CPUTotalNodeRoleOSMetricNodeListBuilder
- type CPUTotalsNodeRoleOSMetricNode
- type CPUTotalsNodeRoleOSMetricNodeBuilder
- func (b *CPUTotalsNodeRoleOSMetricNodeBuilder) Build() (object *CPUTotalsNodeRoleOSMetricNode, err error)
- func (b *CPUTotalsNodeRoleOSMetricNodeBuilder) CPUTotals(values ...*CPUTotalNodeRoleOSMetricNodeBuilder) *CPUTotalsNodeRoleOSMetricNodeBuilder
- func (b *CPUTotalsNodeRoleOSMetricNodeBuilder) Copy(object *CPUTotalsNodeRoleOSMetricNode) *CPUTotalsNodeRoleOSMetricNodeBuilder
- type CPUTotalsNodeRoleOSMetricNodeList
- func (l *CPUTotalsNodeRoleOSMetricNodeList) Each(f func(item *CPUTotalsNodeRoleOSMetricNode) bool)
- func (l *CPUTotalsNodeRoleOSMetricNodeList) Empty() bool
- func (l *CPUTotalsNodeRoleOSMetricNodeList) Get(i int) *CPUTotalsNodeRoleOSMetricNode
- func (l *CPUTotalsNodeRoleOSMetricNodeList) Len() int
- func (l *CPUTotalsNodeRoleOSMetricNodeList) Range(f func(index int, item *CPUTotalsNodeRoleOSMetricNode) bool)
- func (l *CPUTotalsNodeRoleOSMetricNodeList) Slice() []*CPUTotalsNodeRoleOSMetricNode
- type CPUTotalsNodeRoleOSMetricNodeListBuilder
- func (b *CPUTotalsNodeRoleOSMetricNodeListBuilder) Build() (list *CPUTotalsNodeRoleOSMetricNodeList, err error)
- func (b *CPUTotalsNodeRoleOSMetricNodeListBuilder) Copy(list *CPUTotalsNodeRoleOSMetricNodeList) *CPUTotalsNodeRoleOSMetricNodeListBuilder
- func (b *CPUTotalsNodeRoleOSMetricNodeListBuilder) Items(values ...*CPUTotalsNodeRoleOSMetricNodeBuilder) *CPUTotalsNodeRoleOSMetricNodeListBuilder
- type Client
- func (c *Client) AWSInfrastructureAccessRoles() *AWSInfrastructureAccessRolesClient
- func (c *Client) Addons() *AddOnsClient
- func (c *Client) CloudProviders() *CloudProvidersClient
- func (c *Client) Clusters() *ClustersClient
- func (c *Client) Dashboards() *DashboardsClient
- func (c *Client) Flavours() *FlavoursClient
- func (c *Client) Get() *MetadataRequest
- func (c *Client) MachineTypes() *MachineTypesClient
- func (c *Client) Products() *ProductsClient
- func (c *Client) ProvisionShards() *ProvisionShardsClient
- func (c *Client) Versions() *VersionsClient
- type CloudProvider
- func (o *CloudProvider) DisplayName() string
- func (o *CloudProvider) Empty() bool
- func (o *CloudProvider) GetDisplayName() (value string, ok bool)
- func (o *CloudProvider) GetHREF() (value string, ok bool)
- func (o *CloudProvider) GetID() (value string, ok bool)
- func (o *CloudProvider) GetName() (value string, ok bool)
- func (o *CloudProvider) HREF() string
- func (o *CloudProvider) ID() string
- func (o *CloudProvider) Kind() string
- func (o *CloudProvider) Link() bool
- func (o *CloudProvider) Name() string
- type CloudProviderBuilder
- func (b *CloudProviderBuilder) Build() (object *CloudProvider, err error)
- func (b *CloudProviderBuilder) Copy(object *CloudProvider) *CloudProviderBuilder
- func (b *CloudProviderBuilder) DisplayName(value string) *CloudProviderBuilder
- func (b *CloudProviderBuilder) HREF(value string) *CloudProviderBuilder
- func (b *CloudProviderBuilder) ID(value string) *CloudProviderBuilder
- func (b *CloudProviderBuilder) Link(value bool) *CloudProviderBuilder
- func (b *CloudProviderBuilder) Name(value string) *CloudProviderBuilder
- type CloudProviderClient
- type CloudProviderGetRequest
- func (r *CloudProviderGetRequest) Header(name string, value interface{}) *CloudProviderGetRequest
- func (r *CloudProviderGetRequest) Parameter(name string, value interface{}) *CloudProviderGetRequest
- func (r *CloudProviderGetRequest) Send() (result *CloudProviderGetResponse, err error)
- func (r *CloudProviderGetRequest) SendContext(ctx context.Context) (result *CloudProviderGetResponse, err error)
- type CloudProviderGetResponse
- type CloudProviderGetServerRequest
- type CloudProviderGetServerResponse
- type CloudProviderList
- func (l *CloudProviderList) Each(f func(item *CloudProvider) bool)
- func (l *CloudProviderList) Empty() bool
- func (l *CloudProviderList) Get(i int) *CloudProvider
- func (l *CloudProviderList) GetHREF() (value string, ok bool)
- func (l *CloudProviderList) HREF() string
- func (l *CloudProviderList) Kind() string
- func (l *CloudProviderList) Len() int
- func (l *CloudProviderList) Link() bool
- func (l *CloudProviderList) Range(f func(index int, item *CloudProvider) bool)
- func (l *CloudProviderList) Slice() []*CloudProvider
- type CloudProviderListBuilder
- type CloudProviderPollRequest
- func (r *CloudProviderPollRequest) Header(name string, value interface{}) *CloudProviderPollRequest
- func (r *CloudProviderPollRequest) Interval(value time.Duration) *CloudProviderPollRequest
- func (r *CloudProviderPollRequest) Parameter(name string, value interface{}) *CloudProviderPollRequest
- func (r *CloudProviderPollRequest) Predicate(value func(*CloudProviderGetResponse) bool) *CloudProviderPollRequest
- func (r *CloudProviderPollRequest) StartContext(ctx context.Context) (response *CloudProviderPollResponse, err error)
- func (r *CloudProviderPollRequest) Status(value int) *CloudProviderPollRequest
- type CloudProviderPollResponse
- type CloudProviderServer
- type CloudProvidersClient
- type CloudProvidersListRequest
- func (r *CloudProvidersListRequest) Header(name string, value interface{}) *CloudProvidersListRequest
- func (r *CloudProvidersListRequest) Order(value string) *CloudProvidersListRequest
- func (r *CloudProvidersListRequest) Page(value int) *CloudProvidersListRequest
- func (r *CloudProvidersListRequest) Parameter(name string, value interface{}) *CloudProvidersListRequest
- func (r *CloudProvidersListRequest) Search(value string) *CloudProvidersListRequest
- func (r *CloudProvidersListRequest) Send() (result *CloudProvidersListResponse, err error)
- func (r *CloudProvidersListRequest) SendContext(ctx context.Context) (result *CloudProvidersListResponse, err error)
- func (r *CloudProvidersListRequest) Size(value int) *CloudProvidersListRequest
- type CloudProvidersListResponse
- func (r *CloudProvidersListResponse) Error() *errors.Error
- func (r *CloudProvidersListResponse) GetItems() (value *CloudProviderList, ok bool)
- func (r *CloudProvidersListResponse) GetPage() (value int, ok bool)
- func (r *CloudProvidersListResponse) GetSize() (value int, ok bool)
- func (r *CloudProvidersListResponse) GetTotal() (value int, ok bool)
- func (r *CloudProvidersListResponse) Header() http.Header
- func (r *CloudProvidersListResponse) Items() *CloudProviderList
- func (r *CloudProvidersListResponse) Page() int
- func (r *CloudProvidersListResponse) Size() int
- func (r *CloudProvidersListResponse) Status() int
- func (r *CloudProvidersListResponse) Total() int
- type CloudProvidersListServerRequest
- func (r *CloudProvidersListServerRequest) GetOrder() (value string, ok bool)
- func (r *CloudProvidersListServerRequest) GetPage() (value int, ok bool)
- func (r *CloudProvidersListServerRequest) GetSearch() (value string, ok bool)
- func (r *CloudProvidersListServerRequest) GetSize() (value int, ok bool)
- func (r *CloudProvidersListServerRequest) Order() string
- func (r *CloudProvidersListServerRequest) Page() int
- func (r *CloudProvidersListServerRequest) Search() string
- func (r *CloudProvidersListServerRequest) Size() int
- type CloudProvidersListServerResponse
- func (r *CloudProvidersListServerResponse) Items(value *CloudProviderList) *CloudProvidersListServerResponse
- func (r *CloudProvidersListServerResponse) Page(value int) *CloudProvidersListServerResponse
- func (r *CloudProvidersListServerResponse) Size(value int) *CloudProvidersListServerResponse
- func (r *CloudProvidersListServerResponse) Status(value int) *CloudProvidersListServerResponse
- func (r *CloudProvidersListServerResponse) Total(value int) *CloudProvidersListServerResponse
- type CloudProvidersServer
- type CloudRegion
- func (o *CloudRegion) CloudProvider() *CloudProvider
- func (o *CloudRegion) DisplayName() string
- func (o *CloudRegion) Empty() bool
- func (o *CloudRegion) Enabled() bool
- func (o *CloudRegion) GetCloudProvider() (value *CloudProvider, ok bool)
- func (o *CloudRegion) GetDisplayName() (value string, ok bool)
- func (o *CloudRegion) GetEnabled() (value bool, ok bool)
- func (o *CloudRegion) GetHREF() (value string, ok bool)
- func (o *CloudRegion) GetID() (value string, ok bool)
- func (o *CloudRegion) GetName() (value string, ok bool)
- func (o *CloudRegion) GetSupportsMultiAZ() (value bool, ok bool)
- func (o *CloudRegion) HREF() string
- func (o *CloudRegion) ID() string
- func (o *CloudRegion) Kind() string
- func (o *CloudRegion) Link() bool
- func (o *CloudRegion) Name() string
- func (o *CloudRegion) SupportsMultiAZ() bool
- type CloudRegionBuilder
- func (b *CloudRegionBuilder) Build() (object *CloudRegion, err error)
- func (b *CloudRegionBuilder) CloudProvider(value *CloudProviderBuilder) *CloudRegionBuilder
- func (b *CloudRegionBuilder) Copy(object *CloudRegion) *CloudRegionBuilder
- func (b *CloudRegionBuilder) DisplayName(value string) *CloudRegionBuilder
- func (b *CloudRegionBuilder) Enabled(value bool) *CloudRegionBuilder
- func (b *CloudRegionBuilder) HREF(value string) *CloudRegionBuilder
- func (b *CloudRegionBuilder) ID(value string) *CloudRegionBuilder
- func (b *CloudRegionBuilder) Link(value bool) *CloudRegionBuilder
- func (b *CloudRegionBuilder) Name(value string) *CloudRegionBuilder
- func (b *CloudRegionBuilder) SupportsMultiAZ(value bool) *CloudRegionBuilder
- type CloudRegionClient
- type CloudRegionGetRequest
- func (r *CloudRegionGetRequest) Header(name string, value interface{}) *CloudRegionGetRequest
- func (r *CloudRegionGetRequest) Parameter(name string, value interface{}) *CloudRegionGetRequest
- func (r *CloudRegionGetRequest) Send() (result *CloudRegionGetResponse, err error)
- func (r *CloudRegionGetRequest) SendContext(ctx context.Context) (result *CloudRegionGetResponse, err error)
- type CloudRegionGetResponse
- type CloudRegionGetServerRequest
- type CloudRegionGetServerResponse
- type CloudRegionList
- func (l *CloudRegionList) Each(f func(item *CloudRegion) bool)
- func (l *CloudRegionList) Empty() bool
- func (l *CloudRegionList) Get(i int) *CloudRegion
- func (l *CloudRegionList) GetHREF() (value string, ok bool)
- func (l *CloudRegionList) HREF() string
- func (l *CloudRegionList) Kind() string
- func (l *CloudRegionList) Len() int
- func (l *CloudRegionList) Link() bool
- func (l *CloudRegionList) Range(f func(index int, item *CloudRegion) bool)
- func (l *CloudRegionList) Slice() []*CloudRegion
- type CloudRegionListBuilder
- type CloudRegionPollRequest
- func (r *CloudRegionPollRequest) Header(name string, value interface{}) *CloudRegionPollRequest
- func (r *CloudRegionPollRequest) Interval(value time.Duration) *CloudRegionPollRequest
- func (r *CloudRegionPollRequest) Parameter(name string, value interface{}) *CloudRegionPollRequest
- func (r *CloudRegionPollRequest) Predicate(value func(*CloudRegionGetResponse) bool) *CloudRegionPollRequest
- func (r *CloudRegionPollRequest) StartContext(ctx context.Context) (response *CloudRegionPollResponse, err error)
- func (r *CloudRegionPollRequest) Status(value int) *CloudRegionPollRequest
- type CloudRegionPollResponse
- type CloudRegionServer
- type CloudRegionsClient
- type CloudRegionsListRequest
- func (r *CloudRegionsListRequest) Header(name string, value interface{}) *CloudRegionsListRequest
- func (r *CloudRegionsListRequest) Page(value int) *CloudRegionsListRequest
- func (r *CloudRegionsListRequest) Parameter(name string, value interface{}) *CloudRegionsListRequest
- func (r *CloudRegionsListRequest) Send() (result *CloudRegionsListResponse, err error)
- func (r *CloudRegionsListRequest) SendContext(ctx context.Context) (result *CloudRegionsListResponse, err error)
- func (r *CloudRegionsListRequest) Size(value int) *CloudRegionsListRequest
- type CloudRegionsListResponse
- func (r *CloudRegionsListResponse) Error() *errors.Error
- func (r *CloudRegionsListResponse) GetItems() (value *CloudRegionList, ok bool)
- func (r *CloudRegionsListResponse) GetPage() (value int, ok bool)
- func (r *CloudRegionsListResponse) GetSize() (value int, ok bool)
- func (r *CloudRegionsListResponse) GetTotal() (value int, ok bool)
- func (r *CloudRegionsListResponse) Header() http.Header
- func (r *CloudRegionsListResponse) Items() *CloudRegionList
- func (r *CloudRegionsListResponse) Page() int
- func (r *CloudRegionsListResponse) Size() int
- func (r *CloudRegionsListResponse) Status() int
- func (r *CloudRegionsListResponse) Total() int
- type CloudRegionsListServerRequest
- type CloudRegionsListServerResponse
- func (r *CloudRegionsListServerResponse) Items(value *CloudRegionList) *CloudRegionsListServerResponse
- func (r *CloudRegionsListServerResponse) Page(value int) *CloudRegionsListServerResponse
- func (r *CloudRegionsListServerResponse) Size(value int) *CloudRegionsListServerResponse
- func (r *CloudRegionsListServerResponse) Status(value int) *CloudRegionsListServerResponse
- func (r *CloudRegionsListServerResponse) Total(value int) *CloudRegionsListServerResponse
- type CloudRegionsServer
- type Cluster
- func (o *Cluster) API() *ClusterAPI
- func (o *Cluster) AWS() *AWS
- func (o *Cluster) AWSInfrastructureAccessRoleGrants() *AWSInfrastructureAccessRoleGrantList
- func (o *Cluster) Addons() *AddOnInstallationList
- func (o *Cluster) CCS() *CCS
- func (o *Cluster) CloudProvider() *CloudProvider
- func (o *Cluster) Console() *ClusterConsole
- func (o *Cluster) CreationTimestamp() time.Time
- func (o *Cluster) DNS() *DNS
- func (o *Cluster) DisplayName() string
- func (o *Cluster) Empty() bool
- func (o *Cluster) EtcdEncryption() bool
- func (o *Cluster) ExpirationTimestamp() time.Time
- func (o *Cluster) ExternalConfiguration() *ExternalConfiguration
- func (o *Cluster) ExternalID() string
- func (o *Cluster) Flavour() *Flavour
- func (o *Cluster) GCP() *GCP
- func (o *Cluster) GetAPI() (value *ClusterAPI, ok bool)
- func (o *Cluster) GetAWS() (value *AWS, ok bool)
- func (o *Cluster) GetAWSInfrastructureAccessRoleGrants() (value *AWSInfrastructureAccessRoleGrantList, ok bool)
- func (o *Cluster) GetAddons() (value *AddOnInstallationList, ok bool)
- func (o *Cluster) GetCCS() (value *CCS, ok bool)
- func (o *Cluster) GetCloudProvider() (value *CloudProvider, ok bool)
- func (o *Cluster) GetConsole() (value *ClusterConsole, ok bool)
- func (o *Cluster) GetCreationTimestamp() (value time.Time, ok bool)
- func (o *Cluster) GetDNS() (value *DNS, ok bool)
- func (o *Cluster) GetDisplayName() (value string, ok bool)
- func (o *Cluster) GetEtcdEncryption() (value bool, ok bool)
- func (o *Cluster) GetExpirationTimestamp() (value time.Time, ok bool)
- func (o *Cluster) GetExternalConfiguration() (value *ExternalConfiguration, ok bool)
- func (o *Cluster) GetExternalID() (value string, ok bool)
- func (o *Cluster) GetFlavour() (value *Flavour, ok bool)
- func (o *Cluster) GetGCP() (value *GCP, ok bool)
- func (o *Cluster) GetGroups() (value *GroupList, ok bool)
- func (o *Cluster) GetHREF() (value string, ok bool)
- func (o *Cluster) GetHealthState() (value ClusterHealthState, ok bool)
- func (o *Cluster) GetID() (value string, ok bool)
- func (o *Cluster) GetIdentityProviders() (value *IdentityProviderList, ok bool)
- func (o *Cluster) GetIngresses() (value *IngressList, ok bool)
- func (o *Cluster) GetLoadBalancerQuota() (value int, ok bool)
- func (o *Cluster) GetMachinePools() (value *MachinePoolList, ok bool)
- func (o *Cluster) GetManaged() (value bool, ok bool)
- func (o *Cluster) GetMetrics() (value *ClusterMetrics, ok bool)
- func (o *Cluster) GetMultiAZ() (value bool, ok bool)
- func (o *Cluster) GetName() (value string, ok bool)
- func (o *Cluster) GetNetwork() (value *Network, ok bool)
- func (o *Cluster) GetNodeDrainGracePeriod() (value *Value, ok bool)
- func (o *Cluster) GetNodes() (value *ClusterNodes, ok bool)
- func (o *Cluster) GetOpenshiftVersion() (value string, ok bool)
- func (o *Cluster) GetProduct() (value *Product, ok bool)
- func (o *Cluster) GetProperties() (value map[string]string, ok bool)
- func (o *Cluster) GetProvisionShard() (value *ProvisionShard, ok bool)
- func (o *Cluster) GetRegion() (value *CloudRegion, ok bool)
- func (o *Cluster) GetState() (value ClusterState, ok bool)
- func (o *Cluster) GetStatus() (value *ClusterStatus, ok bool)
- func (o *Cluster) GetStorageQuota() (value *Value, ok bool)
- func (o *Cluster) GetSubscription() (value *Subscription, ok bool)
- func (o *Cluster) GetUpgradeChannelGroup() (value string, ok bool)
- func (o *Cluster) GetVersion() (value *Version, ok bool)
- func (o *Cluster) Groups() *GroupList
- func (o *Cluster) HREF() string
- func (o *Cluster) HealthState() ClusterHealthState
- func (o *Cluster) ID() string
- func (o *Cluster) IdentityProviders() *IdentityProviderList
- func (o *Cluster) Ingresses() *IngressList
- func (o *Cluster) Kind() string
- func (o *Cluster) Link() bool
- func (o *Cluster) LoadBalancerQuota() int
- func (o *Cluster) MachinePools() *MachinePoolList
- func (o *Cluster) Managed() bool
- func (o *Cluster) Metrics() *ClusterMetrics
- func (o *Cluster) MultiAZ() bool
- func (o *Cluster) Name() string
- func (o *Cluster) Network() *Network
- func (o *Cluster) NodeDrainGracePeriod() *Value
- func (o *Cluster) Nodes() *ClusterNodes
- func (o *Cluster) OpenshiftVersion() string
- func (o *Cluster) Product() *Product
- func (o *Cluster) Properties() map[string]string
- func (o *Cluster) ProvisionShard() *ProvisionShard
- func (o *Cluster) Region() *CloudRegion
- func (o *Cluster) State() ClusterState
- func (o *Cluster) Status() *ClusterStatus
- func (o *Cluster) StorageQuota() *Value
- func (o *Cluster) Subscription() *Subscription
- func (o *Cluster) UpgradeChannelGroup() string
- func (o *Cluster) Version() *Version
- type ClusterAPI
- type ClusterAPIBuilder
- type ClusterAPIList
- func (l *ClusterAPIList) Each(f func(item *ClusterAPI) bool)
- func (l *ClusterAPIList) Empty() bool
- func (l *ClusterAPIList) Get(i int) *ClusterAPI
- func (l *ClusterAPIList) Len() int
- func (l *ClusterAPIList) Range(f func(index int, item *ClusterAPI) bool)
- func (l *ClusterAPIList) Slice() []*ClusterAPI
- type ClusterAPIListBuilder
- type ClusterBuilder
- func (b *ClusterBuilder) API(value *ClusterAPIBuilder) *ClusterBuilder
- func (b *ClusterBuilder) AWS(value *AWSBuilder) *ClusterBuilder
- func (b *ClusterBuilder) AWSInfrastructureAccessRoleGrants(value *AWSInfrastructureAccessRoleGrantListBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Addons(value *AddOnInstallationListBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Build() (object *Cluster, err error)
- func (b *ClusterBuilder) CCS(value *CCSBuilder) *ClusterBuilder
- func (b *ClusterBuilder) CloudProvider(value *CloudProviderBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Console(value *ClusterConsoleBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Copy(object *Cluster) *ClusterBuilder
- func (b *ClusterBuilder) CreationTimestamp(value time.Time) *ClusterBuilder
- func (b *ClusterBuilder) DNS(value *DNSBuilder) *ClusterBuilder
- func (b *ClusterBuilder) DisplayName(value string) *ClusterBuilder
- func (b *ClusterBuilder) EtcdEncryption(value bool) *ClusterBuilder
- func (b *ClusterBuilder) ExpirationTimestamp(value time.Time) *ClusterBuilder
- func (b *ClusterBuilder) ExternalConfiguration(value *ExternalConfigurationBuilder) *ClusterBuilder
- func (b *ClusterBuilder) ExternalID(value string) *ClusterBuilder
- func (b *ClusterBuilder) Flavour(value *FlavourBuilder) *ClusterBuilder
- func (b *ClusterBuilder) GCP(value *GCPBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Groups(value *GroupListBuilder) *ClusterBuilder
- func (b *ClusterBuilder) HREF(value string) *ClusterBuilder
- func (b *ClusterBuilder) HealthState(value ClusterHealthState) *ClusterBuilder
- func (b *ClusterBuilder) ID(value string) *ClusterBuilder
- func (b *ClusterBuilder) IdentityProviders(value *IdentityProviderListBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Ingresses(value *IngressListBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Link(value bool) *ClusterBuilder
- func (b *ClusterBuilder) LoadBalancerQuota(value int) *ClusterBuilder
- func (b *ClusterBuilder) MachinePools(value *MachinePoolListBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Managed(value bool) *ClusterBuilder
- func (b *ClusterBuilder) Metrics(value *ClusterMetricsBuilder) *ClusterBuilder
- func (b *ClusterBuilder) MultiAZ(value bool) *ClusterBuilder
- func (b *ClusterBuilder) Name(value string) *ClusterBuilder
- func (b *ClusterBuilder) Network(value *NetworkBuilder) *ClusterBuilder
- func (b *ClusterBuilder) NodeDrainGracePeriod(value *ValueBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Nodes(value *ClusterNodesBuilder) *ClusterBuilder
- func (b *ClusterBuilder) OpenshiftVersion(value string) *ClusterBuilder
- func (b *ClusterBuilder) Product(value *ProductBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Properties(value map[string]string) *ClusterBuilder
- func (b *ClusterBuilder) ProvisionShard(value *ProvisionShardBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Region(value *CloudRegionBuilder) *ClusterBuilder
- func (b *ClusterBuilder) State(value ClusterState) *ClusterBuilder
- func (b *ClusterBuilder) Status(value *ClusterStatusBuilder) *ClusterBuilder
- func (b *ClusterBuilder) StorageQuota(value *ValueBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Subscription(value *SubscriptionBuilder) *ClusterBuilder
- func (b *ClusterBuilder) UpgradeChannelGroup(value string) *ClusterBuilder
- func (b *ClusterBuilder) Version(value *VersionBuilder) *ClusterBuilder
- type ClusterClient
- func (c *ClusterClient) AWSInfrastructureAccessRoleGrants() *AWSInfrastructureAccessRoleGrantsClient
- func (c *ClusterClient) Addons() *AddOnInstallationsClient
- func (c *ClusterClient) Credentials() *CredentialsClient
- func (c *ClusterClient) Delete() *ClusterDeleteRequest
- func (c *ClusterClient) ExternalConfiguration() *ExternalConfigurationClient
- func (c *ClusterClient) Get() *ClusterGetRequest
- func (c *ClusterClient) Groups() *GroupsClient
- func (c *ClusterClient) Hibernate() *ClusterHibernateRequest
- func (c *ClusterClient) IdentityProviders() *IdentityProvidersClient
- func (c *ClusterClient) Ingresses() *IngressesClient
- func (c *ClusterClient) Logs() *LogsClient
- func (c *ClusterClient) MachinePools() *MachinePoolsClient
- func (c *ClusterClient) MetricQueries() *MetricQueriesClient
- func (c *ClusterClient) Poll() *ClusterPollRequest
- func (c *ClusterClient) Product() *ProductClient
- func (c *ClusterClient) ProvisionShard() *ProvisionShardClient
- func (c *ClusterClient) Resume() *ClusterResumeRequest
- func (c *ClusterClient) Status() *ClusterStatusClient
- func (c *ClusterClient) Update() *ClusterUpdateRequest
- func (c *ClusterClient) UpgradePolicies() *UpgradePoliciesClient
- type ClusterConsole
- type ClusterConsoleBuilder
- type ClusterConsoleList
- func (l *ClusterConsoleList) Each(f func(item *ClusterConsole) bool)
- func (l *ClusterConsoleList) Empty() bool
- func (l *ClusterConsoleList) Get(i int) *ClusterConsole
- func (l *ClusterConsoleList) Len() int
- func (l *ClusterConsoleList) Range(f func(index int, item *ClusterConsole) bool)
- func (l *ClusterConsoleList) Slice() []*ClusterConsole
- type ClusterConsoleListBuilder
- type ClusterCredentials
- func (o *ClusterCredentials) Admin() *AdminCredentials
- func (o *ClusterCredentials) Empty() bool
- func (o *ClusterCredentials) GetAdmin() (value *AdminCredentials, ok bool)
- func (o *ClusterCredentials) GetHREF() (value string, ok bool)
- func (o *ClusterCredentials) GetID() (value string, ok bool)
- func (o *ClusterCredentials) GetKubeconfig() (value string, ok bool)
- func (o *ClusterCredentials) GetSSH() (value *SSHCredentials, ok bool)
- func (o *ClusterCredentials) HREF() string
- func (o *ClusterCredentials) ID() string
- func (o *ClusterCredentials) Kind() string
- func (o *ClusterCredentials) Kubeconfig() string
- func (o *ClusterCredentials) Link() bool
- func (o *ClusterCredentials) SSH() *SSHCredentials
- type ClusterCredentialsBuilder
- func (b *ClusterCredentialsBuilder) Admin(value *AdminCredentialsBuilder) *ClusterCredentialsBuilder
- func (b *ClusterCredentialsBuilder) Build() (object *ClusterCredentials, err error)
- func (b *ClusterCredentialsBuilder) Copy(object *ClusterCredentials) *ClusterCredentialsBuilder
- func (b *ClusterCredentialsBuilder) HREF(value string) *ClusterCredentialsBuilder
- func (b *ClusterCredentialsBuilder) ID(value string) *ClusterCredentialsBuilder
- func (b *ClusterCredentialsBuilder) Kubeconfig(value string) *ClusterCredentialsBuilder
- func (b *ClusterCredentialsBuilder) Link(value bool) *ClusterCredentialsBuilder
- func (b *ClusterCredentialsBuilder) SSH(value *SSHCredentialsBuilder) *ClusterCredentialsBuilder
- type ClusterCredentialsList
- func (l *ClusterCredentialsList) Each(f func(item *ClusterCredentials) bool)
- func (l *ClusterCredentialsList) Empty() bool
- func (l *ClusterCredentialsList) Get(i int) *ClusterCredentials
- func (l *ClusterCredentialsList) GetHREF() (value string, ok bool)
- func (l *ClusterCredentialsList) HREF() string
- func (l *ClusterCredentialsList) Kind() string
- func (l *ClusterCredentialsList) Len() int
- func (l *ClusterCredentialsList) Link() bool
- func (l *ClusterCredentialsList) Range(f func(index int, item *ClusterCredentials) bool)
- func (l *ClusterCredentialsList) Slice() []*ClusterCredentials
- type ClusterCredentialsListBuilder
- func (b *ClusterCredentialsListBuilder) Build() (list *ClusterCredentialsList, err error)
- func (b *ClusterCredentialsListBuilder) Copy(list *ClusterCredentialsList) *ClusterCredentialsListBuilder
- func (b *ClusterCredentialsListBuilder) Items(values ...*ClusterCredentialsBuilder) *ClusterCredentialsListBuilder
- type ClusterDeleteRequest
- func (r *ClusterDeleteRequest) Header(name string, value interface{}) *ClusterDeleteRequest
- func (r *ClusterDeleteRequest) Parameter(name string, value interface{}) *ClusterDeleteRequest
- func (r *ClusterDeleteRequest) Send() (result *ClusterDeleteResponse, err error)
- func (r *ClusterDeleteRequest) SendContext(ctx context.Context) (result *ClusterDeleteResponse, err error)
- type ClusterDeleteResponse
- type ClusterDeleteServerRequest
- type ClusterDeleteServerResponse
- type ClusterGetRequest
- func (r *ClusterGetRequest) Header(name string, value interface{}) *ClusterGetRequest
- func (r *ClusterGetRequest) Parameter(name string, value interface{}) *ClusterGetRequest
- func (r *ClusterGetRequest) Send() (result *ClusterGetResponse, err error)
- func (r *ClusterGetRequest) SendContext(ctx context.Context) (result *ClusterGetResponse, err error)
- type ClusterGetResponse
- type ClusterGetServerRequest
- type ClusterGetServerResponse
- type ClusterHealthState
- type ClusterHibernateRequest
- func (r *ClusterHibernateRequest) Header(name string, value interface{}) *ClusterHibernateRequest
- func (r *ClusterHibernateRequest) Parameter(name string, value interface{}) *ClusterHibernateRequest
- func (r *ClusterHibernateRequest) Send() (result *ClusterHibernateResponse, err error)
- func (r *ClusterHibernateRequest) SendContext(ctx context.Context) (result *ClusterHibernateResponse, err error)
- type ClusterHibernateResponse
- type ClusterHibernateServerRequest
- type ClusterHibernateServerResponse
- type ClusterList
- func (l *ClusterList) Each(f func(item *Cluster) bool)
- func (l *ClusterList) Empty() bool
- func (l *ClusterList) Get(i int) *Cluster
- func (l *ClusterList) GetHREF() (value string, ok bool)
- func (l *ClusterList) HREF() string
- func (l *ClusterList) Kind() string
- func (l *ClusterList) Len() int
- func (l *ClusterList) Link() bool
- func (l *ClusterList) Range(f func(index int, item *Cluster) bool)
- func (l *ClusterList) Slice() []*Cluster
- type ClusterListBuilder
- type ClusterMetric
- func (o *ClusterMetric) Empty() bool
- func (o *ClusterMetric) GetTotal() (value *Value, ok bool)
- func (o *ClusterMetric) GetUpdatedTimestamp() (value time.Time, ok bool)
- func (o *ClusterMetric) GetUsed() (value *Value, ok bool)
- func (o *ClusterMetric) Total() *Value
- func (o *ClusterMetric) UpdatedTimestamp() time.Time
- func (o *ClusterMetric) Used() *Value
- type ClusterMetricBuilder
- func (b *ClusterMetricBuilder) Build() (object *ClusterMetric, err error)
- func (b *ClusterMetricBuilder) Copy(object *ClusterMetric) *ClusterMetricBuilder
- func (b *ClusterMetricBuilder) Total(value *ValueBuilder) *ClusterMetricBuilder
- func (b *ClusterMetricBuilder) UpdatedTimestamp(value time.Time) *ClusterMetricBuilder
- func (b *ClusterMetricBuilder) Used(value *ValueBuilder) *ClusterMetricBuilder
- type ClusterMetricList
- func (l *ClusterMetricList) Each(f func(item *ClusterMetric) bool)
- func (l *ClusterMetricList) Empty() bool
- func (l *ClusterMetricList) Get(i int) *ClusterMetric
- func (l *ClusterMetricList) Len() int
- func (l *ClusterMetricList) Range(f func(index int, item *ClusterMetric) bool)
- func (l *ClusterMetricList) Slice() []*ClusterMetric
- type ClusterMetricListBuilder
- type ClusterMetrics
- func (o *ClusterMetrics) CPU() *ClusterMetric
- func (o *ClusterMetrics) ComputeNodesCPU() *ClusterMetric
- func (o *ClusterMetrics) ComputeNodesMemory() *ClusterMetric
- func (o *ClusterMetrics) ComputeNodesSockets() *ClusterMetric
- func (o *ClusterMetrics) CriticalAlertsFiring() int
- func (o *ClusterMetrics) Empty() bool
- func (o *ClusterMetrics) GetCPU() (value *ClusterMetric, ok bool)
- func (o *ClusterMetrics) GetComputeNodesCPU() (value *ClusterMetric, ok bool)
- func (o *ClusterMetrics) GetComputeNodesMemory() (value *ClusterMetric, ok bool)
- func (o *ClusterMetrics) GetComputeNodesSockets() (value *ClusterMetric, ok bool)
- func (o *ClusterMetrics) GetCriticalAlertsFiring() (value int, ok bool)
- func (o *ClusterMetrics) GetMemory() (value *ClusterMetric, ok bool)
- func (o *ClusterMetrics) GetNodes() (value *ClusterNodes, ok bool)
- func (o *ClusterMetrics) GetOperatorsConditionFailing() (value int, ok bool)
- func (o *ClusterMetrics) GetSockets() (value *ClusterMetric, ok bool)
- func (o *ClusterMetrics) GetStorage() (value *ClusterMetric, ok bool)
- func (o *ClusterMetrics) Memory() *ClusterMetric
- func (o *ClusterMetrics) Nodes() *ClusterNodes
- func (o *ClusterMetrics) OperatorsConditionFailing() int
- func (o *ClusterMetrics) Sockets() *ClusterMetric
- func (o *ClusterMetrics) Storage() *ClusterMetric
- type ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) Build() (object *ClusterMetrics, err error)
- func (b *ClusterMetricsBuilder) CPU(value *ClusterMetricBuilder) *ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) ComputeNodesCPU(value *ClusterMetricBuilder) *ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) ComputeNodesMemory(value *ClusterMetricBuilder) *ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) ComputeNodesSockets(value *ClusterMetricBuilder) *ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) Copy(object *ClusterMetrics) *ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) CriticalAlertsFiring(value int) *ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) Memory(value *ClusterMetricBuilder) *ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) Nodes(value *ClusterNodesBuilder) *ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) OperatorsConditionFailing(value int) *ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) Sockets(value *ClusterMetricBuilder) *ClusterMetricsBuilder
- func (b *ClusterMetricsBuilder) Storage(value *ClusterMetricBuilder) *ClusterMetricsBuilder
- type ClusterMetricsList
- func (l *ClusterMetricsList) Each(f func(item *ClusterMetrics) bool)
- func (l *ClusterMetricsList) Empty() bool
- func (l *ClusterMetricsList) Get(i int) *ClusterMetrics
- func (l *ClusterMetricsList) Len() int
- func (l *ClusterMetricsList) Range(f func(index int, item *ClusterMetrics) bool)
- func (l *ClusterMetricsList) Slice() []*ClusterMetrics
- type ClusterMetricsListBuilder
- type ClusterNodes
- func (o *ClusterNodes) AutoscaleCompute() *MachinePoolAutoscaling
- func (o *ClusterNodes) AvailabilityZones() []string
- func (o *ClusterNodes) Compute() int
- func (o *ClusterNodes) ComputeLabels() map[string]string
- func (o *ClusterNodes) ComputeMachineType() *MachineType
- func (o *ClusterNodes) Empty() bool
- func (o *ClusterNodes) GetAutoscaleCompute() (value *MachinePoolAutoscaling, ok bool)
- func (o *ClusterNodes) GetAvailabilityZones() (value []string, ok bool)
- func (o *ClusterNodes) GetCompute() (value int, ok bool)
- func (o *ClusterNodes) GetComputeLabels() (value map[string]string, ok bool)
- func (o *ClusterNodes) GetComputeMachineType() (value *MachineType, ok bool)
- func (o *ClusterNodes) GetInfra() (value int, ok bool)
- func (o *ClusterNodes) GetMaster() (value int, ok bool)
- func (o *ClusterNodes) GetTotal() (value int, ok bool)
- func (o *ClusterNodes) Infra() int
- func (o *ClusterNodes) Master() int
- func (o *ClusterNodes) Total() int
- type ClusterNodesBuilder
- func (b *ClusterNodesBuilder) AutoscaleCompute(value *MachinePoolAutoscalingBuilder) *ClusterNodesBuilder
- func (b *ClusterNodesBuilder) AvailabilityZones(values ...string) *ClusterNodesBuilder
- func (b *ClusterNodesBuilder) Build() (object *ClusterNodes, err error)
- func (b *ClusterNodesBuilder) Compute(value int) *ClusterNodesBuilder
- func (b *ClusterNodesBuilder) ComputeLabels(value map[string]string) *ClusterNodesBuilder
- func (b *ClusterNodesBuilder) ComputeMachineType(value *MachineTypeBuilder) *ClusterNodesBuilder
- func (b *ClusterNodesBuilder) Copy(object *ClusterNodes) *ClusterNodesBuilder
- func (b *ClusterNodesBuilder) Infra(value int) *ClusterNodesBuilder
- func (b *ClusterNodesBuilder) Master(value int) *ClusterNodesBuilder
- func (b *ClusterNodesBuilder) Total(value int) *ClusterNodesBuilder
- type ClusterNodesList
- func (l *ClusterNodesList) Each(f func(item *ClusterNodes) bool)
- func (l *ClusterNodesList) Empty() bool
- func (l *ClusterNodesList) Get(i int) *ClusterNodes
- func (l *ClusterNodesList) Len() int
- func (l *ClusterNodesList) Range(f func(index int, item *ClusterNodes) bool)
- func (l *ClusterNodesList) Slice() []*ClusterNodes
- type ClusterNodesListBuilder
- type ClusterOperatorInfo
- func (o *ClusterOperatorInfo) Condition() ClusterOperatorState
- func (o *ClusterOperatorInfo) Empty() bool
- func (o *ClusterOperatorInfo) GetCondition() (value ClusterOperatorState, ok bool)
- func (o *ClusterOperatorInfo) GetName() (value string, ok bool)
- func (o *ClusterOperatorInfo) GetReason() (value string, ok bool)
- func (o *ClusterOperatorInfo) GetTime() (value time.Time, ok bool)
- func (o *ClusterOperatorInfo) GetVersion() (value string, ok bool)
- func (o *ClusterOperatorInfo) Name() string
- func (o *ClusterOperatorInfo) Reason() string
- func (o *ClusterOperatorInfo) Time() time.Time
- func (o *ClusterOperatorInfo) Version() string
- type ClusterOperatorInfoBuilder
- func (b *ClusterOperatorInfoBuilder) Build() (object *ClusterOperatorInfo, err error)
- func (b *ClusterOperatorInfoBuilder) Condition(value ClusterOperatorState) *ClusterOperatorInfoBuilder
- func (b *ClusterOperatorInfoBuilder) Copy(object *ClusterOperatorInfo) *ClusterOperatorInfoBuilder
- func (b *ClusterOperatorInfoBuilder) Name(value string) *ClusterOperatorInfoBuilder
- func (b *ClusterOperatorInfoBuilder) Reason(value string) *ClusterOperatorInfoBuilder
- func (b *ClusterOperatorInfoBuilder) Time(value time.Time) *ClusterOperatorInfoBuilder
- func (b *ClusterOperatorInfoBuilder) Version(value string) *ClusterOperatorInfoBuilder
- type ClusterOperatorInfoList
- func (l *ClusterOperatorInfoList) Each(f func(item *ClusterOperatorInfo) bool)
- func (l *ClusterOperatorInfoList) Empty() bool
- func (l *ClusterOperatorInfoList) Get(i int) *ClusterOperatorInfo
- func (l *ClusterOperatorInfoList) Len() int
- func (l *ClusterOperatorInfoList) Range(f func(index int, item *ClusterOperatorInfo) bool)
- func (l *ClusterOperatorInfoList) Slice() []*ClusterOperatorInfo
- type ClusterOperatorInfoListBuilder
- func (b *ClusterOperatorInfoListBuilder) Build() (list *ClusterOperatorInfoList, err error)
- func (b *ClusterOperatorInfoListBuilder) Copy(list *ClusterOperatorInfoList) *ClusterOperatorInfoListBuilder
- func (b *ClusterOperatorInfoListBuilder) Items(values ...*ClusterOperatorInfoBuilder) *ClusterOperatorInfoListBuilder
- type ClusterOperatorState
- type ClusterOperatorsInfo
- type ClusterOperatorsInfoBuilder
- func (b *ClusterOperatorsInfoBuilder) Build() (object *ClusterOperatorsInfo, err error)
- func (b *ClusterOperatorsInfoBuilder) Copy(object *ClusterOperatorsInfo) *ClusterOperatorsInfoBuilder
- func (b *ClusterOperatorsInfoBuilder) Operators(values ...*ClusterOperatorInfoBuilder) *ClusterOperatorsInfoBuilder
- type ClusterOperatorsInfoList
- func (l *ClusterOperatorsInfoList) Each(f func(item *ClusterOperatorsInfo) bool)
- func (l *ClusterOperatorsInfoList) Empty() bool
- func (l *ClusterOperatorsInfoList) Get(i int) *ClusterOperatorsInfo
- func (l *ClusterOperatorsInfoList) Len() int
- func (l *ClusterOperatorsInfoList) Range(f func(index int, item *ClusterOperatorsInfo) bool)
- func (l *ClusterOperatorsInfoList) Slice() []*ClusterOperatorsInfo
- type ClusterOperatorsInfoListBuilder
- func (b *ClusterOperatorsInfoListBuilder) Build() (list *ClusterOperatorsInfoList, err error)
- func (b *ClusterOperatorsInfoListBuilder) Copy(list *ClusterOperatorsInfoList) *ClusterOperatorsInfoListBuilder
- func (b *ClusterOperatorsInfoListBuilder) Items(values ...*ClusterOperatorsInfoBuilder) *ClusterOperatorsInfoListBuilder
- type ClusterOperatorsMetricQueryClient
- type ClusterOperatorsMetricQueryGetRequest
- func (r *ClusterOperatorsMetricQueryGetRequest) Header(name string, value interface{}) *ClusterOperatorsMetricQueryGetRequest
- func (r *ClusterOperatorsMetricQueryGetRequest) Parameter(name string, value interface{}) *ClusterOperatorsMetricQueryGetRequest
- func (r *ClusterOperatorsMetricQueryGetRequest) Send() (result *ClusterOperatorsMetricQueryGetResponse, err error)
- func (r *ClusterOperatorsMetricQueryGetRequest) SendContext(ctx context.Context) (result *ClusterOperatorsMetricQueryGetResponse, err error)
- type ClusterOperatorsMetricQueryGetResponse
- func (r *ClusterOperatorsMetricQueryGetResponse) Body() *ClusterOperatorsInfo
- func (r *ClusterOperatorsMetricQueryGetResponse) Error() *errors.Error
- func (r *ClusterOperatorsMetricQueryGetResponse) GetBody() (value *ClusterOperatorsInfo, ok bool)
- func (r *ClusterOperatorsMetricQueryGetResponse) Header() http.Header
- func (r *ClusterOperatorsMetricQueryGetResponse) Status() int
- type ClusterOperatorsMetricQueryGetServerRequest
- type ClusterOperatorsMetricQueryGetServerResponse
- type ClusterOperatorsMetricQueryPollRequest
- func (r *ClusterOperatorsMetricQueryPollRequest) Header(name string, value interface{}) *ClusterOperatorsMetricQueryPollRequest
- func (r *ClusterOperatorsMetricQueryPollRequest) Interval(value time.Duration) *ClusterOperatorsMetricQueryPollRequest
- func (r *ClusterOperatorsMetricQueryPollRequest) Parameter(name string, value interface{}) *ClusterOperatorsMetricQueryPollRequest
- func (r *ClusterOperatorsMetricQueryPollRequest) Predicate(value func(*ClusterOperatorsMetricQueryGetResponse) bool) *ClusterOperatorsMetricQueryPollRequest
- func (r *ClusterOperatorsMetricQueryPollRequest) StartContext(ctx context.Context) (response *ClusterOperatorsMetricQueryPollResponse, err error)
- func (r *ClusterOperatorsMetricQueryPollRequest) Status(value int) *ClusterOperatorsMetricQueryPollRequest
- type ClusterOperatorsMetricQueryPollResponse
- func (r *ClusterOperatorsMetricQueryPollResponse) Body() *ClusterOperatorsInfo
- func (r *ClusterOperatorsMetricQueryPollResponse) Error() *errors.Error
- func (r *ClusterOperatorsMetricQueryPollResponse) GetBody() (value *ClusterOperatorsInfo, ok bool)
- func (r *ClusterOperatorsMetricQueryPollResponse) Header() http.Header
- func (r *ClusterOperatorsMetricQueryPollResponse) Status() int
- type ClusterOperatorsMetricQueryServer
- type ClusterPollRequest
- func (r *ClusterPollRequest) Header(name string, value interface{}) *ClusterPollRequest
- func (r *ClusterPollRequest) Interval(value time.Duration) *ClusterPollRequest
- func (r *ClusterPollRequest) Parameter(name string, value interface{}) *ClusterPollRequest
- func (r *ClusterPollRequest) Predicate(value func(*ClusterGetResponse) bool) *ClusterPollRequest
- func (r *ClusterPollRequest) StartContext(ctx context.Context) (response *ClusterPollResponse, err error)
- func (r *ClusterPollRequest) Status(value int) *ClusterPollRequest
- type ClusterPollResponse
- type ClusterRegistration
- func (o *ClusterRegistration) Empty() bool
- func (o *ClusterRegistration) ExternalID() string
- func (o *ClusterRegistration) GetExternalID() (value string, ok bool)
- func (o *ClusterRegistration) GetOrganizationID() (value string, ok bool)
- func (o *ClusterRegistration) GetSubscriptionID() (value string, ok bool)
- func (o *ClusterRegistration) OrganizationID() string
- func (o *ClusterRegistration) SubscriptionID() string
- type ClusterRegistrationBuilder
- func (b *ClusterRegistrationBuilder) Build() (object *ClusterRegistration, err error)
- func (b *ClusterRegistrationBuilder) Copy(object *ClusterRegistration) *ClusterRegistrationBuilder
- func (b *ClusterRegistrationBuilder) ExternalID(value string) *ClusterRegistrationBuilder
- func (b *ClusterRegistrationBuilder) OrganizationID(value string) *ClusterRegistrationBuilder
- func (b *ClusterRegistrationBuilder) SubscriptionID(value string) *ClusterRegistrationBuilder
- type ClusterRegistrationList
- func (l *ClusterRegistrationList) Each(f func(item *ClusterRegistration) bool)
- func (l *ClusterRegistrationList) Empty() bool
- func (l *ClusterRegistrationList) Get(i int) *ClusterRegistration
- func (l *ClusterRegistrationList) Len() int
- func (l *ClusterRegistrationList) Range(f func(index int, item *ClusterRegistration) bool)
- func (l *ClusterRegistrationList) Slice() []*ClusterRegistration
- type ClusterRegistrationListBuilder
- func (b *ClusterRegistrationListBuilder) Build() (list *ClusterRegistrationList, err error)
- func (b *ClusterRegistrationListBuilder) Copy(list *ClusterRegistrationList) *ClusterRegistrationListBuilder
- func (b *ClusterRegistrationListBuilder) Items(values ...*ClusterRegistrationBuilder) *ClusterRegistrationListBuilder
- type ClusterResumeRequest
- func (r *ClusterResumeRequest) Header(name string, value interface{}) *ClusterResumeRequest
- func (r *ClusterResumeRequest) Parameter(name string, value interface{}) *ClusterResumeRequest
- func (r *ClusterResumeRequest) Send() (result *ClusterResumeResponse, err error)
- func (r *ClusterResumeRequest) SendContext(ctx context.Context) (result *ClusterResumeResponse, err error)
- type ClusterResumeResponse
- type ClusterResumeServerRequest
- type ClusterResumeServerResponse
- type ClusterServer
- type ClusterState
- type ClusterStatus
- func (o *ClusterStatus) DNSReady() bool
- func (o *ClusterStatus) Description() string
- func (o *ClusterStatus) Empty() bool
- func (o *ClusterStatus) GetDNSReady() (value bool, ok bool)
- func (o *ClusterStatus) GetDescription() (value string, ok bool)
- func (o *ClusterStatus) GetHREF() (value string, ok bool)
- func (o *ClusterStatus) GetID() (value string, ok bool)
- func (o *ClusterStatus) GetProvisionErrorCode() (value string, ok bool)
- func (o *ClusterStatus) GetProvisionErrorMessage() (value string, ok bool)
- func (o *ClusterStatus) GetState() (value ClusterState, ok bool)
- func (o *ClusterStatus) HREF() string
- func (o *ClusterStatus) ID() string
- func (o *ClusterStatus) Kind() string
- func (o *ClusterStatus) Link() bool
- func (o *ClusterStatus) ProvisionErrorCode() string
- func (o *ClusterStatus) ProvisionErrorMessage() string
- func (o *ClusterStatus) State() ClusterState
- type ClusterStatusBuilder
- func (b *ClusterStatusBuilder) Build() (object *ClusterStatus, err error)
- func (b *ClusterStatusBuilder) Copy(object *ClusterStatus) *ClusterStatusBuilder
- func (b *ClusterStatusBuilder) DNSReady(value bool) *ClusterStatusBuilder
- func (b *ClusterStatusBuilder) Description(value string) *ClusterStatusBuilder
- func (b *ClusterStatusBuilder) HREF(value string) *ClusterStatusBuilder
- func (b *ClusterStatusBuilder) ID(value string) *ClusterStatusBuilder
- func (b *ClusterStatusBuilder) Link(value bool) *ClusterStatusBuilder
- func (b *ClusterStatusBuilder) ProvisionErrorCode(value string) *ClusterStatusBuilder
- func (b *ClusterStatusBuilder) ProvisionErrorMessage(value string) *ClusterStatusBuilder
- func (b *ClusterStatusBuilder) State(value ClusterState) *ClusterStatusBuilder
- type ClusterStatusClient
- type ClusterStatusGetRequest
- func (r *ClusterStatusGetRequest) Header(name string, value interface{}) *ClusterStatusGetRequest
- func (r *ClusterStatusGetRequest) Parameter(name string, value interface{}) *ClusterStatusGetRequest
- func (r *ClusterStatusGetRequest) Send() (result *ClusterStatusGetResponse, err error)
- func (r *ClusterStatusGetRequest) SendContext(ctx context.Context) (result *ClusterStatusGetResponse, err error)
- type ClusterStatusGetResponse
- type ClusterStatusGetServerRequest
- type ClusterStatusGetServerResponse
- type ClusterStatusList
- func (l *ClusterStatusList) Each(f func(item *ClusterStatus) bool)
- func (l *ClusterStatusList) Empty() bool
- func (l *ClusterStatusList) Get(i int) *ClusterStatus
- func (l *ClusterStatusList) GetHREF() (value string, ok bool)
- func (l *ClusterStatusList) HREF() string
- func (l *ClusterStatusList) Kind() string
- func (l *ClusterStatusList) Len() int
- func (l *ClusterStatusList) Link() bool
- func (l *ClusterStatusList) Range(f func(index int, item *ClusterStatus) bool)
- func (l *ClusterStatusList) Slice() []*ClusterStatus
- type ClusterStatusListBuilder
- type ClusterStatusPollRequest
- func (r *ClusterStatusPollRequest) Header(name string, value interface{}) *ClusterStatusPollRequest
- func (r *ClusterStatusPollRequest) Interval(value time.Duration) *ClusterStatusPollRequest
- func (r *ClusterStatusPollRequest) Parameter(name string, value interface{}) *ClusterStatusPollRequest
- func (r *ClusterStatusPollRequest) Predicate(value func(*ClusterStatusGetResponse) bool) *ClusterStatusPollRequest
- func (r *ClusterStatusPollRequest) StartContext(ctx context.Context) (response *ClusterStatusPollResponse, err error)
- func (r *ClusterStatusPollRequest) Status(value int) *ClusterStatusPollRequest
- type ClusterStatusPollResponse
- type ClusterStatusServer
- type ClusterUpdateRequest
- func (r *ClusterUpdateRequest) Body(value *Cluster) *ClusterUpdateRequest
- func (r *ClusterUpdateRequest) Header(name string, value interface{}) *ClusterUpdateRequest
- func (r *ClusterUpdateRequest) Parameter(name string, value interface{}) *ClusterUpdateRequest
- func (r *ClusterUpdateRequest) Send() (result *ClusterUpdateResponse, err error)
- func (r *ClusterUpdateRequest) SendContext(ctx context.Context) (result *ClusterUpdateResponse, err error)
- type ClusterUpdateResponse
- type ClusterUpdateServerRequest
- type ClusterUpdateServerResponse
- type ClustersAddRequest
- func (r *ClustersAddRequest) Body(value *Cluster) *ClustersAddRequest
- func (r *ClustersAddRequest) Header(name string, value interface{}) *ClustersAddRequest
- func (r *ClustersAddRequest) Parameter(name string, value interface{}) *ClustersAddRequest
- func (r *ClustersAddRequest) Send() (result *ClustersAddResponse, err error)
- func (r *ClustersAddRequest) SendContext(ctx context.Context) (result *ClustersAddResponse, err error)
- type ClustersAddResponse
- type ClustersAddServerRequest
- type ClustersAddServerResponse
- type ClustersClient
- type ClustersListRequest
- func (r *ClustersListRequest) Header(name string, value interface{}) *ClustersListRequest
- func (r *ClustersListRequest) Order(value string) *ClustersListRequest
- func (r *ClustersListRequest) Page(value int) *ClustersListRequest
- func (r *ClustersListRequest) Parameter(name string, value interface{}) *ClustersListRequest
- func (r *ClustersListRequest) Search(value string) *ClustersListRequest
- func (r *ClustersListRequest) Send() (result *ClustersListResponse, err error)
- func (r *ClustersListRequest) SendContext(ctx context.Context) (result *ClustersListResponse, err error)
- func (r *ClustersListRequest) Size(value int) *ClustersListRequest
- type ClustersListResponse
- func (r *ClustersListResponse) Error() *errors.Error
- func (r *ClustersListResponse) GetItems() (value *ClusterList, ok bool)
- func (r *ClustersListResponse) GetPage() (value int, ok bool)
- func (r *ClustersListResponse) GetSize() (value int, ok bool)
- func (r *ClustersListResponse) GetTotal() (value int, ok bool)
- func (r *ClustersListResponse) Header() http.Header
- func (r *ClustersListResponse) Items() *ClusterList
- func (r *ClustersListResponse) Page() int
- func (r *ClustersListResponse) Size() int
- func (r *ClustersListResponse) Status() int
- func (r *ClustersListResponse) Total() int
- type ClustersListServerRequest
- func (r *ClustersListServerRequest) GetOrder() (value string, ok bool)
- func (r *ClustersListServerRequest) GetPage() (value int, ok bool)
- func (r *ClustersListServerRequest) GetSearch() (value string, ok bool)
- func (r *ClustersListServerRequest) GetSize() (value int, ok bool)
- func (r *ClustersListServerRequest) Order() string
- func (r *ClustersListServerRequest) Page() int
- func (r *ClustersListServerRequest) Search() string
- func (r *ClustersListServerRequest) Size() int
- type ClustersListServerResponse
- func (r *ClustersListServerResponse) Items(value *ClusterList) *ClustersListServerResponse
- func (r *ClustersListServerResponse) Page(value int) *ClustersListServerResponse
- func (r *ClustersListServerResponse) Size(value int) *ClustersListServerResponse
- func (r *ClustersListServerResponse) Status(value int) *ClustersListServerResponse
- func (r *ClustersListServerResponse) Total(value int) *ClustersListServerResponse
- type ClustersServer
- type CredentialsClient
- type CredentialsGetRequest
- func (r *CredentialsGetRequest) Header(name string, value interface{}) *CredentialsGetRequest
- func (r *CredentialsGetRequest) Parameter(name string, value interface{}) *CredentialsGetRequest
- func (r *CredentialsGetRequest) Send() (result *CredentialsGetResponse, err error)
- func (r *CredentialsGetRequest) SendContext(ctx context.Context) (result *CredentialsGetResponse, err error)
- type CredentialsGetResponse
- type CredentialsGetServerRequest
- type CredentialsGetServerResponse
- type CredentialsPollRequest
- func (r *CredentialsPollRequest) Header(name string, value interface{}) *CredentialsPollRequest
- func (r *CredentialsPollRequest) Interval(value time.Duration) *CredentialsPollRequest
- func (r *CredentialsPollRequest) Parameter(name string, value interface{}) *CredentialsPollRequest
- func (r *CredentialsPollRequest) Predicate(value func(*CredentialsGetResponse) bool) *CredentialsPollRequest
- func (r *CredentialsPollRequest) StartContext(ctx context.Context) (response *CredentialsPollResponse, err error)
- func (r *CredentialsPollRequest) Status(value int) *CredentialsPollRequest
- type CredentialsPollResponse
- type CredentialsServer
- type DNS
- type DNSBuilder
- type DNSList
- type DNSListBuilder
- type Dashboard
- func (o *Dashboard) Empty() bool
- func (o *Dashboard) GetHREF() (value string, ok bool)
- func (o *Dashboard) GetID() (value string, ok bool)
- func (o *Dashboard) GetMetrics() (value []*Metric, ok bool)
- func (o *Dashboard) GetName() (value string, ok bool)
- func (o *Dashboard) HREF() string
- func (o *Dashboard) ID() string
- func (o *Dashboard) Kind() string
- func (o *Dashboard) Link() bool
- func (o *Dashboard) Metrics() []*Metric
- func (o *Dashboard) Name() string
- type DashboardBuilder
- func (b *DashboardBuilder) Build() (object *Dashboard, err error)
- func (b *DashboardBuilder) Copy(object *Dashboard) *DashboardBuilder
- func (b *DashboardBuilder) HREF(value string) *DashboardBuilder
- func (b *DashboardBuilder) ID(value string) *DashboardBuilder
- func (b *DashboardBuilder) Link(value bool) *DashboardBuilder
- func (b *DashboardBuilder) Metrics(values ...*MetricBuilder) *DashboardBuilder
- func (b *DashboardBuilder) Name(value string) *DashboardBuilder
- type DashboardClient
- type DashboardGetRequest
- func (r *DashboardGetRequest) Header(name string, value interface{}) *DashboardGetRequest
- func (r *DashboardGetRequest) Parameter(name string, value interface{}) *DashboardGetRequest
- func (r *DashboardGetRequest) Send() (result *DashboardGetResponse, err error)
- func (r *DashboardGetRequest) SendContext(ctx context.Context) (result *DashboardGetResponse, err error)
- type DashboardGetResponse
- type DashboardGetServerRequest
- type DashboardGetServerResponse
- type DashboardList
- func (l *DashboardList) Each(f func(item *Dashboard) bool)
- func (l *DashboardList) Empty() bool
- func (l *DashboardList) Get(i int) *Dashboard
- func (l *DashboardList) GetHREF() (value string, ok bool)
- func (l *DashboardList) HREF() string
- func (l *DashboardList) Kind() string
- func (l *DashboardList) Len() int
- func (l *DashboardList) Link() bool
- func (l *DashboardList) Range(f func(index int, item *Dashboard) bool)
- func (l *DashboardList) Slice() []*Dashboard
- type DashboardListBuilder
- type DashboardPollRequest
- func (r *DashboardPollRequest) Header(name string, value interface{}) *DashboardPollRequest
- func (r *DashboardPollRequest) Interval(value time.Duration) *DashboardPollRequest
- func (r *DashboardPollRequest) Parameter(name string, value interface{}) *DashboardPollRequest
- func (r *DashboardPollRequest) Predicate(value func(*DashboardGetResponse) bool) *DashboardPollRequest
- func (r *DashboardPollRequest) StartContext(ctx context.Context) (response *DashboardPollResponse, err error)
- func (r *DashboardPollRequest) Status(value int) *DashboardPollRequest
- type DashboardPollResponse
- type DashboardServer
- type DashboardsClient
- type DashboardsListRequest
- func (r *DashboardsListRequest) Header(name string, value interface{}) *DashboardsListRequest
- func (r *DashboardsListRequest) Order(value string) *DashboardsListRequest
- func (r *DashboardsListRequest) Page(value int) *DashboardsListRequest
- func (r *DashboardsListRequest) Parameter(name string, value interface{}) *DashboardsListRequest
- func (r *DashboardsListRequest) Search(value string) *DashboardsListRequest
- func (r *DashboardsListRequest) Send() (result *DashboardsListResponse, err error)
- func (r *DashboardsListRequest) SendContext(ctx context.Context) (result *DashboardsListResponse, err error)
- func (r *DashboardsListRequest) Size(value int) *DashboardsListRequest
- type DashboardsListResponse
- func (r *DashboardsListResponse) Error() *errors.Error
- func (r *DashboardsListResponse) GetItems() (value *DashboardList, ok bool)
- func (r *DashboardsListResponse) GetPage() (value int, ok bool)
- func (r *DashboardsListResponse) GetSize() (value int, ok bool)
- func (r *DashboardsListResponse) GetTotal() (value int, ok bool)
- func (r *DashboardsListResponse) Header() http.Header
- func (r *DashboardsListResponse) Items() *DashboardList
- func (r *DashboardsListResponse) Page() int
- func (r *DashboardsListResponse) Size() int
- func (r *DashboardsListResponse) Status() int
- func (r *DashboardsListResponse) Total() int
- type DashboardsListServerRequest
- func (r *DashboardsListServerRequest) GetOrder() (value string, ok bool)
- func (r *DashboardsListServerRequest) GetPage() (value int, ok bool)
- func (r *DashboardsListServerRequest) GetSearch() (value string, ok bool)
- func (r *DashboardsListServerRequest) GetSize() (value int, ok bool)
- func (r *DashboardsListServerRequest) Order() string
- func (r *DashboardsListServerRequest) Page() int
- func (r *DashboardsListServerRequest) Search() string
- func (r *DashboardsListServerRequest) Size() int
- type DashboardsListServerResponse
- func (r *DashboardsListServerResponse) Items(value *DashboardList) *DashboardsListServerResponse
- func (r *DashboardsListServerResponse) Page(value int) *DashboardsListServerResponse
- func (r *DashboardsListServerResponse) Size(value int) *DashboardsListServerResponse
- func (r *DashboardsListServerResponse) Status(value int) *DashboardsListServerResponse
- func (r *DashboardsListServerResponse) Total(value int) *DashboardsListServerResponse
- type DashboardsServer
- type ExternalConfiguration
- func (o *ExternalConfiguration) Empty() bool
- func (o *ExternalConfiguration) GetLabels() (value *LabelList, ok bool)
- func (o *ExternalConfiguration) GetSyncsets() (value *SyncsetList, ok bool)
- func (o *ExternalConfiguration) Labels() *LabelList
- func (o *ExternalConfiguration) Syncsets() *SyncsetList
- type ExternalConfigurationBuilder
- func (b *ExternalConfigurationBuilder) Build() (object *ExternalConfiguration, err error)
- func (b *ExternalConfigurationBuilder) Copy(object *ExternalConfiguration) *ExternalConfigurationBuilder
- func (b *ExternalConfigurationBuilder) Labels(value *LabelListBuilder) *ExternalConfigurationBuilder
- func (b *ExternalConfigurationBuilder) Syncsets(value *SyncsetListBuilder) *ExternalConfigurationBuilder
- type ExternalConfigurationClient
- type ExternalConfigurationGetRequest
- func (r *ExternalConfigurationGetRequest) Header(name string, value interface{}) *ExternalConfigurationGetRequest
- func (r *ExternalConfigurationGetRequest) Parameter(name string, value interface{}) *ExternalConfigurationGetRequest
- func (r *ExternalConfigurationGetRequest) Send() (result *ExternalConfigurationGetResponse, err error)
- func (r *ExternalConfigurationGetRequest) SendContext(ctx context.Context) (result *ExternalConfigurationGetResponse, err error)
- type ExternalConfigurationGetResponse
- func (r *ExternalConfigurationGetResponse) Body() *ExternalConfiguration
- func (r *ExternalConfigurationGetResponse) Error() *errors.Error
- func (r *ExternalConfigurationGetResponse) GetBody() (value *ExternalConfiguration, ok bool)
- func (r *ExternalConfigurationGetResponse) Header() http.Header
- func (r *ExternalConfigurationGetResponse) Status() int
- type ExternalConfigurationGetServerRequest
- type ExternalConfigurationGetServerResponse
- type ExternalConfigurationList
- func (l *ExternalConfigurationList) Each(f func(item *ExternalConfiguration) bool)
- func (l *ExternalConfigurationList) Empty() bool
- func (l *ExternalConfigurationList) Get(i int) *ExternalConfiguration
- func (l *ExternalConfigurationList) Len() int
- func (l *ExternalConfigurationList) Range(f func(index int, item *ExternalConfiguration) bool)
- func (l *ExternalConfigurationList) Slice() []*ExternalConfiguration
- type ExternalConfigurationListBuilder
- func (b *ExternalConfigurationListBuilder) Build() (list *ExternalConfigurationList, err error)
- func (b *ExternalConfigurationListBuilder) Copy(list *ExternalConfigurationList) *ExternalConfigurationListBuilder
- func (b *ExternalConfigurationListBuilder) Items(values ...*ExternalConfigurationBuilder) *ExternalConfigurationListBuilder
- type ExternalConfigurationPollRequest
- func (r *ExternalConfigurationPollRequest) Header(name string, value interface{}) *ExternalConfigurationPollRequest
- func (r *ExternalConfigurationPollRequest) Interval(value time.Duration) *ExternalConfigurationPollRequest
- func (r *ExternalConfigurationPollRequest) Parameter(name string, value interface{}) *ExternalConfigurationPollRequest
- func (r *ExternalConfigurationPollRequest) Predicate(value func(*ExternalConfigurationGetResponse) bool) *ExternalConfigurationPollRequest
- func (r *ExternalConfigurationPollRequest) StartContext(ctx context.Context) (response *ExternalConfigurationPollResponse, err error)
- func (r *ExternalConfigurationPollRequest) Status(value int) *ExternalConfigurationPollRequest
- type ExternalConfigurationPollResponse
- func (r *ExternalConfigurationPollResponse) Body() *ExternalConfiguration
- func (r *ExternalConfigurationPollResponse) Error() *errors.Error
- func (r *ExternalConfigurationPollResponse) GetBody() (value *ExternalConfiguration, ok bool)
- func (r *ExternalConfigurationPollResponse) Header() http.Header
- func (r *ExternalConfigurationPollResponse) Status() int
- type ExternalConfigurationServer
- type Flavour
- func (o *Flavour) AWS() *AWSFlavour
- func (o *Flavour) Empty() bool
- func (o *Flavour) GCP() *GCPFlavour
- func (o *Flavour) GetAWS() (value *AWSFlavour, ok bool)
- func (o *Flavour) GetGCP() (value *GCPFlavour, ok bool)
- func (o *Flavour) GetHREF() (value string, ok bool)
- func (o *Flavour) GetID() (value string, ok bool)
- func (o *Flavour) GetName() (value string, ok bool)
- func (o *Flavour) GetNetwork() (value *Network, ok bool)
- func (o *Flavour) GetNodes() (value *FlavourNodes, ok bool)
- func (o *Flavour) HREF() string
- func (o *Flavour) ID() string
- func (o *Flavour) Kind() string
- func (o *Flavour) Link() bool
- func (o *Flavour) Name() string
- func (o *Flavour) Network() *Network
- func (o *Flavour) Nodes() *FlavourNodes
- type FlavourBuilder
- func (b *FlavourBuilder) AWS(value *AWSFlavourBuilder) *FlavourBuilder
- func (b *FlavourBuilder) Build() (object *Flavour, err error)
- func (b *FlavourBuilder) Copy(object *Flavour) *FlavourBuilder
- func (b *FlavourBuilder) GCP(value *GCPFlavourBuilder) *FlavourBuilder
- func (b *FlavourBuilder) HREF(value string) *FlavourBuilder
- func (b *FlavourBuilder) ID(value string) *FlavourBuilder
- func (b *FlavourBuilder) Link(value bool) *FlavourBuilder
- func (b *FlavourBuilder) Name(value string) *FlavourBuilder
- func (b *FlavourBuilder) Network(value *NetworkBuilder) *FlavourBuilder
- func (b *FlavourBuilder) Nodes(value *FlavourNodesBuilder) *FlavourBuilder
- type FlavourClient
- type FlavourGetRequest
- func (r *FlavourGetRequest) Header(name string, value interface{}) *FlavourGetRequest
- func (r *FlavourGetRequest) Parameter(name string, value interface{}) *FlavourGetRequest
- func (r *FlavourGetRequest) Send() (result *FlavourGetResponse, err error)
- func (r *FlavourGetRequest) SendContext(ctx context.Context) (result *FlavourGetResponse, err error)
- type FlavourGetResponse
- type FlavourGetServerRequest
- type FlavourGetServerResponse
- type FlavourList
- func (l *FlavourList) Each(f func(item *Flavour) bool)
- func (l *FlavourList) Empty() bool
- func (l *FlavourList) Get(i int) *Flavour
- func (l *FlavourList) GetHREF() (value string, ok bool)
- func (l *FlavourList) HREF() string
- func (l *FlavourList) Kind() string
- func (l *FlavourList) Len() int
- func (l *FlavourList) Link() bool
- func (l *FlavourList) Range(f func(index int, item *Flavour) bool)
- func (l *FlavourList) Slice() []*Flavour
- type FlavourListBuilder
- type FlavourNodes
- type FlavourNodesBuilder
- type FlavourNodesList
- func (l *FlavourNodesList) Each(f func(item *FlavourNodes) bool)
- func (l *FlavourNodesList) Empty() bool
- func (l *FlavourNodesList) Get(i int) *FlavourNodes
- func (l *FlavourNodesList) Len() int
- func (l *FlavourNodesList) Range(f func(index int, item *FlavourNodes) bool)
- func (l *FlavourNodesList) Slice() []*FlavourNodes
- type FlavourNodesListBuilder
- type FlavourPollRequest
- func (r *FlavourPollRequest) Header(name string, value interface{}) *FlavourPollRequest
- func (r *FlavourPollRequest) Interval(value time.Duration) *FlavourPollRequest
- func (r *FlavourPollRequest) Parameter(name string, value interface{}) *FlavourPollRequest
- func (r *FlavourPollRequest) Predicate(value func(*FlavourGetResponse) bool) *FlavourPollRequest
- func (r *FlavourPollRequest) StartContext(ctx context.Context) (response *FlavourPollResponse, err error)
- func (r *FlavourPollRequest) Status(value int) *FlavourPollRequest
- type FlavourPollResponse
- type FlavourServer
- type FlavourUpdateRequest
- func (r *FlavourUpdateRequest) Body(value *Flavour) *FlavourUpdateRequest
- func (r *FlavourUpdateRequest) Header(name string, value interface{}) *FlavourUpdateRequest
- func (r *FlavourUpdateRequest) Parameter(name string, value interface{}) *FlavourUpdateRequest
- func (r *FlavourUpdateRequest) Send() (result *FlavourUpdateResponse, err error)
- func (r *FlavourUpdateRequest) SendContext(ctx context.Context) (result *FlavourUpdateResponse, err error)
- type FlavourUpdateResponse
- type FlavourUpdateServerRequest
- type FlavourUpdateServerResponse
- type FlavoursAddRequest
- func (r *FlavoursAddRequest) Body(value *Flavour) *FlavoursAddRequest
- func (r *FlavoursAddRequest) Header(name string, value interface{}) *FlavoursAddRequest
- func (r *FlavoursAddRequest) Parameter(name string, value interface{}) *FlavoursAddRequest
- func (r *FlavoursAddRequest) Send() (result *FlavoursAddResponse, err error)
- func (r *FlavoursAddRequest) SendContext(ctx context.Context) (result *FlavoursAddResponse, err error)
- type FlavoursAddResponse
- type FlavoursAddServerRequest
- type FlavoursAddServerResponse
- type FlavoursClient
- type FlavoursListRequest
- func (r *FlavoursListRequest) Header(name string, value interface{}) *FlavoursListRequest
- func (r *FlavoursListRequest) Order(value string) *FlavoursListRequest
- func (r *FlavoursListRequest) Page(value int) *FlavoursListRequest
- func (r *FlavoursListRequest) Parameter(name string, value interface{}) *FlavoursListRequest
- func (r *FlavoursListRequest) Search(value string) *FlavoursListRequest
- func (r *FlavoursListRequest) Send() (result *FlavoursListResponse, err error)
- func (r *FlavoursListRequest) SendContext(ctx context.Context) (result *FlavoursListResponse, err error)
- func (r *FlavoursListRequest) Size(value int) *FlavoursListRequest
- type FlavoursListResponse
- func (r *FlavoursListResponse) Error() *errors.Error
- func (r *FlavoursListResponse) GetItems() (value *FlavourList, ok bool)
- func (r *FlavoursListResponse) GetPage() (value int, ok bool)
- func (r *FlavoursListResponse) GetSize() (value int, ok bool)
- func (r *FlavoursListResponse) GetTotal() (value int, ok bool)
- func (r *FlavoursListResponse) Header() http.Header
- func (r *FlavoursListResponse) Items() *FlavourList
- func (r *FlavoursListResponse) Page() int
- func (r *FlavoursListResponse) Size() int
- func (r *FlavoursListResponse) Status() int
- func (r *FlavoursListResponse) Total() int
- type FlavoursListServerRequest
- func (r *FlavoursListServerRequest) GetOrder() (value string, ok bool)
- func (r *FlavoursListServerRequest) GetPage() (value int, ok bool)
- func (r *FlavoursListServerRequest) GetSearch() (value string, ok bool)
- func (r *FlavoursListServerRequest) GetSize() (value int, ok bool)
- func (r *FlavoursListServerRequest) Order() string
- func (r *FlavoursListServerRequest) Page() int
- func (r *FlavoursListServerRequest) Search() string
- func (r *FlavoursListServerRequest) Size() int
- type FlavoursListServerResponse
- func (r *FlavoursListServerResponse) Items(value *FlavourList) *FlavoursListServerResponse
- func (r *FlavoursListServerResponse) Page(value int) *FlavoursListServerResponse
- func (r *FlavoursListServerResponse) Size(value int) *FlavoursListServerResponse
- func (r *FlavoursListServerResponse) Status(value int) *FlavoursListServerResponse
- func (r *FlavoursListServerResponse) Total(value int) *FlavoursListServerResponse
- type FlavoursServer
- type GCP
- func (o *GCP) AuthProviderX509CertURL() string
- func (o *GCP) AuthURI() string
- func (o *GCP) ClientEmail() string
- func (o *GCP) ClientID() string
- func (o *GCP) ClientX509CertURL() string
- func (o *GCP) Empty() bool
- func (o *GCP) GetAuthProviderX509CertURL() (value string, ok bool)
- func (o *GCP) GetAuthURI() (value string, ok bool)
- func (o *GCP) GetClientEmail() (value string, ok bool)
- func (o *GCP) GetClientID() (value string, ok bool)
- func (o *GCP) GetClientX509CertURL() (value string, ok bool)
- func (o *GCP) GetPrivateKey() (value string, ok bool)
- func (o *GCP) GetPrivateKeyID() (value string, ok bool)
- func (o *GCP) GetProjectID() (value string, ok bool)
- func (o *GCP) GetTokenURI() (value string, ok bool)
- func (o *GCP) GetType() (value string, ok bool)
- func (o *GCP) PrivateKey() string
- func (o *GCP) PrivateKeyID() string
- func (o *GCP) ProjectID() string
- func (o *GCP) TokenURI() string
- func (o *GCP) Type() string
- type GCPBuilder
- func (b *GCPBuilder) AuthProviderX509CertURL(value string) *GCPBuilder
- func (b *GCPBuilder) AuthURI(value string) *GCPBuilder
- func (b *GCPBuilder) Build() (object *GCP, err error)
- func (b *GCPBuilder) ClientEmail(value string) *GCPBuilder
- func (b *GCPBuilder) ClientID(value string) *GCPBuilder
- func (b *GCPBuilder) ClientX509CertURL(value string) *GCPBuilder
- func (b *GCPBuilder) Copy(object *GCP) *GCPBuilder
- func (b *GCPBuilder) PrivateKey(value string) *GCPBuilder
- func (b *GCPBuilder) PrivateKeyID(value string) *GCPBuilder
- func (b *GCPBuilder) ProjectID(value string) *GCPBuilder
- func (b *GCPBuilder) TokenURI(value string) *GCPBuilder
- func (b *GCPBuilder) Type(value string) *GCPBuilder
- type GCPFlavour
- func (o *GCPFlavour) ComputeInstanceType() string
- func (o *GCPFlavour) Empty() bool
- func (o *GCPFlavour) GetComputeInstanceType() (value string, ok bool)
- func (o *GCPFlavour) GetInfraInstanceType() (value string, ok bool)
- func (o *GCPFlavour) GetMasterInstanceType() (value string, ok bool)
- func (o *GCPFlavour) InfraInstanceType() string
- func (o *GCPFlavour) MasterInstanceType() string
- type GCPFlavourBuilder
- func (b *GCPFlavourBuilder) Build() (object *GCPFlavour, err error)
- func (b *GCPFlavourBuilder) ComputeInstanceType(value string) *GCPFlavourBuilder
- func (b *GCPFlavourBuilder) Copy(object *GCPFlavour) *GCPFlavourBuilder
- func (b *GCPFlavourBuilder) InfraInstanceType(value string) *GCPFlavourBuilder
- func (b *GCPFlavourBuilder) MasterInstanceType(value string) *GCPFlavourBuilder
- type GCPFlavourList
- func (l *GCPFlavourList) Each(f func(item *GCPFlavour) bool)
- func (l *GCPFlavourList) Empty() bool
- func (l *GCPFlavourList) Get(i int) *GCPFlavour
- func (l *GCPFlavourList) Len() int
- func (l *GCPFlavourList) Range(f func(index int, item *GCPFlavour) bool)
- func (l *GCPFlavourList) Slice() []*GCPFlavour
- type GCPFlavourListBuilder
- type GCPList
- type GCPListBuilder
- type GithubIdentityProvider
- func (o *GithubIdentityProvider) CA() string
- func (o *GithubIdentityProvider) ClientID() string
- func (o *GithubIdentityProvider) ClientSecret() string
- func (o *GithubIdentityProvider) Empty() bool
- func (o *GithubIdentityProvider) GetCA() (value string, ok bool)
- func (o *GithubIdentityProvider) GetClientID() (value string, ok bool)
- func (o *GithubIdentityProvider) GetClientSecret() (value string, ok bool)
- func (o *GithubIdentityProvider) GetHostname() (value string, ok bool)
- func (o *GithubIdentityProvider) GetOrganizations() (value []string, ok bool)
- func (o *GithubIdentityProvider) GetTeams() (value []string, ok bool)
- func (o *GithubIdentityProvider) Hostname() string
- func (o *GithubIdentityProvider) Organizations() []string
- func (o *GithubIdentityProvider) Teams() []string
- type GithubIdentityProviderBuilder
- func (b *GithubIdentityProviderBuilder) Build() (object *GithubIdentityProvider, err error)
- func (b *GithubIdentityProviderBuilder) CA(value string) *GithubIdentityProviderBuilder
- func (b *GithubIdentityProviderBuilder) ClientID(value string) *GithubIdentityProviderBuilder
- func (b *GithubIdentityProviderBuilder) ClientSecret(value string) *GithubIdentityProviderBuilder
- func (b *GithubIdentityProviderBuilder) Copy(object *GithubIdentityProvider) *GithubIdentityProviderBuilder
- func (b *GithubIdentityProviderBuilder) Hostname(value string) *GithubIdentityProviderBuilder
- func (b *GithubIdentityProviderBuilder) Organizations(values ...string) *GithubIdentityProviderBuilder
- func (b *GithubIdentityProviderBuilder) Teams(values ...string) *GithubIdentityProviderBuilder
- type GithubIdentityProviderList
- func (l *GithubIdentityProviderList) Each(f func(item *GithubIdentityProvider) bool)
- func (l *GithubIdentityProviderList) Empty() bool
- func (l *GithubIdentityProviderList) Get(i int) *GithubIdentityProvider
- func (l *GithubIdentityProviderList) Len() int
- func (l *GithubIdentityProviderList) Range(f func(index int, item *GithubIdentityProvider) bool)
- func (l *GithubIdentityProviderList) Slice() []*GithubIdentityProvider
- type GithubIdentityProviderListBuilder
- func (b *GithubIdentityProviderListBuilder) Build() (list *GithubIdentityProviderList, err error)
- func (b *GithubIdentityProviderListBuilder) Copy(list *GithubIdentityProviderList) *GithubIdentityProviderListBuilder
- func (b *GithubIdentityProviderListBuilder) Items(values ...*GithubIdentityProviderBuilder) *GithubIdentityProviderListBuilder
- type GitlabIdentityProvider
- func (o *GitlabIdentityProvider) CA() string
- func (o *GitlabIdentityProvider) ClientID() string
- func (o *GitlabIdentityProvider) ClientSecret() string
- func (o *GitlabIdentityProvider) Empty() bool
- func (o *GitlabIdentityProvider) GetCA() (value string, ok bool)
- func (o *GitlabIdentityProvider) GetClientID() (value string, ok bool)
- func (o *GitlabIdentityProvider) GetClientSecret() (value string, ok bool)
- func (o *GitlabIdentityProvider) GetURL() (value string, ok bool)
- func (o *GitlabIdentityProvider) URL() string
- type GitlabIdentityProviderBuilder
- func (b *GitlabIdentityProviderBuilder) Build() (object *GitlabIdentityProvider, err error)
- func (b *GitlabIdentityProviderBuilder) CA(value string) *GitlabIdentityProviderBuilder
- func (b *GitlabIdentityProviderBuilder) ClientID(value string) *GitlabIdentityProviderBuilder
- func (b *GitlabIdentityProviderBuilder) ClientSecret(value string) *GitlabIdentityProviderBuilder
- func (b *GitlabIdentityProviderBuilder) Copy(object *GitlabIdentityProvider) *GitlabIdentityProviderBuilder
- func (b *GitlabIdentityProviderBuilder) URL(value string) *GitlabIdentityProviderBuilder
- type GitlabIdentityProviderList
- func (l *GitlabIdentityProviderList) Each(f func(item *GitlabIdentityProvider) bool)
- func (l *GitlabIdentityProviderList) Empty() bool
- func (l *GitlabIdentityProviderList) Get(i int) *GitlabIdentityProvider
- func (l *GitlabIdentityProviderList) Len() int
- func (l *GitlabIdentityProviderList) Range(f func(index int, item *GitlabIdentityProvider) bool)
- func (l *GitlabIdentityProviderList) Slice() []*GitlabIdentityProvider
- type GitlabIdentityProviderListBuilder
- func (b *GitlabIdentityProviderListBuilder) Build() (list *GitlabIdentityProviderList, err error)
- func (b *GitlabIdentityProviderListBuilder) Copy(list *GitlabIdentityProviderList) *GitlabIdentityProviderListBuilder
- func (b *GitlabIdentityProviderListBuilder) Items(values ...*GitlabIdentityProviderBuilder) *GitlabIdentityProviderListBuilder
- type GoogleIdentityProvider
- func (o *GoogleIdentityProvider) ClientID() string
- func (o *GoogleIdentityProvider) ClientSecret() string
- func (o *GoogleIdentityProvider) Empty() bool
- func (o *GoogleIdentityProvider) GetClientID() (value string, ok bool)
- func (o *GoogleIdentityProvider) GetClientSecret() (value string, ok bool)
- func (o *GoogleIdentityProvider) GetHostedDomain() (value string, ok bool)
- func (o *GoogleIdentityProvider) HostedDomain() string
- type GoogleIdentityProviderBuilder
- func (b *GoogleIdentityProviderBuilder) Build() (object *GoogleIdentityProvider, err error)
- func (b *GoogleIdentityProviderBuilder) ClientID(value string) *GoogleIdentityProviderBuilder
- func (b *GoogleIdentityProviderBuilder) ClientSecret(value string) *GoogleIdentityProviderBuilder
- func (b *GoogleIdentityProviderBuilder) Copy(object *GoogleIdentityProvider) *GoogleIdentityProviderBuilder
- func (b *GoogleIdentityProviderBuilder) HostedDomain(value string) *GoogleIdentityProviderBuilder
- type GoogleIdentityProviderList
- func (l *GoogleIdentityProviderList) Each(f func(item *GoogleIdentityProvider) bool)
- func (l *GoogleIdentityProviderList) Empty() bool
- func (l *GoogleIdentityProviderList) Get(i int) *GoogleIdentityProvider
- func (l *GoogleIdentityProviderList) Len() int
- func (l *GoogleIdentityProviderList) Range(f func(index int, item *GoogleIdentityProvider) bool)
- func (l *GoogleIdentityProviderList) Slice() []*GoogleIdentityProvider
- type GoogleIdentityProviderListBuilder
- func (b *GoogleIdentityProviderListBuilder) Build() (list *GoogleIdentityProviderList, err error)
- func (b *GoogleIdentityProviderListBuilder) Copy(list *GoogleIdentityProviderList) *GoogleIdentityProviderListBuilder
- func (b *GoogleIdentityProviderListBuilder) Items(values ...*GoogleIdentityProviderBuilder) *GoogleIdentityProviderListBuilder
- type Group
- func (o *Group) Empty() bool
- func (o *Group) GetHREF() (value string, ok bool)
- func (o *Group) GetID() (value string, ok bool)
- func (o *Group) GetUsers() (value *UserList, ok bool)
- func (o *Group) HREF() string
- func (o *Group) ID() string
- func (o *Group) Kind() string
- func (o *Group) Link() bool
- func (o *Group) Users() *UserList
- type GroupBuilder
- func (b *GroupBuilder) Build() (object *Group, err error)
- func (b *GroupBuilder) Copy(object *Group) *GroupBuilder
- func (b *GroupBuilder) HREF(value string) *GroupBuilder
- func (b *GroupBuilder) ID(value string) *GroupBuilder
- func (b *GroupBuilder) Link(value bool) *GroupBuilder
- func (b *GroupBuilder) Users(value *UserListBuilder) *GroupBuilder
- type GroupClient
- type GroupGetRequest
- func (r *GroupGetRequest) Header(name string, value interface{}) *GroupGetRequest
- func (r *GroupGetRequest) Parameter(name string, value interface{}) *GroupGetRequest
- func (r *GroupGetRequest) Send() (result *GroupGetResponse, err error)
- func (r *GroupGetRequest) SendContext(ctx context.Context) (result *GroupGetResponse, err error)
- type GroupGetResponse
- type GroupGetServerRequest
- type GroupGetServerResponse
- type GroupList
- func (l *GroupList) Each(f func(item *Group) bool)
- func (l *GroupList) Empty() bool
- func (l *GroupList) Get(i int) *Group
- func (l *GroupList) GetHREF() (value string, ok bool)
- func (l *GroupList) HREF() string
- func (l *GroupList) Kind() string
- func (l *GroupList) Len() int
- func (l *GroupList) Link() bool
- func (l *GroupList) Range(f func(index int, item *Group) bool)
- func (l *GroupList) Slice() []*Group
- type GroupListBuilder
- type GroupPollRequest
- func (r *GroupPollRequest) Header(name string, value interface{}) *GroupPollRequest
- func (r *GroupPollRequest) Interval(value time.Duration) *GroupPollRequest
- func (r *GroupPollRequest) Parameter(name string, value interface{}) *GroupPollRequest
- func (r *GroupPollRequest) Predicate(value func(*GroupGetResponse) bool) *GroupPollRequest
- func (r *GroupPollRequest) StartContext(ctx context.Context) (response *GroupPollResponse, err error)
- func (r *GroupPollRequest) Status(value int) *GroupPollRequest
- type GroupPollResponse
- type GroupServer
- type GroupsClient
- type GroupsListRequest
- func (r *GroupsListRequest) Header(name string, value interface{}) *GroupsListRequest
- func (r *GroupsListRequest) Page(value int) *GroupsListRequest
- func (r *GroupsListRequest) Parameter(name string, value interface{}) *GroupsListRequest
- func (r *GroupsListRequest) Send() (result *GroupsListResponse, err error)
- func (r *GroupsListRequest) SendContext(ctx context.Context) (result *GroupsListResponse, err error)
- func (r *GroupsListRequest) Size(value int) *GroupsListRequest
- type GroupsListResponse
- func (r *GroupsListResponse) Error() *errors.Error
- func (r *GroupsListResponse) GetItems() (value *GroupList, ok bool)
- func (r *GroupsListResponse) GetPage() (value int, ok bool)
- func (r *GroupsListResponse) GetSize() (value int, ok bool)
- func (r *GroupsListResponse) GetTotal() (value int, ok bool)
- func (r *GroupsListResponse) Header() http.Header
- func (r *GroupsListResponse) Items() *GroupList
- func (r *GroupsListResponse) Page() int
- func (r *GroupsListResponse) Size() int
- func (r *GroupsListResponse) Status() int
- func (r *GroupsListResponse) Total() int
- type GroupsListServerRequest
- type GroupsListServerResponse
- func (r *GroupsListServerResponse) Items(value *GroupList) *GroupsListServerResponse
- func (r *GroupsListServerResponse) Page(value int) *GroupsListServerResponse
- func (r *GroupsListServerResponse) Size(value int) *GroupsListServerResponse
- func (r *GroupsListServerResponse) Status(value int) *GroupsListServerResponse
- func (r *GroupsListServerResponse) Total(value int) *GroupsListServerResponse
- type GroupsServer
- type HTPasswdIdentityProvider
- type HTPasswdIdentityProviderBuilder
- func (b *HTPasswdIdentityProviderBuilder) Build() (object *HTPasswdIdentityProvider, err error)
- func (b *HTPasswdIdentityProviderBuilder) Copy(object *HTPasswdIdentityProvider) *HTPasswdIdentityProviderBuilder
- func (b *HTPasswdIdentityProviderBuilder) Password(value string) *HTPasswdIdentityProviderBuilder
- func (b *HTPasswdIdentityProviderBuilder) Username(value string) *HTPasswdIdentityProviderBuilder
- type HTPasswdIdentityProviderList
- func (l *HTPasswdIdentityProviderList) Each(f func(item *HTPasswdIdentityProvider) bool)
- func (l *HTPasswdIdentityProviderList) Empty() bool
- func (l *HTPasswdIdentityProviderList) Get(i int) *HTPasswdIdentityProvider
- func (l *HTPasswdIdentityProviderList) Len() int
- func (l *HTPasswdIdentityProviderList) Range(f func(index int, item *HTPasswdIdentityProvider) bool)
- func (l *HTPasswdIdentityProviderList) Slice() []*HTPasswdIdentityProvider
- type HTPasswdIdentityProviderListBuilder
- func (b *HTPasswdIdentityProviderListBuilder) Build() (list *HTPasswdIdentityProviderList, err error)
- func (b *HTPasswdIdentityProviderListBuilder) Copy(list *HTPasswdIdentityProviderList) *HTPasswdIdentityProviderListBuilder
- func (b *HTPasswdIdentityProviderListBuilder) Items(values ...*HTPasswdIdentityProviderBuilder) *HTPasswdIdentityProviderListBuilder
- type IdentityProvider
- func (o *IdentityProvider) Challenge() bool
- func (o *IdentityProvider) Empty() bool
- func (o *IdentityProvider) GetChallenge() (value bool, ok bool)
- func (o *IdentityProvider) GetGithub() (value *GithubIdentityProvider, ok bool)
- func (o *IdentityProvider) GetGitlab() (value *GitlabIdentityProvider, ok bool)
- func (o *IdentityProvider) GetGoogle() (value *GoogleIdentityProvider, ok bool)
- func (o *IdentityProvider) GetHREF() (value string, ok bool)
- func (o *IdentityProvider) GetHtpasswd() (value *HTPasswdIdentityProvider, ok bool)
- func (o *IdentityProvider) GetID() (value string, ok bool)
- func (o *IdentityProvider) GetLDAP() (value *LDAPIdentityProvider, ok bool)
- func (o *IdentityProvider) GetLogin() (value bool, ok bool)
- func (o *IdentityProvider) GetMappingMethod() (value IdentityProviderMappingMethod, ok bool)
- func (o *IdentityProvider) GetName() (value string, ok bool)
- func (o *IdentityProvider) GetOpenID() (value *OpenIDIdentityProvider, ok bool)
- func (o *IdentityProvider) GetType() (value IdentityProviderType, ok bool)
- func (o *IdentityProvider) Github() *GithubIdentityProvider
- func (o *IdentityProvider) Gitlab() *GitlabIdentityProvider
- func (o *IdentityProvider) Google() *GoogleIdentityProvider
- func (o *IdentityProvider) HREF() string
- func (o *IdentityProvider) Htpasswd() *HTPasswdIdentityProvider
- func (o *IdentityProvider) ID() string
- func (o *IdentityProvider) Kind() string
- func (o *IdentityProvider) LDAP() *LDAPIdentityProvider
- func (o *IdentityProvider) Link() bool
- func (o *IdentityProvider) Login() bool
- func (o *IdentityProvider) MappingMethod() IdentityProviderMappingMethod
- func (o *IdentityProvider) Name() string
- func (o *IdentityProvider) OpenID() *OpenIDIdentityProvider
- func (o *IdentityProvider) Type() IdentityProviderType
- type IdentityProviderBuilder
- func (b *IdentityProviderBuilder) Build() (object *IdentityProvider, err error)
- func (b *IdentityProviderBuilder) Challenge(value bool) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) Copy(object *IdentityProvider) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) Github(value *GithubIdentityProviderBuilder) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) Gitlab(value *GitlabIdentityProviderBuilder) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) Google(value *GoogleIdentityProviderBuilder) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) HREF(value string) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) Htpasswd(value *HTPasswdIdentityProviderBuilder) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) ID(value string) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) LDAP(value *LDAPIdentityProviderBuilder) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) Link(value bool) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) Login(value bool) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) MappingMethod(value IdentityProviderMappingMethod) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) Name(value string) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) OpenID(value *OpenIDIdentityProviderBuilder) *IdentityProviderBuilder
- func (b *IdentityProviderBuilder) Type(value IdentityProviderType) *IdentityProviderBuilder
- type IdentityProviderClient
- type IdentityProviderDeleteRequest
- func (r *IdentityProviderDeleteRequest) Header(name string, value interface{}) *IdentityProviderDeleteRequest
- func (r *IdentityProviderDeleteRequest) Parameter(name string, value interface{}) *IdentityProviderDeleteRequest
- func (r *IdentityProviderDeleteRequest) Send() (result *IdentityProviderDeleteResponse, err error)
- func (r *IdentityProviderDeleteRequest) SendContext(ctx context.Context) (result *IdentityProviderDeleteResponse, err error)
- type IdentityProviderDeleteResponse
- type IdentityProviderDeleteServerRequest
- type IdentityProviderDeleteServerResponse
- type IdentityProviderGetRequest
- func (r *IdentityProviderGetRequest) Header(name string, value interface{}) *IdentityProviderGetRequest
- func (r *IdentityProviderGetRequest) Parameter(name string, value interface{}) *IdentityProviderGetRequest
- func (r *IdentityProviderGetRequest) Send() (result *IdentityProviderGetResponse, err error)
- func (r *IdentityProviderGetRequest) SendContext(ctx context.Context) (result *IdentityProviderGetResponse, err error)
- type IdentityProviderGetResponse
- func (r *IdentityProviderGetResponse) Body() *IdentityProvider
- func (r *IdentityProviderGetResponse) Error() *errors.Error
- func (r *IdentityProviderGetResponse) GetBody() (value *IdentityProvider, ok bool)
- func (r *IdentityProviderGetResponse) Header() http.Header
- func (r *IdentityProviderGetResponse) Status() int
- type IdentityProviderGetServerRequest
- type IdentityProviderGetServerResponse
- type IdentityProviderList
- func (l *IdentityProviderList) Each(f func(item *IdentityProvider) bool)
- func (l *IdentityProviderList) Empty() bool
- func (l *IdentityProviderList) Get(i int) *IdentityProvider
- func (l *IdentityProviderList) GetHREF() (value string, ok bool)
- func (l *IdentityProviderList) HREF() string
- func (l *IdentityProviderList) Kind() string
- func (l *IdentityProviderList) Len() int
- func (l *IdentityProviderList) Link() bool
- func (l *IdentityProviderList) Range(f func(index int, item *IdentityProvider) bool)
- func (l *IdentityProviderList) Slice() []*IdentityProvider
- type IdentityProviderListBuilder
- type IdentityProviderMappingMethod
- type IdentityProviderPollRequest
- func (r *IdentityProviderPollRequest) Header(name string, value interface{}) *IdentityProviderPollRequest
- func (r *IdentityProviderPollRequest) Interval(value time.Duration) *IdentityProviderPollRequest
- func (r *IdentityProviderPollRequest) Parameter(name string, value interface{}) *IdentityProviderPollRequest
- func (r *IdentityProviderPollRequest) Predicate(value func(*IdentityProviderGetResponse) bool) *IdentityProviderPollRequest
- func (r *IdentityProviderPollRequest) StartContext(ctx context.Context) (response *IdentityProviderPollResponse, err error)
- func (r *IdentityProviderPollRequest) Status(value int) *IdentityProviderPollRequest
- type IdentityProviderPollResponse
- func (r *IdentityProviderPollResponse) Body() *IdentityProvider
- func (r *IdentityProviderPollResponse) Error() *errors.Error
- func (r *IdentityProviderPollResponse) GetBody() (value *IdentityProvider, ok bool)
- func (r *IdentityProviderPollResponse) Header() http.Header
- func (r *IdentityProviderPollResponse) Status() int
- type IdentityProviderServer
- type IdentityProviderType
- type IdentityProviderUpdateRequest
- func (r *IdentityProviderUpdateRequest) Body(value *IdentityProvider) *IdentityProviderUpdateRequest
- func (r *IdentityProviderUpdateRequest) Header(name string, value interface{}) *IdentityProviderUpdateRequest
- func (r *IdentityProviderUpdateRequest) Parameter(name string, value interface{}) *IdentityProviderUpdateRequest
- func (r *IdentityProviderUpdateRequest) Send() (result *IdentityProviderUpdateResponse, err error)
- func (r *IdentityProviderUpdateRequest) SendContext(ctx context.Context) (result *IdentityProviderUpdateResponse, err error)
- type IdentityProviderUpdateResponse
- func (r *IdentityProviderUpdateResponse) Body() *IdentityProvider
- func (r *IdentityProviderUpdateResponse) Error() *errors.Error
- func (r *IdentityProviderUpdateResponse) GetBody() (value *IdentityProvider, ok bool)
- func (r *IdentityProviderUpdateResponse) Header() http.Header
- func (r *IdentityProviderUpdateResponse) Status() int
- type IdentityProviderUpdateServerRequest
- type IdentityProviderUpdateServerResponse
- type IdentityProvidersAddRequest
- func (r *IdentityProvidersAddRequest) Body(value *IdentityProvider) *IdentityProvidersAddRequest
- func (r *IdentityProvidersAddRequest) Header(name string, value interface{}) *IdentityProvidersAddRequest
- func (r *IdentityProvidersAddRequest) Parameter(name string, value interface{}) *IdentityProvidersAddRequest
- func (r *IdentityProvidersAddRequest) Send() (result *IdentityProvidersAddResponse, err error)
- func (r *IdentityProvidersAddRequest) SendContext(ctx context.Context) (result *IdentityProvidersAddResponse, err error)
- type IdentityProvidersAddResponse
- func (r *IdentityProvidersAddResponse) Body() *IdentityProvider
- func (r *IdentityProvidersAddResponse) Error() *errors.Error
- func (r *IdentityProvidersAddResponse) GetBody() (value *IdentityProvider, ok bool)
- func (r *IdentityProvidersAddResponse) Header() http.Header
- func (r *IdentityProvidersAddResponse) Status() int
- type IdentityProvidersAddServerRequest
- type IdentityProvidersAddServerResponse
- type IdentityProvidersClient
- type IdentityProvidersListRequest
- func (r *IdentityProvidersListRequest) Header(name string, value interface{}) *IdentityProvidersListRequest
- func (r *IdentityProvidersListRequest) Page(value int) *IdentityProvidersListRequest
- func (r *IdentityProvidersListRequest) Parameter(name string, value interface{}) *IdentityProvidersListRequest
- func (r *IdentityProvidersListRequest) Send() (result *IdentityProvidersListResponse, err error)
- func (r *IdentityProvidersListRequest) SendContext(ctx context.Context) (result *IdentityProvidersListResponse, err error)
- func (r *IdentityProvidersListRequest) Size(value int) *IdentityProvidersListRequest
- type IdentityProvidersListResponse
- func (r *IdentityProvidersListResponse) Error() *errors.Error
- func (r *IdentityProvidersListResponse) GetItems() (value *IdentityProviderList, ok bool)
- func (r *IdentityProvidersListResponse) GetPage() (value int, ok bool)
- func (r *IdentityProvidersListResponse) GetSize() (value int, ok bool)
- func (r *IdentityProvidersListResponse) GetTotal() (value int, ok bool)
- func (r *IdentityProvidersListResponse) Header() http.Header
- func (r *IdentityProvidersListResponse) Items() *IdentityProviderList
- func (r *IdentityProvidersListResponse) Page() int
- func (r *IdentityProvidersListResponse) Size() int
- func (r *IdentityProvidersListResponse) Status() int
- func (r *IdentityProvidersListResponse) Total() int
- type IdentityProvidersListServerRequest
- type IdentityProvidersListServerResponse
- func (r *IdentityProvidersListServerResponse) Items(value *IdentityProviderList) *IdentityProvidersListServerResponse
- func (r *IdentityProvidersListServerResponse) Page(value int) *IdentityProvidersListServerResponse
- func (r *IdentityProvidersListServerResponse) Size(value int) *IdentityProvidersListServerResponse
- func (r *IdentityProvidersListServerResponse) Status(value int) *IdentityProvidersListServerResponse
- func (r *IdentityProvidersListServerResponse) Total(value int) *IdentityProvidersListServerResponse
- type IdentityProvidersServer
- type Ingress
- func (o *Ingress) Cluster() *Cluster
- func (o *Ingress) DNSName() string
- func (o *Ingress) Default() bool
- func (o *Ingress) Empty() bool
- func (o *Ingress) GetCluster() (value *Cluster, ok bool)
- func (o *Ingress) GetDNSName() (value string, ok bool)
- func (o *Ingress) GetDefault() (value bool, ok bool)
- func (o *Ingress) GetHREF() (value string, ok bool)
- func (o *Ingress) GetID() (value string, ok bool)
- func (o *Ingress) GetListening() (value ListeningMethod, ok bool)
- func (o *Ingress) GetRouteSelectors() (value map[string]string, ok bool)
- func (o *Ingress) HREF() string
- func (o *Ingress) ID() string
- func (o *Ingress) Kind() string
- func (o *Ingress) Link() bool
- func (o *Ingress) Listening() ListeningMethod
- func (o *Ingress) RouteSelectors() map[string]string
- type IngressBuilder
- func (b *IngressBuilder) Build() (object *Ingress, err error)
- func (b *IngressBuilder) Cluster(value *ClusterBuilder) *IngressBuilder
- func (b *IngressBuilder) Copy(object *Ingress) *IngressBuilder
- func (b *IngressBuilder) DNSName(value string) *IngressBuilder
- func (b *IngressBuilder) Default(value bool) *IngressBuilder
- func (b *IngressBuilder) HREF(value string) *IngressBuilder
- func (b *IngressBuilder) ID(value string) *IngressBuilder
- func (b *IngressBuilder) Link(value bool) *IngressBuilder
- func (b *IngressBuilder) Listening(value ListeningMethod) *IngressBuilder
- func (b *IngressBuilder) RouteSelectors(value map[string]string) *IngressBuilder
- type IngressClient
- type IngressDeleteRequest
- func (r *IngressDeleteRequest) Header(name string, value interface{}) *IngressDeleteRequest
- func (r *IngressDeleteRequest) Parameter(name string, value interface{}) *IngressDeleteRequest
- func (r *IngressDeleteRequest) Send() (result *IngressDeleteResponse, err error)
- func (r *IngressDeleteRequest) SendContext(ctx context.Context) (result *IngressDeleteResponse, err error)
- type IngressDeleteResponse
- type IngressDeleteServerRequest
- type IngressDeleteServerResponse
- type IngressGetRequest
- func (r *IngressGetRequest) Header(name string, value interface{}) *IngressGetRequest
- func (r *IngressGetRequest) Parameter(name string, value interface{}) *IngressGetRequest
- func (r *IngressGetRequest) Send() (result *IngressGetResponse, err error)
- func (r *IngressGetRequest) SendContext(ctx context.Context) (result *IngressGetResponse, err error)
- type IngressGetResponse
- type IngressGetServerRequest
- type IngressGetServerResponse
- type IngressList
- func (l *IngressList) Each(f func(item *Ingress) bool)
- func (l *IngressList) Empty() bool
- func (l *IngressList) Get(i int) *Ingress
- func (l *IngressList) GetHREF() (value string, ok bool)
- func (l *IngressList) HREF() string
- func (l *IngressList) Kind() string
- func (l *IngressList) Len() int
- func (l *IngressList) Link() bool
- func (l *IngressList) Range(f func(index int, item *Ingress) bool)
- func (l *IngressList) Slice() []*Ingress
- type IngressListBuilder
- type IngressPollRequest
- func (r *IngressPollRequest) Header(name string, value interface{}) *IngressPollRequest
- func (r *IngressPollRequest) Interval(value time.Duration) *IngressPollRequest
- func (r *IngressPollRequest) Parameter(name string, value interface{}) *IngressPollRequest
- func (r *IngressPollRequest) Predicate(value func(*IngressGetResponse) bool) *IngressPollRequest
- func (r *IngressPollRequest) StartContext(ctx context.Context) (response *IngressPollResponse, err error)
- func (r *IngressPollRequest) Status(value int) *IngressPollRequest
- type IngressPollResponse
- type IngressServer
- type IngressUpdateRequest
- func (r *IngressUpdateRequest) Body(value *Ingress) *IngressUpdateRequest
- func (r *IngressUpdateRequest) Header(name string, value interface{}) *IngressUpdateRequest
- func (r *IngressUpdateRequest) Parameter(name string, value interface{}) *IngressUpdateRequest
- func (r *IngressUpdateRequest) Send() (result *IngressUpdateResponse, err error)
- func (r *IngressUpdateRequest) SendContext(ctx context.Context) (result *IngressUpdateResponse, err error)
- type IngressUpdateResponse
- type IngressUpdateServerRequest
- type IngressUpdateServerResponse
- type IngressesAddRequest
- func (r *IngressesAddRequest) Body(value *Ingress) *IngressesAddRequest
- func (r *IngressesAddRequest) Header(name string, value interface{}) *IngressesAddRequest
- func (r *IngressesAddRequest) Parameter(name string, value interface{}) *IngressesAddRequest
- func (r *IngressesAddRequest) Send() (result *IngressesAddResponse, err error)
- func (r *IngressesAddRequest) SendContext(ctx context.Context) (result *IngressesAddResponse, err error)
- type IngressesAddResponse
- type IngressesAddServerRequest
- type IngressesAddServerResponse
- type IngressesClient
- type IngressesListRequest
- func (r *IngressesListRequest) Header(name string, value interface{}) *IngressesListRequest
- func (r *IngressesListRequest) Page(value int) *IngressesListRequest
- func (r *IngressesListRequest) Parameter(name string, value interface{}) *IngressesListRequest
- func (r *IngressesListRequest) Send() (result *IngressesListResponse, err error)
- func (r *IngressesListRequest) SendContext(ctx context.Context) (result *IngressesListResponse, err error)
- func (r *IngressesListRequest) Size(value int) *IngressesListRequest
- type IngressesListResponse
- func (r *IngressesListResponse) Error() *errors.Error
- func (r *IngressesListResponse) GetItems() (value *IngressList, ok bool)
- func (r *IngressesListResponse) GetPage() (value int, ok bool)
- func (r *IngressesListResponse) GetSize() (value int, ok bool)
- func (r *IngressesListResponse) GetTotal() (value int, ok bool)
- func (r *IngressesListResponse) Header() http.Header
- func (r *IngressesListResponse) Items() *IngressList
- func (r *IngressesListResponse) Page() int
- func (r *IngressesListResponse) Size() int
- func (r *IngressesListResponse) Status() int
- func (r *IngressesListResponse) Total() int
- type IngressesListServerRequest
- type IngressesListServerResponse
- func (r *IngressesListServerResponse) Items(value *IngressList) *IngressesListServerResponse
- func (r *IngressesListServerResponse) Page(value int) *IngressesListServerResponse
- func (r *IngressesListServerResponse) Size(value int) *IngressesListServerResponse
- func (r *IngressesListServerResponse) Status(value int) *IngressesListServerResponse
- func (r *IngressesListServerResponse) Total(value int) *IngressesListServerResponse
- type IngressesServer
- type IngressesUpdateRequest
- func (r *IngressesUpdateRequest) Body(value []*Ingress) *IngressesUpdateRequest
- func (r *IngressesUpdateRequest) Header(name string, value interface{}) *IngressesUpdateRequest
- func (r *IngressesUpdateRequest) Parameter(name string, value interface{}) *IngressesUpdateRequest
- func (r *IngressesUpdateRequest) Send() (result *IngressesUpdateResponse, err error)
- func (r *IngressesUpdateRequest) SendContext(ctx context.Context) (result *IngressesUpdateResponse, err error)
- type IngressesUpdateResponse
- type IngressesUpdateServerRequest
- type IngressesUpdateServerResponse
- type LDAPAttributes
- func (o *LDAPAttributes) Email() []string
- func (o *LDAPAttributes) Empty() bool
- func (o *LDAPAttributes) GetEmail() (value []string, ok bool)
- func (o *LDAPAttributes) GetID() (value []string, ok bool)
- func (o *LDAPAttributes) GetName() (value []string, ok bool)
- func (o *LDAPAttributes) GetPreferredUsername() (value []string, ok bool)
- func (o *LDAPAttributes) ID() []string
- func (o *LDAPAttributes) Name() []string
- func (o *LDAPAttributes) PreferredUsername() []string
- type LDAPAttributesBuilder
- func (b *LDAPAttributesBuilder) Build() (object *LDAPAttributes, err error)
- func (b *LDAPAttributesBuilder) Copy(object *LDAPAttributes) *LDAPAttributesBuilder
- func (b *LDAPAttributesBuilder) Email(values ...string) *LDAPAttributesBuilder
- func (b *LDAPAttributesBuilder) ID(values ...string) *LDAPAttributesBuilder
- func (b *LDAPAttributesBuilder) Name(values ...string) *LDAPAttributesBuilder
- func (b *LDAPAttributesBuilder) PreferredUsername(values ...string) *LDAPAttributesBuilder
- type LDAPAttributesList
- func (l *LDAPAttributesList) Each(f func(item *LDAPAttributes) bool)
- func (l *LDAPAttributesList) Empty() bool
- func (l *LDAPAttributesList) Get(i int) *LDAPAttributes
- func (l *LDAPAttributesList) Len() int
- func (l *LDAPAttributesList) Range(f func(index int, item *LDAPAttributes) bool)
- func (l *LDAPAttributesList) Slice() []*LDAPAttributes
- type LDAPAttributesListBuilder
- type LDAPIdentityProvider
- func (o *LDAPIdentityProvider) Attributes() *LDAPAttributes
- func (o *LDAPIdentityProvider) BindDN() string
- func (o *LDAPIdentityProvider) BindPassword() string
- func (o *LDAPIdentityProvider) CA() string
- func (o *LDAPIdentityProvider) Empty() bool
- func (o *LDAPIdentityProvider) GetAttributes() (value *LDAPAttributes, ok bool)
- func (o *LDAPIdentityProvider) GetBindDN() (value string, ok bool)
- func (o *LDAPIdentityProvider) GetBindPassword() (value string, ok bool)
- func (o *LDAPIdentityProvider) GetCA() (value string, ok bool)
- func (o *LDAPIdentityProvider) GetInsecure() (value bool, ok bool)
- func (o *LDAPIdentityProvider) GetURL() (value string, ok bool)
- func (o *LDAPIdentityProvider) Insecure() bool
- func (o *LDAPIdentityProvider) URL() string
- type LDAPIdentityProviderBuilder
- func (b *LDAPIdentityProviderBuilder) Attributes(value *LDAPAttributesBuilder) *LDAPIdentityProviderBuilder
- func (b *LDAPIdentityProviderBuilder) BindDN(value string) *LDAPIdentityProviderBuilder
- func (b *LDAPIdentityProviderBuilder) BindPassword(value string) *LDAPIdentityProviderBuilder
- func (b *LDAPIdentityProviderBuilder) Build() (object *LDAPIdentityProvider, err error)
- func (b *LDAPIdentityProviderBuilder) CA(value string) *LDAPIdentityProviderBuilder
- func (b *LDAPIdentityProviderBuilder) Copy(object *LDAPIdentityProvider) *LDAPIdentityProviderBuilder
- func (b *LDAPIdentityProviderBuilder) Insecure(value bool) *LDAPIdentityProviderBuilder
- func (b *LDAPIdentityProviderBuilder) URL(value string) *LDAPIdentityProviderBuilder
- type LDAPIdentityProviderList
- func (l *LDAPIdentityProviderList) Each(f func(item *LDAPIdentityProvider) bool)
- func (l *LDAPIdentityProviderList) Empty() bool
- func (l *LDAPIdentityProviderList) Get(i int) *LDAPIdentityProvider
- func (l *LDAPIdentityProviderList) Len() int
- func (l *LDAPIdentityProviderList) Range(f func(index int, item *LDAPIdentityProvider) bool)
- func (l *LDAPIdentityProviderList) Slice() []*LDAPIdentityProvider
- type LDAPIdentityProviderListBuilder
- func (b *LDAPIdentityProviderListBuilder) Build() (list *LDAPIdentityProviderList, err error)
- func (b *LDAPIdentityProviderListBuilder) Copy(list *LDAPIdentityProviderList) *LDAPIdentityProviderListBuilder
- func (b *LDAPIdentityProviderListBuilder) Items(values ...*LDAPIdentityProviderBuilder) *LDAPIdentityProviderListBuilder
- type Label
- func (o *Label) Empty() bool
- func (o *Label) GetHREF() (value string, ok bool)
- func (o *Label) GetID() (value string, ok bool)
- func (o *Label) GetKey() (value string, ok bool)
- func (o *Label) GetValue() (value string, ok bool)
- func (o *Label) HREF() string
- func (o *Label) ID() string
- func (o *Label) Key() string
- func (o *Label) Kind() string
- func (o *Label) Link() bool
- func (o *Label) Value() string
- type LabelBuilder
- func (b *LabelBuilder) Build() (object *Label, err error)
- func (b *LabelBuilder) Copy(object *Label) *LabelBuilder
- func (b *LabelBuilder) HREF(value string) *LabelBuilder
- func (b *LabelBuilder) ID(value string) *LabelBuilder
- func (b *LabelBuilder) Key(value string) *LabelBuilder
- func (b *LabelBuilder) Link(value bool) *LabelBuilder
- func (b *LabelBuilder) Value(value string) *LabelBuilder
- type LabelClient
- type LabelDeleteRequest
- func (r *LabelDeleteRequest) Header(name string, value interface{}) *LabelDeleteRequest
- func (r *LabelDeleteRequest) Parameter(name string, value interface{}) *LabelDeleteRequest
- func (r *LabelDeleteRequest) Send() (result *LabelDeleteResponse, err error)
- func (r *LabelDeleteRequest) SendContext(ctx context.Context) (result *LabelDeleteResponse, err error)
- type LabelDeleteResponse
- type LabelDeleteServerRequest
- type LabelDeleteServerResponse
- type LabelGetRequest
- func (r *LabelGetRequest) Header(name string, value interface{}) *LabelGetRequest
- func (r *LabelGetRequest) Parameter(name string, value interface{}) *LabelGetRequest
- func (r *LabelGetRequest) Send() (result *LabelGetResponse, err error)
- func (r *LabelGetRequest) SendContext(ctx context.Context) (result *LabelGetResponse, err error)
- type LabelGetResponse
- type LabelGetServerRequest
- type LabelGetServerResponse
- type LabelList
- func (l *LabelList) Each(f func(item *Label) bool)
- func (l *LabelList) Empty() bool
- func (l *LabelList) Get(i int) *Label
- func (l *LabelList) GetHREF() (value string, ok bool)
- func (l *LabelList) HREF() string
- func (l *LabelList) Kind() string
- func (l *LabelList) Len() int
- func (l *LabelList) Link() bool
- func (l *LabelList) Range(f func(index int, item *Label) bool)
- func (l *LabelList) Slice() []*Label
- type LabelListBuilder
- type LabelPollRequest
- func (r *LabelPollRequest) Header(name string, value interface{}) *LabelPollRequest
- func (r *LabelPollRequest) Interval(value time.Duration) *LabelPollRequest
- func (r *LabelPollRequest) Parameter(name string, value interface{}) *LabelPollRequest
- func (r *LabelPollRequest) Predicate(value func(*LabelGetResponse) bool) *LabelPollRequest
- func (r *LabelPollRequest) StartContext(ctx context.Context) (response *LabelPollResponse, err error)
- func (r *LabelPollRequest) Status(value int) *LabelPollRequest
- type LabelPollResponse
- type LabelServer
- type LabelUpdateRequest
- func (r *LabelUpdateRequest) Body(value *Label) *LabelUpdateRequest
- func (r *LabelUpdateRequest) Header(name string, value interface{}) *LabelUpdateRequest
- func (r *LabelUpdateRequest) Parameter(name string, value interface{}) *LabelUpdateRequest
- func (r *LabelUpdateRequest) Send() (result *LabelUpdateResponse, err error)
- func (r *LabelUpdateRequest) SendContext(ctx context.Context) (result *LabelUpdateResponse, err error)
- type LabelUpdateResponse
- type LabelUpdateServerRequest
- type LabelUpdateServerResponse
- type LabelsAddRequest
- func (r *LabelsAddRequest) Body(value *Label) *LabelsAddRequest
- func (r *LabelsAddRequest) Header(name string, value interface{}) *LabelsAddRequest
- func (r *LabelsAddRequest) Parameter(name string, value interface{}) *LabelsAddRequest
- func (r *LabelsAddRequest) Send() (result *LabelsAddResponse, err error)
- func (r *LabelsAddRequest) SendContext(ctx context.Context) (result *LabelsAddResponse, err error)
- type LabelsAddResponse
- type LabelsAddServerRequest
- type LabelsAddServerResponse
- type LabelsClient
- type LabelsListRequest
- func (r *LabelsListRequest) Header(name string, value interface{}) *LabelsListRequest
- func (r *LabelsListRequest) Page(value int) *LabelsListRequest
- func (r *LabelsListRequest) Parameter(name string, value interface{}) *LabelsListRequest
- func (r *LabelsListRequest) Send() (result *LabelsListResponse, err error)
- func (r *LabelsListRequest) SendContext(ctx context.Context) (result *LabelsListResponse, err error)
- func (r *LabelsListRequest) Size(value int) *LabelsListRequest
- type LabelsListResponse
- func (r *LabelsListResponse) Error() *errors.Error
- func (r *LabelsListResponse) GetItems() (value *LabelList, ok bool)
- func (r *LabelsListResponse) GetPage() (value int, ok bool)
- func (r *LabelsListResponse) GetSize() (value int, ok bool)
- func (r *LabelsListResponse) GetTotal() (value int, ok bool)
- func (r *LabelsListResponse) Header() http.Header
- func (r *LabelsListResponse) Items() *LabelList
- func (r *LabelsListResponse) Page() int
- func (r *LabelsListResponse) Size() int
- func (r *LabelsListResponse) Status() int
- func (r *LabelsListResponse) Total() int
- type LabelsListServerRequest
- type LabelsListServerResponse
- func (r *LabelsListServerResponse) Items(value *LabelList) *LabelsListServerResponse
- func (r *LabelsListServerResponse) Page(value int) *LabelsListServerResponse
- func (r *LabelsListServerResponse) Size(value int) *LabelsListServerResponse
- func (r *LabelsListServerResponse) Status(value int) *LabelsListServerResponse
- func (r *LabelsListServerResponse) Total(value int) *LabelsListServerResponse
- type LabelsServer
- type ListeningMethod
- type Log
- func (o *Log) Content() string
- func (o *Log) Empty() bool
- func (o *Log) GetContent() (value string, ok bool)
- func (o *Log) GetHREF() (value string, ok bool)
- func (o *Log) GetID() (value string, ok bool)
- func (o *Log) HREF() string
- func (o *Log) ID() string
- func (o *Log) Kind() string
- func (o *Log) Link() bool
- type LogBuilder
- func (b *LogBuilder) Build() (object *Log, err error)
- func (b *LogBuilder) Content(value string) *LogBuilder
- func (b *LogBuilder) Copy(object *Log) *LogBuilder
- func (b *LogBuilder) HREF(value string) *LogBuilder
- func (b *LogBuilder) ID(value string) *LogBuilder
- func (b *LogBuilder) Link(value bool) *LogBuilder
- type LogClient
- type LogGetRequest
- func (r *LogGetRequest) Header(name string, value interface{}) *LogGetRequest
- func (r *LogGetRequest) Offset(value int) *LogGetRequest
- func (r *LogGetRequest) Parameter(name string, value interface{}) *LogGetRequest
- func (r *LogGetRequest) Send() (result *LogGetResponse, err error)
- func (r *LogGetRequest) SendContext(ctx context.Context) (result *LogGetResponse, err error)
- func (r *LogGetRequest) Tail(value int) *LogGetRequest
- type LogGetResponse
- type LogGetServerRequest
- type LogGetServerResponse
- type LogList
- func (l *LogList) Each(f func(item *Log) bool)
- func (l *LogList) Empty() bool
- func (l *LogList) Get(i int) *Log
- func (l *LogList) GetHREF() (value string, ok bool)
- func (l *LogList) HREF() string
- func (l *LogList) Kind() string
- func (l *LogList) Len() int
- func (l *LogList) Link() bool
- func (l *LogList) Range(f func(index int, item *Log) bool)
- func (l *LogList) Slice() []*Log
- type LogListBuilder
- type LogPollRequest
- func (r *LogPollRequest) Header(name string, value interface{}) *LogPollRequest
- func (r *LogPollRequest) Interval(value time.Duration) *LogPollRequest
- func (r *LogPollRequest) Offset(value int) *LogPollRequest
- func (r *LogPollRequest) Parameter(name string, value interface{}) *LogPollRequest
- func (r *LogPollRequest) Predicate(value func(*LogGetResponse) bool) *LogPollRequest
- func (r *LogPollRequest) StartContext(ctx context.Context) (response *LogPollResponse, err error)
- func (r *LogPollRequest) Status(value int) *LogPollRequest
- func (r *LogPollRequest) Tail(value int) *LogPollRequest
- type LogPollResponse
- type LogServer
- type LogsClient
- type LogsListRequest
- func (r *LogsListRequest) Header(name string, value interface{}) *LogsListRequest
- func (r *LogsListRequest) Page(value int) *LogsListRequest
- func (r *LogsListRequest) Parameter(name string, value interface{}) *LogsListRequest
- func (r *LogsListRequest) Send() (result *LogsListResponse, err error)
- func (r *LogsListRequest) SendContext(ctx context.Context) (result *LogsListResponse, err error)
- func (r *LogsListRequest) Size(value int) *LogsListRequest
- type LogsListResponse
- func (r *LogsListResponse) Error() *errors.Error
- func (r *LogsListResponse) GetItems() (value *LogList, ok bool)
- func (r *LogsListResponse) GetPage() (value int, ok bool)
- func (r *LogsListResponse) GetSize() (value int, ok bool)
- func (r *LogsListResponse) GetTotal() (value int, ok bool)
- func (r *LogsListResponse) Header() http.Header
- func (r *LogsListResponse) Items() *LogList
- func (r *LogsListResponse) Page() int
- func (r *LogsListResponse) Size() int
- func (r *LogsListResponse) Status() int
- func (r *LogsListResponse) Total() int
- type LogsListServerRequest
- type LogsListServerResponse
- func (r *LogsListServerResponse) Items(value *LogList) *LogsListServerResponse
- func (r *LogsListServerResponse) Page(value int) *LogsListServerResponse
- func (r *LogsListServerResponse) Size(value int) *LogsListServerResponse
- func (r *LogsListServerResponse) Status(value int) *LogsListServerResponse
- func (r *LogsListServerResponse) Total(value int) *LogsListServerResponse
- type LogsServer
- type MachinePool
- func (o *MachinePool) Autoscaling() *MachinePoolAutoscaling
- func (o *MachinePool) AvailabilityZones() []string
- func (o *MachinePool) Cluster() *Cluster
- func (o *MachinePool) Empty() bool
- func (o *MachinePool) GetAutoscaling() (value *MachinePoolAutoscaling, ok bool)
- func (o *MachinePool) GetAvailabilityZones() (value []string, ok bool)
- func (o *MachinePool) GetCluster() (value *Cluster, ok bool)
- func (o *MachinePool) GetHREF() (value string, ok bool)
- func (o *MachinePool) GetID() (value string, ok bool)
- func (o *MachinePool) GetInstanceType() (value string, ok bool)
- func (o *MachinePool) GetLabels() (value map[string]string, ok bool)
- func (o *MachinePool) GetReplicas() (value int, ok bool)
- func (o *MachinePool) GetTaints() (value []*Taint, ok bool)
- func (o *MachinePool) HREF() string
- func (o *MachinePool) ID() string
- func (o *MachinePool) InstanceType() string
- func (o *MachinePool) Kind() string
- func (o *MachinePool) Labels() map[string]string
- func (o *MachinePool) Link() bool
- func (o *MachinePool) Replicas() int
- func (o *MachinePool) Taints() []*Taint
- type MachinePoolAutoscaling
- func (o *MachinePoolAutoscaling) Empty() bool
- func (o *MachinePoolAutoscaling) GetHREF() (value string, ok bool)
- func (o *MachinePoolAutoscaling) GetID() (value string, ok bool)
- func (o *MachinePoolAutoscaling) GetMaxReplicas() (value int, ok bool)
- func (o *MachinePoolAutoscaling) GetMinReplicas() (value int, ok bool)
- func (o *MachinePoolAutoscaling) HREF() string
- func (o *MachinePoolAutoscaling) ID() string
- func (o *MachinePoolAutoscaling) Kind() string
- func (o *MachinePoolAutoscaling) Link() bool
- func (o *MachinePoolAutoscaling) MaxReplicas() int
- func (o *MachinePoolAutoscaling) MinReplicas() int
- type MachinePoolAutoscalingBuilder
- func (b *MachinePoolAutoscalingBuilder) Build() (object *MachinePoolAutoscaling, err error)
- func (b *MachinePoolAutoscalingBuilder) Copy(object *MachinePoolAutoscaling) *MachinePoolAutoscalingBuilder
- func (b *MachinePoolAutoscalingBuilder) HREF(value string) *MachinePoolAutoscalingBuilder
- func (b *MachinePoolAutoscalingBuilder) ID(value string) *MachinePoolAutoscalingBuilder
- func (b *MachinePoolAutoscalingBuilder) Link(value bool) *MachinePoolAutoscalingBuilder
- func (b *MachinePoolAutoscalingBuilder) MaxReplicas(value int) *MachinePoolAutoscalingBuilder
- func (b *MachinePoolAutoscalingBuilder) MinReplicas(value int) *MachinePoolAutoscalingBuilder
- type MachinePoolAutoscalingList
- func (l *MachinePoolAutoscalingList) Each(f func(item *MachinePoolAutoscaling) bool)
- func (l *MachinePoolAutoscalingList) Empty() bool
- func (l *MachinePoolAutoscalingList) Get(i int) *MachinePoolAutoscaling
- func (l *MachinePoolAutoscalingList) GetHREF() (value string, ok bool)
- func (l *MachinePoolAutoscalingList) HREF() string
- func (l *MachinePoolAutoscalingList) Kind() string
- func (l *MachinePoolAutoscalingList) Len() int
- func (l *MachinePoolAutoscalingList) Link() bool
- func (l *MachinePoolAutoscalingList) Range(f func(index int, item *MachinePoolAutoscaling) bool)
- func (l *MachinePoolAutoscalingList) Slice() []*MachinePoolAutoscaling
- type MachinePoolAutoscalingListBuilder
- func (b *MachinePoolAutoscalingListBuilder) Build() (list *MachinePoolAutoscalingList, err error)
- func (b *MachinePoolAutoscalingListBuilder) Copy(list *MachinePoolAutoscalingList) *MachinePoolAutoscalingListBuilder
- func (b *MachinePoolAutoscalingListBuilder) Items(values ...*MachinePoolAutoscalingBuilder) *MachinePoolAutoscalingListBuilder
- type MachinePoolBuilder
- func (b *MachinePoolBuilder) Autoscaling(value *MachinePoolAutoscalingBuilder) *MachinePoolBuilder
- func (b *MachinePoolBuilder) AvailabilityZones(values ...string) *MachinePoolBuilder
- func (b *MachinePoolBuilder) Build() (object *MachinePool, err error)
- func (b *MachinePoolBuilder) Cluster(value *ClusterBuilder) *MachinePoolBuilder
- func (b *MachinePoolBuilder) Copy(object *MachinePool) *MachinePoolBuilder
- func (b *MachinePoolBuilder) HREF(value string) *MachinePoolBuilder
- func (b *MachinePoolBuilder) ID(value string) *MachinePoolBuilder
- func (b *MachinePoolBuilder) InstanceType(value string) *MachinePoolBuilder
- func (b *MachinePoolBuilder) Labels(value map[string]string) *MachinePoolBuilder
- func (b *MachinePoolBuilder) Link(value bool) *MachinePoolBuilder
- func (b *MachinePoolBuilder) Replicas(value int) *MachinePoolBuilder
- func (b *MachinePoolBuilder) Taints(values ...*TaintBuilder) *MachinePoolBuilder
- type MachinePoolClient
- type MachinePoolDeleteRequest
- func (r *MachinePoolDeleteRequest) Header(name string, value interface{}) *MachinePoolDeleteRequest
- func (r *MachinePoolDeleteRequest) Parameter(name string, value interface{}) *MachinePoolDeleteRequest
- func (r *MachinePoolDeleteRequest) Send() (result *MachinePoolDeleteResponse, err error)
- func (r *MachinePoolDeleteRequest) SendContext(ctx context.Context) (result *MachinePoolDeleteResponse, err error)
- type MachinePoolDeleteResponse
- type MachinePoolDeleteServerRequest
- type MachinePoolDeleteServerResponse
- type MachinePoolGetRequest
- func (r *MachinePoolGetRequest) Header(name string, value interface{}) *MachinePoolGetRequest
- func (r *MachinePoolGetRequest) Parameter(name string, value interface{}) *MachinePoolGetRequest
- func (r *MachinePoolGetRequest) Send() (result *MachinePoolGetResponse, err error)
- func (r *MachinePoolGetRequest) SendContext(ctx context.Context) (result *MachinePoolGetResponse, err error)
- type MachinePoolGetResponse
- type MachinePoolGetServerRequest
- type MachinePoolGetServerResponse
- type MachinePoolList
- func (l *MachinePoolList) Each(f func(item *MachinePool) bool)
- func (l *MachinePoolList) Empty() bool
- func (l *MachinePoolList) Get(i int) *MachinePool
- func (l *MachinePoolList) GetHREF() (value string, ok bool)
- func (l *MachinePoolList) HREF() string
- func (l *MachinePoolList) Kind() string
- func (l *MachinePoolList) Len() int
- func (l *MachinePoolList) Link() bool
- func (l *MachinePoolList) Range(f func(index int, item *MachinePool) bool)
- func (l *MachinePoolList) Slice() []*MachinePool
- type MachinePoolListBuilder
- type MachinePoolPollRequest
- func (r *MachinePoolPollRequest) Header(name string, value interface{}) *MachinePoolPollRequest
- func (r *MachinePoolPollRequest) Interval(value time.Duration) *MachinePoolPollRequest
- func (r *MachinePoolPollRequest) Parameter(name string, value interface{}) *MachinePoolPollRequest
- func (r *MachinePoolPollRequest) Predicate(value func(*MachinePoolGetResponse) bool) *MachinePoolPollRequest
- func (r *MachinePoolPollRequest) StartContext(ctx context.Context) (response *MachinePoolPollResponse, err error)
- func (r *MachinePoolPollRequest) Status(value int) *MachinePoolPollRequest
- type MachinePoolPollResponse
- type MachinePoolServer
- type MachinePoolUpdateRequest
- func (r *MachinePoolUpdateRequest) Body(value *MachinePool) *MachinePoolUpdateRequest
- func (r *MachinePoolUpdateRequest) Header(name string, value interface{}) *MachinePoolUpdateRequest
- func (r *MachinePoolUpdateRequest) Parameter(name string, value interface{}) *MachinePoolUpdateRequest
- func (r *MachinePoolUpdateRequest) Send() (result *MachinePoolUpdateResponse, err error)
- func (r *MachinePoolUpdateRequest) SendContext(ctx context.Context) (result *MachinePoolUpdateResponse, err error)
- type MachinePoolUpdateResponse
- type MachinePoolUpdateServerRequest
- type MachinePoolUpdateServerResponse
- type MachinePoolsAddRequest
- func (r *MachinePoolsAddRequest) Body(value *MachinePool) *MachinePoolsAddRequest
- func (r *MachinePoolsAddRequest) Header(name string, value interface{}) *MachinePoolsAddRequest
- func (r *MachinePoolsAddRequest) Parameter(name string, value interface{}) *MachinePoolsAddRequest
- func (r *MachinePoolsAddRequest) Send() (result *MachinePoolsAddResponse, err error)
- func (r *MachinePoolsAddRequest) SendContext(ctx context.Context) (result *MachinePoolsAddResponse, err error)
- type MachinePoolsAddResponse
- type MachinePoolsAddServerRequest
- type MachinePoolsAddServerResponse
- type MachinePoolsClient
- type MachinePoolsListRequest
- func (r *MachinePoolsListRequest) Header(name string, value interface{}) *MachinePoolsListRequest
- func (r *MachinePoolsListRequest) Page(value int) *MachinePoolsListRequest
- func (r *MachinePoolsListRequest) Parameter(name string, value interface{}) *MachinePoolsListRequest
- func (r *MachinePoolsListRequest) Send() (result *MachinePoolsListResponse, err error)
- func (r *MachinePoolsListRequest) SendContext(ctx context.Context) (result *MachinePoolsListResponse, err error)
- func (r *MachinePoolsListRequest) Size(value int) *MachinePoolsListRequest
- type MachinePoolsListResponse
- func (r *MachinePoolsListResponse) Error() *errors.Error
- func (r *MachinePoolsListResponse) GetItems() (value *MachinePoolList, ok bool)
- func (r *MachinePoolsListResponse) GetPage() (value int, ok bool)
- func (r *MachinePoolsListResponse) GetSize() (value int, ok bool)
- func (r *MachinePoolsListResponse) GetTotal() (value int, ok bool)
- func (r *MachinePoolsListResponse) Header() http.Header
- func (r *MachinePoolsListResponse) Items() *MachinePoolList
- func (r *MachinePoolsListResponse) Page() int
- func (r *MachinePoolsListResponse) Size() int
- func (r *MachinePoolsListResponse) Status() int
- func (r *MachinePoolsListResponse) Total() int
- type MachinePoolsListServerRequest
- type MachinePoolsListServerResponse
- func (r *MachinePoolsListServerResponse) Items(value *MachinePoolList) *MachinePoolsListServerResponse
- func (r *MachinePoolsListServerResponse) Page(value int) *MachinePoolsListServerResponse
- func (r *MachinePoolsListServerResponse) Size(value int) *MachinePoolsListServerResponse
- func (r *MachinePoolsListServerResponse) Status(value int) *MachinePoolsListServerResponse
- func (r *MachinePoolsListServerResponse) Total(value int) *MachinePoolsListServerResponse
- type MachinePoolsServer
- type MachineType
- func (o *MachineType) CPU() *Value
- func (o *MachineType) Category() MachineTypeCategory
- func (o *MachineType) CloudProvider() *CloudProvider
- func (o *MachineType) Empty() bool
- func (o *MachineType) GetCPU() (value *Value, ok bool)
- func (o *MachineType) GetCategory() (value MachineTypeCategory, ok bool)
- func (o *MachineType) GetCloudProvider() (value *CloudProvider, ok bool)
- func (o *MachineType) GetHREF() (value string, ok bool)
- func (o *MachineType) GetID() (value string, ok bool)
- func (o *MachineType) GetMemory() (value *Value, ok bool)
- func (o *MachineType) GetName() (value string, ok bool)
- func (o *MachineType) GetSize() (value MachineTypeSize, ok bool)
- func (o *MachineType) HREF() string
- func (o *MachineType) ID() string
- func (o *MachineType) Kind() string
- func (o *MachineType) Link() bool
- func (o *MachineType) Memory() *Value
- func (o *MachineType) Name() string
- func (o *MachineType) Size() MachineTypeSize
- type MachineTypeBuilder
- func (b *MachineTypeBuilder) Build() (object *MachineType, err error)
- func (b *MachineTypeBuilder) CPU(value *ValueBuilder) *MachineTypeBuilder
- func (b *MachineTypeBuilder) Category(value MachineTypeCategory) *MachineTypeBuilder
- func (b *MachineTypeBuilder) CloudProvider(value *CloudProviderBuilder) *MachineTypeBuilder
- func (b *MachineTypeBuilder) Copy(object *MachineType) *MachineTypeBuilder
- func (b *MachineTypeBuilder) HREF(value string) *MachineTypeBuilder
- func (b *MachineTypeBuilder) ID(value string) *MachineTypeBuilder
- func (b *MachineTypeBuilder) Link(value bool) *MachineTypeBuilder
- func (b *MachineTypeBuilder) Memory(value *ValueBuilder) *MachineTypeBuilder
- func (b *MachineTypeBuilder) Name(value string) *MachineTypeBuilder
- func (b *MachineTypeBuilder) Size(value MachineTypeSize) *MachineTypeBuilder
- type MachineTypeCategory
- type MachineTypeClient
- type MachineTypeGetRequest
- func (r *MachineTypeGetRequest) Header(name string, value interface{}) *MachineTypeGetRequest
- func (r *MachineTypeGetRequest) Parameter(name string, value interface{}) *MachineTypeGetRequest
- func (r *MachineTypeGetRequest) Send() (result *MachineTypeGetResponse, err error)
- func (r *MachineTypeGetRequest) SendContext(ctx context.Context) (result *MachineTypeGetResponse, err error)
- type MachineTypeGetResponse
- type MachineTypeGetServerRequest
- type MachineTypeGetServerResponse
- type MachineTypeList
- func (l *MachineTypeList) Each(f func(item *MachineType) bool)
- func (l *MachineTypeList) Empty() bool
- func (l *MachineTypeList) Get(i int) *MachineType
- func (l *MachineTypeList) GetHREF() (value string, ok bool)
- func (l *MachineTypeList) HREF() string
- func (l *MachineTypeList) Kind() string
- func (l *MachineTypeList) Len() int
- func (l *MachineTypeList) Link() bool
- func (l *MachineTypeList) Range(f func(index int, item *MachineType) bool)
- func (l *MachineTypeList) Slice() []*MachineType
- type MachineTypeListBuilder
- type MachineTypePollRequest
- func (r *MachineTypePollRequest) Header(name string, value interface{}) *MachineTypePollRequest
- func (r *MachineTypePollRequest) Interval(value time.Duration) *MachineTypePollRequest
- func (r *MachineTypePollRequest) Parameter(name string, value interface{}) *MachineTypePollRequest
- func (r *MachineTypePollRequest) Predicate(value func(*MachineTypeGetResponse) bool) *MachineTypePollRequest
- func (r *MachineTypePollRequest) StartContext(ctx context.Context) (response *MachineTypePollResponse, err error)
- func (r *MachineTypePollRequest) Status(value int) *MachineTypePollRequest
- type MachineTypePollResponse
- type MachineTypeServer
- type MachineTypeSize
- type MachineTypesClient
- type MachineTypesListRequest
- func (r *MachineTypesListRequest) Header(name string, value interface{}) *MachineTypesListRequest
- func (r *MachineTypesListRequest) Order(value string) *MachineTypesListRequest
- func (r *MachineTypesListRequest) Page(value int) *MachineTypesListRequest
- func (r *MachineTypesListRequest) Parameter(name string, value interface{}) *MachineTypesListRequest
- func (r *MachineTypesListRequest) Search(value string) *MachineTypesListRequest
- func (r *MachineTypesListRequest) Send() (result *MachineTypesListResponse, err error)
- func (r *MachineTypesListRequest) SendContext(ctx context.Context) (result *MachineTypesListResponse, err error)
- func (r *MachineTypesListRequest) Size(value int) *MachineTypesListRequest
- type MachineTypesListResponse
- func (r *MachineTypesListResponse) Error() *errors.Error
- func (r *MachineTypesListResponse) GetItems() (value *MachineTypeList, ok bool)
- func (r *MachineTypesListResponse) GetPage() (value int, ok bool)
- func (r *MachineTypesListResponse) GetSize() (value int, ok bool)
- func (r *MachineTypesListResponse) GetTotal() (value int, ok bool)
- func (r *MachineTypesListResponse) Header() http.Header
- func (r *MachineTypesListResponse) Items() *MachineTypeList
- func (r *MachineTypesListResponse) Page() int
- func (r *MachineTypesListResponse) Size() int
- func (r *MachineTypesListResponse) Status() int
- func (r *MachineTypesListResponse) Total() int
- type MachineTypesListServerRequest
- func (r *MachineTypesListServerRequest) GetOrder() (value string, ok bool)
- func (r *MachineTypesListServerRequest) GetPage() (value int, ok bool)
- func (r *MachineTypesListServerRequest) GetSearch() (value string, ok bool)
- func (r *MachineTypesListServerRequest) GetSize() (value int, ok bool)
- func (r *MachineTypesListServerRequest) Order() string
- func (r *MachineTypesListServerRequest) Page() int
- func (r *MachineTypesListServerRequest) Search() string
- func (r *MachineTypesListServerRequest) Size() int
- type MachineTypesListServerResponse
- func (r *MachineTypesListServerResponse) Items(value *MachineTypeList) *MachineTypesListServerResponse
- func (r *MachineTypesListServerResponse) Page(value int) *MachineTypesListServerResponse
- func (r *MachineTypesListServerResponse) Size(value int) *MachineTypesListServerResponse
- func (r *MachineTypesListServerResponse) Status(value int) *MachineTypesListServerResponse
- func (r *MachineTypesListServerResponse) Total(value int) *MachineTypesListServerResponse
- type MachineTypesServer
- type Metadata
- type MetadataRequest
- func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest
- func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest
- func (r *MetadataRequest) Send() (result *MetadataResponse, err error)
- func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)
- type MetadataResponse
- type Metric
- type MetricBuilder
- type MetricList
- type MetricListBuilder
- type MetricQueriesClient
- func (c *MetricQueriesClient) Alerts() *AlertsMetricQueryClient
- func (c *MetricQueriesClient) CPUTotalByNodeRolesOS() *CPUTotalByNodeRolesOSMetricQueryClient
- func (c *MetricQueriesClient) ClusterOperators() *ClusterOperatorsMetricQueryClient
- func (c *MetricQueriesClient) Nodes() *NodesMetricQueryClient
- func (c *MetricQueriesClient) SocketTotalByNodeRolesOS() *SocketTotalByNodeRolesOSMetricQueryClient
- type MetricQueriesServer
- type Network
- func (o *Network) Empty() bool
- func (o *Network) GetHostPrefix() (value int, ok bool)
- func (o *Network) GetMachineCIDR() (value string, ok bool)
- func (o *Network) GetPodCIDR() (value string, ok bool)
- func (o *Network) GetServiceCIDR() (value string, ok bool)
- func (o *Network) HostPrefix() int
- func (o *Network) MachineCIDR() string
- func (o *Network) PodCIDR() string
- func (o *Network) ServiceCIDR() string
- type NetworkBuilder
- func (b *NetworkBuilder) Build() (object *Network, err error)
- func (b *NetworkBuilder) Copy(object *Network) *NetworkBuilder
- func (b *NetworkBuilder) HostPrefix(value int) *NetworkBuilder
- func (b *NetworkBuilder) MachineCIDR(value string) *NetworkBuilder
- func (b *NetworkBuilder) PodCIDR(value string) *NetworkBuilder
- func (b *NetworkBuilder) ServiceCIDR(value string) *NetworkBuilder
- type NetworkList
- type NetworkListBuilder
- type NodeInfo
- type NodeInfoBuilder
- type NodeInfoList
- type NodeInfoListBuilder
- type NodeType
- type NodesInfo
- type NodesInfoBuilder
- type NodesInfoList
- type NodesInfoListBuilder
- type NodesMetricQueryClient
- type NodesMetricQueryGetRequest
- func (r *NodesMetricQueryGetRequest) Header(name string, value interface{}) *NodesMetricQueryGetRequest
- func (r *NodesMetricQueryGetRequest) Parameter(name string, value interface{}) *NodesMetricQueryGetRequest
- func (r *NodesMetricQueryGetRequest) Send() (result *NodesMetricQueryGetResponse, err error)
- func (r *NodesMetricQueryGetRequest) SendContext(ctx context.Context) (result *NodesMetricQueryGetResponse, err error)
- type NodesMetricQueryGetResponse
- func (r *NodesMetricQueryGetResponse) Body() *NodesInfo
- func (r *NodesMetricQueryGetResponse) Error() *errors.Error
- func (r *NodesMetricQueryGetResponse) GetBody() (value *NodesInfo, ok bool)
- func (r *NodesMetricQueryGetResponse) Header() http.Header
- func (r *NodesMetricQueryGetResponse) Status() int
- type NodesMetricQueryGetServerRequest
- type NodesMetricQueryGetServerResponse
- type NodesMetricQueryPollRequest
- func (r *NodesMetricQueryPollRequest) Header(name string, value interface{}) *NodesMetricQueryPollRequest
- func (r *NodesMetricQueryPollRequest) Interval(value time.Duration) *NodesMetricQueryPollRequest
- func (r *NodesMetricQueryPollRequest) Parameter(name string, value interface{}) *NodesMetricQueryPollRequest
- func (r *NodesMetricQueryPollRequest) Predicate(value func(*NodesMetricQueryGetResponse) bool) *NodesMetricQueryPollRequest
- func (r *NodesMetricQueryPollRequest) StartContext(ctx context.Context) (response *NodesMetricQueryPollResponse, err error)
- func (r *NodesMetricQueryPollRequest) Status(value int) *NodesMetricQueryPollRequest
- type NodesMetricQueryPollResponse
- func (r *NodesMetricQueryPollResponse) Body() *NodesInfo
- func (r *NodesMetricQueryPollResponse) Error() *errors.Error
- func (r *NodesMetricQueryPollResponse) GetBody() (value *NodesInfo, ok bool)
- func (r *NodesMetricQueryPollResponse) Header() http.Header
- func (r *NodesMetricQueryPollResponse) Status() int
- type NodesMetricQueryServer
- type OpenIDClaims
- func (o *OpenIDClaims) Email() []string
- func (o *OpenIDClaims) Empty() bool
- func (o *OpenIDClaims) GetEmail() (value []string, ok bool)
- func (o *OpenIDClaims) GetName() (value []string, ok bool)
- func (o *OpenIDClaims) GetPreferredUsername() (value []string, ok bool)
- func (o *OpenIDClaims) Name() []string
- func (o *OpenIDClaims) PreferredUsername() []string
- type OpenIDClaimsBuilder
- func (b *OpenIDClaimsBuilder) Build() (object *OpenIDClaims, err error)
- func (b *OpenIDClaimsBuilder) Copy(object *OpenIDClaims) *OpenIDClaimsBuilder
- func (b *OpenIDClaimsBuilder) Email(values ...string) *OpenIDClaimsBuilder
- func (b *OpenIDClaimsBuilder) Name(values ...string) *OpenIDClaimsBuilder
- func (b *OpenIDClaimsBuilder) PreferredUsername(values ...string) *OpenIDClaimsBuilder
- type OpenIDClaimsList
- func (l *OpenIDClaimsList) Each(f func(item *OpenIDClaims) bool)
- func (l *OpenIDClaimsList) Empty() bool
- func (l *OpenIDClaimsList) Get(i int) *OpenIDClaims
- func (l *OpenIDClaimsList) Len() int
- func (l *OpenIDClaimsList) Range(f func(index int, item *OpenIDClaims) bool)
- func (l *OpenIDClaimsList) Slice() []*OpenIDClaims
- type OpenIDClaimsListBuilder
- type OpenIDIdentityProvider
- func (o *OpenIDIdentityProvider) CA() string
- func (o *OpenIDIdentityProvider) Claims() *OpenIDClaims
- func (o *OpenIDIdentityProvider) ClientID() string
- func (o *OpenIDIdentityProvider) ClientSecret() string
- func (o *OpenIDIdentityProvider) Empty() bool
- func (o *OpenIDIdentityProvider) ExtraAuthorizeParameters() map[string]string
- func (o *OpenIDIdentityProvider) ExtraScopes() []string
- func (o *OpenIDIdentityProvider) GetCA() (value string, ok bool)
- func (o *OpenIDIdentityProvider) GetClaims() (value *OpenIDClaims, ok bool)
- func (o *OpenIDIdentityProvider) GetClientID() (value string, ok bool)
- func (o *OpenIDIdentityProvider) GetClientSecret() (value string, ok bool)
- func (o *OpenIDIdentityProvider) GetExtraAuthorizeParameters() (value map[string]string, ok bool)
- func (o *OpenIDIdentityProvider) GetExtraScopes() (value []string, ok bool)
- func (o *OpenIDIdentityProvider) GetIssuer() (value string, ok bool)
- func (o *OpenIDIdentityProvider) Issuer() string
- type OpenIDIdentityProviderBuilder
- func (b *OpenIDIdentityProviderBuilder) Build() (object *OpenIDIdentityProvider, err error)
- func (b *OpenIDIdentityProviderBuilder) CA(value string) *OpenIDIdentityProviderBuilder
- func (b *OpenIDIdentityProviderBuilder) Claims(value *OpenIDClaimsBuilder) *OpenIDIdentityProviderBuilder
- func (b *OpenIDIdentityProviderBuilder) ClientID(value string) *OpenIDIdentityProviderBuilder
- func (b *OpenIDIdentityProviderBuilder) ClientSecret(value string) *OpenIDIdentityProviderBuilder
- func (b *OpenIDIdentityProviderBuilder) Copy(object *OpenIDIdentityProvider) *OpenIDIdentityProviderBuilder
- func (b *OpenIDIdentityProviderBuilder) ExtraAuthorizeParameters(value map[string]string) *OpenIDIdentityProviderBuilder
- func (b *OpenIDIdentityProviderBuilder) ExtraScopes(values ...string) *OpenIDIdentityProviderBuilder
- func (b *OpenIDIdentityProviderBuilder) Issuer(value string) *OpenIDIdentityProviderBuilder
- type OpenIDIdentityProviderList
- func (l *OpenIDIdentityProviderList) Each(f func(item *OpenIDIdentityProvider) bool)
- func (l *OpenIDIdentityProviderList) Empty() bool
- func (l *OpenIDIdentityProviderList) Get(i int) *OpenIDIdentityProvider
- func (l *OpenIDIdentityProviderList) Len() int
- func (l *OpenIDIdentityProviderList) Range(f func(index int, item *OpenIDIdentityProvider) bool)
- func (l *OpenIDIdentityProviderList) Slice() []*OpenIDIdentityProvider
- type OpenIDIdentityProviderListBuilder
- func (b *OpenIDIdentityProviderListBuilder) Build() (list *OpenIDIdentityProviderList, err error)
- func (b *OpenIDIdentityProviderListBuilder) Copy(list *OpenIDIdentityProviderList) *OpenIDIdentityProviderListBuilder
- func (b *OpenIDIdentityProviderListBuilder) Items(values ...*OpenIDIdentityProviderBuilder) *OpenIDIdentityProviderListBuilder
- type Product
- func (o *Product) Empty() bool
- func (o *Product) GetHREF() (value string, ok bool)
- func (o *Product) GetID() (value string, ok bool)
- func (o *Product) GetName() (value string, ok bool)
- func (o *Product) HREF() string
- func (o *Product) ID() string
- func (o *Product) Kind() string
- func (o *Product) Link() bool
- func (o *Product) Name() string
- type ProductBuilder
- func (b *ProductBuilder) Build() (object *Product, err error)
- func (b *ProductBuilder) Copy(object *Product) *ProductBuilder
- func (b *ProductBuilder) HREF(value string) *ProductBuilder
- func (b *ProductBuilder) ID(value string) *ProductBuilder
- func (b *ProductBuilder) Link(value bool) *ProductBuilder
- func (b *ProductBuilder) Name(value string) *ProductBuilder
- type ProductClient
- type ProductGetRequest
- func (r *ProductGetRequest) Header(name string, value interface{}) *ProductGetRequest
- func (r *ProductGetRequest) Parameter(name string, value interface{}) *ProductGetRequest
- func (r *ProductGetRequest) Send() (result *ProductGetResponse, err error)
- func (r *ProductGetRequest) SendContext(ctx context.Context) (result *ProductGetResponse, err error)
- type ProductGetResponse
- type ProductGetServerRequest
- type ProductGetServerResponse
- type ProductList
- func (l *ProductList) Each(f func(item *Product) bool)
- func (l *ProductList) Empty() bool
- func (l *ProductList) Get(i int) *Product
- func (l *ProductList) GetHREF() (value string, ok bool)
- func (l *ProductList) HREF() string
- func (l *ProductList) Kind() string
- func (l *ProductList) Len() int
- func (l *ProductList) Link() bool
- func (l *ProductList) Range(f func(index int, item *Product) bool)
- func (l *ProductList) Slice() []*Product
- type ProductListBuilder
- type ProductPollRequest
- func (r *ProductPollRequest) Header(name string, value interface{}) *ProductPollRequest
- func (r *ProductPollRequest) Interval(value time.Duration) *ProductPollRequest
- func (r *ProductPollRequest) Parameter(name string, value interface{}) *ProductPollRequest
- func (r *ProductPollRequest) Predicate(value func(*ProductGetResponse) bool) *ProductPollRequest
- func (r *ProductPollRequest) StartContext(ctx context.Context) (response *ProductPollResponse, err error)
- func (r *ProductPollRequest) Status(value int) *ProductPollRequest
- type ProductPollResponse
- type ProductServer
- type ProductsClient
- type ProductsListRequest
- func (r *ProductsListRequest) Header(name string, value interface{}) *ProductsListRequest
- func (r *ProductsListRequest) Order(value string) *ProductsListRequest
- func (r *ProductsListRequest) Page(value int) *ProductsListRequest
- func (r *ProductsListRequest) Parameter(name string, value interface{}) *ProductsListRequest
- func (r *ProductsListRequest) Search(value string) *ProductsListRequest
- func (r *ProductsListRequest) Send() (result *ProductsListResponse, err error)
- func (r *ProductsListRequest) SendContext(ctx context.Context) (result *ProductsListResponse, err error)
- func (r *ProductsListRequest) Size(value int) *ProductsListRequest
- type ProductsListResponse
- func (r *ProductsListResponse) Error() *errors.Error
- func (r *ProductsListResponse) GetItems() (value *ProductList, ok bool)
- func (r *ProductsListResponse) GetPage() (value int, ok bool)
- func (r *ProductsListResponse) GetSize() (value int, ok bool)
- func (r *ProductsListResponse) GetTotal() (value int, ok bool)
- func (r *ProductsListResponse) Header() http.Header
- func (r *ProductsListResponse) Items() *ProductList
- func (r *ProductsListResponse) Page() int
- func (r *ProductsListResponse) Size() int
- func (r *ProductsListResponse) Status() int
- func (r *ProductsListResponse) Total() int
- type ProductsListServerRequest
- func (r *ProductsListServerRequest) GetOrder() (value string, ok bool)
- func (r *ProductsListServerRequest) GetPage() (value int, ok bool)
- func (r *ProductsListServerRequest) GetSearch() (value string, ok bool)
- func (r *ProductsListServerRequest) GetSize() (value int, ok bool)
- func (r *ProductsListServerRequest) Order() string
- func (r *ProductsListServerRequest) Page() int
- func (r *ProductsListServerRequest) Search() string
- func (r *ProductsListServerRequest) Size() int
- type ProductsListServerResponse
- func (r *ProductsListServerResponse) Items(value *ProductList) *ProductsListServerResponse
- func (r *ProductsListServerResponse) Page(value int) *ProductsListServerResponse
- func (r *ProductsListServerResponse) Size(value int) *ProductsListServerResponse
- func (r *ProductsListServerResponse) Status(value int) *ProductsListServerResponse
- func (r *ProductsListServerResponse) Total(value int) *ProductsListServerResponse
- type ProductsServer
- type ProvisionShard
- func (o *ProvisionShard) AWSAccountOperatorConfig() *ServerConfig
- func (o *ProvisionShard) AWSBaseDomain() string
- func (o *ProvisionShard) Empty() bool
- func (o *ProvisionShard) GCPBaseDomain() string
- func (o *ProvisionShard) GCPProjectOperator() *ServerConfig
- func (o *ProvisionShard) GetAWSAccountOperatorConfig() (value *ServerConfig, ok bool)
- func (o *ProvisionShard) GetAWSBaseDomain() (value string, ok bool)
- func (o *ProvisionShard) GetGCPBaseDomain() (value string, ok bool)
- func (o *ProvisionShard) GetGCPProjectOperator() (value *ServerConfig, ok bool)
- func (o *ProvisionShard) GetHREF() (value string, ok bool)
- func (o *ProvisionShard) GetHiveConfig() (value *ServerConfig, ok bool)
- func (o *ProvisionShard) GetID() (value string, ok bool)
- func (o *ProvisionShard) HREF() string
- func (o *ProvisionShard) HiveConfig() *ServerConfig
- func (o *ProvisionShard) ID() string
- func (o *ProvisionShard) Kind() string
- func (o *ProvisionShard) Link() bool
- type ProvisionShardBuilder
- func (b *ProvisionShardBuilder) AWSAccountOperatorConfig(value *ServerConfigBuilder) *ProvisionShardBuilder
- func (b *ProvisionShardBuilder) AWSBaseDomain(value string) *ProvisionShardBuilder
- func (b *ProvisionShardBuilder) Build() (object *ProvisionShard, err error)
- func (b *ProvisionShardBuilder) Copy(object *ProvisionShard) *ProvisionShardBuilder
- func (b *ProvisionShardBuilder) GCPBaseDomain(value string) *ProvisionShardBuilder
- func (b *ProvisionShardBuilder) GCPProjectOperator(value *ServerConfigBuilder) *ProvisionShardBuilder
- func (b *ProvisionShardBuilder) HREF(value string) *ProvisionShardBuilder
- func (b *ProvisionShardBuilder) HiveConfig(value *ServerConfigBuilder) *ProvisionShardBuilder
- func (b *ProvisionShardBuilder) ID(value string) *ProvisionShardBuilder
- func (b *ProvisionShardBuilder) Link(value bool) *ProvisionShardBuilder
- type ProvisionShardClient
- type ProvisionShardGetRequest
- func (r *ProvisionShardGetRequest) Header(name string, value interface{}) *ProvisionShardGetRequest
- func (r *ProvisionShardGetRequest) Parameter(name string, value interface{}) *ProvisionShardGetRequest
- func (r *ProvisionShardGetRequest) Send() (result *ProvisionShardGetResponse, err error)
- func (r *ProvisionShardGetRequest) SendContext(ctx context.Context) (result *ProvisionShardGetResponse, err error)
- type ProvisionShardGetResponse
- func (r *ProvisionShardGetResponse) Body() *ProvisionShard
- func (r *ProvisionShardGetResponse) Error() *errors.Error
- func (r *ProvisionShardGetResponse) GetBody() (value *ProvisionShard, ok bool)
- func (r *ProvisionShardGetResponse) Header() http.Header
- func (r *ProvisionShardGetResponse) Status() int
- type ProvisionShardGetServerRequest
- type ProvisionShardGetServerResponse
- type ProvisionShardList
- func (l *ProvisionShardList) Each(f func(item *ProvisionShard) bool)
- func (l *ProvisionShardList) Empty() bool
- func (l *ProvisionShardList) Get(i int) *ProvisionShard
- func (l *ProvisionShardList) GetHREF() (value string, ok bool)
- func (l *ProvisionShardList) HREF() string
- func (l *ProvisionShardList) Kind() string
- func (l *ProvisionShardList) Len() int
- func (l *ProvisionShardList) Link() bool
- func (l *ProvisionShardList) Range(f func(index int, item *ProvisionShard) bool)
- func (l *ProvisionShardList) Slice() []*ProvisionShard
- type ProvisionShardListBuilder
- type ProvisionShardPollRequest
- func (r *ProvisionShardPollRequest) Header(name string, value interface{}) *ProvisionShardPollRequest
- func (r *ProvisionShardPollRequest) Interval(value time.Duration) *ProvisionShardPollRequest
- func (r *ProvisionShardPollRequest) Parameter(name string, value interface{}) *ProvisionShardPollRequest
- func (r *ProvisionShardPollRequest) Predicate(value func(*ProvisionShardGetResponse) bool) *ProvisionShardPollRequest
- func (r *ProvisionShardPollRequest) StartContext(ctx context.Context) (response *ProvisionShardPollResponse, err error)
- func (r *ProvisionShardPollRequest) Status(value int) *ProvisionShardPollRequest
- type ProvisionShardPollResponse
- func (r *ProvisionShardPollResponse) Body() *ProvisionShard
- func (r *ProvisionShardPollResponse) Error() *errors.Error
- func (r *ProvisionShardPollResponse) GetBody() (value *ProvisionShard, ok bool)
- func (r *ProvisionShardPollResponse) Header() http.Header
- func (r *ProvisionShardPollResponse) Status() int
- type ProvisionShardServer
- type ProvisionShardsClient
- type ProvisionShardsListRequest
- func (r *ProvisionShardsListRequest) Header(name string, value interface{}) *ProvisionShardsListRequest
- func (r *ProvisionShardsListRequest) Page(value int) *ProvisionShardsListRequest
- func (r *ProvisionShardsListRequest) Parameter(name string, value interface{}) *ProvisionShardsListRequest
- func (r *ProvisionShardsListRequest) Send() (result *ProvisionShardsListResponse, err error)
- func (r *ProvisionShardsListRequest) SendContext(ctx context.Context) (result *ProvisionShardsListResponse, err error)
- func (r *ProvisionShardsListRequest) Size(value int) *ProvisionShardsListRequest
- type ProvisionShardsListResponse
- func (r *ProvisionShardsListResponse) Error() *errors.Error
- func (r *ProvisionShardsListResponse) GetItems() (value *ProvisionShardList, ok bool)
- func (r *ProvisionShardsListResponse) GetPage() (value int, ok bool)
- func (r *ProvisionShardsListResponse) GetSize() (value int, ok bool)
- func (r *ProvisionShardsListResponse) GetTotal() (value int, ok bool)
- func (r *ProvisionShardsListResponse) Header() http.Header
- func (r *ProvisionShardsListResponse) Items() *ProvisionShardList
- func (r *ProvisionShardsListResponse) Page() int
- func (r *ProvisionShardsListResponse) Size() int
- func (r *ProvisionShardsListResponse) Status() int
- func (r *ProvisionShardsListResponse) Total() int
- type ProvisionShardsListServerRequest
- type ProvisionShardsListServerResponse
- func (r *ProvisionShardsListServerResponse) Items(value *ProvisionShardList) *ProvisionShardsListServerResponse
- func (r *ProvisionShardsListServerResponse) Page(value int) *ProvisionShardsListServerResponse
- func (r *ProvisionShardsListServerResponse) Size(value int) *ProvisionShardsListServerResponse
- func (r *ProvisionShardsListServerResponse) Status(value int) *ProvisionShardsListServerResponse
- func (r *ProvisionShardsListServerResponse) Total(value int) *ProvisionShardsListServerResponse
- type ProvisionShardsServer
- type SSHCredentials
- type SSHCredentialsBuilder
- func (b *SSHCredentialsBuilder) Build() (object *SSHCredentials, err error)
- func (b *SSHCredentialsBuilder) Copy(object *SSHCredentials) *SSHCredentialsBuilder
- func (b *SSHCredentialsBuilder) PrivateKey(value string) *SSHCredentialsBuilder
- func (b *SSHCredentialsBuilder) PublicKey(value string) *SSHCredentialsBuilder
- type SSHCredentialsList
- func (l *SSHCredentialsList) Each(f func(item *SSHCredentials) bool)
- func (l *SSHCredentialsList) Empty() bool
- func (l *SSHCredentialsList) Get(i int) *SSHCredentials
- func (l *SSHCredentialsList) Len() int
- func (l *SSHCredentialsList) Range(f func(index int, item *SSHCredentials) bool)
- func (l *SSHCredentialsList) Slice() []*SSHCredentials
- type SSHCredentialsListBuilder
- type Sample
- type SampleBuilder
- type SampleList
- type SampleListBuilder
- type Server
- type ServerConfig
- func (o *ServerConfig) Empty() bool
- func (o *ServerConfig) GetHREF() (value string, ok bool)
- func (o *ServerConfig) GetID() (value string, ok bool)
- func (o *ServerConfig) GetServer() (value string, ok bool)
- func (o *ServerConfig) HREF() string
- func (o *ServerConfig) ID() string
- func (o *ServerConfig) Kind() string
- func (o *ServerConfig) Link() bool
- func (o *ServerConfig) Server() string
- type ServerConfigBuilder
- func (b *ServerConfigBuilder) Build() (object *ServerConfig, err error)
- func (b *ServerConfigBuilder) Copy(object *ServerConfig) *ServerConfigBuilder
- func (b *ServerConfigBuilder) HREF(value string) *ServerConfigBuilder
- func (b *ServerConfigBuilder) ID(value string) *ServerConfigBuilder
- func (b *ServerConfigBuilder) Link(value bool) *ServerConfigBuilder
- func (b *ServerConfigBuilder) Server(value string) *ServerConfigBuilder
- type ServerConfigList
- func (l *ServerConfigList) Each(f func(item *ServerConfig) bool)
- func (l *ServerConfigList) Empty() bool
- func (l *ServerConfigList) Get(i int) *ServerConfig
- func (l *ServerConfigList) GetHREF() (value string, ok bool)
- func (l *ServerConfigList) HREF() string
- func (l *ServerConfigList) Kind() string
- func (l *ServerConfigList) Len() int
- func (l *ServerConfigList) Link() bool
- func (l *ServerConfigList) Range(f func(index int, item *ServerConfig) bool)
- func (l *ServerConfigList) Slice() []*ServerConfig
- type ServerConfigListBuilder
- type SocketTotalByNodeRolesOSMetricQueryClient
- type SocketTotalByNodeRolesOSMetricQueryGetRequest
- func (r *SocketTotalByNodeRolesOSMetricQueryGetRequest) Header(name string, value interface{}) *SocketTotalByNodeRolesOSMetricQueryGetRequest
- func (r *SocketTotalByNodeRolesOSMetricQueryGetRequest) Parameter(name string, value interface{}) *SocketTotalByNodeRolesOSMetricQueryGetRequest
- func (r *SocketTotalByNodeRolesOSMetricQueryGetRequest) Send() (result *SocketTotalByNodeRolesOSMetricQueryGetResponse, err error)
- func (r *SocketTotalByNodeRolesOSMetricQueryGetRequest) SendContext(ctx context.Context) (result *SocketTotalByNodeRolesOSMetricQueryGetResponse, err error)
- type SocketTotalByNodeRolesOSMetricQueryGetResponse
- func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) Body() *SocketTotalsNodeRoleOSMetricNode
- func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) Error() *errors.Error
- func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) GetBody() (value *SocketTotalsNodeRoleOSMetricNode, ok bool)
- func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) Header() http.Header
- func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) Status() int
- type SocketTotalByNodeRolesOSMetricQueryGetServerRequest
- type SocketTotalByNodeRolesOSMetricQueryGetServerResponse
- type SocketTotalByNodeRolesOSMetricQueryPollRequest
- func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) Header(name string, value interface{}) *SocketTotalByNodeRolesOSMetricQueryPollRequest
- func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) Interval(value time.Duration) *SocketTotalByNodeRolesOSMetricQueryPollRequest
- func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) Parameter(name string, value interface{}) *SocketTotalByNodeRolesOSMetricQueryPollRequest
- func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) Predicate(value func(*SocketTotalByNodeRolesOSMetricQueryGetResponse) bool) *SocketTotalByNodeRolesOSMetricQueryPollRequest
- func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) StartContext(ctx context.Context) (response *SocketTotalByNodeRolesOSMetricQueryPollResponse, err error)
- func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) Status(value int) *SocketTotalByNodeRolesOSMetricQueryPollRequest
- type SocketTotalByNodeRolesOSMetricQueryPollResponse
- func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) Body() *SocketTotalsNodeRoleOSMetricNode
- func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) Error() *errors.Error
- func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) GetBody() (value *SocketTotalsNodeRoleOSMetricNode, ok bool)
- func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) Header() http.Header
- func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) Status() int
- type SocketTotalByNodeRolesOSMetricQueryServer
- type SocketTotalNodeRoleOSMetricNode
- func (o *SocketTotalNodeRoleOSMetricNode) Empty() bool
- func (o *SocketTotalNodeRoleOSMetricNode) GetNodeRoles() (value []string, ok bool)
- func (o *SocketTotalNodeRoleOSMetricNode) GetOperatingSystem() (value string, ok bool)
- func (o *SocketTotalNodeRoleOSMetricNode) GetSocketTotal() (value float64, ok bool)
- func (o *SocketTotalNodeRoleOSMetricNode) GetTime() (value time.Time, ok bool)
- func (o *SocketTotalNodeRoleOSMetricNode) NodeRoles() []string
- func (o *SocketTotalNodeRoleOSMetricNode) OperatingSystem() string
- func (o *SocketTotalNodeRoleOSMetricNode) SocketTotal() float64
- func (o *SocketTotalNodeRoleOSMetricNode) Time() time.Time
- type SocketTotalNodeRoleOSMetricNodeBuilder
- func (b *SocketTotalNodeRoleOSMetricNodeBuilder) Build() (object *SocketTotalNodeRoleOSMetricNode, err error)
- func (b *SocketTotalNodeRoleOSMetricNodeBuilder) Copy(object *SocketTotalNodeRoleOSMetricNode) *SocketTotalNodeRoleOSMetricNodeBuilder
- func (b *SocketTotalNodeRoleOSMetricNodeBuilder) NodeRoles(values ...string) *SocketTotalNodeRoleOSMetricNodeBuilder
- func (b *SocketTotalNodeRoleOSMetricNodeBuilder) OperatingSystem(value string) *SocketTotalNodeRoleOSMetricNodeBuilder
- func (b *SocketTotalNodeRoleOSMetricNodeBuilder) SocketTotal(value float64) *SocketTotalNodeRoleOSMetricNodeBuilder
- func (b *SocketTotalNodeRoleOSMetricNodeBuilder) Time(value time.Time) *SocketTotalNodeRoleOSMetricNodeBuilder
- type SocketTotalNodeRoleOSMetricNodeList
- func (l *SocketTotalNodeRoleOSMetricNodeList) Each(f func(item *SocketTotalNodeRoleOSMetricNode) bool)
- func (l *SocketTotalNodeRoleOSMetricNodeList) Empty() bool
- func (l *SocketTotalNodeRoleOSMetricNodeList) Get(i int) *SocketTotalNodeRoleOSMetricNode
- func (l *SocketTotalNodeRoleOSMetricNodeList) Len() int
- func (l *SocketTotalNodeRoleOSMetricNodeList) Range(f func(index int, item *SocketTotalNodeRoleOSMetricNode) bool)
- func (l *SocketTotalNodeRoleOSMetricNodeList) Slice() []*SocketTotalNodeRoleOSMetricNode
- type SocketTotalNodeRoleOSMetricNodeListBuilder
- func (b *SocketTotalNodeRoleOSMetricNodeListBuilder) Build() (list *SocketTotalNodeRoleOSMetricNodeList, err error)
- func (b *SocketTotalNodeRoleOSMetricNodeListBuilder) Copy(list *SocketTotalNodeRoleOSMetricNodeList) *SocketTotalNodeRoleOSMetricNodeListBuilder
- func (b *SocketTotalNodeRoleOSMetricNodeListBuilder) Items(values ...*SocketTotalNodeRoleOSMetricNodeBuilder) *SocketTotalNodeRoleOSMetricNodeListBuilder
- type SocketTotalsNodeRoleOSMetricNode
- type SocketTotalsNodeRoleOSMetricNodeBuilder
- func (b *SocketTotalsNodeRoleOSMetricNodeBuilder) Build() (object *SocketTotalsNodeRoleOSMetricNode, err error)
- func (b *SocketTotalsNodeRoleOSMetricNodeBuilder) Copy(object *SocketTotalsNodeRoleOSMetricNode) *SocketTotalsNodeRoleOSMetricNodeBuilder
- func (b *SocketTotalsNodeRoleOSMetricNodeBuilder) SocketTotals(values ...*SocketTotalNodeRoleOSMetricNodeBuilder) *SocketTotalsNodeRoleOSMetricNodeBuilder
- type SocketTotalsNodeRoleOSMetricNodeList
- func (l *SocketTotalsNodeRoleOSMetricNodeList) Each(f func(item *SocketTotalsNodeRoleOSMetricNode) bool)
- func (l *SocketTotalsNodeRoleOSMetricNodeList) Empty() bool
- func (l *SocketTotalsNodeRoleOSMetricNodeList) Get(i int) *SocketTotalsNodeRoleOSMetricNode
- func (l *SocketTotalsNodeRoleOSMetricNodeList) Len() int
- func (l *SocketTotalsNodeRoleOSMetricNodeList) Range(f func(index int, item *SocketTotalsNodeRoleOSMetricNode) bool)
- func (l *SocketTotalsNodeRoleOSMetricNodeList) Slice() []*SocketTotalsNodeRoleOSMetricNode
- type SocketTotalsNodeRoleOSMetricNodeListBuilder
- func (b *SocketTotalsNodeRoleOSMetricNodeListBuilder) Build() (list *SocketTotalsNodeRoleOSMetricNodeList, err error)
- func (b *SocketTotalsNodeRoleOSMetricNodeListBuilder) Copy(list *SocketTotalsNodeRoleOSMetricNodeList) *SocketTotalsNodeRoleOSMetricNodeListBuilder
- func (b *SocketTotalsNodeRoleOSMetricNodeListBuilder) Items(values ...*SocketTotalsNodeRoleOSMetricNodeBuilder) *SocketTotalsNodeRoleOSMetricNodeListBuilder
- type Subscription
- type SubscriptionBuilder
- func (b *SubscriptionBuilder) Build() (object *Subscription, err error)
- func (b *SubscriptionBuilder) Copy(object *Subscription) *SubscriptionBuilder
- func (b *SubscriptionBuilder) HREF(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Link(value bool) *SubscriptionBuilder
- type SubscriptionList
- func (l *SubscriptionList) Each(f func(item *Subscription) bool)
- func (l *SubscriptionList) Empty() bool
- func (l *SubscriptionList) Get(i int) *Subscription
- func (l *SubscriptionList) GetHREF() (value string, ok bool)
- func (l *SubscriptionList) HREF() string
- func (l *SubscriptionList) Kind() string
- func (l *SubscriptionList) Len() int
- func (l *SubscriptionList) Link() bool
- func (l *SubscriptionList) Range(f func(index int, item *Subscription) bool)
- func (l *SubscriptionList) Slice() []*Subscription
- type SubscriptionListBuilder
- type Syncset
- func (o *Syncset) Empty() bool
- func (o *Syncset) GetHREF() (value string, ok bool)
- func (o *Syncset) GetID() (value string, ok bool)
- func (o *Syncset) GetResources() (value []interface{}, ok bool)
- func (o *Syncset) HREF() string
- func (o *Syncset) ID() string
- func (o *Syncset) Kind() string
- func (o *Syncset) Link() bool
- func (o *Syncset) Resources() []interface{}
- type SyncsetBuilder
- func (b *SyncsetBuilder) Build() (object *Syncset, err error)
- func (b *SyncsetBuilder) Copy(object *Syncset) *SyncsetBuilder
- func (b *SyncsetBuilder) HREF(value string) *SyncsetBuilder
- func (b *SyncsetBuilder) ID(value string) *SyncsetBuilder
- func (b *SyncsetBuilder) Link(value bool) *SyncsetBuilder
- func (b *SyncsetBuilder) Resources(values ...interface{}) *SyncsetBuilder
- type SyncsetClient
- type SyncsetDeleteRequest
- func (r *SyncsetDeleteRequest) Header(name string, value interface{}) *SyncsetDeleteRequest
- func (r *SyncsetDeleteRequest) Parameter(name string, value interface{}) *SyncsetDeleteRequest
- func (r *SyncsetDeleteRequest) Send() (result *SyncsetDeleteResponse, err error)
- func (r *SyncsetDeleteRequest) SendContext(ctx context.Context) (result *SyncsetDeleteResponse, err error)
- type SyncsetDeleteResponse
- type SyncsetDeleteServerRequest
- type SyncsetDeleteServerResponse
- type SyncsetGetRequest
- func (r *SyncsetGetRequest) Header(name string, value interface{}) *SyncsetGetRequest
- func (r *SyncsetGetRequest) Parameter(name string, value interface{}) *SyncsetGetRequest
- func (r *SyncsetGetRequest) Send() (result *SyncsetGetResponse, err error)
- func (r *SyncsetGetRequest) SendContext(ctx context.Context) (result *SyncsetGetResponse, err error)
- type SyncsetGetResponse
- type SyncsetGetServerRequest
- type SyncsetGetServerResponse
- type SyncsetList
- func (l *SyncsetList) Each(f func(item *Syncset) bool)
- func (l *SyncsetList) Empty() bool
- func (l *SyncsetList) Get(i int) *Syncset
- func (l *SyncsetList) GetHREF() (value string, ok bool)
- func (l *SyncsetList) HREF() string
- func (l *SyncsetList) Kind() string
- func (l *SyncsetList) Len() int
- func (l *SyncsetList) Link() bool
- func (l *SyncsetList) Range(f func(index int, item *Syncset) bool)
- func (l *SyncsetList) Slice() []*Syncset
- type SyncsetListBuilder
- type SyncsetPollRequest
- func (r *SyncsetPollRequest) Header(name string, value interface{}) *SyncsetPollRequest
- func (r *SyncsetPollRequest) Interval(value time.Duration) *SyncsetPollRequest
- func (r *SyncsetPollRequest) Parameter(name string, value interface{}) *SyncsetPollRequest
- func (r *SyncsetPollRequest) Predicate(value func(*SyncsetGetResponse) bool) *SyncsetPollRequest
- func (r *SyncsetPollRequest) StartContext(ctx context.Context) (response *SyncsetPollResponse, err error)
- func (r *SyncsetPollRequest) Status(value int) *SyncsetPollRequest
- type SyncsetPollResponse
- type SyncsetServer
- type SyncsetUpdateRequest
- func (r *SyncsetUpdateRequest) Body(value *Syncset) *SyncsetUpdateRequest
- func (r *SyncsetUpdateRequest) Header(name string, value interface{}) *SyncsetUpdateRequest
- func (r *SyncsetUpdateRequest) Parameter(name string, value interface{}) *SyncsetUpdateRequest
- func (r *SyncsetUpdateRequest) Send() (result *SyncsetUpdateResponse, err error)
- func (r *SyncsetUpdateRequest) SendContext(ctx context.Context) (result *SyncsetUpdateResponse, err error)
- type SyncsetUpdateResponse
- type SyncsetUpdateServerRequest
- type SyncsetUpdateServerResponse
- type SyncsetsAddRequest
- func (r *SyncsetsAddRequest) Body(value *Syncset) *SyncsetsAddRequest
- func (r *SyncsetsAddRequest) Header(name string, value interface{}) *SyncsetsAddRequest
- func (r *SyncsetsAddRequest) Parameter(name string, value interface{}) *SyncsetsAddRequest
- func (r *SyncsetsAddRequest) Send() (result *SyncsetsAddResponse, err error)
- func (r *SyncsetsAddRequest) SendContext(ctx context.Context) (result *SyncsetsAddResponse, err error)
- type SyncsetsAddResponse
- type SyncsetsAddServerRequest
- type SyncsetsAddServerResponse
- type SyncsetsClient
- type SyncsetsListRequest
- func (r *SyncsetsListRequest) Header(name string, value interface{}) *SyncsetsListRequest
- func (r *SyncsetsListRequest) Page(value int) *SyncsetsListRequest
- func (r *SyncsetsListRequest) Parameter(name string, value interface{}) *SyncsetsListRequest
- func (r *SyncsetsListRequest) Send() (result *SyncsetsListResponse, err error)
- func (r *SyncsetsListRequest) SendContext(ctx context.Context) (result *SyncsetsListResponse, err error)
- func (r *SyncsetsListRequest) Size(value int) *SyncsetsListRequest
- type SyncsetsListResponse
- func (r *SyncsetsListResponse) Error() *errors.Error
- func (r *SyncsetsListResponse) GetItems() (value *SyncsetList, ok bool)
- func (r *SyncsetsListResponse) GetPage() (value int, ok bool)
- func (r *SyncsetsListResponse) GetSize() (value int, ok bool)
- func (r *SyncsetsListResponse) GetTotal() (value int, ok bool)
- func (r *SyncsetsListResponse) Header() http.Header
- func (r *SyncsetsListResponse) Items() *SyncsetList
- func (r *SyncsetsListResponse) Page() int
- func (r *SyncsetsListResponse) Size() int
- func (r *SyncsetsListResponse) Status() int
- func (r *SyncsetsListResponse) Total() int
- type SyncsetsListServerRequest
- type SyncsetsListServerResponse
- func (r *SyncsetsListServerResponse) Items(value *SyncsetList) *SyncsetsListServerResponse
- func (r *SyncsetsListServerResponse) Page(value int) *SyncsetsListServerResponse
- func (r *SyncsetsListServerResponse) Size(value int) *SyncsetsListServerResponse
- func (r *SyncsetsListServerResponse) Status(value int) *SyncsetsListServerResponse
- func (r *SyncsetsListServerResponse) Total(value int) *SyncsetsListServerResponse
- type SyncsetsServer
- type Taint
- type TaintBuilder
- type TaintList
- type TaintListBuilder
- type UpgradePoliciesAddRequest
- func (r *UpgradePoliciesAddRequest) Body(value *UpgradePolicy) *UpgradePoliciesAddRequest
- func (r *UpgradePoliciesAddRequest) Header(name string, value interface{}) *UpgradePoliciesAddRequest
- func (r *UpgradePoliciesAddRequest) Parameter(name string, value interface{}) *UpgradePoliciesAddRequest
- func (r *UpgradePoliciesAddRequest) Send() (result *UpgradePoliciesAddResponse, err error)
- func (r *UpgradePoliciesAddRequest) SendContext(ctx context.Context) (result *UpgradePoliciesAddResponse, err error)
- type UpgradePoliciesAddResponse
- func (r *UpgradePoliciesAddResponse) Body() *UpgradePolicy
- func (r *UpgradePoliciesAddResponse) Error() *errors.Error
- func (r *UpgradePoliciesAddResponse) GetBody() (value *UpgradePolicy, ok bool)
- func (r *UpgradePoliciesAddResponse) Header() http.Header
- func (r *UpgradePoliciesAddResponse) Status() int
- type UpgradePoliciesAddServerRequest
- type UpgradePoliciesAddServerResponse
- type UpgradePoliciesClient
- type UpgradePoliciesListRequest
- func (r *UpgradePoliciesListRequest) Header(name string, value interface{}) *UpgradePoliciesListRequest
- func (r *UpgradePoliciesListRequest) Page(value int) *UpgradePoliciesListRequest
- func (r *UpgradePoliciesListRequest) Parameter(name string, value interface{}) *UpgradePoliciesListRequest
- func (r *UpgradePoliciesListRequest) Send() (result *UpgradePoliciesListResponse, err error)
- func (r *UpgradePoliciesListRequest) SendContext(ctx context.Context) (result *UpgradePoliciesListResponse, err error)
- func (r *UpgradePoliciesListRequest) Size(value int) *UpgradePoliciesListRequest
- type UpgradePoliciesListResponse
- func (r *UpgradePoliciesListResponse) Error() *errors.Error
- func (r *UpgradePoliciesListResponse) GetItems() (value *UpgradePolicyList, ok bool)
- func (r *UpgradePoliciesListResponse) GetPage() (value int, ok bool)
- func (r *UpgradePoliciesListResponse) GetSize() (value int, ok bool)
- func (r *UpgradePoliciesListResponse) GetTotal() (value int, ok bool)
- func (r *UpgradePoliciesListResponse) Header() http.Header
- func (r *UpgradePoliciesListResponse) Items() *UpgradePolicyList
- func (r *UpgradePoliciesListResponse) Page() int
- func (r *UpgradePoliciesListResponse) Size() int
- func (r *UpgradePoliciesListResponse) Status() int
- func (r *UpgradePoliciesListResponse) Total() int
- type UpgradePoliciesListServerRequest
- type UpgradePoliciesListServerResponse
- func (r *UpgradePoliciesListServerResponse) Items(value *UpgradePolicyList) *UpgradePoliciesListServerResponse
- func (r *UpgradePoliciesListServerResponse) Page(value int) *UpgradePoliciesListServerResponse
- func (r *UpgradePoliciesListServerResponse) Size(value int) *UpgradePoliciesListServerResponse
- func (r *UpgradePoliciesListServerResponse) Status(value int) *UpgradePoliciesListServerResponse
- func (r *UpgradePoliciesListServerResponse) Total(value int) *UpgradePoliciesListServerResponse
- type UpgradePoliciesServer
- type UpgradePolicy
- func (o *UpgradePolicy) ClusterID() string
- func (o *UpgradePolicy) Empty() bool
- func (o *UpgradePolicy) GetClusterID() (value string, ok bool)
- func (o *UpgradePolicy) GetHREF() (value string, ok bool)
- func (o *UpgradePolicy) GetID() (value string, ok bool)
- func (o *UpgradePolicy) GetNextRun() (value time.Time, ok bool)
- func (o *UpgradePolicy) GetSchedule() (value string, ok bool)
- func (o *UpgradePolicy) GetScheduleType() (value string, ok bool)
- func (o *UpgradePolicy) GetUpgradeType() (value string, ok bool)
- func (o *UpgradePolicy) GetVersion() (value string, ok bool)
- func (o *UpgradePolicy) HREF() string
- func (o *UpgradePolicy) ID() string
- func (o *UpgradePolicy) Kind() string
- func (o *UpgradePolicy) Link() bool
- func (o *UpgradePolicy) NextRun() time.Time
- func (o *UpgradePolicy) Schedule() string
- func (o *UpgradePolicy) ScheduleType() string
- func (o *UpgradePolicy) UpgradeType() string
- func (o *UpgradePolicy) Version() string
- type UpgradePolicyBuilder
- func (b *UpgradePolicyBuilder) Build() (object *UpgradePolicy, err error)
- func (b *UpgradePolicyBuilder) ClusterID(value string) *UpgradePolicyBuilder
- func (b *UpgradePolicyBuilder) Copy(object *UpgradePolicy) *UpgradePolicyBuilder
- func (b *UpgradePolicyBuilder) HREF(value string) *UpgradePolicyBuilder
- func (b *UpgradePolicyBuilder) ID(value string) *UpgradePolicyBuilder
- func (b *UpgradePolicyBuilder) Link(value bool) *UpgradePolicyBuilder
- func (b *UpgradePolicyBuilder) NextRun(value time.Time) *UpgradePolicyBuilder
- func (b *UpgradePolicyBuilder) Schedule(value string) *UpgradePolicyBuilder
- func (b *UpgradePolicyBuilder) ScheduleType(value string) *UpgradePolicyBuilder
- func (b *UpgradePolicyBuilder) UpgradeType(value string) *UpgradePolicyBuilder
- func (b *UpgradePolicyBuilder) Version(value string) *UpgradePolicyBuilder
- type UpgradePolicyClient
- func (c *UpgradePolicyClient) Delete() *UpgradePolicyDeleteRequest
- func (c *UpgradePolicyClient) Get() *UpgradePolicyGetRequest
- func (c *UpgradePolicyClient) Poll() *UpgradePolicyPollRequest
- func (c *UpgradePolicyClient) State() *UpgradePolicyStateClient
- func (c *UpgradePolicyClient) Update() *UpgradePolicyUpdateRequest
- type UpgradePolicyDeleteRequest
- func (r *UpgradePolicyDeleteRequest) Header(name string, value interface{}) *UpgradePolicyDeleteRequest
- func (r *UpgradePolicyDeleteRequest) Parameter(name string, value interface{}) *UpgradePolicyDeleteRequest
- func (r *UpgradePolicyDeleteRequest) Send() (result *UpgradePolicyDeleteResponse, err error)
- func (r *UpgradePolicyDeleteRequest) SendContext(ctx context.Context) (result *UpgradePolicyDeleteResponse, err error)
- type UpgradePolicyDeleteResponse
- type UpgradePolicyDeleteServerRequest
- type UpgradePolicyDeleteServerResponse
- type UpgradePolicyGetRequest
- func (r *UpgradePolicyGetRequest) Header(name string, value interface{}) *UpgradePolicyGetRequest
- func (r *UpgradePolicyGetRequest) Parameter(name string, value interface{}) *UpgradePolicyGetRequest
- func (r *UpgradePolicyGetRequest) Send() (result *UpgradePolicyGetResponse, err error)
- func (r *UpgradePolicyGetRequest) SendContext(ctx context.Context) (result *UpgradePolicyGetResponse, err error)
- type UpgradePolicyGetResponse
- type UpgradePolicyGetServerRequest
- type UpgradePolicyGetServerResponse
- type UpgradePolicyList
- func (l *UpgradePolicyList) Each(f func(item *UpgradePolicy) bool)
- func (l *UpgradePolicyList) Empty() bool
- func (l *UpgradePolicyList) Get(i int) *UpgradePolicy
- func (l *UpgradePolicyList) GetHREF() (value string, ok bool)
- func (l *UpgradePolicyList) HREF() string
- func (l *UpgradePolicyList) Kind() string
- func (l *UpgradePolicyList) Len() int
- func (l *UpgradePolicyList) Link() bool
- func (l *UpgradePolicyList) Range(f func(index int, item *UpgradePolicy) bool)
- func (l *UpgradePolicyList) Slice() []*UpgradePolicy
- type UpgradePolicyListBuilder
- type UpgradePolicyPollRequest
- func (r *UpgradePolicyPollRequest) Header(name string, value interface{}) *UpgradePolicyPollRequest
- func (r *UpgradePolicyPollRequest) Interval(value time.Duration) *UpgradePolicyPollRequest
- func (r *UpgradePolicyPollRequest) Parameter(name string, value interface{}) *UpgradePolicyPollRequest
- func (r *UpgradePolicyPollRequest) Predicate(value func(*UpgradePolicyGetResponse) bool) *UpgradePolicyPollRequest
- func (r *UpgradePolicyPollRequest) StartContext(ctx context.Context) (response *UpgradePolicyPollResponse, err error)
- func (r *UpgradePolicyPollRequest) Status(value int) *UpgradePolicyPollRequest
- type UpgradePolicyPollResponse
- type UpgradePolicyServer
- type UpgradePolicyState
- func (o *UpgradePolicyState) Description() string
- func (o *UpgradePolicyState) Empty() bool
- func (o *UpgradePolicyState) GetDescription() (value string, ok bool)
- func (o *UpgradePolicyState) GetHREF() (value string, ok bool)
- func (o *UpgradePolicyState) GetID() (value string, ok bool)
- func (o *UpgradePolicyState) GetValue() (value string, ok bool)
- func (o *UpgradePolicyState) HREF() string
- func (o *UpgradePolicyState) ID() string
- func (o *UpgradePolicyState) Kind() string
- func (o *UpgradePolicyState) Link() bool
- func (o *UpgradePolicyState) Value() string
- type UpgradePolicyStateBuilder
- func (b *UpgradePolicyStateBuilder) Build() (object *UpgradePolicyState, err error)
- func (b *UpgradePolicyStateBuilder) Copy(object *UpgradePolicyState) *UpgradePolicyStateBuilder
- func (b *UpgradePolicyStateBuilder) Description(value string) *UpgradePolicyStateBuilder
- func (b *UpgradePolicyStateBuilder) HREF(value string) *UpgradePolicyStateBuilder
- func (b *UpgradePolicyStateBuilder) ID(value string) *UpgradePolicyStateBuilder
- func (b *UpgradePolicyStateBuilder) Link(value bool) *UpgradePolicyStateBuilder
- func (b *UpgradePolicyStateBuilder) Value(value string) *UpgradePolicyStateBuilder
- type UpgradePolicyStateClient
- type UpgradePolicyStateGetRequest
- func (r *UpgradePolicyStateGetRequest) Header(name string, value interface{}) *UpgradePolicyStateGetRequest
- func (r *UpgradePolicyStateGetRequest) Parameter(name string, value interface{}) *UpgradePolicyStateGetRequest
- func (r *UpgradePolicyStateGetRequest) Send() (result *UpgradePolicyStateGetResponse, err error)
- func (r *UpgradePolicyStateGetRequest) SendContext(ctx context.Context) (result *UpgradePolicyStateGetResponse, err error)
- type UpgradePolicyStateGetResponse
- func (r *UpgradePolicyStateGetResponse) Body() *UpgradePolicyState
- func (r *UpgradePolicyStateGetResponse) Error() *errors.Error
- func (r *UpgradePolicyStateGetResponse) GetBody() (value *UpgradePolicyState, ok bool)
- func (r *UpgradePolicyStateGetResponse) Header() http.Header
- func (r *UpgradePolicyStateGetResponse) Status() int
- type UpgradePolicyStateGetServerRequest
- type UpgradePolicyStateGetServerResponse
- type UpgradePolicyStateList
- func (l *UpgradePolicyStateList) Each(f func(item *UpgradePolicyState) bool)
- func (l *UpgradePolicyStateList) Empty() bool
- func (l *UpgradePolicyStateList) Get(i int) *UpgradePolicyState
- func (l *UpgradePolicyStateList) GetHREF() (value string, ok bool)
- func (l *UpgradePolicyStateList) HREF() string
- func (l *UpgradePolicyStateList) Kind() string
- func (l *UpgradePolicyStateList) Len() int
- func (l *UpgradePolicyStateList) Link() bool
- func (l *UpgradePolicyStateList) Range(f func(index int, item *UpgradePolicyState) bool)
- func (l *UpgradePolicyStateList) Slice() []*UpgradePolicyState
- type UpgradePolicyStateListBuilder
- func (b *UpgradePolicyStateListBuilder) Build() (list *UpgradePolicyStateList, err error)
- func (b *UpgradePolicyStateListBuilder) Copy(list *UpgradePolicyStateList) *UpgradePolicyStateListBuilder
- func (b *UpgradePolicyStateListBuilder) Items(values ...*UpgradePolicyStateBuilder) *UpgradePolicyStateListBuilder
- type UpgradePolicyStatePollRequest
- func (r *UpgradePolicyStatePollRequest) Header(name string, value interface{}) *UpgradePolicyStatePollRequest
- func (r *UpgradePolicyStatePollRequest) Interval(value time.Duration) *UpgradePolicyStatePollRequest
- func (r *UpgradePolicyStatePollRequest) Parameter(name string, value interface{}) *UpgradePolicyStatePollRequest
- func (r *UpgradePolicyStatePollRequest) Predicate(value func(*UpgradePolicyStateGetResponse) bool) *UpgradePolicyStatePollRequest
- func (r *UpgradePolicyStatePollRequest) StartContext(ctx context.Context) (response *UpgradePolicyStatePollResponse, err error)
- func (r *UpgradePolicyStatePollRequest) Status(value int) *UpgradePolicyStatePollRequest
- type UpgradePolicyStatePollResponse
- func (r *UpgradePolicyStatePollResponse) Body() *UpgradePolicyState
- func (r *UpgradePolicyStatePollResponse) Error() *errors.Error
- func (r *UpgradePolicyStatePollResponse) GetBody() (value *UpgradePolicyState, ok bool)
- func (r *UpgradePolicyStatePollResponse) Header() http.Header
- func (r *UpgradePolicyStatePollResponse) Status() int
- type UpgradePolicyStateServer
- type UpgradePolicyStateUpdateRequest
- func (r *UpgradePolicyStateUpdateRequest) Body(value *UpgradePolicyState) *UpgradePolicyStateUpdateRequest
- func (r *UpgradePolicyStateUpdateRequest) Header(name string, value interface{}) *UpgradePolicyStateUpdateRequest
- func (r *UpgradePolicyStateUpdateRequest) Parameter(name string, value interface{}) *UpgradePolicyStateUpdateRequest
- func (r *UpgradePolicyStateUpdateRequest) Send() (result *UpgradePolicyStateUpdateResponse, err error)
- func (r *UpgradePolicyStateUpdateRequest) SendContext(ctx context.Context) (result *UpgradePolicyStateUpdateResponse, err error)
- type UpgradePolicyStateUpdateResponse
- func (r *UpgradePolicyStateUpdateResponse) Body() *UpgradePolicyState
- func (r *UpgradePolicyStateUpdateResponse) Error() *errors.Error
- func (r *UpgradePolicyStateUpdateResponse) GetBody() (value *UpgradePolicyState, ok bool)
- func (r *UpgradePolicyStateUpdateResponse) Header() http.Header
- func (r *UpgradePolicyStateUpdateResponse) Status() int
- type UpgradePolicyStateUpdateServerRequest
- type UpgradePolicyStateUpdateServerResponse
- type UpgradePolicyUpdateRequest
- func (r *UpgradePolicyUpdateRequest) Body(value *UpgradePolicy) *UpgradePolicyUpdateRequest
- func (r *UpgradePolicyUpdateRequest) Header(name string, value interface{}) *UpgradePolicyUpdateRequest
- func (r *UpgradePolicyUpdateRequest) Parameter(name string, value interface{}) *UpgradePolicyUpdateRequest
- func (r *UpgradePolicyUpdateRequest) Send() (result *UpgradePolicyUpdateResponse, err error)
- func (r *UpgradePolicyUpdateRequest) SendContext(ctx context.Context) (result *UpgradePolicyUpdateResponse, err error)
- type UpgradePolicyUpdateResponse
- func (r *UpgradePolicyUpdateResponse) Body() *UpgradePolicy
- func (r *UpgradePolicyUpdateResponse) Error() *errors.Error
- func (r *UpgradePolicyUpdateResponse) GetBody() (value *UpgradePolicy, ok bool)
- func (r *UpgradePolicyUpdateResponse) Header() http.Header
- func (r *UpgradePolicyUpdateResponse) Status() int
- type UpgradePolicyUpdateServerRequest
- type UpgradePolicyUpdateServerResponse
- type User
- type UserBuilder
- type UserClient
- type UserDeleteRequest
- func (r *UserDeleteRequest) Header(name string, value interface{}) *UserDeleteRequest
- func (r *UserDeleteRequest) Parameter(name string, value interface{}) *UserDeleteRequest
- func (r *UserDeleteRequest) Send() (result *UserDeleteResponse, err error)
- func (r *UserDeleteRequest) SendContext(ctx context.Context) (result *UserDeleteResponse, err error)
- type UserDeleteResponse
- type UserDeleteServerRequest
- type UserDeleteServerResponse
- type UserGetRequest
- func (r *UserGetRequest) Header(name string, value interface{}) *UserGetRequest
- func (r *UserGetRequest) Parameter(name string, value interface{}) *UserGetRequest
- func (r *UserGetRequest) Send() (result *UserGetResponse, err error)
- func (r *UserGetRequest) SendContext(ctx context.Context) (result *UserGetResponse, err error)
- type UserGetResponse
- type UserGetServerRequest
- type UserGetServerResponse
- type UserList
- func (l *UserList) Each(f func(item *User) bool)
- func (l *UserList) Empty() bool
- func (l *UserList) Get(i int) *User
- func (l *UserList) GetHREF() (value string, ok bool)
- func (l *UserList) HREF() string
- func (l *UserList) Kind() string
- func (l *UserList) Len() int
- func (l *UserList) Link() bool
- func (l *UserList) Range(f func(index int, item *User) bool)
- func (l *UserList) Slice() []*User
- type UserListBuilder
- type UserPollRequest
- func (r *UserPollRequest) Header(name string, value interface{}) *UserPollRequest
- func (r *UserPollRequest) Interval(value time.Duration) *UserPollRequest
- func (r *UserPollRequest) Parameter(name string, value interface{}) *UserPollRequest
- func (r *UserPollRequest) Predicate(value func(*UserGetResponse) bool) *UserPollRequest
- func (r *UserPollRequest) StartContext(ctx context.Context) (response *UserPollResponse, err error)
- func (r *UserPollRequest) Status(value int) *UserPollRequest
- type UserPollResponse
- type UserServer
- type UsersAddRequest
- func (r *UsersAddRequest) Body(value *User) *UsersAddRequest
- func (r *UsersAddRequest) Header(name string, value interface{}) *UsersAddRequest
- func (r *UsersAddRequest) Parameter(name string, value interface{}) *UsersAddRequest
- func (r *UsersAddRequest) Send() (result *UsersAddResponse, err error)
- func (r *UsersAddRequest) SendContext(ctx context.Context) (result *UsersAddResponse, err error)
- type UsersAddResponse
- type UsersAddServerRequest
- type UsersAddServerResponse
- type UsersClient
- type UsersListRequest
- func (r *UsersListRequest) Header(name string, value interface{}) *UsersListRequest
- func (r *UsersListRequest) Page(value int) *UsersListRequest
- func (r *UsersListRequest) Parameter(name string, value interface{}) *UsersListRequest
- func (r *UsersListRequest) Send() (result *UsersListResponse, err error)
- func (r *UsersListRequest) SendContext(ctx context.Context) (result *UsersListResponse, err error)
- func (r *UsersListRequest) Size(value int) *UsersListRequest
- type UsersListResponse
- func (r *UsersListResponse) Error() *errors.Error
- func (r *UsersListResponse) GetItems() (value *UserList, ok bool)
- func (r *UsersListResponse) GetPage() (value int, ok bool)
- func (r *UsersListResponse) GetSize() (value int, ok bool)
- func (r *UsersListResponse) GetTotal() (value int, ok bool)
- func (r *UsersListResponse) Header() http.Header
- func (r *UsersListResponse) Items() *UserList
- func (r *UsersListResponse) Page() int
- func (r *UsersListResponse) Size() int
- func (r *UsersListResponse) Status() int
- func (r *UsersListResponse) Total() int
- type UsersListServerRequest
- type UsersListServerResponse
- func (r *UsersListServerResponse) Items(value *UserList) *UsersListServerResponse
- func (r *UsersListServerResponse) Page(value int) *UsersListServerResponse
- func (r *UsersListServerResponse) Size(value int) *UsersListServerResponse
- func (r *UsersListServerResponse) Status(value int) *UsersListServerResponse
- func (r *UsersListServerResponse) Total(value int) *UsersListServerResponse
- type UsersServer
- type Value
- type ValueBuilder
- type ValueList
- type ValueListBuilder
- type Version
- func (o *Version) AvailableUpgrades() []string
- func (o *Version) ChannelGroup() string
- func (o *Version) Default() bool
- func (o *Version) Empty() bool
- func (o *Version) Enabled() bool
- func (o *Version) GetAvailableUpgrades() (value []string, ok bool)
- func (o *Version) GetChannelGroup() (value string, ok bool)
- func (o *Version) GetDefault() (value bool, ok bool)
- func (o *Version) GetEnabled() (value bool, ok bool)
- func (o *Version) GetHREF() (value string, ok bool)
- func (o *Version) GetID() (value string, ok bool)
- func (o *Version) GetROSAEnabled() (value bool, ok bool)
- func (o *Version) GetRawID() (value string, ok bool)
- func (o *Version) HREF() string
- func (o *Version) ID() string
- func (o *Version) Kind() string
- func (o *Version) Link() bool
- func (o *Version) ROSAEnabled() bool
- func (o *Version) RawID() string
- type VersionBuilder
- func (b *VersionBuilder) AvailableUpgrades(values ...string) *VersionBuilder
- func (b *VersionBuilder) Build() (object *Version, err error)
- func (b *VersionBuilder) ChannelGroup(value string) *VersionBuilder
- func (b *VersionBuilder) Copy(object *Version) *VersionBuilder
- func (b *VersionBuilder) Default(value bool) *VersionBuilder
- func (b *VersionBuilder) Enabled(value bool) *VersionBuilder
- func (b *VersionBuilder) HREF(value string) *VersionBuilder
- func (b *VersionBuilder) ID(value string) *VersionBuilder
- func (b *VersionBuilder) Link(value bool) *VersionBuilder
- func (b *VersionBuilder) ROSAEnabled(value bool) *VersionBuilder
- func (b *VersionBuilder) RawID(value string) *VersionBuilder
- type VersionClient
- type VersionGetRequest
- func (r *VersionGetRequest) Header(name string, value interface{}) *VersionGetRequest
- func (r *VersionGetRequest) Parameter(name string, value interface{}) *VersionGetRequest
- func (r *VersionGetRequest) Send() (result *VersionGetResponse, err error)
- func (r *VersionGetRequest) SendContext(ctx context.Context) (result *VersionGetResponse, err error)
- type VersionGetResponse
- type VersionGetServerRequest
- type VersionGetServerResponse
- type VersionList
- func (l *VersionList) Each(f func(item *Version) bool)
- func (l *VersionList) Empty() bool
- func (l *VersionList) Get(i int) *Version
- func (l *VersionList) GetHREF() (value string, ok bool)
- func (l *VersionList) HREF() string
- func (l *VersionList) Kind() string
- func (l *VersionList) Len() int
- func (l *VersionList) Link() bool
- func (l *VersionList) Range(f func(index int, item *Version) bool)
- func (l *VersionList) Slice() []*Version
- type VersionListBuilder
- type VersionPollRequest
- func (r *VersionPollRequest) Header(name string, value interface{}) *VersionPollRequest
- func (r *VersionPollRequest) Interval(value time.Duration) *VersionPollRequest
- func (r *VersionPollRequest) Parameter(name string, value interface{}) *VersionPollRequest
- func (r *VersionPollRequest) Predicate(value func(*VersionGetResponse) bool) *VersionPollRequest
- func (r *VersionPollRequest) StartContext(ctx context.Context) (response *VersionPollResponse, err error)
- func (r *VersionPollRequest) Status(value int) *VersionPollRequest
- type VersionPollResponse
- type VersionServer
- type VersionsClient
- type VersionsListRequest
- func (r *VersionsListRequest) Header(name string, value interface{}) *VersionsListRequest
- func (r *VersionsListRequest) Order(value string) *VersionsListRequest
- func (r *VersionsListRequest) Page(value int) *VersionsListRequest
- func (r *VersionsListRequest) Parameter(name string, value interface{}) *VersionsListRequest
- func (r *VersionsListRequest) Search(value string) *VersionsListRequest
- func (r *VersionsListRequest) Send() (result *VersionsListResponse, err error)
- func (r *VersionsListRequest) SendContext(ctx context.Context) (result *VersionsListResponse, err error)
- func (r *VersionsListRequest) Size(value int) *VersionsListRequest
- type VersionsListResponse
- func (r *VersionsListResponse) Error() *errors.Error
- func (r *VersionsListResponse) GetItems() (value *VersionList, ok bool)
- func (r *VersionsListResponse) GetPage() (value int, ok bool)
- func (r *VersionsListResponse) GetSize() (value int, ok bool)
- func (r *VersionsListResponse) GetTotal() (value int, ok bool)
- func (r *VersionsListResponse) Header() http.Header
- func (r *VersionsListResponse) Items() *VersionList
- func (r *VersionsListResponse) Page() int
- func (r *VersionsListResponse) Size() int
- func (r *VersionsListResponse) Status() int
- func (r *VersionsListResponse) Total() int
- type VersionsListServerRequest
- func (r *VersionsListServerRequest) GetOrder() (value string, ok bool)
- func (r *VersionsListServerRequest) GetPage() (value int, ok bool)
- func (r *VersionsListServerRequest) GetSearch() (value string, ok bool)
- func (r *VersionsListServerRequest) GetSize() (value int, ok bool)
- func (r *VersionsListServerRequest) Order() string
- func (r *VersionsListServerRequest) Page() int
- func (r *VersionsListServerRequest) Search() string
- func (r *VersionsListServerRequest) Size() int
- type VersionsListServerResponse
- func (r *VersionsListServerResponse) Items(value *VersionList) *VersionsListServerResponse
- func (r *VersionsListServerResponse) Page(value int) *VersionsListServerResponse
- func (r *VersionsListServerResponse) Size(value int) *VersionsListServerResponse
- func (r *VersionsListServerResponse) Status(value int) *VersionsListServerResponse
- func (r *VersionsListServerResponse) Total(value int) *VersionsListServerResponse
- type VersionsServer
Constants ¶
const AWSFlavourListKind = "AWSFlavourList"
AWSFlavourListKind is the name of the type used to represent list of objects of type 'AWS_flavour'.
const AWSFlavourListLinkKind = "AWSFlavourListLink"
AWSFlavourListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_flavour'.
const AWSFlavourListNilKind = "AWSFlavourListNil"
AWSFlavourNilKind is the name of the type used to nil lists of objects of type 'AWS_flavour'.
const AWSInfrastructureAccessRoleGrantKind = "AWSInfrastructureAccessRoleGrant"
AWSInfrastructureAccessRoleGrantKind is the name of the type used to represent objects of type 'AWS_infrastructure_access_role_grant'.
const AWSInfrastructureAccessRoleGrantLinkKind = "AWSInfrastructureAccessRoleGrantLink"
AWSInfrastructureAccessRoleGrantLinkKind is the name of the type used to represent links to objects of type 'AWS_infrastructure_access_role_grant'.
const AWSInfrastructureAccessRoleGrantListKind = "AWSInfrastructureAccessRoleGrantList"
AWSInfrastructureAccessRoleGrantListKind is the name of the type used to represent list of objects of type 'AWS_infrastructure_access_role_grant'.
const AWSInfrastructureAccessRoleGrantListLinkKind = "AWSInfrastructureAccessRoleGrantListLink"
AWSInfrastructureAccessRoleGrantListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_infrastructure_access_role_grant'.
const AWSInfrastructureAccessRoleGrantListNilKind = "AWSInfrastructureAccessRoleGrantListNil"
AWSInfrastructureAccessRoleGrantNilKind is the name of the type used to nil lists of objects of type 'AWS_infrastructure_access_role_grant'.
const AWSInfrastructureAccessRoleGrantNilKind = "AWSInfrastructureAccessRoleGrantNil"
AWSInfrastructureAccessRoleGrantNilKind is the name of the type used to nil references to objects of type 'AWS_infrastructure_access_role_grant'.
const AWSInfrastructureAccessRoleKind = "AWSInfrastructureAccessRole"
AWSInfrastructureAccessRoleKind is the name of the type used to represent objects of type 'AWS_infrastructure_access_role'.
const AWSInfrastructureAccessRoleLinkKind = "AWSInfrastructureAccessRoleLink"
AWSInfrastructureAccessRoleLinkKind is the name of the type used to represent links to objects of type 'AWS_infrastructure_access_role'.
const AWSInfrastructureAccessRoleListKind = "AWSInfrastructureAccessRoleList"
AWSInfrastructureAccessRoleListKind is the name of the type used to represent list of objects of type 'AWS_infrastructure_access_role'.
const AWSInfrastructureAccessRoleListLinkKind = "AWSInfrastructureAccessRoleListLink"
AWSInfrastructureAccessRoleListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_infrastructure_access_role'.
const AWSInfrastructureAccessRoleListNilKind = "AWSInfrastructureAccessRoleListNil"
AWSInfrastructureAccessRoleNilKind is the name of the type used to nil lists of objects of type 'AWS_infrastructure_access_role'.
const AWSInfrastructureAccessRoleNilKind = "AWSInfrastructureAccessRoleNil"
AWSInfrastructureAccessRoleNilKind is the name of the type used to nil references to objects of type 'AWS_infrastructure_access_role'.
const AWSListKind = "AWSList"
AWSListKind is the name of the type used to represent list of objects of type 'AWS'.
const AWSListLinkKind = "AWSListLink"
AWSListLinkKind is the name of the type used to represent links to list of objects of type 'AWS'.
const AWSListNilKind = "AWSListNil"
AWSNilKind is the name of the type used to nil lists of objects of type 'AWS'.
const AWSVolumeListKind = "AWSVolumeList"
AWSVolumeListKind is the name of the type used to represent list of objects of type 'AWS_volume'.
const AWSVolumeListLinkKind = "AWSVolumeListLink"
AWSVolumeListLinkKind is the name of the type used to represent links to list of objects of type 'AWS_volume'.
const AWSVolumeListNilKind = "AWSVolumeListNil"
AWSVolumeNilKind is the name of the type used to nil lists of objects of type 'AWS_volume'.
const AddOnInstallationKind = "AddOnInstallation"
AddOnInstallationKind is the name of the type used to represent objects of type 'add_on_installation'.
const AddOnInstallationLinkKind = "AddOnInstallationLink"
AddOnInstallationLinkKind is the name of the type used to represent links to objects of type 'add_on_installation'.
const AddOnInstallationListKind = "AddOnInstallationList"
AddOnInstallationListKind is the name of the type used to represent list of objects of type 'add_on_installation'.
const AddOnInstallationListLinkKind = "AddOnInstallationListLink"
AddOnInstallationListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_installation'.
const AddOnInstallationListNilKind = "AddOnInstallationListNil"
AddOnInstallationNilKind is the name of the type used to nil lists of objects of type 'add_on_installation'.
const AddOnInstallationNilKind = "AddOnInstallationNil"
AddOnInstallationNilKind is the name of the type used to nil references to objects of type 'add_on_installation'.
const AddOnInstallationParameterKind = "AddOnInstallationParameter"
AddOnInstallationParameterKind is the name of the type used to represent objects of type 'add_on_installation_parameter'.
const AddOnInstallationParameterLinkKind = "AddOnInstallationParameterLink"
AddOnInstallationParameterLinkKind is the name of the type used to represent links to objects of type 'add_on_installation_parameter'.
const AddOnInstallationParameterListKind = "AddOnInstallationParameterList"
AddOnInstallationParameterListKind is the name of the type used to represent list of objects of type 'add_on_installation_parameter'.
const AddOnInstallationParameterListLinkKind = "AddOnInstallationParameterListLink"
AddOnInstallationParameterListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_installation_parameter'.
const AddOnInstallationParameterListNilKind = "AddOnInstallationParameterListNil"
AddOnInstallationParameterNilKind is the name of the type used to nil lists of objects of type 'add_on_installation_parameter'.
const AddOnInstallationParameterNilKind = "AddOnInstallationParameterNil"
AddOnInstallationParameterNilKind is the name of the type used to nil references to objects of type 'add_on_installation_parameter'.
const AddOnKind = "AddOn"
AddOnKind is the name of the type used to represent objects of type 'add_on'.
const AddOnLinkKind = "AddOnLink"
AddOnLinkKind is the name of the type used to represent links to objects of type 'add_on'.
const AddOnListKind = "AddOnList"
AddOnListKind is the name of the type used to represent list of objects of type 'add_on'.
const AddOnListLinkKind = "AddOnListLink"
AddOnListLinkKind is the name of the type used to represent links to list of objects of type 'add_on'.
const AddOnListNilKind = "AddOnListNil"
AddOnNilKind is the name of the type used to nil lists of objects of type 'add_on'.
const AddOnNilKind = "AddOnNil"
AddOnNilKind is the name of the type used to nil references to objects of type 'add_on'.
const AddOnParameterKind = "AddOnParameter"
AddOnParameterKind is the name of the type used to represent objects of type 'add_on_parameter'.
const AddOnParameterLinkKind = "AddOnParameterLink"
AddOnParameterLinkKind is the name of the type used to represent links to objects of type 'add_on_parameter'.
const AddOnParameterListKind = "AddOnParameterList"
AddOnParameterListKind is the name of the type used to represent list of objects of type 'add_on_parameter'.
const AddOnParameterListLinkKind = "AddOnParameterListLink"
AddOnParameterListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_parameter'.
const AddOnParameterListNilKind = "AddOnParameterListNil"
AddOnParameterNilKind is the name of the type used to nil lists of objects of type 'add_on_parameter'.
const AddOnParameterNilKind = "AddOnParameterNil"
AddOnParameterNilKind is the name of the type used to nil references to objects of type 'add_on_parameter'.
const AddOnRequirementListKind = "AddOnRequirementList"
AddOnRequirementListKind is the name of the type used to represent list of objects of type 'add_on_requirement'.
const AddOnRequirementListLinkKind = "AddOnRequirementListLink"
AddOnRequirementListLinkKind is the name of the type used to represent links to list of objects of type 'add_on_requirement'.
const AddOnRequirementListNilKind = "AddOnRequirementListNil"
AddOnRequirementNilKind is the name of the type used to nil lists of objects of type 'add_on_requirement'.
const AdminCredentialsListKind = "AdminCredentialsList"
AdminCredentialsListKind is the name of the type used to represent list of objects of type 'admin_credentials'.
const AdminCredentialsListLinkKind = "AdminCredentialsListLink"
AdminCredentialsListLinkKind is the name of the type used to represent links to list of objects of type 'admin_credentials'.
const AdminCredentialsListNilKind = "AdminCredentialsListNil"
AdminCredentialsNilKind is the name of the type used to nil lists of objects of type 'admin_credentials'.
const AlertInfoListKind = "AlertInfoList"
AlertInfoListKind is the name of the type used to represent list of objects of type 'alert_info'.
const AlertInfoListLinkKind = "AlertInfoListLink"
AlertInfoListLinkKind is the name of the type used to represent links to list of objects of type 'alert_info'.
const AlertInfoListNilKind = "AlertInfoListNil"
AlertInfoNilKind is the name of the type used to nil lists of objects of type 'alert_info'.
const AlertsInfoListKind = "AlertsInfoList"
AlertsInfoListKind is the name of the type used to represent list of objects of type 'alerts_info'.
const AlertsInfoListLinkKind = "AlertsInfoListLink"
AlertsInfoListLinkKind is the name of the type used to represent links to list of objects of type 'alerts_info'.
const AlertsInfoListNilKind = "AlertsInfoListNil"
AlertsInfoNilKind is the name of the type used to nil lists of objects of type 'alerts_info'.
const CCSKind = "CCS"
CCSKind is the name of the type used to represent objects of type 'CCS'.
const CCSLinkKind = "CCSLink"
CCSLinkKind is the name of the type used to represent links to objects of type 'CCS'.
const CCSListKind = "CCSList"
CCSListKind is the name of the type used to represent list of objects of type 'CCS'.
const CCSListLinkKind = "CCSListLink"
CCSListLinkKind is the name of the type used to represent links to list of objects of type 'CCS'.
const CCSListNilKind = "CCSListNil"
CCSNilKind is the name of the type used to nil lists of objects of type 'CCS'.
const CCSNilKind = "CCSNil"
CCSNilKind is the name of the type used to nil references to objects of type 'CCS'.
const CPUTotalNodeRoleOSMetricNodeListKind = "CPUTotalNodeRoleOSMetricNodeList"
CPUTotalNodeRoleOSMetricNodeListKind is the name of the type used to represent list of objects of type 'CPU_total_node_role_OS_metric_node'.
const CPUTotalNodeRoleOSMetricNodeListLinkKind = "CPUTotalNodeRoleOSMetricNodeListLink"
CPUTotalNodeRoleOSMetricNodeListLinkKind is the name of the type used to represent links to list of objects of type 'CPU_total_node_role_OS_metric_node'.
const CPUTotalNodeRoleOSMetricNodeListNilKind = "CPUTotalNodeRoleOSMetricNodeListNil"
CPUTotalNodeRoleOSMetricNodeNilKind is the name of the type used to nil lists of objects of type 'CPU_total_node_role_OS_metric_node'.
const CPUTotalsNodeRoleOSMetricNodeListKind = "CPUTotalsNodeRoleOSMetricNodeList"
CPUTotalsNodeRoleOSMetricNodeListKind is the name of the type used to represent list of objects of type 'CPU_totals_node_role_OS_metric_node'.
const CPUTotalsNodeRoleOSMetricNodeListLinkKind = "CPUTotalsNodeRoleOSMetricNodeListLink"
CPUTotalsNodeRoleOSMetricNodeListLinkKind is the name of the type used to represent links to list of objects of type 'CPU_totals_node_role_OS_metric_node'.
const CPUTotalsNodeRoleOSMetricNodeListNilKind = "CPUTotalsNodeRoleOSMetricNodeListNil"
CPUTotalsNodeRoleOSMetricNodeNilKind is the name of the type used to nil lists of objects of type 'CPU_totals_node_role_OS_metric_node'.
const CloudProviderKind = "CloudProvider"
CloudProviderKind is the name of the type used to represent objects of type 'cloud_provider'.
const CloudProviderLinkKind = "CloudProviderLink"
CloudProviderLinkKind is the name of the type used to represent links to objects of type 'cloud_provider'.
const CloudProviderListKind = "CloudProviderList"
CloudProviderListKind is the name of the type used to represent list of objects of type 'cloud_provider'.
const CloudProviderListLinkKind = "CloudProviderListLink"
CloudProviderListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_provider'.
const CloudProviderListNilKind = "CloudProviderListNil"
CloudProviderNilKind is the name of the type used to nil lists of objects of type 'cloud_provider'.
const CloudProviderNilKind = "CloudProviderNil"
CloudProviderNilKind is the name of the type used to nil references to objects of type 'cloud_provider'.
const CloudRegionKind = "CloudRegion"
CloudRegionKind is the name of the type used to represent objects of type 'cloud_region'.
const CloudRegionLinkKind = "CloudRegionLink"
CloudRegionLinkKind is the name of the type used to represent links to objects of type 'cloud_region'.
const CloudRegionListKind = "CloudRegionList"
CloudRegionListKind is the name of the type used to represent list of objects of type 'cloud_region'.
const CloudRegionListLinkKind = "CloudRegionListLink"
CloudRegionListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_region'.
const CloudRegionListNilKind = "CloudRegionListNil"
CloudRegionNilKind is the name of the type used to nil lists of objects of type 'cloud_region'.
const CloudRegionNilKind = "CloudRegionNil"
CloudRegionNilKind is the name of the type used to nil references to objects of type 'cloud_region'.
const ClusterAPIListKind = "ClusterAPIList"
ClusterAPIListKind is the name of the type used to represent list of objects of type 'cluster_API'.
const ClusterAPIListLinkKind = "ClusterAPIListLink"
ClusterAPIListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_API'.
const ClusterAPIListNilKind = "ClusterAPIListNil"
ClusterAPINilKind is the name of the type used to nil lists of objects of type 'cluster_API'.
const ClusterConsoleListKind = "ClusterConsoleList"
ClusterConsoleListKind is the name of the type used to represent list of objects of type 'cluster_console'.
const ClusterConsoleListLinkKind = "ClusterConsoleListLink"
ClusterConsoleListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_console'.
const ClusterConsoleListNilKind = "ClusterConsoleListNil"
ClusterConsoleNilKind is the name of the type used to nil lists of objects of type 'cluster_console'.
const ClusterCredentialsKind = "ClusterCredentials"
ClusterCredentialsKind is the name of the type used to represent objects of type 'cluster_credentials'.
const ClusterCredentialsLinkKind = "ClusterCredentialsLink"
ClusterCredentialsLinkKind is the name of the type used to represent links to objects of type 'cluster_credentials'.
const ClusterCredentialsListKind = "ClusterCredentialsList"
ClusterCredentialsListKind is the name of the type used to represent list of objects of type 'cluster_credentials'.
const ClusterCredentialsListLinkKind = "ClusterCredentialsListLink"
ClusterCredentialsListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_credentials'.
const ClusterCredentialsListNilKind = "ClusterCredentialsListNil"
ClusterCredentialsNilKind is the name of the type used to nil lists of objects of type 'cluster_credentials'.
const ClusterCredentialsNilKind = "ClusterCredentialsNil"
ClusterCredentialsNilKind is the name of the type used to nil references to objects of type 'cluster_credentials'.
const ClusterKind = "Cluster"
ClusterKind is the name of the type used to represent objects of type 'cluster'.
const ClusterLinkKind = "ClusterLink"
ClusterLinkKind is the name of the type used to represent links to objects of type 'cluster'.
const ClusterListKind = "ClusterList"
ClusterListKind is the name of the type used to represent list of objects of type 'cluster'.
const ClusterListLinkKind = "ClusterListLink"
ClusterListLinkKind is the name of the type used to represent links to list of objects of type 'cluster'.
const ClusterListNilKind = "ClusterListNil"
ClusterNilKind is the name of the type used to nil lists of objects of type 'cluster'.
const ClusterMetricListKind = "ClusterMetricList"
ClusterMetricListKind is the name of the type used to represent list of objects of type 'cluster_metric'.
const ClusterMetricListLinkKind = "ClusterMetricListLink"
ClusterMetricListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_metric'.
const ClusterMetricListNilKind = "ClusterMetricListNil"
ClusterMetricNilKind is the name of the type used to nil lists of objects of type 'cluster_metric'.
const ClusterMetricsListKind = "ClusterMetricsList"
ClusterMetricsListKind is the name of the type used to represent list of objects of type 'cluster_metrics'.
const ClusterMetricsListLinkKind = "ClusterMetricsListLink"
ClusterMetricsListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_metrics'.
const ClusterMetricsListNilKind = "ClusterMetricsListNil"
ClusterMetricsNilKind is the name of the type used to nil lists of objects of type 'cluster_metrics'.
const ClusterNilKind = "ClusterNil"
ClusterNilKind is the name of the type used to nil references to objects of type 'cluster'.
const ClusterNodesListKind = "ClusterNodesList"
ClusterNodesListKind is the name of the type used to represent list of objects of type 'cluster_nodes'.
const ClusterNodesListLinkKind = "ClusterNodesListLink"
ClusterNodesListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_nodes'.
const ClusterNodesListNilKind = "ClusterNodesListNil"
ClusterNodesNilKind is the name of the type used to nil lists of objects of type 'cluster_nodes'.
const ClusterOperatorInfoListKind = "ClusterOperatorInfoList"
ClusterOperatorInfoListKind is the name of the type used to represent list of objects of type 'cluster_operator_info'.
const ClusterOperatorInfoListLinkKind = "ClusterOperatorInfoListLink"
ClusterOperatorInfoListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_operator_info'.
const ClusterOperatorInfoListNilKind = "ClusterOperatorInfoListNil"
ClusterOperatorInfoNilKind is the name of the type used to nil lists of objects of type 'cluster_operator_info'.
const ClusterOperatorsInfoListKind = "ClusterOperatorsInfoList"
ClusterOperatorsInfoListKind is the name of the type used to represent list of objects of type 'cluster_operators_info'.
const ClusterOperatorsInfoListLinkKind = "ClusterOperatorsInfoListLink"
ClusterOperatorsInfoListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_operators_info'.
const ClusterOperatorsInfoListNilKind = "ClusterOperatorsInfoListNil"
ClusterOperatorsInfoNilKind is the name of the type used to nil lists of objects of type 'cluster_operators_info'.
const ClusterRegistrationListKind = "ClusterRegistrationList"
ClusterRegistrationListKind is the name of the type used to represent list of objects of type 'cluster_registration'.
const ClusterRegistrationListLinkKind = "ClusterRegistrationListLink"
ClusterRegistrationListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_registration'.
const ClusterRegistrationListNilKind = "ClusterRegistrationListNil"
ClusterRegistrationNilKind is the name of the type used to nil lists of objects of type 'cluster_registration'.
const ClusterStatusKind = "ClusterStatus"
ClusterStatusKind is the name of the type used to represent objects of type 'cluster_status'.
const ClusterStatusLinkKind = "ClusterStatusLink"
ClusterStatusLinkKind is the name of the type used to represent links to objects of type 'cluster_status'.
const ClusterStatusListKind = "ClusterStatusList"
ClusterStatusListKind is the name of the type used to represent list of objects of type 'cluster_status'.
const ClusterStatusListLinkKind = "ClusterStatusListLink"
ClusterStatusListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_status'.
const ClusterStatusListNilKind = "ClusterStatusListNil"
ClusterStatusNilKind is the name of the type used to nil lists of objects of type 'cluster_status'.
const ClusterStatusNilKind = "ClusterStatusNil"
ClusterStatusNilKind is the name of the type used to nil references to objects of type 'cluster_status'.
const DNSListKind = "DNSList"
DNSListKind is the name of the type used to represent list of objects of type 'DNS'.
const DNSListLinkKind = "DNSListLink"
DNSListLinkKind is the name of the type used to represent links to list of objects of type 'DNS'.
const DNSListNilKind = "DNSListNil"
DNSNilKind is the name of the type used to nil lists of objects of type 'DNS'.
const DashboardKind = "Dashboard"
DashboardKind is the name of the type used to represent objects of type 'dashboard'.
const DashboardLinkKind = "DashboardLink"
DashboardLinkKind is the name of the type used to represent links to objects of type 'dashboard'.
const DashboardListKind = "DashboardList"
DashboardListKind is the name of the type used to represent list of objects of type 'dashboard'.
const DashboardListLinkKind = "DashboardListLink"
DashboardListLinkKind is the name of the type used to represent links to list of objects of type 'dashboard'.
const DashboardListNilKind = "DashboardListNil"
DashboardNilKind is the name of the type used to nil lists of objects of type 'dashboard'.
const DashboardNilKind = "DashboardNil"
DashboardNilKind is the name of the type used to nil references to objects of type 'dashboard'.
const (
// Can't create cluster, the given external identifier is already in use.
DuplicatedExternalIDError = 1001
)
const ExternalConfigurationListKind = "ExternalConfigurationList"
ExternalConfigurationListKind is the name of the type used to represent list of objects of type 'external_configuration'.
const ExternalConfigurationListLinkKind = "ExternalConfigurationListLink"
ExternalConfigurationListLinkKind is the name of the type used to represent links to list of objects of type 'external_configuration'.
const ExternalConfigurationListNilKind = "ExternalConfigurationListNil"
ExternalConfigurationNilKind is the name of the type used to nil lists of objects of type 'external_configuration'.
const FlavourKind = "Flavour"
FlavourKind is the name of the type used to represent objects of type 'flavour'.
const FlavourLinkKind = "FlavourLink"
FlavourLinkKind is the name of the type used to represent links to objects of type 'flavour'.
const FlavourListKind = "FlavourList"
FlavourListKind is the name of the type used to represent list of objects of type 'flavour'.
const FlavourListLinkKind = "FlavourListLink"
FlavourListLinkKind is the name of the type used to represent links to list of objects of type 'flavour'.
const FlavourListNilKind = "FlavourListNil"
FlavourNilKind is the name of the type used to nil lists of objects of type 'flavour'.
const FlavourNilKind = "FlavourNil"
FlavourNilKind is the name of the type used to nil references to objects of type 'flavour'.
const FlavourNodesListKind = "FlavourNodesList"
FlavourNodesListKind is the name of the type used to represent list of objects of type 'flavour_nodes'.
const FlavourNodesListLinkKind = "FlavourNodesListLink"
FlavourNodesListLinkKind is the name of the type used to represent links to list of objects of type 'flavour_nodes'.
const FlavourNodesListNilKind = "FlavourNodesListNil"
FlavourNodesNilKind is the name of the type used to nil lists of objects of type 'flavour_nodes'.
const GCPFlavourListKind = "GCPFlavourList"
GCPFlavourListKind is the name of the type used to represent list of objects of type 'GCP_flavour'.
const GCPFlavourListLinkKind = "GCPFlavourListLink"
GCPFlavourListLinkKind is the name of the type used to represent links to list of objects of type 'GCP_flavour'.
const GCPFlavourListNilKind = "GCPFlavourListNil"
GCPFlavourNilKind is the name of the type used to nil lists of objects of type 'GCP_flavour'.
const GCPListKind = "GCPList"
GCPListKind is the name of the type used to represent list of objects of type 'GCP'.
const GCPListLinkKind = "GCPListLink"
GCPListLinkKind is the name of the type used to represent links to list of objects of type 'GCP'.
const GCPListNilKind = "GCPListNil"
GCPNilKind is the name of the type used to nil lists of objects of type 'GCP'.
const GithubIdentityProviderListKind = "GithubIdentityProviderList"
GithubIdentityProviderListKind is the name of the type used to represent list of objects of type 'github_identity_provider'.
const GithubIdentityProviderListLinkKind = "GithubIdentityProviderListLink"
GithubIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'github_identity_provider'.
const GithubIdentityProviderListNilKind = "GithubIdentityProviderListNil"
GithubIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'github_identity_provider'.
const GitlabIdentityProviderListKind = "GitlabIdentityProviderList"
GitlabIdentityProviderListKind is the name of the type used to represent list of objects of type 'gitlab_identity_provider'.
const GitlabIdentityProviderListLinkKind = "GitlabIdentityProviderListLink"
GitlabIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'gitlab_identity_provider'.
const GitlabIdentityProviderListNilKind = "GitlabIdentityProviderListNil"
GitlabIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'gitlab_identity_provider'.
const GoogleIdentityProviderListKind = "GoogleIdentityProviderList"
GoogleIdentityProviderListKind is the name of the type used to represent list of objects of type 'google_identity_provider'.
const GoogleIdentityProviderListLinkKind = "GoogleIdentityProviderListLink"
GoogleIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'google_identity_provider'.
const GoogleIdentityProviderListNilKind = "GoogleIdentityProviderListNil"
GoogleIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'google_identity_provider'.
const GroupKind = "Group"
GroupKind is the name of the type used to represent objects of type 'group'.
const GroupLinkKind = "GroupLink"
GroupLinkKind is the name of the type used to represent links to objects of type 'group'.
const GroupListKind = "GroupList"
GroupListKind is the name of the type used to represent list of objects of type 'group'.
const GroupListLinkKind = "GroupListLink"
GroupListLinkKind is the name of the type used to represent links to list of objects of type 'group'.
const GroupListNilKind = "GroupListNil"
GroupNilKind is the name of the type used to nil lists of objects of type 'group'.
const GroupNilKind = "GroupNil"
GroupNilKind is the name of the type used to nil references to objects of type 'group'.
const HTPasswdIdentityProviderListKind = "HTPasswdIdentityProviderList"
HTPasswdIdentityProviderListKind is the name of the type used to represent list of objects of type 'HT_passwd_identity_provider'.
const HTPasswdIdentityProviderListLinkKind = "HTPasswdIdentityProviderListLink"
HTPasswdIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'HT_passwd_identity_provider'.
const HTPasswdIdentityProviderListNilKind = "HTPasswdIdentityProviderListNil"
HTPasswdIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'HT_passwd_identity_provider'.
const IdentityProviderKind = "IdentityProvider"
IdentityProviderKind is the name of the type used to represent objects of type 'identity_provider'.
const IdentityProviderLinkKind = "IdentityProviderLink"
IdentityProviderLinkKind is the name of the type used to represent links to objects of type 'identity_provider'.
const IdentityProviderListKind = "IdentityProviderList"
IdentityProviderListKind is the name of the type used to represent list of objects of type 'identity_provider'.
const IdentityProviderListLinkKind = "IdentityProviderListLink"
IdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'identity_provider'.
const IdentityProviderListNilKind = "IdentityProviderListNil"
IdentityProviderNilKind is the name of the type used to nil lists of objects of type 'identity_provider'.
const IdentityProviderNilKind = "IdentityProviderNil"
IdentityProviderNilKind is the name of the type used to nil references to objects of type 'identity_provider'.
const IngressKind = "Ingress"
IngressKind is the name of the type used to represent objects of type 'ingress'.
const IngressLinkKind = "IngressLink"
IngressLinkKind is the name of the type used to represent links to objects of type 'ingress'.
const IngressListKind = "IngressList"
IngressListKind is the name of the type used to represent list of objects of type 'ingress'.
const IngressListLinkKind = "IngressListLink"
IngressListLinkKind is the name of the type used to represent links to list of objects of type 'ingress'.
const IngressListNilKind = "IngressListNil"
IngressNilKind is the name of the type used to nil lists of objects of type 'ingress'.
const IngressNilKind = "IngressNil"
IngressNilKind is the name of the type used to nil references to objects of type 'ingress'.
const LDAPAttributesListKind = "LDAPAttributesList"
LDAPAttributesListKind is the name of the type used to represent list of objects of type 'LDAP_attributes'.
const LDAPAttributesListLinkKind = "LDAPAttributesListLink"
LDAPAttributesListLinkKind is the name of the type used to represent links to list of objects of type 'LDAP_attributes'.
const LDAPAttributesListNilKind = "LDAPAttributesListNil"
LDAPAttributesNilKind is the name of the type used to nil lists of objects of type 'LDAP_attributes'.
const LDAPIdentityProviderListKind = "LDAPIdentityProviderList"
LDAPIdentityProviderListKind is the name of the type used to represent list of objects of type 'LDAP_identity_provider'.
const LDAPIdentityProviderListLinkKind = "LDAPIdentityProviderListLink"
LDAPIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'LDAP_identity_provider'.
const LDAPIdentityProviderListNilKind = "LDAPIdentityProviderListNil"
LDAPIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'LDAP_identity_provider'.
const LabelKind = "Label"
LabelKind is the name of the type used to represent objects of type 'label'.
const LabelLinkKind = "LabelLink"
LabelLinkKind is the name of the type used to represent links to objects of type 'label'.
const LabelListKind = "LabelList"
LabelListKind is the name of the type used to represent list of objects of type 'label'.
const LabelListLinkKind = "LabelListLink"
LabelListLinkKind is the name of the type used to represent links to list of objects of type 'label'.
const LabelListNilKind = "LabelListNil"
LabelNilKind is the name of the type used to nil lists of objects of type 'label'.
const LabelNilKind = "LabelNil"
LabelNilKind is the name of the type used to nil references to objects of type 'label'.
const LogKind = "Log"
LogKind is the name of the type used to represent objects of type 'log'.
const LogLinkKind = "LogLink"
LogLinkKind is the name of the type used to represent links to objects of type 'log'.
const LogListKind = "LogList"
LogListKind is the name of the type used to represent list of objects of type 'log'.
const LogListLinkKind = "LogListLink"
LogListLinkKind is the name of the type used to represent links to list of objects of type 'log'.
const LogListNilKind = "LogListNil"
LogNilKind is the name of the type used to nil lists of objects of type 'log'.
const LogNilKind = "LogNil"
LogNilKind is the name of the type used to nil references to objects of type 'log'.
const MachinePoolAutoscalingKind = "MachinePoolAutoscaling"
MachinePoolAutoscalingKind is the name of the type used to represent objects of type 'machine_pool_autoscaling'.
const MachinePoolAutoscalingLinkKind = "MachinePoolAutoscalingLink"
MachinePoolAutoscalingLinkKind is the name of the type used to represent links to objects of type 'machine_pool_autoscaling'.
const MachinePoolAutoscalingListKind = "MachinePoolAutoscalingList"
MachinePoolAutoscalingListKind is the name of the type used to represent list of objects of type 'machine_pool_autoscaling'.
const MachinePoolAutoscalingListLinkKind = "MachinePoolAutoscalingListLink"
MachinePoolAutoscalingListLinkKind is the name of the type used to represent links to list of objects of type 'machine_pool_autoscaling'.
const MachinePoolAutoscalingListNilKind = "MachinePoolAutoscalingListNil"
MachinePoolAutoscalingNilKind is the name of the type used to nil lists of objects of type 'machine_pool_autoscaling'.
const MachinePoolAutoscalingNilKind = "MachinePoolAutoscalingNil"
MachinePoolAutoscalingNilKind is the name of the type used to nil references to objects of type 'machine_pool_autoscaling'.
const MachinePoolKind = "MachinePool"
MachinePoolKind is the name of the type used to represent objects of type 'machine_pool'.
const MachinePoolLinkKind = "MachinePoolLink"
MachinePoolLinkKind is the name of the type used to represent links to objects of type 'machine_pool'.
const MachinePoolListKind = "MachinePoolList"
MachinePoolListKind is the name of the type used to represent list of objects of type 'machine_pool'.
const MachinePoolListLinkKind = "MachinePoolListLink"
MachinePoolListLinkKind is the name of the type used to represent links to list of objects of type 'machine_pool'.
const MachinePoolListNilKind = "MachinePoolListNil"
MachinePoolNilKind is the name of the type used to nil lists of objects of type 'machine_pool'.
const MachinePoolNilKind = "MachinePoolNil"
MachinePoolNilKind is the name of the type used to nil references to objects of type 'machine_pool'.
const MachineTypeKind = "MachineType"
MachineTypeKind is the name of the type used to represent objects of type 'machine_type'.
const MachineTypeLinkKind = "MachineTypeLink"
MachineTypeLinkKind is the name of the type used to represent links to objects of type 'machine_type'.
const MachineTypeListKind = "MachineTypeList"
MachineTypeListKind is the name of the type used to represent list of objects of type 'machine_type'.
const MachineTypeListLinkKind = "MachineTypeListLink"
MachineTypeListLinkKind is the name of the type used to represent links to list of objects of type 'machine_type'.
const MachineTypeListNilKind = "MachineTypeListNil"
MachineTypeNilKind is the name of the type used to nil lists of objects of type 'machine_type'.
const MachineTypeNilKind = "MachineTypeNil"
MachineTypeNilKind is the name of the type used to nil references to objects of type 'machine_type'.
const MetricListKind = "MetricList"
MetricListKind is the name of the type used to represent list of objects of type 'metric'.
const MetricListLinkKind = "MetricListLink"
MetricListLinkKind is the name of the type used to represent links to list of objects of type 'metric'.
const MetricListNilKind = "MetricListNil"
MetricNilKind is the name of the type used to nil lists of objects of type 'metric'.
const NetworkListKind = "NetworkList"
NetworkListKind is the name of the type used to represent list of objects of type 'network'.
const NetworkListLinkKind = "NetworkListLink"
NetworkListLinkKind is the name of the type used to represent links to list of objects of type 'network'.
const NetworkListNilKind = "NetworkListNil"
NetworkNilKind is the name of the type used to nil lists of objects of type 'network'.
const NodeInfoListKind = "NodeInfoList"
NodeInfoListKind is the name of the type used to represent list of objects of type 'node_info'.
const NodeInfoListLinkKind = "NodeInfoListLink"
NodeInfoListLinkKind is the name of the type used to represent links to list of objects of type 'node_info'.
const NodeInfoListNilKind = "NodeInfoListNil"
NodeInfoNilKind is the name of the type used to nil lists of objects of type 'node_info'.
const NodesInfoListKind = "NodesInfoList"
NodesInfoListKind is the name of the type used to represent list of objects of type 'nodes_info'.
const NodesInfoListLinkKind = "NodesInfoListLink"
NodesInfoListLinkKind is the name of the type used to represent links to list of objects of type 'nodes_info'.
const NodesInfoListNilKind = "NodesInfoListNil"
NodesInfoNilKind is the name of the type used to nil lists of objects of type 'nodes_info'.
const OpenIDClaimsListKind = "OpenIDClaimsList"
OpenIDClaimsListKind is the name of the type used to represent list of objects of type 'open_ID_claims'.
const OpenIDClaimsListLinkKind = "OpenIDClaimsListLink"
OpenIDClaimsListLinkKind is the name of the type used to represent links to list of objects of type 'open_ID_claims'.
const OpenIDClaimsListNilKind = "OpenIDClaimsListNil"
OpenIDClaimsNilKind is the name of the type used to nil lists of objects of type 'open_ID_claims'.
const OpenIDIdentityProviderListKind = "OpenIDIdentityProviderList"
OpenIDIdentityProviderListKind is the name of the type used to represent list of objects of type 'open_ID_identity_provider'.
const OpenIDIdentityProviderListLinkKind = "OpenIDIdentityProviderListLink"
OpenIDIdentityProviderListLinkKind is the name of the type used to represent links to list of objects of type 'open_ID_identity_provider'.
const OpenIDIdentityProviderListNilKind = "OpenIDIdentityProviderListNil"
OpenIDIdentityProviderNilKind is the name of the type used to nil lists of objects of type 'open_ID_identity_provider'.
const ProductKind = "Product"
ProductKind is the name of the type used to represent objects of type 'product'.
const ProductLinkKind = "ProductLink"
ProductLinkKind is the name of the type used to represent links to objects of type 'product'.
const ProductListKind = "ProductList"
ProductListKind is the name of the type used to represent list of objects of type 'product'.
const ProductListLinkKind = "ProductListLink"
ProductListLinkKind is the name of the type used to represent links to list of objects of type 'product'.
const ProductListNilKind = "ProductListNil"
ProductNilKind is the name of the type used to nil lists of objects of type 'product'.
const ProductNilKind = "ProductNil"
ProductNilKind is the name of the type used to nil references to objects of type 'product'.
const ProvisionShardKind = "ProvisionShard"
ProvisionShardKind is the name of the type used to represent objects of type 'provision_shard'.
const ProvisionShardLinkKind = "ProvisionShardLink"
ProvisionShardLinkKind is the name of the type used to represent links to objects of type 'provision_shard'.
const ProvisionShardListKind = "ProvisionShardList"
ProvisionShardListKind is the name of the type used to represent list of objects of type 'provision_shard'.
const ProvisionShardListLinkKind = "ProvisionShardListLink"
ProvisionShardListLinkKind is the name of the type used to represent links to list of objects of type 'provision_shard'.
const ProvisionShardListNilKind = "ProvisionShardListNil"
ProvisionShardNilKind is the name of the type used to nil lists of objects of type 'provision_shard'.
const ProvisionShardNilKind = "ProvisionShardNil"
ProvisionShardNilKind is the name of the type used to nil references to objects of type 'provision_shard'.
const SSHCredentialsListKind = "SSHCredentialsList"
SSHCredentialsListKind is the name of the type used to represent list of objects of type 'SSH_credentials'.
const SSHCredentialsListLinkKind = "SSHCredentialsListLink"
SSHCredentialsListLinkKind is the name of the type used to represent links to list of objects of type 'SSH_credentials'.
const SSHCredentialsListNilKind = "SSHCredentialsListNil"
SSHCredentialsNilKind is the name of the type used to nil lists of objects of type 'SSH_credentials'.
const SampleListKind = "SampleList"
SampleListKind is the name of the type used to represent list of objects of type 'sample'.
const SampleListLinkKind = "SampleListLink"
SampleListLinkKind is the name of the type used to represent links to list of objects of type 'sample'.
const SampleListNilKind = "SampleListNil"
SampleNilKind is the name of the type used to nil lists of objects of type 'sample'.
const ServerConfigKind = "ServerConfig"
ServerConfigKind is the name of the type used to represent objects of type 'server_config'.
const ServerConfigLinkKind = "ServerConfigLink"
ServerConfigLinkKind is the name of the type used to represent links to objects of type 'server_config'.
const ServerConfigListKind = "ServerConfigList"
ServerConfigListKind is the name of the type used to represent list of objects of type 'server_config'.
const ServerConfigListLinkKind = "ServerConfigListLink"
ServerConfigListLinkKind is the name of the type used to represent links to list of objects of type 'server_config'.
const ServerConfigListNilKind = "ServerConfigListNil"
ServerConfigNilKind is the name of the type used to nil lists of objects of type 'server_config'.
const ServerConfigNilKind = "ServerConfigNil"
ServerConfigNilKind is the name of the type used to nil references to objects of type 'server_config'.
const SocketTotalNodeRoleOSMetricNodeListKind = "SocketTotalNodeRoleOSMetricNodeList"
SocketTotalNodeRoleOSMetricNodeListKind is the name of the type used to represent list of objects of type 'socket_total_node_role_OS_metric_node'.
const SocketTotalNodeRoleOSMetricNodeListLinkKind = "SocketTotalNodeRoleOSMetricNodeListLink"
SocketTotalNodeRoleOSMetricNodeListLinkKind is the name of the type used to represent links to list of objects of type 'socket_total_node_role_OS_metric_node'.
const SocketTotalNodeRoleOSMetricNodeListNilKind = "SocketTotalNodeRoleOSMetricNodeListNil"
SocketTotalNodeRoleOSMetricNodeNilKind is the name of the type used to nil lists of objects of type 'socket_total_node_role_OS_metric_node'.
const SocketTotalsNodeRoleOSMetricNodeListKind = "SocketTotalsNodeRoleOSMetricNodeList"
SocketTotalsNodeRoleOSMetricNodeListKind is the name of the type used to represent list of objects of type 'socket_totals_node_role_OS_metric_node'.
const SocketTotalsNodeRoleOSMetricNodeListLinkKind = "SocketTotalsNodeRoleOSMetricNodeListLink"
SocketTotalsNodeRoleOSMetricNodeListLinkKind is the name of the type used to represent links to list of objects of type 'socket_totals_node_role_OS_metric_node'.
const SocketTotalsNodeRoleOSMetricNodeListNilKind = "SocketTotalsNodeRoleOSMetricNodeListNil"
SocketTotalsNodeRoleOSMetricNodeNilKind is the name of the type used to nil lists of objects of type 'socket_totals_node_role_OS_metric_node'.
const SubscriptionKind = "Subscription"
SubscriptionKind is the name of the type used to represent objects of type 'subscription'.
const SubscriptionLinkKind = "SubscriptionLink"
SubscriptionLinkKind is the name of the type used to represent links to objects of type 'subscription'.
const SubscriptionListKind = "SubscriptionList"
SubscriptionListKind is the name of the type used to represent list of objects of type 'subscription'.
const SubscriptionListLinkKind = "SubscriptionListLink"
SubscriptionListLinkKind is the name of the type used to represent links to list of objects of type 'subscription'.
const SubscriptionListNilKind = "SubscriptionListNil"
SubscriptionNilKind is the name of the type used to nil lists of objects of type 'subscription'.
const SubscriptionNilKind = "SubscriptionNil"
SubscriptionNilKind is the name of the type used to nil references to objects of type 'subscription'.
const SyncsetKind = "Syncset"
SyncsetKind is the name of the type used to represent objects of type 'syncset'.
const SyncsetLinkKind = "SyncsetLink"
SyncsetLinkKind is the name of the type used to represent links to objects of type 'syncset'.
const SyncsetListKind = "SyncsetList"
SyncsetListKind is the name of the type used to represent list of objects of type 'syncset'.
const SyncsetListLinkKind = "SyncsetListLink"
SyncsetListLinkKind is the name of the type used to represent links to list of objects of type 'syncset'.
const SyncsetListNilKind = "SyncsetListNil"
SyncsetNilKind is the name of the type used to nil lists of objects of type 'syncset'.
const SyncsetNilKind = "SyncsetNil"
SyncsetNilKind is the name of the type used to nil references to objects of type 'syncset'.
const TaintListKind = "TaintList"
TaintListKind is the name of the type used to represent list of objects of type 'taint'.
const TaintListLinkKind = "TaintListLink"
TaintListLinkKind is the name of the type used to represent links to list of objects of type 'taint'.
const TaintListNilKind = "TaintListNil"
TaintNilKind is the name of the type used to nil lists of objects of type 'taint'.
const UpgradePolicyKind = "UpgradePolicy"
UpgradePolicyKind is the name of the type used to represent objects of type 'upgrade_policy'.
const UpgradePolicyLinkKind = "UpgradePolicyLink"
UpgradePolicyLinkKind is the name of the type used to represent links to objects of type 'upgrade_policy'.
const UpgradePolicyListKind = "UpgradePolicyList"
UpgradePolicyListKind is the name of the type used to represent list of objects of type 'upgrade_policy'.
const UpgradePolicyListLinkKind = "UpgradePolicyListLink"
UpgradePolicyListLinkKind is the name of the type used to represent links to list of objects of type 'upgrade_policy'.
const UpgradePolicyListNilKind = "UpgradePolicyListNil"
UpgradePolicyNilKind is the name of the type used to nil lists of objects of type 'upgrade_policy'.
const UpgradePolicyNilKind = "UpgradePolicyNil"
UpgradePolicyNilKind is the name of the type used to nil references to objects of type 'upgrade_policy'.
const UpgradePolicyStateKind = "UpgradePolicyState"
UpgradePolicyStateKind is the name of the type used to represent objects of type 'upgrade_policy_state'.
const UpgradePolicyStateLinkKind = "UpgradePolicyStateLink"
UpgradePolicyStateLinkKind is the name of the type used to represent links to objects of type 'upgrade_policy_state'.
const UpgradePolicyStateListKind = "UpgradePolicyStateList"
UpgradePolicyStateListKind is the name of the type used to represent list of objects of type 'upgrade_policy_state'.
const UpgradePolicyStateListLinkKind = "UpgradePolicyStateListLink"
UpgradePolicyStateListLinkKind is the name of the type used to represent links to list of objects of type 'upgrade_policy_state'.
const UpgradePolicyStateListNilKind = "UpgradePolicyStateListNil"
UpgradePolicyStateNilKind is the name of the type used to nil lists of objects of type 'upgrade_policy_state'.
const UpgradePolicyStateNilKind = "UpgradePolicyStateNil"
UpgradePolicyStateNilKind is the name of the type used to nil references to objects of type 'upgrade_policy_state'.
const UserKind = "User"
UserKind is the name of the type used to represent objects of type 'user'.
const UserLinkKind = "UserLink"
UserLinkKind is the name of the type used to represent links to objects of type 'user'.
const UserListKind = "UserList"
UserListKind is the name of the type used to represent list of objects of type 'user'.
const UserListLinkKind = "UserListLink"
UserListLinkKind is the name of the type used to represent links to list of objects of type 'user'.
const UserListNilKind = "UserListNil"
UserNilKind is the name of the type used to nil lists of objects of type 'user'.
const UserNilKind = "UserNil"
UserNilKind is the name of the type used to nil references to objects of type 'user'.
const ValueListKind = "ValueList"
ValueListKind is the name of the type used to represent list of objects of type 'value'.
const ValueListLinkKind = "ValueListLink"
ValueListLinkKind is the name of the type used to represent links to list of objects of type 'value'.
const ValueListNilKind = "ValueListNil"
ValueNilKind is the name of the type used to nil lists of objects of type 'value'.
const VersionKind = "Version"
VersionKind is the name of the type used to represent objects of type 'version'.
const VersionLinkKind = "VersionLink"
VersionLinkKind is the name of the type used to represent links to objects of type 'version'.
const VersionListKind = "VersionList"
VersionListKind is the name of the type used to represent list of objects of type 'version'.
const VersionListLinkKind = "VersionListLink"
VersionListLinkKind is the name of the type used to represent links to list of objects of type 'version'.
const VersionListNilKind = "VersionListNil"
VersionNilKind is the name of the type used to nil lists of objects of type 'version'.
const VersionNilKind = "VersionNil"
VersionNilKind is the name of the type used to nil references to objects of type 'version'.
Variables ¶
var OpenAPI = []byte{}/* 231306 elements not displayed */
OpenAPI contains the OpenAPI specification of the service in JSON.
Functions ¶
func Dispatch ¶
Dispatch navigates the servers tree rooted at the given server till it finds one that matches the given set of path segments, and then invokes the corresponding server.
func MarshalAWS ¶
MarshalAWS writes a value of the 'AWS' type to the given writer.
func MarshalAWSFlavour ¶
func MarshalAWSFlavour(object *AWSFlavour, writer io.Writer) error
MarshalAWSFlavour writes a value of the 'AWS_flavour' type to the given writer.
func MarshalAWSFlavourList ¶
func MarshalAWSFlavourList(list []*AWSFlavour, writer io.Writer) error
MarshalAWSFlavourList writes a list of values of the 'AWS_flavour' type to the given writer.
func MarshalAWSInfrastructureAccessRole ¶
func MarshalAWSInfrastructureAccessRole(object *AWSInfrastructureAccessRole, writer io.Writer) error
MarshalAWSInfrastructureAccessRole writes a value of the 'AWS_infrastructure_access_role' type to the given writer.
func MarshalAWSInfrastructureAccessRoleGrant ¶
func MarshalAWSInfrastructureAccessRoleGrant(object *AWSInfrastructureAccessRoleGrant, writer io.Writer) error
MarshalAWSInfrastructureAccessRoleGrant writes a value of the 'AWS_infrastructure_access_role_grant' type to the given writer.
func MarshalAWSInfrastructureAccessRoleGrantList ¶
func MarshalAWSInfrastructureAccessRoleGrantList(list []*AWSInfrastructureAccessRoleGrant, writer io.Writer) error
MarshalAWSInfrastructureAccessRoleGrantList writes a list of values of the 'AWS_infrastructure_access_role_grant' type to the given writer.
func MarshalAWSInfrastructureAccessRoleGrantStateList ¶
func MarshalAWSInfrastructureAccessRoleGrantStateList(list []AWSInfrastructureAccessRoleGrantState, writer io.Writer) error
MarshalAWSInfrastructureAccessRoleGrantStateList writes a list of values of the 'AWS_infrastructure_access_role_grant_state' type to the given writer.
func MarshalAWSInfrastructureAccessRoleList ¶
func MarshalAWSInfrastructureAccessRoleList(list []*AWSInfrastructureAccessRole, writer io.Writer) error
MarshalAWSInfrastructureAccessRoleList writes a list of values of the 'AWS_infrastructure_access_role' type to the given writer.
func MarshalAWSInfrastructureAccessRoleStateList ¶
func MarshalAWSInfrastructureAccessRoleStateList(list []AWSInfrastructureAccessRoleState, writer io.Writer) error
MarshalAWSInfrastructureAccessRoleStateList writes a list of values of the 'AWS_infrastructure_access_role_state' type to the given writer.
func MarshalAWSList ¶
MarshalAWSList writes a list of values of the 'AWS' type to the given writer.
func MarshalAWSVolume ¶
MarshalAWSVolume writes a value of the 'AWS_volume' type to the given writer.
func MarshalAWSVolumeList ¶
MarshalAWSVolumeList writes a list of values of the 'AWS_volume' type to the given writer.
func MarshalAddOn ¶
MarshalAddOn writes a value of the 'add_on' type to the given writer.
func MarshalAddOnInstallModeList ¶
func MarshalAddOnInstallModeList(list []AddOnInstallMode, writer io.Writer) error
MarshalAddOnInstallModeList writes a list of values of the 'add_on_install_mode' type to the given writer.
func MarshalAddOnInstallation ¶
func MarshalAddOnInstallation(object *AddOnInstallation, writer io.Writer) error
MarshalAddOnInstallation writes a value of the 'add_on_installation' type to the given writer.
func MarshalAddOnInstallationList ¶
func MarshalAddOnInstallationList(list []*AddOnInstallation, writer io.Writer) error
MarshalAddOnInstallationList writes a list of values of the 'add_on_installation' type to the given writer.
func MarshalAddOnInstallationParameter ¶ added in v0.0.329
func MarshalAddOnInstallationParameter(object *AddOnInstallationParameter, writer io.Writer) error
MarshalAddOnInstallationParameter writes a value of the 'add_on_installation_parameter' type to the given writer.
func MarshalAddOnInstallationParameterList ¶ added in v0.0.329
func MarshalAddOnInstallationParameterList(list []*AddOnInstallationParameter, writer io.Writer) error
MarshalAddOnInstallationParameterList writes a list of values of the 'add_on_installation_parameter' type to the given writer.
func MarshalAddOnInstallationStateList ¶
func MarshalAddOnInstallationStateList(list []AddOnInstallationState, writer io.Writer) error
MarshalAddOnInstallationStateList writes a list of values of the 'add_on_installation_state' type to the given writer.
func MarshalAddOnList ¶
MarshalAddOnList writes a list of values of the 'add_on' type to the given writer.
func MarshalAddOnParameter ¶ added in v0.0.329
func MarshalAddOnParameter(object *AddOnParameter, writer io.Writer) error
MarshalAddOnParameter writes a value of the 'add_on_parameter' type to the given writer.
func MarshalAddOnParameterList ¶ added in v0.0.329
func MarshalAddOnParameterList(list []*AddOnParameter, writer io.Writer) error
MarshalAddOnParameterList writes a list of values of the 'add_on_parameter' type to the given writer.
func MarshalAddOnRequirement ¶ added in v0.0.329
func MarshalAddOnRequirement(object *AddOnRequirement, writer io.Writer) error
MarshalAddOnRequirement writes a value of the 'add_on_requirement' type to the given writer.
func MarshalAddOnRequirementList ¶ added in v0.0.329
func MarshalAddOnRequirementList(list []*AddOnRequirement, writer io.Writer) error
MarshalAddOnRequirementList writes a list of values of the 'add_on_requirement' type to the given writer.
func MarshalAdminCredentials ¶
func MarshalAdminCredentials(object *AdminCredentials, writer io.Writer) error
MarshalAdminCredentials writes a value of the 'admin_credentials' type to the given writer.
func MarshalAdminCredentialsList ¶
func MarshalAdminCredentialsList(list []*AdminCredentials, writer io.Writer) error
MarshalAdminCredentialsList writes a list of values of the 'admin_credentials' type to the given writer.
func MarshalAlertInfo ¶
MarshalAlertInfo writes a value of the 'alert_info' type to the given writer.
func MarshalAlertInfoList ¶
MarshalAlertInfoList writes a list of values of the 'alert_info' type to the given writer.
func MarshalAlertSeverityList ¶
func MarshalAlertSeverityList(list []AlertSeverity, writer io.Writer) error
MarshalAlertSeverityList writes a list of values of the 'alert_severity' type to the given writer.
func MarshalAlertsInfo ¶
func MarshalAlertsInfo(object *AlertsInfo, writer io.Writer) error
MarshalAlertsInfo writes a value of the 'alerts_info' type to the given writer.
func MarshalAlertsInfoList ¶
func MarshalAlertsInfoList(list []*AlertsInfo, writer io.Writer) error
MarshalAlertsInfoList writes a list of values of the 'alerts_info' type to the given writer.
func MarshalBooleanList ¶
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
func MarshalCCS ¶ added in v0.0.329
MarshalCCS writes a value of the 'CCS' type to the given writer.
func MarshalCCSList ¶ added in v0.0.329
MarshalCCSList writes a list of values of the 'CCS' type to the given writer.
func MarshalCPUTotalNodeRoleOSMetricNode ¶
func MarshalCPUTotalNodeRoleOSMetricNode(object *CPUTotalNodeRoleOSMetricNode, writer io.Writer) error
MarshalCPUTotalNodeRoleOSMetricNode writes a value of the 'CPU_total_node_role_OS_metric_node' type to the given writer.
func MarshalCPUTotalNodeRoleOSMetricNodeList ¶
func MarshalCPUTotalNodeRoleOSMetricNodeList(list []*CPUTotalNodeRoleOSMetricNode, writer io.Writer) error
MarshalCPUTotalNodeRoleOSMetricNodeList writes a list of values of the 'CPU_total_node_role_OS_metric_node' type to the given writer.
func MarshalCPUTotalsNodeRoleOSMetricNode ¶
func MarshalCPUTotalsNodeRoleOSMetricNode(object *CPUTotalsNodeRoleOSMetricNode, writer io.Writer) error
MarshalCPUTotalsNodeRoleOSMetricNode writes a value of the 'CPU_totals_node_role_OS_metric_node' type to the given writer.
func MarshalCPUTotalsNodeRoleOSMetricNodeList ¶
func MarshalCPUTotalsNodeRoleOSMetricNodeList(list []*CPUTotalsNodeRoleOSMetricNode, writer io.Writer) error
MarshalCPUTotalsNodeRoleOSMetricNodeList writes a list of values of the 'CPU_totals_node_role_OS_metric_node' type to the given writer.
func MarshalCloudProvider ¶
func MarshalCloudProvider(object *CloudProvider, writer io.Writer) error
MarshalCloudProvider writes a value of the 'cloud_provider' type to the given writer.
func MarshalCloudProviderList ¶
func MarshalCloudProviderList(list []*CloudProvider, writer io.Writer) error
MarshalCloudProviderList writes a list of values of the 'cloud_provider' type to the given writer.
func MarshalCloudRegion ¶
func MarshalCloudRegion(object *CloudRegion, writer io.Writer) error
MarshalCloudRegion writes a value of the 'cloud_region' type to the given writer.
func MarshalCloudRegionList ¶
func MarshalCloudRegionList(list []*CloudRegion, writer io.Writer) error
MarshalCloudRegionList writes a list of values of the 'cloud_region' type to the given writer.
func MarshalCluster ¶
MarshalCluster writes a value of the 'cluster' type to the given writer.
func MarshalClusterAPI ¶
func MarshalClusterAPI(object *ClusterAPI, writer io.Writer) error
MarshalClusterAPI writes a value of the 'cluster_API' type to the given writer.
func MarshalClusterAPIList ¶
func MarshalClusterAPIList(list []*ClusterAPI, writer io.Writer) error
MarshalClusterAPIList writes a list of values of the 'cluster_API' type to the given writer.
func MarshalClusterConsole ¶
func MarshalClusterConsole(object *ClusterConsole, writer io.Writer) error
MarshalClusterConsole writes a value of the 'cluster_console' type to the given writer.
func MarshalClusterConsoleList ¶
func MarshalClusterConsoleList(list []*ClusterConsole, writer io.Writer) error
MarshalClusterConsoleList writes a list of values of the 'cluster_console' type to the given writer.
func MarshalClusterCredentials ¶
func MarshalClusterCredentials(object *ClusterCredentials, writer io.Writer) error
MarshalClusterCredentials writes a value of the 'cluster_credentials' type to the given writer.
func MarshalClusterCredentialsList ¶
func MarshalClusterCredentialsList(list []*ClusterCredentials, writer io.Writer) error
MarshalClusterCredentialsList writes a list of values of the 'cluster_credentials' type to the given writer.
func MarshalClusterHealthStateList ¶
func MarshalClusterHealthStateList(list []ClusterHealthState, writer io.Writer) error
MarshalClusterHealthStateList writes a list of values of the 'cluster_health_state' type to the given writer.
func MarshalClusterList ¶
MarshalClusterList writes a list of values of the 'cluster' type to the given writer.
func MarshalClusterMetric ¶
func MarshalClusterMetric(object *ClusterMetric, writer io.Writer) error
MarshalClusterMetric writes a value of the 'cluster_metric' type to the given writer.
func MarshalClusterMetricList ¶
func MarshalClusterMetricList(list []*ClusterMetric, writer io.Writer) error
MarshalClusterMetricList writes a list of values of the 'cluster_metric' type to the given writer.
func MarshalClusterMetrics ¶
func MarshalClusterMetrics(object *ClusterMetrics, writer io.Writer) error
MarshalClusterMetrics writes a value of the 'cluster_metrics' type to the given writer.
func MarshalClusterMetricsList ¶
func MarshalClusterMetricsList(list []*ClusterMetrics, writer io.Writer) error
MarshalClusterMetricsList writes a list of values of the 'cluster_metrics' type to the given writer.
func MarshalClusterNodes ¶
func MarshalClusterNodes(object *ClusterNodes, writer io.Writer) error
MarshalClusterNodes writes a value of the 'cluster_nodes' type to the given writer.
func MarshalClusterNodesList ¶
func MarshalClusterNodesList(list []*ClusterNodes, writer io.Writer) error
MarshalClusterNodesList writes a list of values of the 'cluster_nodes' type to the given writer.
func MarshalClusterOperatorInfo ¶
func MarshalClusterOperatorInfo(object *ClusterOperatorInfo, writer io.Writer) error
MarshalClusterOperatorInfo writes a value of the 'cluster_operator_info' type to the given writer.
func MarshalClusterOperatorInfoList ¶
func MarshalClusterOperatorInfoList(list []*ClusterOperatorInfo, writer io.Writer) error
MarshalClusterOperatorInfoList writes a list of values of the 'cluster_operator_info' type to the given writer.
func MarshalClusterOperatorStateList ¶
func MarshalClusterOperatorStateList(list []ClusterOperatorState, writer io.Writer) error
MarshalClusterOperatorStateList writes a list of values of the 'cluster_operator_state' type to the given writer.
func MarshalClusterOperatorsInfo ¶
func MarshalClusterOperatorsInfo(object *ClusterOperatorsInfo, writer io.Writer) error
MarshalClusterOperatorsInfo writes a value of the 'cluster_operators_info' type to the given writer.
func MarshalClusterOperatorsInfoList ¶
func MarshalClusterOperatorsInfoList(list []*ClusterOperatorsInfo, writer io.Writer) error
MarshalClusterOperatorsInfoList writes a list of values of the 'cluster_operators_info' type to the given writer.
func MarshalClusterRegistration ¶
func MarshalClusterRegistration(object *ClusterRegistration, writer io.Writer) error
MarshalClusterRegistration writes a value of the 'cluster_registration' type to the given writer.
func MarshalClusterRegistrationList ¶
func MarshalClusterRegistrationList(list []*ClusterRegistration, writer io.Writer) error
MarshalClusterRegistrationList writes a list of values of the 'cluster_registration' type to the given writer.
func MarshalClusterStateList ¶
func MarshalClusterStateList(list []ClusterState, writer io.Writer) error
MarshalClusterStateList writes a list of values of the 'cluster_state' type to the given writer.
func MarshalClusterStatus ¶
func MarshalClusterStatus(object *ClusterStatus, writer io.Writer) error
MarshalClusterStatus writes a value of the 'cluster_status' type to the given writer.
func MarshalClusterStatusList ¶
func MarshalClusterStatusList(list []*ClusterStatus, writer io.Writer) error
MarshalClusterStatusList writes a list of values of the 'cluster_status' type to the given writer.
func MarshalDNS ¶
MarshalDNS writes a value of the 'DNS' type to the given writer.
func MarshalDNSList ¶
MarshalDNSList writes a list of values of the 'DNS' type to the given writer.
func MarshalDashboard ¶
MarshalDashboard writes a value of the 'dashboard' type to the given writer.
func MarshalDashboardList ¶
MarshalDashboardList writes a list of values of the 'dashboard' type to the given writer.
func MarshalDateList ¶
MarshalDateList writes a list of values of the 'date' type to the given writer.
func MarshalExternalConfiguration ¶
func MarshalExternalConfiguration(object *ExternalConfiguration, writer io.Writer) error
MarshalExternalConfiguration writes a value of the 'external_configuration' type to the given writer.
func MarshalExternalConfigurationList ¶
func MarshalExternalConfigurationList(list []*ExternalConfiguration, writer io.Writer) error
MarshalExternalConfigurationList writes a list of values of the 'external_configuration' type to the given writer.
func MarshalFlavour ¶
MarshalFlavour writes a value of the 'flavour' type to the given writer.
func MarshalFlavourList ¶
MarshalFlavourList writes a list of values of the 'flavour' type to the given writer.
func MarshalFlavourNodes ¶
func MarshalFlavourNodes(object *FlavourNodes, writer io.Writer) error
MarshalFlavourNodes writes a value of the 'flavour_nodes' type to the given writer.
func MarshalFlavourNodesList ¶
func MarshalFlavourNodesList(list []*FlavourNodes, writer io.Writer) error
MarshalFlavourNodesList writes a list of values of the 'flavour_nodes' type to the given writer.
func MarshalFloatList ¶
MarshalFloatList writes a list of values of the 'float' type to the given writer.
func MarshalGCP ¶ added in v0.0.329
MarshalGCP writes a value of the 'GCP' type to the given writer.
func MarshalGCPFlavour ¶
func MarshalGCPFlavour(object *GCPFlavour, writer io.Writer) error
MarshalGCPFlavour writes a value of the 'GCP_flavour' type to the given writer.
func MarshalGCPFlavourList ¶
func MarshalGCPFlavourList(list []*GCPFlavour, writer io.Writer) error
MarshalGCPFlavourList writes a list of values of the 'GCP_flavour' type to the given writer.
func MarshalGCPList ¶ added in v0.0.329
MarshalGCPList writes a list of values of the 'GCP' type to the given writer.
func MarshalGithubIdentityProvider ¶
func MarshalGithubIdentityProvider(object *GithubIdentityProvider, writer io.Writer) error
MarshalGithubIdentityProvider writes a value of the 'github_identity_provider' type to the given writer.
func MarshalGithubIdentityProviderList ¶
func MarshalGithubIdentityProviderList(list []*GithubIdentityProvider, writer io.Writer) error
MarshalGithubIdentityProviderList writes a list of values of the 'github_identity_provider' type to the given writer.
func MarshalGitlabIdentityProvider ¶
func MarshalGitlabIdentityProvider(object *GitlabIdentityProvider, writer io.Writer) error
MarshalGitlabIdentityProvider writes a value of the 'gitlab_identity_provider' type to the given writer.
func MarshalGitlabIdentityProviderList ¶
func MarshalGitlabIdentityProviderList(list []*GitlabIdentityProvider, writer io.Writer) error
MarshalGitlabIdentityProviderList writes a list of values of the 'gitlab_identity_provider' type to the given writer.
func MarshalGoogleIdentityProvider ¶
func MarshalGoogleIdentityProvider(object *GoogleIdentityProvider, writer io.Writer) error
MarshalGoogleIdentityProvider writes a value of the 'google_identity_provider' type to the given writer.
func MarshalGoogleIdentityProviderList ¶
func MarshalGoogleIdentityProviderList(list []*GoogleIdentityProvider, writer io.Writer) error
MarshalGoogleIdentityProviderList writes a list of values of the 'google_identity_provider' type to the given writer.
func MarshalGroup ¶
MarshalGroup writes a value of the 'group' type to the given writer.
func MarshalGroupList ¶
MarshalGroupList writes a list of values of the 'group' type to the given writer.
func MarshalHTPasswdIdentityProvider ¶ added in v0.0.329
func MarshalHTPasswdIdentityProvider(object *HTPasswdIdentityProvider, writer io.Writer) error
MarshalHTPasswdIdentityProvider writes a value of the 'HT_passwd_identity_provider' type to the given writer.
func MarshalHTPasswdIdentityProviderList ¶ added in v0.0.329
func MarshalHTPasswdIdentityProviderList(list []*HTPasswdIdentityProvider, writer io.Writer) error
MarshalHTPasswdIdentityProviderList writes a list of values of the 'HT_passwd_identity_provider' type to the given writer.
func MarshalIdentityProvider ¶
func MarshalIdentityProvider(object *IdentityProvider, writer io.Writer) error
MarshalIdentityProvider writes a value of the 'identity_provider' type to the given writer.
func MarshalIdentityProviderList ¶
func MarshalIdentityProviderList(list []*IdentityProvider, writer io.Writer) error
MarshalIdentityProviderList writes a list of values of the 'identity_provider' type to the given writer.
func MarshalIdentityProviderMappingMethodList ¶
func MarshalIdentityProviderMappingMethodList(list []IdentityProviderMappingMethod, writer io.Writer) error
MarshalIdentityProviderMappingMethodList writes a list of values of the 'identity_provider_mapping_method' type to the given writer.
func MarshalIdentityProviderTypeList ¶
func MarshalIdentityProviderTypeList(list []IdentityProviderType, writer io.Writer) error
MarshalIdentityProviderTypeList writes a list of values of the 'identity_provider_type' type to the given writer.
func MarshalIngress ¶
MarshalIngress writes a value of the 'ingress' type to the given writer.
func MarshalIngressList ¶
MarshalIngressList writes a list of values of the 'ingress' type to the given writer.
func MarshalIntegerList ¶
MarshalIntegerList writes a list of values of the 'integer' type to the given writer.
func MarshalInterfaceList ¶
MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.
func MarshalLDAPAttributes ¶
func MarshalLDAPAttributes(object *LDAPAttributes, writer io.Writer) error
MarshalLDAPAttributes writes a value of the 'LDAP_attributes' type to the given writer.
func MarshalLDAPAttributesList ¶
func MarshalLDAPAttributesList(list []*LDAPAttributes, writer io.Writer) error
MarshalLDAPAttributesList writes a list of values of the 'LDAP_attributes' type to the given writer.
func MarshalLDAPIdentityProvider ¶
func MarshalLDAPIdentityProvider(object *LDAPIdentityProvider, writer io.Writer) error
MarshalLDAPIdentityProvider writes a value of the 'LDAP_identity_provider' type to the given writer.
func MarshalLDAPIdentityProviderList ¶
func MarshalLDAPIdentityProviderList(list []*LDAPIdentityProvider, writer io.Writer) error
MarshalLDAPIdentityProviderList writes a list of values of the 'LDAP_identity_provider' type to the given writer.
func MarshalLabel ¶
MarshalLabel writes a value of the 'label' type to the given writer.
func MarshalLabelList ¶
MarshalLabelList writes a list of values of the 'label' type to the given writer.
func MarshalListeningMethodList ¶
func MarshalListeningMethodList(list []ListeningMethod, writer io.Writer) error
MarshalListeningMethodList writes a list of values of the 'listening_method' type to the given writer.
func MarshalLog ¶
MarshalLog writes a value of the 'log' type to the given writer.
func MarshalLogList ¶
MarshalLogList writes a list of values of the 'log' type to the given writer.
func MarshalLongList ¶
MarshalLongList writes a list of values of the 'long' type to the given writer.
func MarshalMachinePool ¶ added in v0.0.329
func MarshalMachinePool(object *MachinePool, writer io.Writer) error
MarshalMachinePool writes a value of the 'machine_pool' type to the given writer.
func MarshalMachinePoolAutoscaling ¶ added in v0.0.329
func MarshalMachinePoolAutoscaling(object *MachinePoolAutoscaling, writer io.Writer) error
MarshalMachinePoolAutoscaling writes a value of the 'machine_pool_autoscaling' type to the given writer.
func MarshalMachinePoolAutoscalingList ¶ added in v0.0.329
func MarshalMachinePoolAutoscalingList(list []*MachinePoolAutoscaling, writer io.Writer) error
MarshalMachinePoolAutoscalingList writes a list of values of the 'machine_pool_autoscaling' type to the given writer.
func MarshalMachinePoolList ¶ added in v0.0.329
func MarshalMachinePoolList(list []*MachinePool, writer io.Writer) error
MarshalMachinePoolList writes a list of values of the 'machine_pool' type to the given writer.
func MarshalMachineType ¶
func MarshalMachineType(object *MachineType, writer io.Writer) error
MarshalMachineType writes a value of the 'machine_type' type to the given writer.
func MarshalMachineTypeCategoryList ¶
func MarshalMachineTypeCategoryList(list []MachineTypeCategory, writer io.Writer) error
MarshalMachineTypeCategoryList writes a list of values of the 'machine_type_category' type to the given writer.
func MarshalMachineTypeList ¶
func MarshalMachineTypeList(list []*MachineType, writer io.Writer) error
MarshalMachineTypeList writes a list of values of the 'machine_type' type to the given writer.
func MarshalMachineTypeSizeList ¶
func MarshalMachineTypeSizeList(list []MachineTypeSize, writer io.Writer) error
MarshalMachineTypeSizeList writes a list of values of the 'machine_type_size' type to the given writer.
func MarshalMetadata ¶
MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.
func MarshalMetric ¶
MarshalMetric writes a value of the 'metric' type to the given writer.
func MarshalMetricList ¶
MarshalMetricList writes a list of values of the 'metric' type to the given writer.
func MarshalNetwork ¶
MarshalNetwork writes a value of the 'network' type to the given writer.
func MarshalNetworkList ¶
MarshalNetworkList writes a list of values of the 'network' type to the given writer.
func MarshalNodeInfo ¶
MarshalNodeInfo writes a value of the 'node_info' type to the given writer.
func MarshalNodeInfoList ¶
MarshalNodeInfoList writes a list of values of the 'node_info' type to the given writer.
func MarshalNodeTypeList ¶
MarshalNodeTypeList writes a list of values of the 'node_type' type to the given writer.
func MarshalNodesInfo ¶
MarshalNodesInfo writes a value of the 'nodes_info' type to the given writer.
func MarshalNodesInfoList ¶
MarshalNodesInfoList writes a list of values of the 'nodes_info' type to the given writer.
func MarshalOpenIDClaims ¶
func MarshalOpenIDClaims(object *OpenIDClaims, writer io.Writer) error
MarshalOpenIDClaims writes a value of the 'open_ID_claims' type to the given writer.
func MarshalOpenIDClaimsList ¶
func MarshalOpenIDClaimsList(list []*OpenIDClaims, writer io.Writer) error
MarshalOpenIDClaimsList writes a list of values of the 'open_ID_claims' type to the given writer.
func MarshalOpenIDIdentityProvider ¶
func MarshalOpenIDIdentityProvider(object *OpenIDIdentityProvider, writer io.Writer) error
MarshalOpenIDIdentityProvider writes a value of the 'open_ID_identity_provider' type to the given writer.
func MarshalOpenIDIdentityProviderList ¶
func MarshalOpenIDIdentityProviderList(list []*OpenIDIdentityProvider, writer io.Writer) error
MarshalOpenIDIdentityProviderList writes a list of values of the 'open_ID_identity_provider' type to the given writer.
func MarshalProduct ¶
MarshalProduct writes a value of the 'product' type to the given writer.
func MarshalProductList ¶
MarshalProductList writes a list of values of the 'product' type to the given writer.
func MarshalProvisionShard ¶
func MarshalProvisionShard(object *ProvisionShard, writer io.Writer) error
MarshalProvisionShard writes a value of the 'provision_shard' type to the given writer.
func MarshalProvisionShardList ¶
func MarshalProvisionShardList(list []*ProvisionShard, writer io.Writer) error
MarshalProvisionShardList writes a list of values of the 'provision_shard' type to the given writer.
func MarshalSSHCredentials ¶
func MarshalSSHCredentials(object *SSHCredentials, writer io.Writer) error
MarshalSSHCredentials writes a value of the 'SSH_credentials' type to the given writer.
func MarshalSSHCredentialsList ¶
func MarshalSSHCredentialsList(list []*SSHCredentials, writer io.Writer) error
MarshalSSHCredentialsList writes a list of values of the 'SSH_credentials' type to the given writer.
func MarshalSample ¶
MarshalSample writes a value of the 'sample' type to the given writer.
func MarshalSampleList ¶
MarshalSampleList writes a list of values of the 'sample' type to the given writer.
func MarshalServerConfig ¶
func MarshalServerConfig(object *ServerConfig, writer io.Writer) error
MarshalServerConfig writes a value of the 'server_config' type to the given writer.
func MarshalServerConfigList ¶
func MarshalServerConfigList(list []*ServerConfig, writer io.Writer) error
MarshalServerConfigList writes a list of values of the 'server_config' type to the given writer.
func MarshalSocketTotalNodeRoleOSMetricNode ¶
func MarshalSocketTotalNodeRoleOSMetricNode(object *SocketTotalNodeRoleOSMetricNode, writer io.Writer) error
MarshalSocketTotalNodeRoleOSMetricNode writes a value of the 'socket_total_node_role_OS_metric_node' type to the given writer.
func MarshalSocketTotalNodeRoleOSMetricNodeList ¶
func MarshalSocketTotalNodeRoleOSMetricNodeList(list []*SocketTotalNodeRoleOSMetricNode, writer io.Writer) error
MarshalSocketTotalNodeRoleOSMetricNodeList writes a list of values of the 'socket_total_node_role_OS_metric_node' type to the given writer.
func MarshalSocketTotalsNodeRoleOSMetricNode ¶
func MarshalSocketTotalsNodeRoleOSMetricNode(object *SocketTotalsNodeRoleOSMetricNode, writer io.Writer) error
MarshalSocketTotalsNodeRoleOSMetricNode writes a value of the 'socket_totals_node_role_OS_metric_node' type to the given writer.
func MarshalSocketTotalsNodeRoleOSMetricNodeList ¶
func MarshalSocketTotalsNodeRoleOSMetricNodeList(list []*SocketTotalsNodeRoleOSMetricNode, writer io.Writer) error
MarshalSocketTotalsNodeRoleOSMetricNodeList writes a list of values of the 'socket_totals_node_role_OS_metric_node' type to the given writer.
func MarshalStringList ¶
MarshalStringList writes a list of values of the 'string' type to the given writer.
func MarshalSubscription ¶
func MarshalSubscription(object *Subscription, writer io.Writer) error
MarshalSubscription writes a value of the 'subscription' type to the given writer.
func MarshalSubscriptionList ¶
func MarshalSubscriptionList(list []*Subscription, writer io.Writer) error
MarshalSubscriptionList writes a list of values of the 'subscription' type to the given writer.
func MarshalSyncset ¶
MarshalSyncset writes a value of the 'syncset' type to the given writer.
func MarshalSyncsetList ¶
MarshalSyncsetList writes a list of values of the 'syncset' type to the given writer.
func MarshalTaint ¶ added in v0.0.329
MarshalTaint writes a value of the 'taint' type to the given writer.
func MarshalTaintList ¶ added in v0.0.329
MarshalTaintList writes a list of values of the 'taint' type to the given writer.
func MarshalUpgradePolicy ¶ added in v0.0.329
func MarshalUpgradePolicy(object *UpgradePolicy, writer io.Writer) error
MarshalUpgradePolicy writes a value of the 'upgrade_policy' type to the given writer.
func MarshalUpgradePolicyList ¶ added in v0.0.329
func MarshalUpgradePolicyList(list []*UpgradePolicy, writer io.Writer) error
MarshalUpgradePolicyList writes a list of values of the 'upgrade_policy' type to the given writer.
func MarshalUpgradePolicyState ¶ added in v0.0.329
func MarshalUpgradePolicyState(object *UpgradePolicyState, writer io.Writer) error
MarshalUpgradePolicyState writes a value of the 'upgrade_policy_state' type to the given writer.
func MarshalUpgradePolicyStateList ¶ added in v0.0.329
func MarshalUpgradePolicyStateList(list []*UpgradePolicyState, writer io.Writer) error
MarshalUpgradePolicyStateList writes a list of values of the 'upgrade_policy_state' type to the given writer.
func MarshalUser ¶
MarshalUser writes a value of the 'user' type to the given writer.
func MarshalUserList ¶
MarshalUserList writes a list of values of the 'user' type to the given writer.
func MarshalValue ¶
MarshalValue writes a value of the 'value' type to the given writer.
func MarshalValueList ¶
MarshalValueList writes a list of values of the 'value' type to the given writer.
func MarshalVersion ¶
MarshalVersion writes a value of the 'version' type to the given writer.
func MarshalVersionList ¶
MarshalVersionList writes a list of values of the 'version' type to the given writer.
func UnmarshalBooleanList ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
AWS represents the values of the 'AWS' type.
_Amazon Web Services_ specific settings of a cluster.
func UnmarshalAWS ¶
UnmarshalAWS reads a value of the 'AWS' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAWSList ¶
UnmarshalAWSList reads a list of values of the 'AWS' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AWS) AccessKeyID ¶
AccessKeyID returns the value of the 'access_key_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
AWS access key identifier.
func (*AWS) AccountID ¶
AccountID returns the value of the 'account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
AWS account identifier.
func (*AWS) GetAccessKeyID ¶
GetAccessKeyID returns the value of the 'access_key_ID' attribute and a flag indicating if the attribute has a value.
AWS access key identifier.
func (*AWS) GetAccountID ¶
GetAccountID returns the value of the 'account_ID' attribute and a flag indicating if the attribute has a value.
AWS account identifier.
func (*AWS) GetSecretAccessKey ¶
GetSecretAccessKey returns the value of the 'secret_access_key' attribute and a flag indicating if the attribute has a value.
AWS secret access key.
func (*AWS) GetSubnetIDs ¶ added in v0.0.329
GetSubnetIDs returns the value of the 'subnet_IDs' attribute and a flag indicating if the attribute has a value.
SubnetIDs are the subnet ids to be used when installing the cluster.
func (*AWS) SecretAccessKey ¶
SecretAccessKey returns the value of the 'secret_access_key' attribute, or the zero value of the type if the attribute doesn't have a value.
AWS secret access key.
type AWSBuilder ¶
type AWSBuilder struct {
// contains filtered or unexported fields
}
AWSBuilder contains the data and logic needed to build 'AWS' objects.
_Amazon Web Services_ specific settings of a cluster.
func (*AWSBuilder) AccessKeyID ¶
func (b *AWSBuilder) AccessKeyID(value string) *AWSBuilder
AccessKeyID sets the value of the 'access_key_ID' attribute to the given value.
func (*AWSBuilder) AccountID ¶
func (b *AWSBuilder) AccountID(value string) *AWSBuilder
AccountID sets the value of the 'account_ID' attribute to the given value.
func (*AWSBuilder) Build ¶
func (b *AWSBuilder) Build() (object *AWS, err error)
Build creates a 'AWS' object using the configuration stored in the builder.
func (*AWSBuilder) Copy ¶
func (b *AWSBuilder) Copy(object *AWS) *AWSBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AWSBuilder) SecretAccessKey ¶
func (b *AWSBuilder) SecretAccessKey(value string) *AWSBuilder
SecretAccessKey sets the value of the 'secret_access_key' attribute to the given value.
func (*AWSBuilder) SubnetIDs ¶ added in v0.0.329
func (b *AWSBuilder) SubnetIDs(values ...string) *AWSBuilder
SubnetIDs sets the value of the 'subnet_IDs' attribute to the given values.
type AWSFlavour ¶
type AWSFlavour struct {
// contains filtered or unexported fields
}
AWSFlavour represents the values of the 'AWS_flavour' type.
Specification for different classes of nodes inside a flavour.
func UnmarshalAWSFlavour ¶
func UnmarshalAWSFlavour(source interface{}) (object *AWSFlavour, err error)
UnmarshalAWSFlavour reads a value of the 'AWS_flavour' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAWSFlavourList ¶
func UnmarshalAWSFlavourList(source interface{}) (items []*AWSFlavour, err error)
UnmarshalAWSFlavourList reads a list of values of the 'AWS_flavour' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AWSFlavour) ComputeInstanceType ¶
func (o *AWSFlavour) ComputeInstanceType() string
ComputeInstanceType returns the value of the 'compute_instance_type' attribute, or the zero value of the type if the attribute doesn't have a value.
AWS default instance type for the worker volume.
User can be overridden specifying in the cluster itself a type for compute node.
func (*AWSFlavour) Empty ¶
func (o *AWSFlavour) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AWSFlavour) GetComputeInstanceType ¶
func (o *AWSFlavour) GetComputeInstanceType() (value string, ok bool)
GetComputeInstanceType returns the value of the 'compute_instance_type' attribute and a flag indicating if the attribute has a value.
AWS default instance type for the worker volume.
User can be overridden specifying in the cluster itself a type for compute node.
func (*AWSFlavour) GetInfraInstanceType ¶
func (o *AWSFlavour) GetInfraInstanceType() (value string, ok bool)
GetInfraInstanceType returns the value of the 'infra_instance_type' attribute and a flag indicating if the attribute has a value.
AWS default instance type for the infra volume.
func (*AWSFlavour) GetInfraVolume ¶
func (o *AWSFlavour) GetInfraVolume() (value *AWSVolume, ok bool)
GetInfraVolume returns the value of the 'infra_volume' attribute and a flag indicating if the attribute has a value.
Infra volume specification.
func (*AWSFlavour) GetMasterInstanceType ¶
func (o *AWSFlavour) GetMasterInstanceType() (value string, ok bool)
GetMasterInstanceType returns the value of the 'master_instance_type' attribute and a flag indicating if the attribute has a value.
AWS default instance type for the master volume.
func (*AWSFlavour) GetMasterVolume ¶
func (o *AWSFlavour) GetMasterVolume() (value *AWSVolume, ok bool)
GetMasterVolume returns the value of the 'master_volume' attribute and a flag indicating if the attribute has a value.
Master volume specification.
func (*AWSFlavour) GetWorkerVolume ¶
func (o *AWSFlavour) GetWorkerVolume() (value *AWSVolume, ok bool)
GetWorkerVolume returns the value of the 'worker_volume' attribute and a flag indicating if the attribute has a value.
Worker volume specification.
func (*AWSFlavour) InfraInstanceType ¶
func (o *AWSFlavour) InfraInstanceType() string
InfraInstanceType returns the value of the 'infra_instance_type' attribute, or the zero value of the type if the attribute doesn't have a value.
AWS default instance type for the infra volume.
func (*AWSFlavour) InfraVolume ¶
func (o *AWSFlavour) InfraVolume() *AWSVolume
InfraVolume returns the value of the 'infra_volume' attribute, or the zero value of the type if the attribute doesn't have a value.
Infra volume specification.
func (*AWSFlavour) MasterInstanceType ¶
func (o *AWSFlavour) MasterInstanceType() string
MasterInstanceType returns the value of the 'master_instance_type' attribute, or the zero value of the type if the attribute doesn't have a value.
AWS default instance type for the master volume.
func (*AWSFlavour) MasterVolume ¶
func (o *AWSFlavour) MasterVolume() *AWSVolume
MasterVolume returns the value of the 'master_volume' attribute, or the zero value of the type if the attribute doesn't have a value.
Master volume specification.
func (*AWSFlavour) WorkerVolume ¶
func (o *AWSFlavour) WorkerVolume() *AWSVolume
WorkerVolume returns the value of the 'worker_volume' attribute, or the zero value of the type if the attribute doesn't have a value.
Worker volume specification.
type AWSFlavourBuilder ¶
type AWSFlavourBuilder struct {
// contains filtered or unexported fields
}
AWSFlavourBuilder contains the data and logic needed to build 'AWS_flavour' objects.
Specification for different classes of nodes inside a flavour.
func NewAWSFlavour ¶
func NewAWSFlavour() *AWSFlavourBuilder
NewAWSFlavour creates a new builder of 'AWS_flavour' objects.
func (*AWSFlavourBuilder) Build ¶
func (b *AWSFlavourBuilder) Build() (object *AWSFlavour, err error)
Build creates a 'AWS_flavour' object using the configuration stored in the builder.
func (*AWSFlavourBuilder) ComputeInstanceType ¶
func (b *AWSFlavourBuilder) ComputeInstanceType(value string) *AWSFlavourBuilder
ComputeInstanceType sets the value of the 'compute_instance_type' attribute to the given value.
func (*AWSFlavourBuilder) Copy ¶
func (b *AWSFlavourBuilder) Copy(object *AWSFlavour) *AWSFlavourBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AWSFlavourBuilder) InfraInstanceType ¶
func (b *AWSFlavourBuilder) InfraInstanceType(value string) *AWSFlavourBuilder
InfraInstanceType sets the value of the 'infra_instance_type' attribute to the given value.
func (*AWSFlavourBuilder) InfraVolume ¶
func (b *AWSFlavourBuilder) InfraVolume(value *AWSVolumeBuilder) *AWSFlavourBuilder
InfraVolume sets the value of the 'infra_volume' attribute to the given value.
Holds settings for an AWS storage volume.
func (*AWSFlavourBuilder) MasterInstanceType ¶
func (b *AWSFlavourBuilder) MasterInstanceType(value string) *AWSFlavourBuilder
MasterInstanceType sets the value of the 'master_instance_type' attribute to the given value.
func (*AWSFlavourBuilder) MasterVolume ¶
func (b *AWSFlavourBuilder) MasterVolume(value *AWSVolumeBuilder) *AWSFlavourBuilder
MasterVolume sets the value of the 'master_volume' attribute to the given value.
Holds settings for an AWS storage volume.
func (*AWSFlavourBuilder) WorkerVolume ¶
func (b *AWSFlavourBuilder) WorkerVolume(value *AWSVolumeBuilder) *AWSFlavourBuilder
WorkerVolume sets the value of the 'worker_volume' attribute to the given value.
Holds settings for an AWS storage volume.
type AWSFlavourList ¶
type AWSFlavourList struct {
// contains filtered or unexported fields
}
AWSFlavourList is a list of values of the 'AWS_flavour' type.
func (*AWSFlavourList) Each ¶
func (l *AWSFlavourList) Each(f func(item *AWSFlavour) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AWSFlavourList) Empty ¶
func (l *AWSFlavourList) Empty() bool
Empty returns true if the list is empty.
func (*AWSFlavourList) Get ¶
func (l *AWSFlavourList) Get(i int) *AWSFlavour
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AWSFlavourList) Len ¶
func (l *AWSFlavourList) Len() int
Len returns the length of the list.
func (*AWSFlavourList) Range ¶
func (l *AWSFlavourList) Range(f func(index int, item *AWSFlavour) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AWSFlavourList) Slice ¶
func (l *AWSFlavourList) Slice() []*AWSFlavour
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AWSFlavourListBuilder ¶
type AWSFlavourListBuilder struct {
// contains filtered or unexported fields
}
AWSFlavourListBuilder contains the data and logic needed to build 'AWS_flavour' objects.
func NewAWSFlavourList ¶
func NewAWSFlavourList() *AWSFlavourListBuilder
NewAWSFlavourList creates a new builder of 'AWS_flavour' objects.
func (*AWSFlavourListBuilder) Build ¶
func (b *AWSFlavourListBuilder) Build() (list *AWSFlavourList, err error)
Build creates a list of 'AWS_flavour' objects using the configuration stored in the builder.
func (*AWSFlavourListBuilder) Copy ¶
func (b *AWSFlavourListBuilder) Copy(list *AWSFlavourList) *AWSFlavourListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AWSFlavourListBuilder) Items ¶
func (b *AWSFlavourListBuilder) Items(values ...*AWSFlavourBuilder) *AWSFlavourListBuilder
Items sets the items of the list.
type AWSInfrastructureAccessRole ¶
type AWSInfrastructureAccessRole struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRole represents the values of the 'AWS_infrastructure_access_role' type.
A set of acces permissions for AWS resources
func UnmarshalAWSInfrastructureAccessRole ¶
func UnmarshalAWSInfrastructureAccessRole(source interface{}) (object *AWSInfrastructureAccessRole, err error)
UnmarshalAWSInfrastructureAccessRole reads a value of the 'AWS_infrastructure_access_role' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAWSInfrastructureAccessRoleList ¶
func UnmarshalAWSInfrastructureAccessRoleList(source interface{}) (items []*AWSInfrastructureAccessRole, err error)
UnmarshalAWSInfrastructureAccessRoleList reads a list of values of the 'AWS_infrastructure_access_role' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AWSInfrastructureAccessRole) Description ¶
func (o *AWSInfrastructureAccessRole) Description() string
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
Description of the role.
func (*AWSInfrastructureAccessRole) DisplayName ¶
func (o *AWSInfrastructureAccessRole) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
Human friendly identifier of the role, for example `Read only`.
func (*AWSInfrastructureAccessRole) Empty ¶
func (o *AWSInfrastructureAccessRole) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AWSInfrastructureAccessRole) GetDescription ¶
func (o *AWSInfrastructureAccessRole) GetDescription() (value string, ok bool)
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
Description of the role.
func (*AWSInfrastructureAccessRole) GetDisplayName ¶
func (o *AWSInfrastructureAccessRole) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
Human friendly identifier of the role, for example `Read only`.
func (*AWSInfrastructureAccessRole) GetHREF ¶
func (o *AWSInfrastructureAccessRole) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*AWSInfrastructureAccessRole) GetID ¶
func (o *AWSInfrastructureAccessRole) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*AWSInfrastructureAccessRole) GetState ¶
func (o *AWSInfrastructureAccessRole) GetState() (value AWSInfrastructureAccessRoleState, ok bool)
GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.
State of the role.
func (*AWSInfrastructureAccessRole) HREF ¶
func (o *AWSInfrastructureAccessRole) HREF() string
HREF returns the link to the object.
func (*AWSInfrastructureAccessRole) ID ¶
func (o *AWSInfrastructureAccessRole) ID() string
ID returns the identifier of the object.
func (*AWSInfrastructureAccessRole) Kind ¶
func (o *AWSInfrastructureAccessRole) Kind() string
Kind returns the name of the type of the object.
func (*AWSInfrastructureAccessRole) Link ¶
func (o *AWSInfrastructureAccessRole) Link() bool
Link returns true iif this is a link.
func (*AWSInfrastructureAccessRole) State ¶
func (o *AWSInfrastructureAccessRole) State() AWSInfrastructureAccessRoleState
State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.
State of the role.
type AWSInfrastructureAccessRoleBuilder ¶
type AWSInfrastructureAccessRoleBuilder struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleBuilder contains the data and logic needed to build 'AWS_infrastructure_access_role' objects.
A set of acces permissions for AWS resources
func NewAWSInfrastructureAccessRole ¶
func NewAWSInfrastructureAccessRole() *AWSInfrastructureAccessRoleBuilder
NewAWSInfrastructureAccessRole creates a new builder of 'AWS_infrastructure_access_role' objects.
func (*AWSInfrastructureAccessRoleBuilder) Build ¶
func (b *AWSInfrastructureAccessRoleBuilder) Build() (object *AWSInfrastructureAccessRole, err error)
Build creates a 'AWS_infrastructure_access_role' object using the configuration stored in the builder.
func (*AWSInfrastructureAccessRoleBuilder) Copy ¶
func (b *AWSInfrastructureAccessRoleBuilder) Copy(object *AWSInfrastructureAccessRole) *AWSInfrastructureAccessRoleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AWSInfrastructureAccessRoleBuilder) Description ¶
func (b *AWSInfrastructureAccessRoleBuilder) Description(value string) *AWSInfrastructureAccessRoleBuilder
Description sets the value of the 'description' attribute to the given value.
func (*AWSInfrastructureAccessRoleBuilder) DisplayName ¶
func (b *AWSInfrastructureAccessRoleBuilder) DisplayName(value string) *AWSInfrastructureAccessRoleBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*AWSInfrastructureAccessRoleBuilder) HREF ¶
func (b *AWSInfrastructureAccessRoleBuilder) HREF(value string) *AWSInfrastructureAccessRoleBuilder
HREF sets the link to the object.
func (*AWSInfrastructureAccessRoleBuilder) ID ¶
func (b *AWSInfrastructureAccessRoleBuilder) ID(value string) *AWSInfrastructureAccessRoleBuilder
ID sets the identifier of the object.
func (*AWSInfrastructureAccessRoleBuilder) Link ¶
func (b *AWSInfrastructureAccessRoleBuilder) Link(value bool) *AWSInfrastructureAccessRoleBuilder
Link sets the flag that indicates if this is a link.
func (*AWSInfrastructureAccessRoleBuilder) State ¶
func (b *AWSInfrastructureAccessRoleBuilder) State(value AWSInfrastructureAccessRoleState) *AWSInfrastructureAccessRoleBuilder
State sets the value of the 'state' attribute to the given value.
State of an AWS infrastructure access role.
type AWSInfrastructureAccessRoleClient ¶
type AWSInfrastructureAccessRoleClient struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleClient is the client of the 'AWS_infrastructure_access_role' resource.
Manages a specific aws infrastructure access role.
func NewAWSInfrastructureAccessRoleClient ¶
func NewAWSInfrastructureAccessRoleClient(transport http.RoundTripper, path string, metric string) *AWSInfrastructureAccessRoleClient
NewAWSInfrastructureAccessRoleClient creates a new client for the 'AWS_infrastructure_access_role' resource using the given transport to send the requests and receive the responses.
func (*AWSInfrastructureAccessRoleClient) Get ¶
func (c *AWSInfrastructureAccessRoleClient) Get() *AWSInfrastructureAccessRoleGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the aws infrastructure access role.
func (*AWSInfrastructureAccessRoleClient) Poll ¶
func (c *AWSInfrastructureAccessRoleClient) Poll() *AWSInfrastructureAccessRolePollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type AWSInfrastructureAccessRoleGetRequest ¶
type AWSInfrastructureAccessRoleGetRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGetRequest is the request for the 'get' method.
func (*AWSInfrastructureAccessRoleGetRequest) Header ¶
func (r *AWSInfrastructureAccessRoleGetRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGetRequest
Header adds a request header.
func (*AWSInfrastructureAccessRoleGetRequest) Parameter ¶
func (r *AWSInfrastructureAccessRoleGetRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGetRequest
Parameter adds a query parameter.
func (*AWSInfrastructureAccessRoleGetRequest) Send ¶
func (r *AWSInfrastructureAccessRoleGetRequest) Send() (result *AWSInfrastructureAccessRoleGetResponse, 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 (*AWSInfrastructureAccessRoleGetRequest) SendContext ¶
func (r *AWSInfrastructureAccessRoleGetRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRoleGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AWSInfrastructureAccessRoleGetResponse ¶
type AWSInfrastructureAccessRoleGetResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGetResponse is the response for the 'get' method.
func (*AWSInfrastructureAccessRoleGetResponse) Body ¶
func (r *AWSInfrastructureAccessRoleGetResponse) Body() *AWSInfrastructureAccessRole
Body returns the value of the 'body' parameter.
func (*AWSInfrastructureAccessRoleGetResponse) Error ¶
func (r *AWSInfrastructureAccessRoleGetResponse) Error() *errors.Error
Error returns the response error.
func (*AWSInfrastructureAccessRoleGetResponse) GetBody ¶
func (r *AWSInfrastructureAccessRoleGetResponse) GetBody() (value *AWSInfrastructureAccessRole, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AWSInfrastructureAccessRoleGetResponse) Header ¶
func (r *AWSInfrastructureAccessRoleGetResponse) Header() http.Header
Header returns header of the response.
func (*AWSInfrastructureAccessRoleGetResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGetResponse) Status() int
Status returns the response status code.
type AWSInfrastructureAccessRoleGetServerRequest ¶
type AWSInfrastructureAccessRoleGetServerRequest struct { }
AWSInfrastructureAccessRoleGetServerRequest is the request for the 'get' method.
type AWSInfrastructureAccessRoleGetServerResponse ¶
type AWSInfrastructureAccessRoleGetServerResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGetServerResponse is the response for the 'get' method.
func (*AWSInfrastructureAccessRoleGetServerResponse) Body ¶
func (r *AWSInfrastructureAccessRoleGetServerResponse) Body(value *AWSInfrastructureAccessRole) *AWSInfrastructureAccessRoleGetServerResponse
Body sets the value of the 'body' parameter.
func (*AWSInfrastructureAccessRoleGetServerResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGetServerResponse) Status(value int) *AWSInfrastructureAccessRoleGetServerResponse
Status sets the status code.
type AWSInfrastructureAccessRoleGrant ¶
type AWSInfrastructureAccessRoleGrant struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrant represents the values of the 'AWS_infrastructure_access_role_grant' type.
Representation of an AWS infrastructure access role grant.
func UnmarshalAWSInfrastructureAccessRoleGrant ¶
func UnmarshalAWSInfrastructureAccessRoleGrant(source interface{}) (object *AWSInfrastructureAccessRoleGrant, err error)
UnmarshalAWSInfrastructureAccessRoleGrant reads a value of the 'AWS_infrastructure_access_role_grant' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAWSInfrastructureAccessRoleGrantList ¶
func UnmarshalAWSInfrastructureAccessRoleGrantList(source interface{}) (items []*AWSInfrastructureAccessRoleGrant, err error)
UnmarshalAWSInfrastructureAccessRoleGrantList reads a list of values of the 'AWS_infrastructure_access_role_grant' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AWSInfrastructureAccessRoleGrant) ConsoleURL ¶
func (o *AWSInfrastructureAccessRoleGrant) ConsoleURL() string
ConsoleURL returns the value of the 'console_URL' attribute, or the zero value of the type if the attribute doesn't have a value.
URL to switch to the role in AWS console.
func (*AWSInfrastructureAccessRoleGrant) Empty ¶
func (o *AWSInfrastructureAccessRoleGrant) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AWSInfrastructureAccessRoleGrant) GetConsoleURL ¶
func (o *AWSInfrastructureAccessRoleGrant) GetConsoleURL() (value string, ok bool)
GetConsoleURL returns the value of the 'console_URL' attribute and a flag indicating if the attribute has a value.
URL to switch to the role in AWS console.
func (*AWSInfrastructureAccessRoleGrant) GetHREF ¶
func (o *AWSInfrastructureAccessRoleGrant) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*AWSInfrastructureAccessRoleGrant) GetID ¶
func (o *AWSInfrastructureAccessRoleGrant) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*AWSInfrastructureAccessRoleGrant) GetRole ¶
func (o *AWSInfrastructureAccessRoleGrant) GetRole() (value *AWSInfrastructureAccessRole, ok bool)
GetRole returns the value of the 'role' attribute and a flag indicating if the attribute has a value.
Link to AWS infrastructure access role. Grant must use a 'valid' role.
func (*AWSInfrastructureAccessRoleGrant) GetState ¶
func (o *AWSInfrastructureAccessRoleGrant) GetState() (value AWSInfrastructureAccessRoleGrantState, ok bool)
GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.
State of the grant.
func (*AWSInfrastructureAccessRoleGrant) GetStateDescription ¶
func (o *AWSInfrastructureAccessRoleGrant) GetStateDescription() (value string, ok bool)
GetStateDescription returns the value of the 'state_description' attribute and a flag indicating if the attribute has a value.
Description of the state. Will be empty unless state is 'Failed'.
func (*AWSInfrastructureAccessRoleGrant) GetUserARN ¶
func (o *AWSInfrastructureAccessRoleGrant) GetUserARN() (value string, ok bool)
GetUserARN returns the value of the 'user_ARN' attribute and a flag indicating if the attribute has a value.
The user AWS IAM ARN we want to grant the role.
func (*AWSInfrastructureAccessRoleGrant) HREF ¶
func (o *AWSInfrastructureAccessRoleGrant) HREF() string
HREF returns the link to the object.
func (*AWSInfrastructureAccessRoleGrant) ID ¶
func (o *AWSInfrastructureAccessRoleGrant) ID() string
ID returns the identifier of the object.
func (*AWSInfrastructureAccessRoleGrant) Kind ¶
func (o *AWSInfrastructureAccessRoleGrant) Kind() string
Kind returns the name of the type of the object.
func (*AWSInfrastructureAccessRoleGrant) Link ¶
func (o *AWSInfrastructureAccessRoleGrant) Link() bool
Link returns true iif this is a link.
func (*AWSInfrastructureAccessRoleGrant) Role ¶
func (o *AWSInfrastructureAccessRoleGrant) Role() *AWSInfrastructureAccessRole
Role returns the value of the 'role' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to AWS infrastructure access role. Grant must use a 'valid' role.
func (*AWSInfrastructureAccessRoleGrant) State ¶
func (o *AWSInfrastructureAccessRoleGrant) State() AWSInfrastructureAccessRoleGrantState
State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.
State of the grant.
func (*AWSInfrastructureAccessRoleGrant) StateDescription ¶
func (o *AWSInfrastructureAccessRoleGrant) StateDescription() string
StateDescription returns the value of the 'state_description' attribute, or the zero value of the type if the attribute doesn't have a value.
Description of the state. Will be empty unless state is 'Failed'.
func (*AWSInfrastructureAccessRoleGrant) UserARN ¶
func (o *AWSInfrastructureAccessRoleGrant) UserARN() string
UserARN returns the value of the 'user_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.
The user AWS IAM ARN we want to grant the role.
type AWSInfrastructureAccessRoleGrantBuilder ¶
type AWSInfrastructureAccessRoleGrantBuilder struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantBuilder contains the data and logic needed to build 'AWS_infrastructure_access_role_grant' objects.
Representation of an AWS infrastructure access role grant.
func NewAWSInfrastructureAccessRoleGrant ¶
func NewAWSInfrastructureAccessRoleGrant() *AWSInfrastructureAccessRoleGrantBuilder
NewAWSInfrastructureAccessRoleGrant creates a new builder of 'AWS_infrastructure_access_role_grant' objects.
func (*AWSInfrastructureAccessRoleGrantBuilder) Build ¶
func (b *AWSInfrastructureAccessRoleGrantBuilder) Build() (object *AWSInfrastructureAccessRoleGrant, err error)
Build creates a 'AWS_infrastructure_access_role_grant' object using the configuration stored in the builder.
func (*AWSInfrastructureAccessRoleGrantBuilder) ConsoleURL ¶
func (b *AWSInfrastructureAccessRoleGrantBuilder) ConsoleURL(value string) *AWSInfrastructureAccessRoleGrantBuilder
ConsoleURL sets the value of the 'console_URL' attribute to the given value.
func (*AWSInfrastructureAccessRoleGrantBuilder) Copy ¶
func (b *AWSInfrastructureAccessRoleGrantBuilder) Copy(object *AWSInfrastructureAccessRoleGrant) *AWSInfrastructureAccessRoleGrantBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AWSInfrastructureAccessRoleGrantBuilder) HREF ¶
func (b *AWSInfrastructureAccessRoleGrantBuilder) HREF(value string) *AWSInfrastructureAccessRoleGrantBuilder
HREF sets the link to the object.
func (*AWSInfrastructureAccessRoleGrantBuilder) ID ¶
func (b *AWSInfrastructureAccessRoleGrantBuilder) ID(value string) *AWSInfrastructureAccessRoleGrantBuilder
ID sets the identifier of the object.
func (*AWSInfrastructureAccessRoleGrantBuilder) Link ¶
func (b *AWSInfrastructureAccessRoleGrantBuilder) Link(value bool) *AWSInfrastructureAccessRoleGrantBuilder
Link sets the flag that indicates if this is a link.
func (*AWSInfrastructureAccessRoleGrantBuilder) Role ¶
func (b *AWSInfrastructureAccessRoleGrantBuilder) Role(value *AWSInfrastructureAccessRoleBuilder) *AWSInfrastructureAccessRoleGrantBuilder
Role sets the value of the 'role' attribute to the given value.
A set of acces permissions for AWS resources
func (*AWSInfrastructureAccessRoleGrantBuilder) State ¶
func (b *AWSInfrastructureAccessRoleGrantBuilder) State(value AWSInfrastructureAccessRoleGrantState) *AWSInfrastructureAccessRoleGrantBuilder
State sets the value of the 'state' attribute to the given value.
State of an AWS infrastructure access role grant.
func (*AWSInfrastructureAccessRoleGrantBuilder) StateDescription ¶
func (b *AWSInfrastructureAccessRoleGrantBuilder) StateDescription(value string) *AWSInfrastructureAccessRoleGrantBuilder
StateDescription sets the value of the 'state_description' attribute to the given value.
func (*AWSInfrastructureAccessRoleGrantBuilder) UserARN ¶
func (b *AWSInfrastructureAccessRoleGrantBuilder) UserARN(value string) *AWSInfrastructureAccessRoleGrantBuilder
UserARN sets the value of the 'user_ARN' attribute to the given value.
type AWSInfrastructureAccessRoleGrantClient ¶
type AWSInfrastructureAccessRoleGrantClient struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantClient is the client of the 'AWS_infrastructure_access_role_grant' resource.
Manages a specific AWS infrastructure access role grant.
func NewAWSInfrastructureAccessRoleGrantClient ¶
func NewAWSInfrastructureAccessRoleGrantClient(transport http.RoundTripper, path string, metric string) *AWSInfrastructureAccessRoleGrantClient
NewAWSInfrastructureAccessRoleGrantClient creates a new client for the 'AWS_infrastructure_access_role_grant' resource using the given transport to send the requests and receive the responses.
func (*AWSInfrastructureAccessRoleGrantClient) Delete ¶
func (c *AWSInfrastructureAccessRoleGrantClient) Delete() *AWSInfrastructureAccessRoleGrantDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the AWS infrastructure access role grant.
func (*AWSInfrastructureAccessRoleGrantClient) Get ¶
Get creates a request for the 'get' method.
Retrieves the details of the AWS infrastructure access role grant.
func (*AWSInfrastructureAccessRoleGrantClient) Poll ¶
func (c *AWSInfrastructureAccessRoleGrantClient) Poll() *AWSInfrastructureAccessRoleGrantPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type AWSInfrastructureAccessRoleGrantDeleteRequest ¶
type AWSInfrastructureAccessRoleGrantDeleteRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantDeleteRequest is the request for the 'delete' method.
func (*AWSInfrastructureAccessRoleGrantDeleteRequest) Header ¶
func (r *AWSInfrastructureAccessRoleGrantDeleteRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGrantDeleteRequest
Header adds a request header.
func (*AWSInfrastructureAccessRoleGrantDeleteRequest) Parameter ¶
func (r *AWSInfrastructureAccessRoleGrantDeleteRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGrantDeleteRequest
Parameter adds a query parameter.
func (*AWSInfrastructureAccessRoleGrantDeleteRequest) Send ¶
func (r *AWSInfrastructureAccessRoleGrantDeleteRequest) Send() (result *AWSInfrastructureAccessRoleGrantDeleteResponse, 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 (*AWSInfrastructureAccessRoleGrantDeleteRequest) SendContext ¶
func (r *AWSInfrastructureAccessRoleGrantDeleteRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRoleGrantDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AWSInfrastructureAccessRoleGrantDeleteResponse ¶
type AWSInfrastructureAccessRoleGrantDeleteResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantDeleteResponse is the response for the 'delete' method.
func (*AWSInfrastructureAccessRoleGrantDeleteResponse) Error ¶
func (r *AWSInfrastructureAccessRoleGrantDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*AWSInfrastructureAccessRoleGrantDeleteResponse) Header ¶
func (r *AWSInfrastructureAccessRoleGrantDeleteResponse) Header() http.Header
Header returns header of the response.
func (*AWSInfrastructureAccessRoleGrantDeleteResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGrantDeleteResponse) Status() int
Status returns the response status code.
type AWSInfrastructureAccessRoleGrantDeleteServerRequest ¶
type AWSInfrastructureAccessRoleGrantDeleteServerRequest struct { }
AWSInfrastructureAccessRoleGrantDeleteServerRequest is the request for the 'delete' method.
type AWSInfrastructureAccessRoleGrantDeleteServerResponse ¶
type AWSInfrastructureAccessRoleGrantDeleteServerResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantDeleteServerResponse is the response for the 'delete' method.
func (*AWSInfrastructureAccessRoleGrantDeleteServerResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGrantDeleteServerResponse) Status(value int) *AWSInfrastructureAccessRoleGrantDeleteServerResponse
Status sets the status code.
type AWSInfrastructureAccessRoleGrantGetRequest ¶
type AWSInfrastructureAccessRoleGrantGetRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantGetRequest is the request for the 'get' method.
func (*AWSInfrastructureAccessRoleGrantGetRequest) Header ¶
func (r *AWSInfrastructureAccessRoleGrantGetRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGrantGetRequest
Header adds a request header.
func (*AWSInfrastructureAccessRoleGrantGetRequest) Parameter ¶
func (r *AWSInfrastructureAccessRoleGrantGetRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGrantGetRequest
Parameter adds a query parameter.
func (*AWSInfrastructureAccessRoleGrantGetRequest) Send ¶
func (r *AWSInfrastructureAccessRoleGrantGetRequest) Send() (result *AWSInfrastructureAccessRoleGrantGetResponse, 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 (*AWSInfrastructureAccessRoleGrantGetRequest) SendContext ¶
func (r *AWSInfrastructureAccessRoleGrantGetRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRoleGrantGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AWSInfrastructureAccessRoleGrantGetResponse ¶
type AWSInfrastructureAccessRoleGrantGetResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantGetResponse is the response for the 'get' method.
func (*AWSInfrastructureAccessRoleGrantGetResponse) Body ¶
func (r *AWSInfrastructureAccessRoleGrantGetResponse) Body() *AWSInfrastructureAccessRoleGrant
Body returns the value of the 'body' parameter.
func (*AWSInfrastructureAccessRoleGrantGetResponse) Error ¶
func (r *AWSInfrastructureAccessRoleGrantGetResponse) Error() *errors.Error
Error returns the response error.
func (*AWSInfrastructureAccessRoleGrantGetResponse) GetBody ¶
func (r *AWSInfrastructureAccessRoleGrantGetResponse) GetBody() (value *AWSInfrastructureAccessRoleGrant, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AWSInfrastructureAccessRoleGrantGetResponse) Header ¶
func (r *AWSInfrastructureAccessRoleGrantGetResponse) Header() http.Header
Header returns header of the response.
func (*AWSInfrastructureAccessRoleGrantGetResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGrantGetResponse) Status() int
Status returns the response status code.
type AWSInfrastructureAccessRoleGrantGetServerRequest ¶
type AWSInfrastructureAccessRoleGrantGetServerRequest struct { }
AWSInfrastructureAccessRoleGrantGetServerRequest is the request for the 'get' method.
type AWSInfrastructureAccessRoleGrantGetServerResponse ¶
type AWSInfrastructureAccessRoleGrantGetServerResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantGetServerResponse is the response for the 'get' method.
func (*AWSInfrastructureAccessRoleGrantGetServerResponse) Body ¶
func (r *AWSInfrastructureAccessRoleGrantGetServerResponse) Body(value *AWSInfrastructureAccessRoleGrant) *AWSInfrastructureAccessRoleGrantGetServerResponse
Body sets the value of the 'body' parameter.
func (*AWSInfrastructureAccessRoleGrantGetServerResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGrantGetServerResponse) Status(value int) *AWSInfrastructureAccessRoleGrantGetServerResponse
Status sets the status code.
type AWSInfrastructureAccessRoleGrantList ¶
type AWSInfrastructureAccessRoleGrantList struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantList is a list of values of the 'AWS_infrastructure_access_role_grant' type.
func (*AWSInfrastructureAccessRoleGrantList) Each ¶
func (l *AWSInfrastructureAccessRoleGrantList) Each(f func(item *AWSInfrastructureAccessRoleGrant) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AWSInfrastructureAccessRoleGrantList) Empty ¶
func (l *AWSInfrastructureAccessRoleGrantList) Empty() bool
Empty returns true if the list is empty.
func (*AWSInfrastructureAccessRoleGrantList) Get ¶
func (l *AWSInfrastructureAccessRoleGrantList) Get(i int) *AWSInfrastructureAccessRoleGrant
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AWSInfrastructureAccessRoleGrantList) GetHREF ¶
func (l *AWSInfrastructureAccessRoleGrantList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*AWSInfrastructureAccessRoleGrantList) HREF ¶
func (l *AWSInfrastructureAccessRoleGrantList) HREF() string
HREF returns the link to the list.
func (*AWSInfrastructureAccessRoleGrantList) Kind ¶
func (l *AWSInfrastructureAccessRoleGrantList) Kind() string
Kind returns the name of the type of the object.
func (*AWSInfrastructureAccessRoleGrantList) Len ¶
func (l *AWSInfrastructureAccessRoleGrantList) Len() int
Len returns the length of the list.
func (*AWSInfrastructureAccessRoleGrantList) Link ¶
func (l *AWSInfrastructureAccessRoleGrantList) Link() bool
Link returns true iif this is a link.
func (*AWSInfrastructureAccessRoleGrantList) Range ¶
func (l *AWSInfrastructureAccessRoleGrantList) Range(f func(index int, item *AWSInfrastructureAccessRoleGrant) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AWSInfrastructureAccessRoleGrantList) Slice ¶
func (l *AWSInfrastructureAccessRoleGrantList) Slice() []*AWSInfrastructureAccessRoleGrant
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AWSInfrastructureAccessRoleGrantListBuilder ¶
type AWSInfrastructureAccessRoleGrantListBuilder struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantListBuilder contains the data and logic needed to build 'AWS_infrastructure_access_role_grant' objects.
func NewAWSInfrastructureAccessRoleGrantList ¶
func NewAWSInfrastructureAccessRoleGrantList() *AWSInfrastructureAccessRoleGrantListBuilder
NewAWSInfrastructureAccessRoleGrantList creates a new builder of 'AWS_infrastructure_access_role_grant' objects.
func (*AWSInfrastructureAccessRoleGrantListBuilder) Build ¶
func (b *AWSInfrastructureAccessRoleGrantListBuilder) Build() (list *AWSInfrastructureAccessRoleGrantList, err error)
Build creates a list of 'AWS_infrastructure_access_role_grant' objects using the configuration stored in the builder.
func (*AWSInfrastructureAccessRoleGrantListBuilder) Copy ¶
func (b *AWSInfrastructureAccessRoleGrantListBuilder) Copy(list *AWSInfrastructureAccessRoleGrantList) *AWSInfrastructureAccessRoleGrantListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AWSInfrastructureAccessRoleGrantListBuilder) Items ¶
func (b *AWSInfrastructureAccessRoleGrantListBuilder) Items(values ...*AWSInfrastructureAccessRoleGrantBuilder) *AWSInfrastructureAccessRoleGrantListBuilder
Items sets the items of the list.
type AWSInfrastructureAccessRoleGrantPollRequest ¶
type AWSInfrastructureAccessRoleGrantPollRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantPollRequest is the request for the Poll method.
func (*AWSInfrastructureAccessRoleGrantPollRequest) Header ¶
func (r *AWSInfrastructureAccessRoleGrantPollRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGrantPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*AWSInfrastructureAccessRoleGrantPollRequest) Interval ¶
func (r *AWSInfrastructureAccessRoleGrantPollRequest) Interval(value time.Duration) *AWSInfrastructureAccessRoleGrantPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*AWSInfrastructureAccessRoleGrantPollRequest) Parameter ¶
func (r *AWSInfrastructureAccessRoleGrantPollRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGrantPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*AWSInfrastructureAccessRoleGrantPollRequest) Predicate ¶
func (r *AWSInfrastructureAccessRoleGrantPollRequest) Predicate(value func(*AWSInfrastructureAccessRoleGrantGetResponse) bool) *AWSInfrastructureAccessRoleGrantPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*AWSInfrastructureAccessRoleGrantPollRequest) StartContext ¶
func (r *AWSInfrastructureAccessRoleGrantPollRequest) StartContext(ctx context.Context) (response *AWSInfrastructureAccessRoleGrantPollResponse, 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 (*AWSInfrastructureAccessRoleGrantPollRequest) Status ¶
func (r *AWSInfrastructureAccessRoleGrantPollRequest) Status(value int) *AWSInfrastructureAccessRoleGrantPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type AWSInfrastructureAccessRoleGrantPollResponse ¶
type AWSInfrastructureAccessRoleGrantPollResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantPollResponse is the response for the Poll method.
func (*AWSInfrastructureAccessRoleGrantPollResponse) Body ¶
func (r *AWSInfrastructureAccessRoleGrantPollResponse) Body() *AWSInfrastructureAccessRoleGrant
Body returns the value of the 'body' parameter.
func (*AWSInfrastructureAccessRoleGrantPollResponse) Error ¶
func (r *AWSInfrastructureAccessRoleGrantPollResponse) Error() *errors.Error
Error returns the response error.
func (*AWSInfrastructureAccessRoleGrantPollResponse) GetBody ¶
func (r *AWSInfrastructureAccessRoleGrantPollResponse) GetBody() (value *AWSInfrastructureAccessRoleGrant, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AWSInfrastructureAccessRoleGrantPollResponse) Header ¶
func (r *AWSInfrastructureAccessRoleGrantPollResponse) Header() http.Header
Header returns header of the response.
func (*AWSInfrastructureAccessRoleGrantPollResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGrantPollResponse) Status() int
Status returns the response status code.
type AWSInfrastructureAccessRoleGrantServer ¶
type AWSInfrastructureAccessRoleGrantServer interface { // Delete handles a request for the 'delete' method. // // Deletes the AWS infrastructure access role grant. Delete(ctx context.Context, request *AWSInfrastructureAccessRoleGrantDeleteServerRequest, response *AWSInfrastructureAccessRoleGrantDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the AWS infrastructure access role grant. Get(ctx context.Context, request *AWSInfrastructureAccessRoleGrantGetServerRequest, response *AWSInfrastructureAccessRoleGrantGetServerResponse) error }
AWSInfrastructureAccessRoleGrantServer represents the interface the manages the 'AWS_infrastructure_access_role_grant' resource.
type AWSInfrastructureAccessRoleGrantState ¶
type AWSInfrastructureAccessRoleGrantState string
AWSInfrastructureAccessRoleGrantState represents the values of the 'AWS_infrastructure_access_role_grant_state' enumerated type.
const ( // The access role grant is in the process of being deleted. AWSInfrastructureAccessRoleGrantStateDeleting AWSInfrastructureAccessRoleGrantState = "deleting" // The attempt to grant access role to user ARN failed. AWSInfrastructureAccessRoleGrantStateFailed AWSInfrastructureAccessRoleGrantState = "failed" // The access role grant in pending. AWSInfrastructureAccessRoleGrantStatePending AWSInfrastructureAccessRoleGrantState = "pending" // Access role has been granted to user. AWSInfrastructureAccessRoleGrantStateReady AWSInfrastructureAccessRoleGrantState = "ready" // This ia a special state intended for the user know // that the access role grant has been removed by SRE. // The user can delete this grant from the DB. AWSInfrastructureAccessRoleGrantStateRemoved AWSInfrastructureAccessRoleGrantState = "removed" )
func UnmarshalAWSInfrastructureAccessRoleGrantStateList ¶
func UnmarshalAWSInfrastructureAccessRoleGrantStateList(source interface{}) (items []AWSInfrastructureAccessRoleGrantState, err error)
UnmarshalAWSInfrastructureAccessRoleGrantStateList reads a list of values of the 'AWS_infrastructure_access_role_grant_state' type from the given source, which can be a slice of bytes, a string or a reader.
type AWSInfrastructureAccessRoleGrantsAddRequest ¶
type AWSInfrastructureAccessRoleGrantsAddRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantsAddRequest is the request for the 'add' method.
func (*AWSInfrastructureAccessRoleGrantsAddRequest) Body ¶
func (r *AWSInfrastructureAccessRoleGrantsAddRequest) Body(value *AWSInfrastructureAccessRoleGrant) *AWSInfrastructureAccessRoleGrantsAddRequest
Body sets the value of the 'body' parameter.
Description of the AWS infrastructure access role grant.
func (*AWSInfrastructureAccessRoleGrantsAddRequest) Header ¶
func (r *AWSInfrastructureAccessRoleGrantsAddRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGrantsAddRequest
Header adds a request header.
func (*AWSInfrastructureAccessRoleGrantsAddRequest) Parameter ¶
func (r *AWSInfrastructureAccessRoleGrantsAddRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGrantsAddRequest
Parameter adds a query parameter.
func (*AWSInfrastructureAccessRoleGrantsAddRequest) Send ¶
func (r *AWSInfrastructureAccessRoleGrantsAddRequest) Send() (result *AWSInfrastructureAccessRoleGrantsAddResponse, 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 (*AWSInfrastructureAccessRoleGrantsAddRequest) SendContext ¶
func (r *AWSInfrastructureAccessRoleGrantsAddRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRoleGrantsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AWSInfrastructureAccessRoleGrantsAddResponse ¶
type AWSInfrastructureAccessRoleGrantsAddResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantsAddResponse is the response for the 'add' method.
func (*AWSInfrastructureAccessRoleGrantsAddResponse) Body ¶
func (r *AWSInfrastructureAccessRoleGrantsAddResponse) Body() *AWSInfrastructureAccessRoleGrant
Body returns the value of the 'body' parameter.
Description of the AWS infrastructure access role grant.
func (*AWSInfrastructureAccessRoleGrantsAddResponse) Error ¶
func (r *AWSInfrastructureAccessRoleGrantsAddResponse) Error() *errors.Error
Error returns the response error.
func (*AWSInfrastructureAccessRoleGrantsAddResponse) GetBody ¶
func (r *AWSInfrastructureAccessRoleGrantsAddResponse) GetBody() (value *AWSInfrastructureAccessRoleGrant, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the AWS infrastructure access role grant.
func (*AWSInfrastructureAccessRoleGrantsAddResponse) Header ¶
func (r *AWSInfrastructureAccessRoleGrantsAddResponse) Header() http.Header
Header returns header of the response.
func (*AWSInfrastructureAccessRoleGrantsAddResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGrantsAddResponse) Status() int
Status returns the response status code.
type AWSInfrastructureAccessRoleGrantsAddServerRequest ¶
type AWSInfrastructureAccessRoleGrantsAddServerRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantsAddServerRequest is the request for the 'add' method.
func (*AWSInfrastructureAccessRoleGrantsAddServerRequest) Body ¶
func (r *AWSInfrastructureAccessRoleGrantsAddServerRequest) Body() *AWSInfrastructureAccessRoleGrant
Body returns the value of the 'body' parameter.
Description of the AWS infrastructure access role grant.
func (*AWSInfrastructureAccessRoleGrantsAddServerRequest) GetBody ¶
func (r *AWSInfrastructureAccessRoleGrantsAddServerRequest) GetBody() (value *AWSInfrastructureAccessRoleGrant, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the AWS infrastructure access role grant.
type AWSInfrastructureAccessRoleGrantsAddServerResponse ¶
type AWSInfrastructureAccessRoleGrantsAddServerResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantsAddServerResponse is the response for the 'add' method.
func (*AWSInfrastructureAccessRoleGrantsAddServerResponse) Body ¶
func (r *AWSInfrastructureAccessRoleGrantsAddServerResponse) Body(value *AWSInfrastructureAccessRoleGrant) *AWSInfrastructureAccessRoleGrantsAddServerResponse
Body sets the value of the 'body' parameter.
Description of the AWS infrastructure access role grant.
func (*AWSInfrastructureAccessRoleGrantsAddServerResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGrantsAddServerResponse) Status(value int) *AWSInfrastructureAccessRoleGrantsAddServerResponse
Status sets the status code.
type AWSInfrastructureAccessRoleGrantsClient ¶
type AWSInfrastructureAccessRoleGrantsClient struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantsClient is the client of the 'AWS_infrastructure_access_role_grants' resource.
Manages the collection of AWS infrastructure access role grants.
func NewAWSInfrastructureAccessRoleGrantsClient ¶
func NewAWSInfrastructureAccessRoleGrantsClient(transport http.RoundTripper, path string, metric string) *AWSInfrastructureAccessRoleGrantsClient
NewAWSInfrastructureAccessRoleGrantsClient creates a new client for the 'AWS_infrastructure_access_role_grants' resource using the given transport to send the requests and receive the responses.
func (*AWSInfrastructureAccessRoleGrantsClient) AWSInfrastructureAccessRoleGrant ¶
func (c *AWSInfrastructureAccessRoleGrantsClient) AWSInfrastructureAccessRoleGrant(id string) *AWSInfrastructureAccessRoleGrantClient
AWSInfrastructureAccessRoleGrant returns the target 'AWS_infrastructure_access_role_grant' resource for the given identifier.
Returns a reference to the service that manages a specific AWS infrastructure access role grant.
func (*AWSInfrastructureAccessRoleGrantsClient) Add ¶
func (c *AWSInfrastructureAccessRoleGrantsClient) Add() *AWSInfrastructureAccessRoleGrantsAddRequest
Add creates a request for the 'add' method.
Create a new AWS infrastructure access role grant and add it to the collection of AWS infrastructure access role grants on the cluster.
func (*AWSInfrastructureAccessRoleGrantsClient) List ¶
func (c *AWSInfrastructureAccessRoleGrantsClient) List() *AWSInfrastructureAccessRoleGrantsListRequest
List creates a request for the 'list' method.
Retrieves the list of AWS infrastructure access role grants.
type AWSInfrastructureAccessRoleGrantsListRequest ¶
type AWSInfrastructureAccessRoleGrantsListRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantsListRequest is the request for the 'list' method.
func (*AWSInfrastructureAccessRoleGrantsListRequest) Header ¶
func (r *AWSInfrastructureAccessRoleGrantsListRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRoleGrantsListRequest
Header adds a request header.
func (*AWSInfrastructureAccessRoleGrantsListRequest) Order ¶
func (r *AWSInfrastructureAccessRoleGrantsListRequest) Order(value string) *AWSInfrastructureAccessRoleGrantsListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the AWS infrastructure access role grant instead of the names of the columns of a table. For example, in order to sort the AWS infrastructure access role grants descending by user ARN the value should be:
[source,sql] ---- user_arn desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AWSInfrastructureAccessRoleGrantsListRequest) Page ¶
func (r *AWSInfrastructureAccessRoleGrantsListRequest) Page(value int) *AWSInfrastructureAccessRoleGrantsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AWSInfrastructureAccessRoleGrantsListRequest) Parameter ¶
func (r *AWSInfrastructureAccessRoleGrantsListRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRoleGrantsListRequest
Parameter adds a query parameter.
func (*AWSInfrastructureAccessRoleGrantsListRequest) Search ¶
func (r *AWSInfrastructureAccessRoleGrantsListRequest) Search(value string) *AWSInfrastructureAccessRoleGrantsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the AWS infrastructure access role grant instead of the names of the columns of a table. For example, in order to retrieve all the AWS infrastructure access role grants with a user ARN starting with `user` the value should be:
[source,sql] ---- user_arn like '%user' ----
If the parameter isn't provided, or if the value is empty, then all the AWS infrastructure access role grants that the user has permission to see will be returned.
func (*AWSInfrastructureAccessRoleGrantsListRequest) Send ¶
func (r *AWSInfrastructureAccessRoleGrantsListRequest) Send() (result *AWSInfrastructureAccessRoleGrantsListResponse, 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 (*AWSInfrastructureAccessRoleGrantsListRequest) SendContext ¶
func (r *AWSInfrastructureAccessRoleGrantsListRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRoleGrantsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*AWSInfrastructureAccessRoleGrantsListRequest) Size ¶
func (r *AWSInfrastructureAccessRoleGrantsListRequest) Size(value int) *AWSInfrastructureAccessRoleGrantsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AWSInfrastructureAccessRoleGrantsListResponse ¶
type AWSInfrastructureAccessRoleGrantsListResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantsListResponse is the response for the 'list' method.
func (*AWSInfrastructureAccessRoleGrantsListResponse) Error ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) Error() *errors.Error
Error returns the response error.
func (*AWSInfrastructureAccessRoleGrantsListResponse) GetItems ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetItems() (value *AWSInfrastructureAccessRoleGrantList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of AWS infrastructure access role grants.
func (*AWSInfrastructureAccessRoleGrantsListResponse) GetPage ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*AWSInfrastructureAccessRoleGrantsListResponse) GetSize ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*AWSInfrastructureAccessRoleGrantsListResponse) GetTotal ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*AWSInfrastructureAccessRoleGrantsListResponse) Header ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) Header() http.Header
Header returns header of the response.
func (*AWSInfrastructureAccessRoleGrantsListResponse) Items ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) Items() *AWSInfrastructureAccessRoleGrantList
Items returns the value of the 'items' parameter.
Retrieved list of AWS infrastructure access role grants.
func (*AWSInfrastructureAccessRoleGrantsListResponse) Page ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AWSInfrastructureAccessRoleGrantsListResponse) Size ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AWSInfrastructureAccessRoleGrantsListResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) Status() int
Status returns the response status code.
func (*AWSInfrastructureAccessRoleGrantsListResponse) Total ¶
func (r *AWSInfrastructureAccessRoleGrantsListResponse) 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 AWSInfrastructureAccessRoleGrantsListServerRequest ¶
type AWSInfrastructureAccessRoleGrantsListServerRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantsListServerRequest is the request for the 'list' method.
func (*AWSInfrastructureAccessRoleGrantsListServerRequest) GetOrder ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the AWS infrastructure access role grant instead of the names of the columns of a table. For example, in order to sort the AWS infrastructure access role grants descending by user ARN the value should be:
[source,sql] ---- user_arn desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AWSInfrastructureAccessRoleGrantsListServerRequest) GetPage ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) 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 (*AWSInfrastructureAccessRoleGrantsListServerRequest) GetSearch ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the AWS infrastructure access role grant instead of the names of the columns of a table. For example, in order to retrieve all the AWS infrastructure access role grants with a user ARN starting with `user` the value should be:
[source,sql] ---- user_arn like '%user' ----
If the parameter isn't provided, or if the value is empty, then all the AWS infrastructure access role grants that the user has permission to see will be returned.
func (*AWSInfrastructureAccessRoleGrantsListServerRequest) GetSize ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) 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 (*AWSInfrastructureAccessRoleGrantsListServerRequest) Order ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the AWS infrastructure access role grant instead of the names of the columns of a table. For example, in order to sort the AWS infrastructure access role grants descending by user ARN the value should be:
[source,sql] ---- user_arn desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AWSInfrastructureAccessRoleGrantsListServerRequest) Page ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AWSInfrastructureAccessRoleGrantsListServerRequest) Search ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the AWS infrastructure access role grant instead of the names of the columns of a table. For example, in order to retrieve all the AWS infrastructure access role grants with a user ARN starting with `user` the value should be:
[source,sql] ---- user_arn like '%user' ----
If the parameter isn't provided, or if the value is empty, then all the AWS infrastructure access role grants that the user has permission to see will be returned.
func (*AWSInfrastructureAccessRoleGrantsListServerRequest) Size ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AWSInfrastructureAccessRoleGrantsListServerResponse ¶
type AWSInfrastructureAccessRoleGrantsListServerResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleGrantsListServerResponse is the response for the 'list' method.
func (*AWSInfrastructureAccessRoleGrantsListServerResponse) Items ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerResponse) Items(value *AWSInfrastructureAccessRoleGrantList) *AWSInfrastructureAccessRoleGrantsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of AWS infrastructure access role grants.
func (*AWSInfrastructureAccessRoleGrantsListServerResponse) Page ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerResponse) Page(value int) *AWSInfrastructureAccessRoleGrantsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AWSInfrastructureAccessRoleGrantsListServerResponse) Size ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerResponse) Size(value int) *AWSInfrastructureAccessRoleGrantsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AWSInfrastructureAccessRoleGrantsListServerResponse) Status ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerResponse) Status(value int) *AWSInfrastructureAccessRoleGrantsListServerResponse
Status sets the status code.
func (*AWSInfrastructureAccessRoleGrantsListServerResponse) Total ¶
func (r *AWSInfrastructureAccessRoleGrantsListServerResponse) Total(value int) *AWSInfrastructureAccessRoleGrantsListServerResponse
Total sets 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 AWSInfrastructureAccessRoleGrantsServer ¶
type AWSInfrastructureAccessRoleGrantsServer interface { // Add handles a request for the 'add' method. // // Create a new AWS infrastructure access role grant and add it to the collection of // AWS infrastructure access role grants on the cluster. Add(ctx context.Context, request *AWSInfrastructureAccessRoleGrantsAddServerRequest, response *AWSInfrastructureAccessRoleGrantsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of AWS infrastructure access role grants. List(ctx context.Context, request *AWSInfrastructureAccessRoleGrantsListServerRequest, response *AWSInfrastructureAccessRoleGrantsListServerResponse) error // AWSInfrastructureAccessRoleGrant returns the target 'AWS_infrastructure_access_role_grant' server for the given identifier. // // Returns a reference to the service that manages a specific AWS infrastructure access role grant. AWSInfrastructureAccessRoleGrant(id string) AWSInfrastructureAccessRoleGrantServer }
AWSInfrastructureAccessRoleGrantsServer represents the interface the manages the 'AWS_infrastructure_access_role_grants' resource.
type AWSInfrastructureAccessRoleList ¶
type AWSInfrastructureAccessRoleList struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleList is a list of values of the 'AWS_infrastructure_access_role' type.
func (*AWSInfrastructureAccessRoleList) Each ¶
func (l *AWSInfrastructureAccessRoleList) Each(f func(item *AWSInfrastructureAccessRole) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AWSInfrastructureAccessRoleList) Empty ¶
func (l *AWSInfrastructureAccessRoleList) Empty() bool
Empty returns true if the list is empty.
func (*AWSInfrastructureAccessRoleList) Get ¶
func (l *AWSInfrastructureAccessRoleList) Get(i int) *AWSInfrastructureAccessRole
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AWSInfrastructureAccessRoleList) GetHREF ¶
func (l *AWSInfrastructureAccessRoleList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*AWSInfrastructureAccessRoleList) HREF ¶
func (l *AWSInfrastructureAccessRoleList) HREF() string
HREF returns the link to the list.
func (*AWSInfrastructureAccessRoleList) Kind ¶
func (l *AWSInfrastructureAccessRoleList) Kind() string
Kind returns the name of the type of the object.
func (*AWSInfrastructureAccessRoleList) Len ¶
func (l *AWSInfrastructureAccessRoleList) Len() int
Len returns the length of the list.
func (*AWSInfrastructureAccessRoleList) Link ¶
func (l *AWSInfrastructureAccessRoleList) Link() bool
Link returns true iif this is a link.
func (*AWSInfrastructureAccessRoleList) Range ¶
func (l *AWSInfrastructureAccessRoleList) Range(f func(index int, item *AWSInfrastructureAccessRole) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AWSInfrastructureAccessRoleList) Slice ¶
func (l *AWSInfrastructureAccessRoleList) Slice() []*AWSInfrastructureAccessRole
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AWSInfrastructureAccessRoleListBuilder ¶
type AWSInfrastructureAccessRoleListBuilder struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRoleListBuilder contains the data and logic needed to build 'AWS_infrastructure_access_role' objects.
func NewAWSInfrastructureAccessRoleList ¶
func NewAWSInfrastructureAccessRoleList() *AWSInfrastructureAccessRoleListBuilder
NewAWSInfrastructureAccessRoleList creates a new builder of 'AWS_infrastructure_access_role' objects.
func (*AWSInfrastructureAccessRoleListBuilder) Build ¶
func (b *AWSInfrastructureAccessRoleListBuilder) Build() (list *AWSInfrastructureAccessRoleList, err error)
Build creates a list of 'AWS_infrastructure_access_role' objects using the configuration stored in the builder.
func (*AWSInfrastructureAccessRoleListBuilder) Copy ¶
func (b *AWSInfrastructureAccessRoleListBuilder) Copy(list *AWSInfrastructureAccessRoleList) *AWSInfrastructureAccessRoleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AWSInfrastructureAccessRoleListBuilder) Items ¶
func (b *AWSInfrastructureAccessRoleListBuilder) Items(values ...*AWSInfrastructureAccessRoleBuilder) *AWSInfrastructureAccessRoleListBuilder
Items sets the items of the list.
type AWSInfrastructureAccessRolePollRequest ¶
type AWSInfrastructureAccessRolePollRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRolePollRequest is the request for the Poll method.
func (*AWSInfrastructureAccessRolePollRequest) Header ¶
func (r *AWSInfrastructureAccessRolePollRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRolePollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*AWSInfrastructureAccessRolePollRequest) Interval ¶
func (r *AWSInfrastructureAccessRolePollRequest) Interval(value time.Duration) *AWSInfrastructureAccessRolePollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*AWSInfrastructureAccessRolePollRequest) Parameter ¶
func (r *AWSInfrastructureAccessRolePollRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRolePollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*AWSInfrastructureAccessRolePollRequest) Predicate ¶
func (r *AWSInfrastructureAccessRolePollRequest) Predicate(value func(*AWSInfrastructureAccessRoleGetResponse) bool) *AWSInfrastructureAccessRolePollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*AWSInfrastructureAccessRolePollRequest) StartContext ¶
func (r *AWSInfrastructureAccessRolePollRequest) StartContext(ctx context.Context) (response *AWSInfrastructureAccessRolePollResponse, 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 (*AWSInfrastructureAccessRolePollRequest) Status ¶
func (r *AWSInfrastructureAccessRolePollRequest) Status(value int) *AWSInfrastructureAccessRolePollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type AWSInfrastructureAccessRolePollResponse ¶
type AWSInfrastructureAccessRolePollResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRolePollResponse is the response for the Poll method.
func (*AWSInfrastructureAccessRolePollResponse) Body ¶
func (r *AWSInfrastructureAccessRolePollResponse) Body() *AWSInfrastructureAccessRole
Body returns the value of the 'body' parameter.
func (*AWSInfrastructureAccessRolePollResponse) Error ¶
func (r *AWSInfrastructureAccessRolePollResponse) Error() *errors.Error
Error returns the response error.
func (*AWSInfrastructureAccessRolePollResponse) GetBody ¶
func (r *AWSInfrastructureAccessRolePollResponse) GetBody() (value *AWSInfrastructureAccessRole, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AWSInfrastructureAccessRolePollResponse) Header ¶
func (r *AWSInfrastructureAccessRolePollResponse) Header() http.Header
Header returns header of the response.
func (*AWSInfrastructureAccessRolePollResponse) Status ¶
func (r *AWSInfrastructureAccessRolePollResponse) Status() int
Status returns the response status code.
type AWSInfrastructureAccessRoleServer ¶
type AWSInfrastructureAccessRoleServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the aws infrastructure access role. Get(ctx context.Context, request *AWSInfrastructureAccessRoleGetServerRequest, response *AWSInfrastructureAccessRoleGetServerResponse) error }
AWSInfrastructureAccessRoleServer represents the interface the manages the 'AWS_infrastructure_access_role' resource.
type AWSInfrastructureAccessRoleState ¶
type AWSInfrastructureAccessRoleState string
AWSInfrastructureAccessRoleState represents the values of the 'AWS_infrastructure_access_role_state' enumerated type.
const ( // Role definition is invalid. Role can't be used. AWSInfrastructureAccessRoleStateInvalid AWSInfrastructureAccessRoleState = "invalid" // This is a special state intended for the user know // that the access role has been removed by SRE, // but there are still grants referencing it. // Role can't be used in a new grant. AWSInfrastructureAccessRoleStateRemoved AWSInfrastructureAccessRoleState = "removed" // Access role is valid an can be used. // Only valid roles can be used in a role grant. AWSInfrastructureAccessRoleStateValid AWSInfrastructureAccessRoleState = "valid" )
func UnmarshalAWSInfrastructureAccessRoleStateList ¶
func UnmarshalAWSInfrastructureAccessRoleStateList(source interface{}) (items []AWSInfrastructureAccessRoleState, err error)
UnmarshalAWSInfrastructureAccessRoleStateList reads a list of values of the 'AWS_infrastructure_access_role_state' type from the given source, which can be a slice of bytes, a string or a reader.
type AWSInfrastructureAccessRolesClient ¶
type AWSInfrastructureAccessRolesClient struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRolesClient is the client of the 'AWS_infrastructure_access_roles' resource.
Manages the collection of aws infrastructure access roles.
func NewAWSInfrastructureAccessRolesClient ¶
func NewAWSInfrastructureAccessRolesClient(transport http.RoundTripper, path string, metric string) *AWSInfrastructureAccessRolesClient
NewAWSInfrastructureAccessRolesClient creates a new client for the 'AWS_infrastructure_access_roles' resource using the given transport to send the requests and receive the responses.
func (*AWSInfrastructureAccessRolesClient) AWSInfrastructureAccessRole ¶
func (c *AWSInfrastructureAccessRolesClient) AWSInfrastructureAccessRole(id string) *AWSInfrastructureAccessRoleClient
AWSInfrastructureAccessRole returns the target 'AWS_infrastructure_access_role' resource for the given identifier.
Reference to the resource that manages a specific role.
func (*AWSInfrastructureAccessRolesClient) List ¶
func (c *AWSInfrastructureAccessRolesClient) List() *AWSInfrastructureAccessRolesListRequest
List creates a request for the 'list' method.
type AWSInfrastructureAccessRolesListRequest ¶
type AWSInfrastructureAccessRolesListRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRolesListRequest is the request for the 'list' method.
func (*AWSInfrastructureAccessRolesListRequest) Header ¶
func (r *AWSInfrastructureAccessRolesListRequest) Header(name string, value interface{}) *AWSInfrastructureAccessRolesListRequest
Header adds a request header.
func (*AWSInfrastructureAccessRolesListRequest) Order ¶
func (r *AWSInfrastructureAccessRolesListRequest) Order(value string) *AWSInfrastructureAccessRolesListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to sort the roles descending by dislay_name the value should be:
[source,sql] ---- display_name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AWSInfrastructureAccessRolesListRequest) Page ¶
func (r *AWSInfrastructureAccessRolesListRequest) Page(value int) *AWSInfrastructureAccessRolesListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AWSInfrastructureAccessRolesListRequest) Parameter ¶
func (r *AWSInfrastructureAccessRolesListRequest) Parameter(name string, value interface{}) *AWSInfrastructureAccessRolesListRequest
Parameter adds a query parameter.
func (*AWSInfrastructureAccessRolesListRequest) Search ¶
func (r *AWSInfrastructureAccessRolesListRequest) Search(value string) *AWSInfrastructureAccessRolesListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to retrieve all the role with a name starting with `my`the value should be:
[source,sql] ---- display_name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the roles that the user has permission to see will be returned.
func (*AWSInfrastructureAccessRolesListRequest) Send ¶
func (r *AWSInfrastructureAccessRolesListRequest) Send() (result *AWSInfrastructureAccessRolesListResponse, 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 (*AWSInfrastructureAccessRolesListRequest) SendContext ¶
func (r *AWSInfrastructureAccessRolesListRequest) SendContext(ctx context.Context) (result *AWSInfrastructureAccessRolesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*AWSInfrastructureAccessRolesListRequest) Size ¶
func (r *AWSInfrastructureAccessRolesListRequest) Size(value int) *AWSInfrastructureAccessRolesListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AWSInfrastructureAccessRolesListResponse ¶
type AWSInfrastructureAccessRolesListResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRolesListResponse is the response for the 'list' method.
func (*AWSInfrastructureAccessRolesListResponse) Error ¶
func (r *AWSInfrastructureAccessRolesListResponse) Error() *errors.Error
Error returns the response error.
func (*AWSInfrastructureAccessRolesListResponse) GetItems ¶
func (r *AWSInfrastructureAccessRolesListResponse) GetItems() (value *AWSInfrastructureAccessRoleList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of roles.
func (*AWSInfrastructureAccessRolesListResponse) GetPage ¶
func (r *AWSInfrastructureAccessRolesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*AWSInfrastructureAccessRolesListResponse) GetSize ¶
func (r *AWSInfrastructureAccessRolesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*AWSInfrastructureAccessRolesListResponse) GetTotal ¶
func (r *AWSInfrastructureAccessRolesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*AWSInfrastructureAccessRolesListResponse) Header ¶
func (r *AWSInfrastructureAccessRolesListResponse) Header() http.Header
Header returns header of the response.
func (*AWSInfrastructureAccessRolesListResponse) Items ¶
func (r *AWSInfrastructureAccessRolesListResponse) Items() *AWSInfrastructureAccessRoleList
Items returns the value of the 'items' parameter.
Retrieved list of roles.
func (*AWSInfrastructureAccessRolesListResponse) Page ¶
func (r *AWSInfrastructureAccessRolesListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AWSInfrastructureAccessRolesListResponse) Size ¶
func (r *AWSInfrastructureAccessRolesListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AWSInfrastructureAccessRolesListResponse) Status ¶
func (r *AWSInfrastructureAccessRolesListResponse) Status() int
Status returns the response status code.
func (*AWSInfrastructureAccessRolesListResponse) Total ¶
func (r *AWSInfrastructureAccessRolesListResponse) 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 AWSInfrastructureAccessRolesListServerRequest ¶
type AWSInfrastructureAccessRolesListServerRequest struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRolesListServerRequest is the request for the 'list' method.
func (*AWSInfrastructureAccessRolesListServerRequest) GetOrder ¶
func (r *AWSInfrastructureAccessRolesListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to sort the roles descending by dislay_name the value should be:
[source,sql] ---- display_name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AWSInfrastructureAccessRolesListServerRequest) GetPage ¶
func (r *AWSInfrastructureAccessRolesListServerRequest) 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 (*AWSInfrastructureAccessRolesListServerRequest) GetSearch ¶
func (r *AWSInfrastructureAccessRolesListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to retrieve all the role with a name starting with `my`the value should be:
[source,sql] ---- display_name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the roles that the user has permission to see will be returned.
func (*AWSInfrastructureAccessRolesListServerRequest) GetSize ¶
func (r *AWSInfrastructureAccessRolesListServerRequest) 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 (*AWSInfrastructureAccessRolesListServerRequest) Order ¶
func (r *AWSInfrastructureAccessRolesListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to sort the roles descending by dislay_name the value should be:
[source,sql] ---- display_name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AWSInfrastructureAccessRolesListServerRequest) Page ¶
func (r *AWSInfrastructureAccessRolesListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AWSInfrastructureAccessRolesListServerRequest) Search ¶
func (r *AWSInfrastructureAccessRolesListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to retrieve all the role with a name starting with `my`the value should be:
[source,sql] ---- display_name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the roles that the user has permission to see will be returned.
func (*AWSInfrastructureAccessRolesListServerRequest) Size ¶
func (r *AWSInfrastructureAccessRolesListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AWSInfrastructureAccessRolesListServerResponse ¶
type AWSInfrastructureAccessRolesListServerResponse struct {
// contains filtered or unexported fields
}
AWSInfrastructureAccessRolesListServerResponse is the response for the 'list' method.
func (*AWSInfrastructureAccessRolesListServerResponse) Items ¶
func (r *AWSInfrastructureAccessRolesListServerResponse) Items(value *AWSInfrastructureAccessRoleList) *AWSInfrastructureAccessRolesListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of roles.
func (*AWSInfrastructureAccessRolesListServerResponse) Page ¶
func (r *AWSInfrastructureAccessRolesListServerResponse) Page(value int) *AWSInfrastructureAccessRolesListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AWSInfrastructureAccessRolesListServerResponse) Size ¶
func (r *AWSInfrastructureAccessRolesListServerResponse) Size(value int) *AWSInfrastructureAccessRolesListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AWSInfrastructureAccessRolesListServerResponse) Status ¶
func (r *AWSInfrastructureAccessRolesListServerResponse) Status(value int) *AWSInfrastructureAccessRolesListServerResponse
Status sets the status code.
func (*AWSInfrastructureAccessRolesListServerResponse) Total ¶
func (r *AWSInfrastructureAccessRolesListServerResponse) Total(value int) *AWSInfrastructureAccessRolesListServerResponse
Total sets 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 AWSInfrastructureAccessRolesServer ¶
type AWSInfrastructureAccessRolesServer interface { // List handles a request for the 'list' method. // // List(ctx context.Context, request *AWSInfrastructureAccessRolesListServerRequest, response *AWSInfrastructureAccessRolesListServerResponse) error // AWSInfrastructureAccessRole returns the target 'AWS_infrastructure_access_role' server for the given identifier. // // Reference to the resource that manages a specific role. AWSInfrastructureAccessRole(id string) AWSInfrastructureAccessRoleServer }
AWSInfrastructureAccessRolesServer represents the interface the manages the 'AWS_infrastructure_access_roles' resource.
type AWSList ¶
type AWSList struct {
// contains filtered or unexported fields
}
AWSList is a list of values of the 'AWS' type.
func (*AWSList) 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 (*AWSList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AWSList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AWSList) 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 AWSListBuilder ¶
type AWSListBuilder struct {
// contains filtered or unexported fields
}
AWSListBuilder contains the data and logic needed to build 'AWS' objects.
func NewAWSList ¶
func NewAWSList() *AWSListBuilder
NewAWSList creates a new builder of 'AWS' objects.
func (*AWSListBuilder) Build ¶
func (b *AWSListBuilder) Build() (list *AWSList, err error)
Build creates a list of 'AWS' objects using the configuration stored in the builder.
func (*AWSListBuilder) Copy ¶
func (b *AWSListBuilder) Copy(list *AWSList) *AWSListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AWSListBuilder) Items ¶
func (b *AWSListBuilder) Items(values ...*AWSBuilder) *AWSListBuilder
Items sets the items of the list.
type AWSVolume ¶
type AWSVolume struct {
// contains filtered or unexported fields
}
AWSVolume represents the values of the 'AWS_volume' type.
Holds settings for an AWS storage volume.
func UnmarshalAWSVolume ¶
UnmarshalAWSVolume reads a value of the 'AWS_volume' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAWSVolumeList ¶
UnmarshalAWSVolumeList reads a list of values of the 'AWS_volume' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AWSVolume) Empty ¶
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AWSVolume) GetIOPS ¶
GetIOPS returns the value of the 'IOPS' attribute and a flag indicating if the attribute has a value.
Volume provisioned IOPS.
func (*AWSVolume) GetSize ¶
GetSize returns the value of the 'size' attribute and a flag indicating if the attribute has a value.
Volume size in Gib.
func (*AWSVolume) GetType ¶
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
Volume Type ¶
Possible values are: 'io1', 'gp2', 'st1', 'sc1', 'standard'
func (*AWSVolume) IOPS ¶
IOPS returns the value of the 'IOPS' attribute, or the zero value of the type if the attribute doesn't have a value.
Volume provisioned IOPS.
type AWSVolumeBuilder ¶
type AWSVolumeBuilder struct {
// contains filtered or unexported fields
}
AWSVolumeBuilder contains the data and logic needed to build 'AWS_volume' objects.
Holds settings for an AWS storage volume.
func NewAWSVolume ¶
func NewAWSVolume() *AWSVolumeBuilder
NewAWSVolume creates a new builder of 'AWS_volume' objects.
func (*AWSVolumeBuilder) Build ¶
func (b *AWSVolumeBuilder) Build() (object *AWSVolume, err error)
Build creates a 'AWS_volume' object using the configuration stored in the builder.
func (*AWSVolumeBuilder) Copy ¶
func (b *AWSVolumeBuilder) Copy(object *AWSVolume) *AWSVolumeBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AWSVolumeBuilder) IOPS ¶
func (b *AWSVolumeBuilder) IOPS(value int) *AWSVolumeBuilder
IOPS sets the value of the 'IOPS' attribute to the given value.
func (*AWSVolumeBuilder) Size ¶
func (b *AWSVolumeBuilder) Size(value int) *AWSVolumeBuilder
Size sets the value of the 'size' attribute to the given value.
func (*AWSVolumeBuilder) Type ¶
func (b *AWSVolumeBuilder) Type(value string) *AWSVolumeBuilder
Type sets the value of the 'type' attribute to the given value.
type AWSVolumeList ¶
type AWSVolumeList struct {
// contains filtered or unexported fields
}
AWSVolumeList is a list of values of the 'AWS_volume' type.
func (*AWSVolumeList) Each ¶
func (l *AWSVolumeList) Each(f func(item *AWSVolume) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AWSVolumeList) Empty ¶
func (l *AWSVolumeList) Empty() bool
Empty returns true if the list is empty.
func (*AWSVolumeList) Get ¶
func (l *AWSVolumeList) Get(i int) *AWSVolume
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AWSVolumeList) Range ¶
func (l *AWSVolumeList) Range(f func(index int, item *AWSVolume) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AWSVolumeList) Slice ¶
func (l *AWSVolumeList) Slice() []*AWSVolume
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AWSVolumeListBuilder ¶
type AWSVolumeListBuilder struct {
// contains filtered or unexported fields
}
AWSVolumeListBuilder contains the data and logic needed to build 'AWS_volume' objects.
func NewAWSVolumeList ¶
func NewAWSVolumeList() *AWSVolumeListBuilder
NewAWSVolumeList creates a new builder of 'AWS_volume' objects.
func (*AWSVolumeListBuilder) Build ¶
func (b *AWSVolumeListBuilder) Build() (list *AWSVolumeList, err error)
Build creates a list of 'AWS_volume' objects using the configuration stored in the builder.
func (*AWSVolumeListBuilder) Copy ¶
func (b *AWSVolumeListBuilder) Copy(list *AWSVolumeList) *AWSVolumeListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AWSVolumeListBuilder) Items ¶
func (b *AWSVolumeListBuilder) Items(values ...*AWSVolumeBuilder) *AWSVolumeListBuilder
Items sets the items of the list.
type AddOn ¶
type AddOn struct {
// contains filtered or unexported fields
}
AddOn represents the values of the 'add_on' type.
Representation of an add-on that can be installed in a cluster.
func UnmarshalAddOn ¶
UnmarshalAddOn reads a value of the 'add_on' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAddOnList ¶
UnmarshalAddOnList reads a list of values of the 'add_on' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AddOn) Description ¶
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
Description of the add-on.
func (*AddOn) DocsLink ¶
DocsLink returns the value of the 'docs_link' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to documentation about the add-on.
func (*AddOn) Enabled ¶
Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if this add-on can be added to clusters.
func (*AddOn) GetDescription ¶
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
Description of the add-on.
func (*AddOn) GetDocsLink ¶
GetDocsLink returns the value of the 'docs_link' attribute and a flag indicating if the attribute has a value.
Link to documentation about the add-on.
func (*AddOn) GetEnabled ¶
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
Indicates if this add-on can be added to clusters.
func (*AddOn) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*AddOn) GetHasExternalResources ¶ added in v0.0.329
GetHasExternalResources returns the value of the 'has_external_resources' attribute and a flag indicating if the attribute has a value.
Indicates if this add-on has external resources associated with it
func (*AddOn) GetHidden ¶ added in v0.0.329
GetHidden returns the value of the 'hidden' attribute and a flag indicating if the attribute has a value.
Indicates if this add-on is hidden.
func (*AddOn) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*AddOn) GetIcon ¶
GetIcon returns the value of the 'icon' attribute and a flag indicating if the attribute has a value.
Base64-encoded icon representing an add-on. The icon should be in PNG format.
func (*AddOn) GetInstallMode ¶
func (o *AddOn) GetInstallMode() (value AddOnInstallMode, ok bool)
GetInstallMode returns the value of the 'install_mode' attribute and a flag indicating if the attribute has a value.
The mode in which the addon is deployed.
func (*AddOn) GetLabel ¶
GetLabel returns the value of the 'label' attribute and a flag indicating if the attribute has a value.
Label used to attach to a cluster deployment when add-on is installed.
func (*AddOn) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the add-on.
func (*AddOn) GetOperatorName ¶
GetOperatorName returns the value of the 'operator_name' attribute and a flag indicating if the attribute has a value.
The name of the operator installed by this add-on.
func (*AddOn) GetParameters ¶ added in v0.0.329
func (o *AddOn) GetParameters() (value *AddOnParameterList, ok bool)
GetParameters returns the value of the 'parameters' attribute and a flag indicating if the attribute has a value.
List of parameters for this add-on.
func (*AddOn) GetRequirements ¶ added in v0.0.329
func (o *AddOn) GetRequirements() (value []*AddOnRequirement, ok bool)
GetRequirements returns the value of the 'requirements' attribute and a flag indicating if the attribute has a value.
List of requirements for this add-on.
func (*AddOn) GetResourceCost ¶
GetResourceCost returns the value of the 'resource_cost' attribute and a flag indicating if the attribute has a value.
Used to determine how many units of quota an add-on consumes per resource name.
func (*AddOn) GetResourceName ¶
GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.
Used to determine from where to reserve quota for this add-on.
func (*AddOn) GetTargetNamespace ¶
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) HasExternalResources ¶ added in v0.0.329
HasExternalResources returns the value of the 'has_external_resources' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if this add-on has external resources associated with it
func (*AddOn) Hidden ¶ added in v0.0.329
Hidden returns the value of the 'hidden' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if this add-on is hidden.
func (*AddOn) Icon ¶
Icon returns the value of the 'icon' attribute, or the zero value of the type if the attribute doesn't have a value.
Base64-encoded icon representing an add-on. The icon should be in PNG format.
func (*AddOn) InstallMode ¶
func (o *AddOn) InstallMode() AddOnInstallMode
InstallMode returns the value of the 'install_mode' attribute, or the zero value of the type if the attribute doesn't have a value.
The mode in which the addon is deployed.
func (*AddOn) Label ¶
Label returns the value of the 'label' attribute, or the zero value of the type if the attribute doesn't have a value.
Label used to attach to a cluster deployment when add-on is installed.
func (*AddOn) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the add-on.
func (*AddOn) OperatorName ¶
OperatorName returns the value of the 'operator_name' attribute, or the zero value of the type if the attribute doesn't have a value.
The name of the operator installed by this add-on.
func (*AddOn) Parameters ¶ added in v0.0.329
func (o *AddOn) Parameters() *AddOnParameterList
Parameters returns the value of the 'parameters' attribute, or the zero value of the type if the attribute doesn't have a value.
List of parameters for this add-on.
func (*AddOn) Requirements ¶ added in v0.0.329
func (o *AddOn) Requirements() []*AddOnRequirement
Requirements returns the value of the 'requirements' attribute, or the zero value of the type if the attribute doesn't have a value.
List of requirements for this add-on.
func (*AddOn) ResourceCost ¶
ResourceCost returns the value of the 'resource_cost' attribute, or the zero value of the type if the attribute doesn't have a value.
Used to determine how many units of quota an add-on consumes per resource name.
func (*AddOn) ResourceName ¶
ResourceName returns the value of the 'resource_name' attribute, or the zero value of the type if the attribute doesn't have a value.
Used to determine from where to reserve quota for this add-on.
func (*AddOn) TargetNamespace ¶
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.
type AddOnBuilder ¶
type AddOnBuilder struct {
// contains filtered or unexported fields
}
AddOnBuilder contains the data and logic needed to build 'add_on' objects.
Representation of an add-on that can be installed in a cluster.
func (*AddOnBuilder) Build ¶
func (b *AddOnBuilder) Build() (object *AddOn, err error)
Build creates a 'add_on' object using the configuration stored in the builder.
func (*AddOnBuilder) 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) Description ¶
func (b *AddOnBuilder) Description(value string) *AddOnBuilder
Description sets the value of the 'description' attribute to the given value.
func (*AddOnBuilder) DocsLink ¶
func (b *AddOnBuilder) DocsLink(value string) *AddOnBuilder
DocsLink sets the value of the 'docs_link' attribute to the given value.
func (*AddOnBuilder) Enabled ¶
func (b *AddOnBuilder) Enabled(value bool) *AddOnBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
func (*AddOnBuilder) HREF ¶
func (b *AddOnBuilder) HREF(value string) *AddOnBuilder
HREF sets the link to the object.
func (*AddOnBuilder) HasExternalResources ¶ added in v0.0.329
func (b *AddOnBuilder) HasExternalResources(value bool) *AddOnBuilder
HasExternalResources sets the value of the 'has_external_resources' attribute to the given value.
func (*AddOnBuilder) Hidden ¶ added in v0.0.329
func (b *AddOnBuilder) Hidden(value bool) *AddOnBuilder
Hidden sets the value of the 'hidden' attribute to the given value.
func (*AddOnBuilder) ID ¶
func (b *AddOnBuilder) ID(value string) *AddOnBuilder
ID sets the identifier of the object.
func (*AddOnBuilder) Icon ¶
func (b *AddOnBuilder) Icon(value string) *AddOnBuilder
Icon sets the value of the 'icon' attribute to the given value.
func (*AddOnBuilder) InstallMode ¶
func (b *AddOnBuilder) InstallMode(value AddOnInstallMode) *AddOnBuilder
InstallMode sets the value of the 'install_mode' attribute to the given value.
Representation of an add-on InstallMode field.
func (*AddOnBuilder) Label ¶
func (b *AddOnBuilder) Label(value string) *AddOnBuilder
Label sets the value of the 'label' attribute to the given value.
func (*AddOnBuilder) Link ¶
func (b *AddOnBuilder) Link(value bool) *AddOnBuilder
Link sets the flag that indicates if this is a link.
func (*AddOnBuilder) Name ¶
func (b *AddOnBuilder) Name(value string) *AddOnBuilder
Name sets the value of the 'name' attribute to the given value.
func (*AddOnBuilder) OperatorName ¶
func (b *AddOnBuilder) OperatorName(value string) *AddOnBuilder
OperatorName sets the value of the 'operator_name' attribute to the given value.
func (*AddOnBuilder) Parameters ¶ added in v0.0.329
func (b *AddOnBuilder) Parameters(value *AddOnParameterListBuilder) *AddOnBuilder
Parameters sets the value of the 'parameters' attribute to the given values.
func (*AddOnBuilder) Requirements ¶ added in v0.0.329
func (b *AddOnBuilder) Requirements(values ...*AddOnRequirementBuilder) *AddOnBuilder
Requirements sets the value of the 'requirements' attribute to the given values.
func (*AddOnBuilder) ResourceCost ¶
func (b *AddOnBuilder) ResourceCost(value float64) *AddOnBuilder
ResourceCost sets the value of the 'resource_cost' attribute to the given value.
func (*AddOnBuilder) ResourceName ¶
func (b *AddOnBuilder) ResourceName(value string) *AddOnBuilder
ResourceName sets the value of the 'resource_name' attribute to the given value.
func (*AddOnBuilder) TargetNamespace ¶
func (b *AddOnBuilder) TargetNamespace(value string) *AddOnBuilder
TargetNamespace sets the value of the 'target_namespace' attribute to the given value.
type AddOnClient ¶
type AddOnClient struct {
// contains filtered or unexported fields
}
AddOnClient is the client of the 'add_on' resource.
Manages a specific add-on.
func NewAddOnClient ¶
func NewAddOnClient(transport http.RoundTripper, path string, metric string) *AddOnClient
NewAddOnClient creates a new client for the 'add_on' resource using the given transport to send the requests and receive the responses.
func (*AddOnClient) Delete ¶
func (c *AddOnClient) Delete() *AddOnDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the add-on.
func (*AddOnClient) Get ¶
func (c *AddOnClient) Get() *AddOnGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the add-on.
func (*AddOnClient) Poll ¶
func (c *AddOnClient) Poll() *AddOnPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*AddOnClient) Update ¶
func (c *AddOnClient) Update() *AddOnUpdateRequest
Update creates a request for the 'update' method.
Updates the add-on.
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) 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 AddOnDeleteServerRequest ¶
type AddOnDeleteServerRequest struct { }
AddOnDeleteServerRequest is the request for the 'delete' method.
type AddOnDeleteServerResponse ¶
type AddOnDeleteServerResponse struct {
// contains filtered or unexported fields
}
AddOnDeleteServerResponse is the response for the 'delete' method.
func (*AddOnDeleteServerResponse) Status ¶
func (r *AddOnDeleteServerResponse) Status(value int) *AddOnDeleteServerResponse
Status sets the status code.
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) 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 AddOnGetServerRequest ¶
type AddOnGetServerRequest struct { }
AddOnGetServerRequest is the request for the 'get' method.
type AddOnGetServerResponse ¶
type AddOnGetServerResponse struct {
// contains filtered or unexported fields
}
AddOnGetServerResponse is the response for the 'get' method.
func (*AddOnGetServerResponse) Body ¶
func (r *AddOnGetServerResponse) Body(value *AddOn) *AddOnGetServerResponse
Body sets the value of the 'body' parameter.
func (*AddOnGetServerResponse) Status ¶
func (r *AddOnGetServerResponse) Status(value int) *AddOnGetServerResponse
Status sets the status code.
type AddOnInstallMode ¶
type AddOnInstallMode string
AddOnInstallMode represents the values of the 'add_on_install_mode' enumerated type.
const ( // This mode means that the addon is deployed in all namespaces. // However, the addon status is retrieved from the target namespace AddOnInstallModeAllNamespaces AddOnInstallMode = "all_namespaces" // This mode means that the the addon CRD exists in a single specific namespace. // This namespace is reflected by the TargetNamespace addon field AddOnInstallModeSingleNamespace AddOnInstallMode = "single_namespace" )
func UnmarshalAddOnInstallModeList ¶
func UnmarshalAddOnInstallModeList(source interface{}) (items []AddOnInstallMode, err error)
UnmarshalAddOnInstallModeList reads a list of values of the 'add_on_install_mode' type from the given source, which can be a slice of bytes, a string or a reader.
type AddOnInstallation ¶
type AddOnInstallation struct {
// contains filtered or unexported fields
}
AddOnInstallation represents the values of the 'add_on_installation' type.
Representation of an add-on installation in a cluster.
func UnmarshalAddOnInstallation ¶
func UnmarshalAddOnInstallation(source interface{}) (object *AddOnInstallation, err error)
UnmarshalAddOnInstallation reads a value of the 'add_on_installation' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAddOnInstallationList ¶
func UnmarshalAddOnInstallationList(source interface{}) (items []*AddOnInstallation, err error)
UnmarshalAddOnInstallationList reads a list of values of the 'add_on_installation' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AddOnInstallation) Addon ¶
func (o *AddOnInstallation) Addon() *AddOn
Addon returns the value of the 'addon' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to add-on attached to this cluster.
func (*AddOnInstallation) Cluster ¶
func (o *AddOnInstallation) Cluster() *Cluster
Cluster returns the value of the 'cluster' attribute, or the zero value of the type if the attribute doesn't have a value.
ID used to identify the cluster that this add-on is attached to.
func (*AddOnInstallation) CreationTimestamp ¶
func (o *AddOnInstallation) CreationTimestamp() time.Time
CreationTimestamp returns the value of the 'creation_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.
Date and time when the add-on was initially installed in the cluster.
func (*AddOnInstallation) Empty ¶
func (o *AddOnInstallation) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AddOnInstallation) GetAddon ¶
func (o *AddOnInstallation) GetAddon() (value *AddOn, ok bool)
GetAddon returns the value of the 'addon' attribute and a flag indicating if the attribute has a value.
Link to add-on attached to this cluster.
func (*AddOnInstallation) GetCluster ¶
func (o *AddOnInstallation) GetCluster() (value *Cluster, ok bool)
GetCluster returns the value of the 'cluster' attribute and a flag indicating if the attribute has a value.
ID used to identify the cluster that this add-on is attached to.
func (*AddOnInstallation) GetCreationTimestamp ¶
func (o *AddOnInstallation) GetCreationTimestamp() (value time.Time, ok bool)
GetCreationTimestamp returns the value of the 'creation_timestamp' attribute and a flag indicating if the attribute has a value.
Date and time when the add-on was initially installed in the cluster.
func (*AddOnInstallation) GetHREF ¶
func (o *AddOnInstallation) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*AddOnInstallation) GetID ¶
func (o *AddOnInstallation) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*AddOnInstallation) GetOperatorVersion ¶
func (o *AddOnInstallation) GetOperatorVersion() (value string, ok bool)
GetOperatorVersion returns the value of the 'operator_version' attribute and a flag indicating if the attribute has a value.
Version of the operator installed by the add-on.
func (*AddOnInstallation) GetParameters ¶ added in v0.0.329
func (o *AddOnInstallation) GetParameters() (value *AddOnInstallationParameterList, ok bool)
GetParameters returns the value of the 'parameters' attribute and a flag indicating if the attribute has a value.
List of add-on parameters for this add-on installation.
func (*AddOnInstallation) GetState ¶
func (o *AddOnInstallation) GetState() (value AddOnInstallationState, ok bool)
GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.
Overall state of the add-on installation.
func (*AddOnInstallation) GetStateDescription ¶
func (o *AddOnInstallation) GetStateDescription() (value string, ok bool)
GetStateDescription returns the value of the 'state_description' attribute and a flag indicating if the attribute has a value.
Reason for the current State.
func (*AddOnInstallation) GetUpdatedTimestamp ¶
func (o *AddOnInstallation) GetUpdatedTimestamp() (value time.Time, ok bool)
GetUpdatedTimestamp returns the value of the 'updated_timestamp' attribute and a flag indicating if the attribute has a value.
Date and time when the add-on installation information was last updated.
func (*AddOnInstallation) HREF ¶
func (o *AddOnInstallation) HREF() string
HREF returns the link to the object.
func (*AddOnInstallation) ID ¶
func (o *AddOnInstallation) ID() string
ID returns the identifier of the object.
func (*AddOnInstallation) Kind ¶
func (o *AddOnInstallation) Kind() string
Kind returns the name of the type of the object.
func (*AddOnInstallation) Link ¶
func (o *AddOnInstallation) Link() bool
Link returns true iif this is a link.
func (*AddOnInstallation) OperatorVersion ¶
func (o *AddOnInstallation) OperatorVersion() string
OperatorVersion returns the value of the 'operator_version' attribute, or the zero value of the type if the attribute doesn't have a value.
Version of the operator installed by the add-on.
func (*AddOnInstallation) Parameters ¶ added in v0.0.329
func (o *AddOnInstallation) Parameters() *AddOnInstallationParameterList
Parameters returns the value of the 'parameters' attribute, or the zero value of the type if the attribute doesn't have a value.
List of add-on parameters for this add-on installation.
func (*AddOnInstallation) State ¶
func (o *AddOnInstallation) State() AddOnInstallationState
State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.
Overall state of the add-on installation.
func (*AddOnInstallation) StateDescription ¶
func (o *AddOnInstallation) StateDescription() string
StateDescription returns the value of the 'state_description' attribute, or the zero value of the type if the attribute doesn't have a value.
Reason for the current State.
func (*AddOnInstallation) UpdatedTimestamp ¶
func (o *AddOnInstallation) UpdatedTimestamp() time.Time
UpdatedTimestamp returns the value of the 'updated_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.
Date and time when the add-on installation information was last updated.
type AddOnInstallationBuilder ¶
type AddOnInstallationBuilder struct {
// contains filtered or unexported fields
}
AddOnInstallationBuilder contains the data and logic needed to build 'add_on_installation' objects.
Representation of an add-on installation in a cluster.
func NewAddOnInstallation ¶
func NewAddOnInstallation() *AddOnInstallationBuilder
NewAddOnInstallation creates a new builder of 'add_on_installation' objects.
func (*AddOnInstallationBuilder) Addon ¶
func (b *AddOnInstallationBuilder) Addon(value *AddOnBuilder) *AddOnInstallationBuilder
Addon sets the value of the 'addon' attribute to the given value.
Representation of an add-on that can be installed in a cluster.
func (*AddOnInstallationBuilder) Build ¶
func (b *AddOnInstallationBuilder) Build() (object *AddOnInstallation, err error)
Build creates a 'add_on_installation' object using the configuration stored in the builder.
func (*AddOnInstallationBuilder) Cluster ¶
func (b *AddOnInstallationBuilder) Cluster(value *ClusterBuilder) *AddOnInstallationBuilder
Cluster sets the value of the 'cluster' attribute to the given value.
Definition of an _OpenShift_ cluster.
The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:
[source,json] ----
{ "cloud_provider": { "kind": "CloudProviderLink", "id": "123", "href": "/api/clusters_mgmt/v1/cloud_providers/123" } }
----
When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:
[source,json] ----
{ "cloud_provider": { "id": "123", } }
----
If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.
The region attribute is mandatory when a cluster is created.
The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.
func (*AddOnInstallationBuilder) Copy ¶
func (b *AddOnInstallationBuilder) Copy(object *AddOnInstallation) *AddOnInstallationBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AddOnInstallationBuilder) CreationTimestamp ¶
func (b *AddOnInstallationBuilder) CreationTimestamp(value time.Time) *AddOnInstallationBuilder
CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.
func (*AddOnInstallationBuilder) HREF ¶
func (b *AddOnInstallationBuilder) HREF(value string) *AddOnInstallationBuilder
HREF sets the link to the object.
func (*AddOnInstallationBuilder) ID ¶
func (b *AddOnInstallationBuilder) ID(value string) *AddOnInstallationBuilder
ID sets the identifier of the object.
func (*AddOnInstallationBuilder) Link ¶
func (b *AddOnInstallationBuilder) Link(value bool) *AddOnInstallationBuilder
Link sets the flag that indicates if this is a link.
func (*AddOnInstallationBuilder) OperatorVersion ¶
func (b *AddOnInstallationBuilder) OperatorVersion(value string) *AddOnInstallationBuilder
OperatorVersion sets the value of the 'operator_version' attribute to the given value.
func (*AddOnInstallationBuilder) Parameters ¶ added in v0.0.329
func (b *AddOnInstallationBuilder) Parameters(value *AddOnInstallationParameterListBuilder) *AddOnInstallationBuilder
Parameters sets the value of the 'parameters' attribute to the given values.
func (*AddOnInstallationBuilder) State ¶
func (b *AddOnInstallationBuilder) State(value AddOnInstallationState) *AddOnInstallationBuilder
State sets the value of the 'state' attribute to the given value.
Representation of an add-on installation State field.
func (*AddOnInstallationBuilder) StateDescription ¶
func (b *AddOnInstallationBuilder) StateDescription(value string) *AddOnInstallationBuilder
StateDescription sets the value of the 'state_description' attribute to the given value.
func (*AddOnInstallationBuilder) UpdatedTimestamp ¶
func (b *AddOnInstallationBuilder) UpdatedTimestamp(value time.Time) *AddOnInstallationBuilder
UpdatedTimestamp sets the value of the 'updated_timestamp' attribute to the given value.
type AddOnInstallationClient ¶
type AddOnInstallationClient struct {
// contains filtered or unexported fields
}
AddOnInstallationClient is the client of the 'add_on_installation' resource.
Manages a specific add-on installation.
func NewAddOnInstallationClient ¶
func NewAddOnInstallationClient(transport http.RoundTripper, path string, metric string) *AddOnInstallationClient
NewAddOnInstallationClient creates a new client for the 'add_on_installation' resource using the given transport to send the requests and receive the responses.
func (*AddOnInstallationClient) Delete ¶ added in v0.0.329
func (c *AddOnInstallationClient) Delete() *AddOnInstallationDeleteRequest
Delete creates a request for the 'delete' method.
Delete an add-on installation and remove it from the collection of add-on installations on the cluster.
func (*AddOnInstallationClient) Get ¶
func (c *AddOnInstallationClient) Get() *AddOnInstallationGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the add-on installation.
func (*AddOnInstallationClient) Poll ¶
func (c *AddOnInstallationClient) Poll() *AddOnInstallationPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*AddOnInstallationClient) Update ¶ added in v0.0.329
func (c *AddOnInstallationClient) Update() *AddOnInstallationUpdateRequest
Update creates a request for the 'update' method.
Updates the add-on installation.
type AddOnInstallationDeleteRequest ¶ added in v0.0.329
type AddOnInstallationDeleteRequest struct {
// contains filtered or unexported fields
}
AddOnInstallationDeleteRequest is the request for the 'delete' method.
func (*AddOnInstallationDeleteRequest) Header ¶ added in v0.0.329
func (r *AddOnInstallationDeleteRequest) Header(name string, value interface{}) *AddOnInstallationDeleteRequest
Header adds a request header.
func (*AddOnInstallationDeleteRequest) Parameter ¶ added in v0.0.329
func (r *AddOnInstallationDeleteRequest) Parameter(name string, value interface{}) *AddOnInstallationDeleteRequest
Parameter adds a query parameter.
func (*AddOnInstallationDeleteRequest) Send ¶ added in v0.0.329
func (r *AddOnInstallationDeleteRequest) Send() (result *AddOnInstallationDeleteResponse, 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 (*AddOnInstallationDeleteRequest) SendContext ¶ added in v0.0.329
func (r *AddOnInstallationDeleteRequest) SendContext(ctx context.Context) (result *AddOnInstallationDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AddOnInstallationDeleteResponse ¶ added in v0.0.329
type AddOnInstallationDeleteResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationDeleteResponse is the response for the 'delete' method.
func (*AddOnInstallationDeleteResponse) Error ¶ added in v0.0.329
func (r *AddOnInstallationDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*AddOnInstallationDeleteResponse) Header ¶ added in v0.0.329
func (r *AddOnInstallationDeleteResponse) Header() http.Header
Header returns header of the response.
func (*AddOnInstallationDeleteResponse) Status ¶ added in v0.0.329
func (r *AddOnInstallationDeleteResponse) Status() int
Status returns the response status code.
type AddOnInstallationDeleteServerRequest ¶ added in v0.1.65
type AddOnInstallationDeleteServerRequest struct { }
AddOnInstallationDeleteServerRequest is the request for the 'delete' method.
type AddOnInstallationDeleteServerResponse ¶ added in v0.1.65
type AddOnInstallationDeleteServerResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationDeleteServerResponse is the response for the 'delete' method.
func (*AddOnInstallationDeleteServerResponse) Status ¶ added in v0.1.65
func (r *AddOnInstallationDeleteServerResponse) Status(value int) *AddOnInstallationDeleteServerResponse
Status sets the status code.
type AddOnInstallationGetRequest ¶
type AddOnInstallationGetRequest struct {
// contains filtered or unexported fields
}
AddOnInstallationGetRequest is the request for the 'get' method.
func (*AddOnInstallationGetRequest) Header ¶
func (r *AddOnInstallationGetRequest) Header(name string, value interface{}) *AddOnInstallationGetRequest
Header adds a request header.
func (*AddOnInstallationGetRequest) Parameter ¶
func (r *AddOnInstallationGetRequest) Parameter(name string, value interface{}) *AddOnInstallationGetRequest
Parameter adds a query parameter.
func (*AddOnInstallationGetRequest) Send ¶
func (r *AddOnInstallationGetRequest) Send() (result *AddOnInstallationGetResponse, 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 (*AddOnInstallationGetRequest) SendContext ¶
func (r *AddOnInstallationGetRequest) SendContext(ctx context.Context) (result *AddOnInstallationGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AddOnInstallationGetResponse ¶
type AddOnInstallationGetResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationGetResponse is the response for the 'get' method.
func (*AddOnInstallationGetResponse) Body ¶
func (r *AddOnInstallationGetResponse) Body() *AddOnInstallation
Body returns the value of the 'body' parameter.
func (*AddOnInstallationGetResponse) Error ¶
func (r *AddOnInstallationGetResponse) Error() *errors.Error
Error returns the response error.
func (*AddOnInstallationGetResponse) GetBody ¶
func (r *AddOnInstallationGetResponse) GetBody() (value *AddOnInstallation, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AddOnInstallationGetResponse) Header ¶
func (r *AddOnInstallationGetResponse) Header() http.Header
Header returns header of the response.
func (*AddOnInstallationGetResponse) Status ¶
func (r *AddOnInstallationGetResponse) Status() int
Status returns the response status code.
type AddOnInstallationGetServerRequest ¶
type AddOnInstallationGetServerRequest struct { }
AddOnInstallationGetServerRequest is the request for the 'get' method.
type AddOnInstallationGetServerResponse ¶
type AddOnInstallationGetServerResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationGetServerResponse is the response for the 'get' method.
func (*AddOnInstallationGetServerResponse) Body ¶
func (r *AddOnInstallationGetServerResponse) Body(value *AddOnInstallation) *AddOnInstallationGetServerResponse
Body sets the value of the 'body' parameter.
func (*AddOnInstallationGetServerResponse) Status ¶
func (r *AddOnInstallationGetServerResponse) Status(value int) *AddOnInstallationGetServerResponse
Status sets the status code.
type AddOnInstallationList ¶
type AddOnInstallationList struct {
// contains filtered or unexported fields
}
AddOnInstallationList is a list of values of the 'add_on_installation' type.
func (*AddOnInstallationList) Each ¶
func (l *AddOnInstallationList) Each(f func(item *AddOnInstallation) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AddOnInstallationList) Empty ¶
func (l *AddOnInstallationList) Empty() bool
Empty returns true if the list is empty.
func (*AddOnInstallationList) Get ¶
func (l *AddOnInstallationList) Get(i int) *AddOnInstallation
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AddOnInstallationList) GetHREF ¶
func (l *AddOnInstallationList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*AddOnInstallationList) HREF ¶
func (l *AddOnInstallationList) HREF() string
HREF returns the link to the list.
func (*AddOnInstallationList) Kind ¶
func (l *AddOnInstallationList) Kind() string
Kind returns the name of the type of the object.
func (*AddOnInstallationList) Len ¶
func (l *AddOnInstallationList) Len() int
Len returns the length of the list.
func (*AddOnInstallationList) Link ¶
func (l *AddOnInstallationList) Link() bool
Link returns true iif this is a link.
func (*AddOnInstallationList) Range ¶
func (l *AddOnInstallationList) Range(f func(index int, item *AddOnInstallation) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AddOnInstallationList) Slice ¶
func (l *AddOnInstallationList) Slice() []*AddOnInstallation
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AddOnInstallationListBuilder ¶
type AddOnInstallationListBuilder struct {
// contains filtered or unexported fields
}
AddOnInstallationListBuilder contains the data and logic needed to build 'add_on_installation' objects.
func NewAddOnInstallationList ¶
func NewAddOnInstallationList() *AddOnInstallationListBuilder
NewAddOnInstallationList creates a new builder of 'add_on_installation' objects.
func (*AddOnInstallationListBuilder) Build ¶
func (b *AddOnInstallationListBuilder) Build() (list *AddOnInstallationList, err error)
Build creates a list of 'add_on_installation' objects using the configuration stored in the builder.
func (*AddOnInstallationListBuilder) Copy ¶
func (b *AddOnInstallationListBuilder) Copy(list *AddOnInstallationList) *AddOnInstallationListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AddOnInstallationListBuilder) Items ¶
func (b *AddOnInstallationListBuilder) Items(values ...*AddOnInstallationBuilder) *AddOnInstallationListBuilder
Items sets the items of the list.
type AddOnInstallationParameter ¶ added in v0.0.329
type AddOnInstallationParameter struct {
// contains filtered or unexported fields
}
AddOnInstallationParameter represents the values of the 'add_on_installation_parameter' type.
Representation of an add-on installation parameter.
func UnmarshalAddOnInstallationParameter ¶ added in v0.0.329
func UnmarshalAddOnInstallationParameter(source interface{}) (object *AddOnInstallationParameter, err error)
UnmarshalAddOnInstallationParameter reads a value of the 'add_on_installation_parameter' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAddOnInstallationParameterList ¶ added in v0.0.329
func UnmarshalAddOnInstallationParameterList(source interface{}) (items []*AddOnInstallationParameter, err error)
UnmarshalAddOnInstallationParameterList reads a list of values of the 'add_on_installation_parameter' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AddOnInstallationParameter) Empty ¶ added in v0.0.329
func (o *AddOnInstallationParameter) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AddOnInstallationParameter) GetHREF ¶ added in v0.0.329
func (o *AddOnInstallationParameter) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*AddOnInstallationParameter) GetID ¶ added in v0.0.329
func (o *AddOnInstallationParameter) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*AddOnInstallationParameter) GetValue ¶ added in v0.0.329
func (o *AddOnInstallationParameter) GetValue() (value string, ok bool)
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
Value of the parameter.
func (*AddOnInstallationParameter) HREF ¶ added in v0.0.329
func (o *AddOnInstallationParameter) HREF() string
HREF returns the link to the object.
func (*AddOnInstallationParameter) ID ¶ added in v0.0.329
func (o *AddOnInstallationParameter) ID() string
ID returns the identifier of the object.
func (*AddOnInstallationParameter) Kind ¶ added in v0.0.329
func (o *AddOnInstallationParameter) Kind() string
Kind returns the name of the type of the object.
func (*AddOnInstallationParameter) Link ¶ added in v0.0.329
func (o *AddOnInstallationParameter) Link() bool
Link returns true iif this is a link.
func (*AddOnInstallationParameter) Value ¶ added in v0.0.329
func (o *AddOnInstallationParameter) 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 parameter.
type AddOnInstallationParameterBuilder ¶ added in v0.0.329
type AddOnInstallationParameterBuilder struct {
// contains filtered or unexported fields
}
AddOnInstallationParameterBuilder contains the data and logic needed to build 'add_on_installation_parameter' objects.
Representation of an add-on installation parameter.
func NewAddOnInstallationParameter ¶ added in v0.0.329
func NewAddOnInstallationParameter() *AddOnInstallationParameterBuilder
NewAddOnInstallationParameter creates a new builder of 'add_on_installation_parameter' objects.
func (*AddOnInstallationParameterBuilder) Build ¶ added in v0.0.329
func (b *AddOnInstallationParameterBuilder) Build() (object *AddOnInstallationParameter, err error)
Build creates a 'add_on_installation_parameter' object using the configuration stored in the builder.
func (*AddOnInstallationParameterBuilder) Copy ¶ added in v0.0.329
func (b *AddOnInstallationParameterBuilder) Copy(object *AddOnInstallationParameter) *AddOnInstallationParameterBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AddOnInstallationParameterBuilder) HREF ¶ added in v0.0.329
func (b *AddOnInstallationParameterBuilder) HREF(value string) *AddOnInstallationParameterBuilder
HREF sets the link to the object.
func (*AddOnInstallationParameterBuilder) ID ¶ added in v0.0.329
func (b *AddOnInstallationParameterBuilder) ID(value string) *AddOnInstallationParameterBuilder
ID sets the identifier of the object.
func (*AddOnInstallationParameterBuilder) Link ¶ added in v0.0.329
func (b *AddOnInstallationParameterBuilder) Link(value bool) *AddOnInstallationParameterBuilder
Link sets the flag that indicates if this is a link.
func (*AddOnInstallationParameterBuilder) Value ¶ added in v0.0.329
func (b *AddOnInstallationParameterBuilder) Value(value string) *AddOnInstallationParameterBuilder
Value sets the value of the 'value' attribute to the given value.
type AddOnInstallationParameterList ¶ added in v0.0.329
type AddOnInstallationParameterList struct {
// contains filtered or unexported fields
}
AddOnInstallationParameterList is a list of values of the 'add_on_installation_parameter' type.
func (*AddOnInstallationParameterList) Each ¶ added in v0.0.329
func (l *AddOnInstallationParameterList) Each(f func(item *AddOnInstallationParameter) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AddOnInstallationParameterList) Empty ¶ added in v0.0.329
func (l *AddOnInstallationParameterList) Empty() bool
Empty returns true if the list is empty.
func (*AddOnInstallationParameterList) Get ¶ added in v0.0.329
func (l *AddOnInstallationParameterList) Get(i int) *AddOnInstallationParameter
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AddOnInstallationParameterList) GetHREF ¶ added in v0.0.329
func (l *AddOnInstallationParameterList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*AddOnInstallationParameterList) HREF ¶ added in v0.0.329
func (l *AddOnInstallationParameterList) HREF() string
HREF returns the link to the list.
func (*AddOnInstallationParameterList) Kind ¶ added in v0.0.329
func (l *AddOnInstallationParameterList) Kind() string
Kind returns the name of the type of the object.
func (*AddOnInstallationParameterList) Len ¶ added in v0.0.329
func (l *AddOnInstallationParameterList) Len() int
Len returns the length of the list.
func (*AddOnInstallationParameterList) Link ¶ added in v0.0.329
func (l *AddOnInstallationParameterList) Link() bool
Link returns true iif this is a link.
func (*AddOnInstallationParameterList) Range ¶ added in v0.0.329
func (l *AddOnInstallationParameterList) Range(f func(index int, item *AddOnInstallationParameter) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AddOnInstallationParameterList) Slice ¶ added in v0.0.329
func (l *AddOnInstallationParameterList) Slice() []*AddOnInstallationParameter
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AddOnInstallationParameterListBuilder ¶ added in v0.0.329
type AddOnInstallationParameterListBuilder struct {
// contains filtered or unexported fields
}
AddOnInstallationParameterListBuilder contains the data and logic needed to build 'add_on_installation_parameter' objects.
func NewAddOnInstallationParameterList ¶ added in v0.0.329
func NewAddOnInstallationParameterList() *AddOnInstallationParameterListBuilder
NewAddOnInstallationParameterList creates a new builder of 'add_on_installation_parameter' objects.
func (*AddOnInstallationParameterListBuilder) Build ¶ added in v0.0.329
func (b *AddOnInstallationParameterListBuilder) Build() (list *AddOnInstallationParameterList, err error)
Build creates a list of 'add_on_installation_parameter' objects using the configuration stored in the builder.
func (*AddOnInstallationParameterListBuilder) Copy ¶ added in v0.0.329
func (b *AddOnInstallationParameterListBuilder) Copy(list *AddOnInstallationParameterList) *AddOnInstallationParameterListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AddOnInstallationParameterListBuilder) Items ¶ added in v0.0.329
func (b *AddOnInstallationParameterListBuilder) Items(values ...*AddOnInstallationParameterBuilder) *AddOnInstallationParameterListBuilder
Items sets the items of the list.
type AddOnInstallationPollRequest ¶
type AddOnInstallationPollRequest struct {
// contains filtered or unexported fields
}
AddOnInstallationPollRequest is the request for the Poll method.
func (*AddOnInstallationPollRequest) Header ¶
func (r *AddOnInstallationPollRequest) Header(name string, value interface{}) *AddOnInstallationPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*AddOnInstallationPollRequest) Interval ¶
func (r *AddOnInstallationPollRequest) Interval(value time.Duration) *AddOnInstallationPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*AddOnInstallationPollRequest) Parameter ¶
func (r *AddOnInstallationPollRequest) Parameter(name string, value interface{}) *AddOnInstallationPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*AddOnInstallationPollRequest) Predicate ¶
func (r *AddOnInstallationPollRequest) Predicate(value func(*AddOnInstallationGetResponse) bool) *AddOnInstallationPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*AddOnInstallationPollRequest) StartContext ¶
func (r *AddOnInstallationPollRequest) StartContext(ctx context.Context) (response *AddOnInstallationPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*AddOnInstallationPollRequest) Status ¶
func (r *AddOnInstallationPollRequest) Status(value int) *AddOnInstallationPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type AddOnInstallationPollResponse ¶
type AddOnInstallationPollResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationPollResponse is the response for the Poll method.
func (*AddOnInstallationPollResponse) Body ¶
func (r *AddOnInstallationPollResponse) Body() *AddOnInstallation
Body returns the value of the 'body' parameter.
func (*AddOnInstallationPollResponse) Error ¶
func (r *AddOnInstallationPollResponse) Error() *errors.Error
Error returns the response error.
func (*AddOnInstallationPollResponse) GetBody ¶
func (r *AddOnInstallationPollResponse) GetBody() (value *AddOnInstallation, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AddOnInstallationPollResponse) Header ¶
func (r *AddOnInstallationPollResponse) Header() http.Header
Header returns header of the response.
func (*AddOnInstallationPollResponse) Status ¶
func (r *AddOnInstallationPollResponse) Status() int
Status returns the response status code.
type AddOnInstallationServer ¶
type AddOnInstallationServer interface { // Delete handles a request for the 'delete' method. // // Delete an add-on installation and remove it from the collection of add-on installations on the cluster. Delete(ctx context.Context, request *AddOnInstallationDeleteServerRequest, response *AddOnInstallationDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the add-on installation. Get(ctx context.Context, request *AddOnInstallationGetServerRequest, response *AddOnInstallationGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the add-on installation. Update(ctx context.Context, request *AddOnInstallationUpdateServerRequest, response *AddOnInstallationUpdateServerResponse) error }
AddOnInstallationServer represents the interface the manages the 'add_on_installation' resource.
type AddOnInstallationState ¶
type AddOnInstallationState string
AddOnInstallationState represents the values of the 'add_on_installation_state' enumerated type.
const ( // The add-on is being deleted. AddOnInstallationStateDeleting AddOnInstallationState = "deleting" // Error during installation. AddOnInstallationStateFailed AddOnInstallationState = "failed" // The add-on is still being installed. AddOnInstallationStateInstalling AddOnInstallationState = "installing" // The add-on is in pending state. AddOnInstallationStatePending AddOnInstallationState = "pending" // The add-on is ready to be used. AddOnInstallationStateReady AddOnInstallationState = "ready" )
func UnmarshalAddOnInstallationStateList ¶
func UnmarshalAddOnInstallationStateList(source interface{}) (items []AddOnInstallationState, err error)
UnmarshalAddOnInstallationStateList reads a list of values of the 'add_on_installation_state' type from the given source, which can be a slice of bytes, a string or a reader.
type AddOnInstallationUpdateRequest ¶ added in v0.0.329
type AddOnInstallationUpdateRequest struct {
// contains filtered or unexported fields
}
AddOnInstallationUpdateRequest is the request for the 'update' method.
func (*AddOnInstallationUpdateRequest) Body ¶ added in v0.0.329
func (r *AddOnInstallationUpdateRequest) Body(value *AddOnInstallation) *AddOnInstallationUpdateRequest
Body sets the value of the 'body' parameter.
func (*AddOnInstallationUpdateRequest) Header ¶ added in v0.0.329
func (r *AddOnInstallationUpdateRequest) Header(name string, value interface{}) *AddOnInstallationUpdateRequest
Header adds a request header.
func (*AddOnInstallationUpdateRequest) Parameter ¶ added in v0.0.329
func (r *AddOnInstallationUpdateRequest) Parameter(name string, value interface{}) *AddOnInstallationUpdateRequest
Parameter adds a query parameter.
func (*AddOnInstallationUpdateRequest) Send ¶ added in v0.0.329
func (r *AddOnInstallationUpdateRequest) Send() (result *AddOnInstallationUpdateResponse, 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 (*AddOnInstallationUpdateRequest) SendContext ¶ added in v0.0.329
func (r *AddOnInstallationUpdateRequest) SendContext(ctx context.Context) (result *AddOnInstallationUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AddOnInstallationUpdateResponse ¶ added in v0.0.329
type AddOnInstallationUpdateResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationUpdateResponse is the response for the 'update' method.
func (*AddOnInstallationUpdateResponse) Body ¶ added in v0.0.329
func (r *AddOnInstallationUpdateResponse) Body() *AddOnInstallation
Body returns the value of the 'body' parameter.
func (*AddOnInstallationUpdateResponse) Error ¶ added in v0.0.329
func (r *AddOnInstallationUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*AddOnInstallationUpdateResponse) GetBody ¶ added in v0.0.329
func (r *AddOnInstallationUpdateResponse) GetBody() (value *AddOnInstallation, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AddOnInstallationUpdateResponse) Header ¶ added in v0.0.329
func (r *AddOnInstallationUpdateResponse) Header() http.Header
Header returns header of the response.
func (*AddOnInstallationUpdateResponse) Status ¶ added in v0.0.329
func (r *AddOnInstallationUpdateResponse) Status() int
Status returns the response status code.
type AddOnInstallationUpdateServerRequest ¶ added in v0.1.146
type AddOnInstallationUpdateServerRequest struct {
// contains filtered or unexported fields
}
AddOnInstallationUpdateServerRequest is the request for the 'update' method.
func (*AddOnInstallationUpdateServerRequest) Body ¶ added in v0.1.146
func (r *AddOnInstallationUpdateServerRequest) Body() *AddOnInstallation
Body returns the value of the 'body' parameter.
func (*AddOnInstallationUpdateServerRequest) GetBody ¶ added in v0.1.146
func (r *AddOnInstallationUpdateServerRequest) GetBody() (value *AddOnInstallation, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type AddOnInstallationUpdateServerResponse ¶ added in v0.1.146
type AddOnInstallationUpdateServerResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationUpdateServerResponse is the response for the 'update' method.
func (*AddOnInstallationUpdateServerResponse) Body ¶ added in v0.1.146
func (r *AddOnInstallationUpdateServerResponse) Body(value *AddOnInstallation) *AddOnInstallationUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*AddOnInstallationUpdateServerResponse) Status ¶ added in v0.1.146
func (r *AddOnInstallationUpdateServerResponse) Status(value int) *AddOnInstallationUpdateServerResponse
Status sets the status code.
type AddOnInstallationsAddRequest ¶
type AddOnInstallationsAddRequest struct {
// contains filtered or unexported fields
}
AddOnInstallationsAddRequest is the request for the 'add' method.
func (*AddOnInstallationsAddRequest) Body ¶
func (r *AddOnInstallationsAddRequest) Body(value *AddOnInstallation) *AddOnInstallationsAddRequest
Body sets the value of the 'body' parameter.
Description of the add-on installation.
func (*AddOnInstallationsAddRequest) Header ¶
func (r *AddOnInstallationsAddRequest) Header(name string, value interface{}) *AddOnInstallationsAddRequest
Header adds a request header.
func (*AddOnInstallationsAddRequest) Parameter ¶
func (r *AddOnInstallationsAddRequest) Parameter(name string, value interface{}) *AddOnInstallationsAddRequest
Parameter adds a query parameter.
func (*AddOnInstallationsAddRequest) Send ¶
func (r *AddOnInstallationsAddRequest) Send() (result *AddOnInstallationsAddResponse, 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 (*AddOnInstallationsAddRequest) SendContext ¶
func (r *AddOnInstallationsAddRequest) SendContext(ctx context.Context) (result *AddOnInstallationsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AddOnInstallationsAddResponse ¶
type AddOnInstallationsAddResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationsAddResponse is the response for the 'add' method.
func (*AddOnInstallationsAddResponse) Body ¶
func (r *AddOnInstallationsAddResponse) Body() *AddOnInstallation
Body returns the value of the 'body' parameter.
Description of the add-on installation.
func (*AddOnInstallationsAddResponse) Error ¶
func (r *AddOnInstallationsAddResponse) Error() *errors.Error
Error returns the response error.
func (*AddOnInstallationsAddResponse) GetBody ¶
func (r *AddOnInstallationsAddResponse) GetBody() (value *AddOnInstallation, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the add-on installation.
func (*AddOnInstallationsAddResponse) Header ¶
func (r *AddOnInstallationsAddResponse) Header() http.Header
Header returns header of the response.
func (*AddOnInstallationsAddResponse) Status ¶
func (r *AddOnInstallationsAddResponse) Status() int
Status returns the response status code.
type AddOnInstallationsAddServerRequest ¶
type AddOnInstallationsAddServerRequest struct {
// contains filtered or unexported fields
}
AddOnInstallationsAddServerRequest is the request for the 'add' method.
func (*AddOnInstallationsAddServerRequest) Body ¶
func (r *AddOnInstallationsAddServerRequest) Body() *AddOnInstallation
Body returns the value of the 'body' parameter.
Description of the add-on installation.
func (*AddOnInstallationsAddServerRequest) GetBody ¶
func (r *AddOnInstallationsAddServerRequest) GetBody() (value *AddOnInstallation, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the add-on installation.
type AddOnInstallationsAddServerResponse ¶
type AddOnInstallationsAddServerResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationsAddServerResponse is the response for the 'add' method.
func (*AddOnInstallationsAddServerResponse) Body ¶
func (r *AddOnInstallationsAddServerResponse) Body(value *AddOnInstallation) *AddOnInstallationsAddServerResponse
Body sets the value of the 'body' parameter.
Description of the add-on installation.
func (*AddOnInstallationsAddServerResponse) Status ¶
func (r *AddOnInstallationsAddServerResponse) Status(value int) *AddOnInstallationsAddServerResponse
Status sets the status code.
type AddOnInstallationsClient ¶
type AddOnInstallationsClient struct {
// contains filtered or unexported fields
}
AddOnInstallationsClient is the client of the 'add_on_installations' resource.
Manages the collection of add-on installations.
func NewAddOnInstallationsClient ¶
func NewAddOnInstallationsClient(transport http.RoundTripper, path string, metric string) *AddOnInstallationsClient
NewAddOnInstallationsClient creates a new client for the 'add_on_installations' resource using the given transport to send the requests and receive the responses.
func (*AddOnInstallationsClient) Add ¶
func (c *AddOnInstallationsClient) Add() *AddOnInstallationsAddRequest
Add creates a request for the 'add' method.
Create a new add-on installation and add it to the collection of add-on installations on the cluster.
func (*AddOnInstallationsClient) Addoninstallation ¶
func (c *AddOnInstallationsClient) Addoninstallation(id string) *AddOnInstallationClient
Addoninstallation returns the target 'add_on_installation' resource for the given identifier.
Returns a reference to the service that manages a specific add-on installation.
func (*AddOnInstallationsClient) List ¶
func (c *AddOnInstallationsClient) List() *AddOnInstallationsListRequest
List creates a request for the 'list' method.
Retrieves the list of add-on installations.
type AddOnInstallationsListRequest ¶
type AddOnInstallationsListRequest struct {
// contains filtered or unexported fields
}
AddOnInstallationsListRequest is the request for the 'list' method.
func (*AddOnInstallationsListRequest) Header ¶
func (r *AddOnInstallationsListRequest) Header(name string, value interface{}) *AddOnInstallationsListRequest
Header adds a request header.
func (*AddOnInstallationsListRequest) Order ¶
func (r *AddOnInstallationsListRequest) Order(value string) *AddOnInstallationsListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the add-on installation instead of the names of the columns of a table. For example, in order to sort the add-on installations descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AddOnInstallationsListRequest) Page ¶
func (r *AddOnInstallationsListRequest) Page(value int) *AddOnInstallationsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AddOnInstallationsListRequest) Parameter ¶
func (r *AddOnInstallationsListRequest) Parameter(name string, value interface{}) *AddOnInstallationsListRequest
Parameter adds a query parameter.
func (*AddOnInstallationsListRequest) Search ¶
func (r *AddOnInstallationsListRequest) Search(value string) *AddOnInstallationsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the add-on installation instead of the names of the columns of a table. For example, in order to retrieve all the add-on installations with a name starting with `my` the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the add-on installations that the user has permission to see will be returned.
func (*AddOnInstallationsListRequest) Send ¶
func (r *AddOnInstallationsListRequest) Send() (result *AddOnInstallationsListResponse, 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 (*AddOnInstallationsListRequest) SendContext ¶
func (r *AddOnInstallationsListRequest) SendContext(ctx context.Context) (result *AddOnInstallationsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*AddOnInstallationsListRequest) Size ¶
func (r *AddOnInstallationsListRequest) Size(value int) *AddOnInstallationsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AddOnInstallationsListResponse ¶
type AddOnInstallationsListResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationsListResponse is the response for the 'list' method.
func (*AddOnInstallationsListResponse) Error ¶
func (r *AddOnInstallationsListResponse) Error() *errors.Error
Error returns the response error.
func (*AddOnInstallationsListResponse) GetItems ¶
func (r *AddOnInstallationsListResponse) GetItems() (value *AddOnInstallationList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of add-on installations.
func (*AddOnInstallationsListResponse) GetPage ¶
func (r *AddOnInstallationsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*AddOnInstallationsListResponse) GetSize ¶
func (r *AddOnInstallationsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*AddOnInstallationsListResponse) GetTotal ¶
func (r *AddOnInstallationsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*AddOnInstallationsListResponse) Header ¶
func (r *AddOnInstallationsListResponse) Header() http.Header
Header returns header of the response.
func (*AddOnInstallationsListResponse) Items ¶
func (r *AddOnInstallationsListResponse) Items() *AddOnInstallationList
Items returns the value of the 'items' parameter.
Retrieved list of add-on installations.
func (*AddOnInstallationsListResponse) Page ¶
func (r *AddOnInstallationsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AddOnInstallationsListResponse) Size ¶
func (r *AddOnInstallationsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AddOnInstallationsListResponse) Status ¶
func (r *AddOnInstallationsListResponse) Status() int
Status returns the response status code.
func (*AddOnInstallationsListResponse) Total ¶
func (r *AddOnInstallationsListResponse) 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 AddOnInstallationsListServerRequest ¶
type AddOnInstallationsListServerRequest struct {
// contains filtered or unexported fields
}
AddOnInstallationsListServerRequest is the request for the 'list' method.
func (*AddOnInstallationsListServerRequest) GetOrder ¶
func (r *AddOnInstallationsListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the add-on installation instead of the names of the columns of a table. For example, in order to sort the add-on installations descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AddOnInstallationsListServerRequest) GetPage ¶
func (r *AddOnInstallationsListServerRequest) 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 (*AddOnInstallationsListServerRequest) GetSearch ¶
func (r *AddOnInstallationsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the add-on installation instead of the names of the columns of a table. For example, in order to retrieve all the add-on installations with a name starting with `my` the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the add-on installations that the user has permission to see will be returned.
func (*AddOnInstallationsListServerRequest) GetSize ¶
func (r *AddOnInstallationsListServerRequest) 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 (*AddOnInstallationsListServerRequest) Order ¶
func (r *AddOnInstallationsListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the add-on installation instead of the names of the columns of a table. For example, in order to sort the add-on installations descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AddOnInstallationsListServerRequest) Page ¶
func (r *AddOnInstallationsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AddOnInstallationsListServerRequest) Search ¶
func (r *AddOnInstallationsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the add-on installation instead of the names of the columns of a table. For example, in order to retrieve all the add-on installations with a name starting with `my` the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the add-on installations that the user has permission to see will be returned.
func (*AddOnInstallationsListServerRequest) Size ¶
func (r *AddOnInstallationsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AddOnInstallationsListServerResponse ¶
type AddOnInstallationsListServerResponse struct {
// contains filtered or unexported fields
}
AddOnInstallationsListServerResponse is the response for the 'list' method.
func (*AddOnInstallationsListServerResponse) Items ¶
func (r *AddOnInstallationsListServerResponse) Items(value *AddOnInstallationList) *AddOnInstallationsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of add-on installations.
func (*AddOnInstallationsListServerResponse) Page ¶
func (r *AddOnInstallationsListServerResponse) Page(value int) *AddOnInstallationsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AddOnInstallationsListServerResponse) Size ¶
func (r *AddOnInstallationsListServerResponse) Size(value int) *AddOnInstallationsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AddOnInstallationsListServerResponse) Status ¶
func (r *AddOnInstallationsListServerResponse) Status(value int) *AddOnInstallationsListServerResponse
Status sets the status code.
func (*AddOnInstallationsListServerResponse) Total ¶
func (r *AddOnInstallationsListServerResponse) Total(value int) *AddOnInstallationsListServerResponse
Total sets 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 AddOnInstallationsServer ¶
type AddOnInstallationsServer interface { // Add handles a request for the 'add' method. // // Create a new add-on installation and add it to the collection of add-on installations on the cluster. Add(ctx context.Context, request *AddOnInstallationsAddServerRequest, response *AddOnInstallationsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of add-on installations. List(ctx context.Context, request *AddOnInstallationsListServerRequest, response *AddOnInstallationsListServerResponse) error // Addoninstallation returns the target 'add_on_installation' server for the given identifier. // // Returns a reference to the service that manages a specific add-on installation. Addoninstallation(id string) AddOnInstallationServer }
AddOnInstallationsServer represents the interface the manages the 'add_on_installations' resource.
type AddOnList ¶
type AddOnList struct {
// contains filtered or unexported fields
}
AddOnList is a list of values of the 'add_on' type.
func (*AddOnList) 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 (*AddOnList) Get ¶
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 ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*AddOnList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AddOnList) 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 AddOnListBuilder ¶
type AddOnListBuilder struct {
// contains filtered or unexported fields
}
AddOnListBuilder contains the data and logic needed to build 'add_on' objects.
func NewAddOnList ¶
func NewAddOnList() *AddOnListBuilder
NewAddOnList creates a new builder of 'add_on' objects.
func (*AddOnListBuilder) Build ¶
func (b *AddOnListBuilder) Build() (list *AddOnList, err error)
Build creates a list of 'add_on' objects using the configuration stored in the builder.
func (*AddOnListBuilder) Copy ¶
func (b *AddOnListBuilder) Copy(list *AddOnList) *AddOnListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AddOnListBuilder) Items ¶
func (b *AddOnListBuilder) Items(values ...*AddOnBuilder) *AddOnListBuilder
Items sets the items of the list.
type AddOnParameter ¶ added in v0.0.329
type AddOnParameter struct {
// contains filtered or unexported fields
}
AddOnParameter represents the values of the 'add_on_parameter' type.
Representation of an add-on parameter.
func UnmarshalAddOnParameter ¶ added in v0.0.329
func UnmarshalAddOnParameter(source interface{}) (object *AddOnParameter, err error)
UnmarshalAddOnParameter reads a value of the 'add_on_parameter' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAddOnParameterList ¶ added in v0.0.329
func UnmarshalAddOnParameterList(source interface{}) (items []*AddOnParameter, err error)
UnmarshalAddOnParameterList reads a list of values of the 'add_on_parameter' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AddOnParameter) Addon ¶ added in v0.0.329
func (o *AddOnParameter) Addon() *AddOn
Addon returns the value of the 'addon' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to add-on.
func (*AddOnParameter) DefaultValue ¶ added in v0.0.329
func (o *AddOnParameter) DefaultValue() string
DefaultValue returns the value of the 'default_value' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the value default for the add-on parameter
func (*AddOnParameter) Description ¶ added in v0.0.329
func (o *AddOnParameter) Description() string
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
Description of the add-on parameter.
func (*AddOnParameter) Editable ¶ added in v0.0.329
func (o *AddOnParameter) Editable() bool
Editable returns the value of the 'editable' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if this parameter can be edited after creation.
func (*AddOnParameter) Empty ¶ added in v0.0.329
func (o *AddOnParameter) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AddOnParameter) Enabled ¶ added in v0.0.329
func (o *AddOnParameter) Enabled() bool
Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if this parameter is enabled for the add-on.
func (*AddOnParameter) GetAddon ¶ added in v0.0.329
func (o *AddOnParameter) GetAddon() (value *AddOn, ok bool)
GetAddon returns the value of the 'addon' attribute and a flag indicating if the attribute has a value.
Link to add-on.
func (*AddOnParameter) GetDefaultValue ¶ added in v0.0.329
func (o *AddOnParameter) GetDefaultValue() (value string, ok bool)
GetDefaultValue returns the value of the 'default_value' attribute and a flag indicating if the attribute has a value.
Indicates the value default for the add-on parameter
func (*AddOnParameter) GetDescription ¶ added in v0.0.329
func (o *AddOnParameter) GetDescription() (value string, ok bool)
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
Description of the add-on parameter.
func (*AddOnParameter) GetEditable ¶ added in v0.0.329
func (o *AddOnParameter) GetEditable() (value bool, ok bool)
GetEditable returns the value of the 'editable' attribute and a flag indicating if the attribute has a value.
Indicates if this parameter can be edited after creation.
func (*AddOnParameter) GetEnabled ¶ added in v0.0.329
func (o *AddOnParameter) GetEnabled() (value bool, ok bool)
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
Indicates if this parameter is enabled for the add-on.
func (*AddOnParameter) GetHREF ¶ added in v0.0.329
func (o *AddOnParameter) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*AddOnParameter) GetID ¶ added in v0.0.329
func (o *AddOnParameter) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*AddOnParameter) GetName ¶ added in v0.0.329
func (o *AddOnParameter) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the add-on parameter.
func (*AddOnParameter) GetRequired ¶ added in v0.0.329
func (o *AddOnParameter) GetRequired() (value bool, ok bool)
GetRequired returns the value of the 'required' attribute and a flag indicating if the attribute has a value.
Indicates if this parameter is required by the add-on.
func (*AddOnParameter) GetValidation ¶ added in v0.0.329
func (o *AddOnParameter) GetValidation() (value string, ok bool)
GetValidation returns the value of the 'validation' attribute and a flag indicating if the attribute has a value.
Validation rule for the add-on parameter.
func (*AddOnParameter) GetValueType ¶ added in v0.0.329
func (o *AddOnParameter) GetValueType() (value string, ok bool)
GetValueType returns the value of the 'value_type' attribute and a flag indicating if the attribute has a value.
Type of value of the add-on parameter.
func (*AddOnParameter) HREF ¶ added in v0.0.329
func (o *AddOnParameter) HREF() string
HREF returns the link to the object.
func (*AddOnParameter) ID ¶ added in v0.0.329
func (o *AddOnParameter) ID() string
ID returns the identifier of the object.
func (*AddOnParameter) Kind ¶ added in v0.0.329
func (o *AddOnParameter) Kind() string
Kind returns the name of the type of the object.
func (*AddOnParameter) Link ¶ added in v0.0.329
func (o *AddOnParameter) Link() bool
Link returns true iif this is a link.
func (*AddOnParameter) Name ¶ added in v0.0.329
func (o *AddOnParameter) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the add-on parameter.
func (*AddOnParameter) Required ¶ added in v0.0.329
func (o *AddOnParameter) Required() bool
Required returns the value of the 'required' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if this parameter is required by the add-on.
func (*AddOnParameter) Validation ¶ added in v0.0.329
func (o *AddOnParameter) Validation() string
Validation returns the value of the 'validation' attribute, or the zero value of the type if the attribute doesn't have a value.
Validation rule for the add-on parameter.
func (*AddOnParameter) ValueType ¶ added in v0.0.329
func (o *AddOnParameter) ValueType() string
ValueType returns the value of the 'value_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Type of value of the add-on parameter.
type AddOnParameterBuilder ¶ added in v0.0.329
type AddOnParameterBuilder struct {
// contains filtered or unexported fields
}
AddOnParameterBuilder contains the data and logic needed to build 'add_on_parameter' objects.
Representation of an add-on parameter.
func NewAddOnParameter ¶ added in v0.0.329
func NewAddOnParameter() *AddOnParameterBuilder
NewAddOnParameter creates a new builder of 'add_on_parameter' objects.
func (*AddOnParameterBuilder) Addon ¶ added in v0.0.329
func (b *AddOnParameterBuilder) Addon(value *AddOnBuilder) *AddOnParameterBuilder
Addon sets the value of the 'addon' attribute to the given value.
Representation of an add-on that can be installed in a cluster.
func (*AddOnParameterBuilder) Build ¶ added in v0.0.329
func (b *AddOnParameterBuilder) Build() (object *AddOnParameter, err error)
Build creates a 'add_on_parameter' object using the configuration stored in the builder.
func (*AddOnParameterBuilder) Copy ¶ added in v0.0.329
func (b *AddOnParameterBuilder) Copy(object *AddOnParameter) *AddOnParameterBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AddOnParameterBuilder) DefaultValue ¶ added in v0.0.329
func (b *AddOnParameterBuilder) DefaultValue(value string) *AddOnParameterBuilder
DefaultValue sets the value of the 'default_value' attribute to the given value.
func (*AddOnParameterBuilder) Description ¶ added in v0.0.329
func (b *AddOnParameterBuilder) Description(value string) *AddOnParameterBuilder
Description sets the value of the 'description' attribute to the given value.
func (*AddOnParameterBuilder) Editable ¶ added in v0.0.329
func (b *AddOnParameterBuilder) Editable(value bool) *AddOnParameterBuilder
Editable sets the value of the 'editable' attribute to the given value.
func (*AddOnParameterBuilder) Enabled ¶ added in v0.0.329
func (b *AddOnParameterBuilder) Enabled(value bool) *AddOnParameterBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
func (*AddOnParameterBuilder) HREF ¶ added in v0.0.329
func (b *AddOnParameterBuilder) HREF(value string) *AddOnParameterBuilder
HREF sets the link to the object.
func (*AddOnParameterBuilder) ID ¶ added in v0.0.329
func (b *AddOnParameterBuilder) ID(value string) *AddOnParameterBuilder
ID sets the identifier of the object.
func (*AddOnParameterBuilder) Link ¶ added in v0.0.329
func (b *AddOnParameterBuilder) Link(value bool) *AddOnParameterBuilder
Link sets the flag that indicates if this is a link.
func (*AddOnParameterBuilder) Name ¶ added in v0.0.329
func (b *AddOnParameterBuilder) Name(value string) *AddOnParameterBuilder
Name sets the value of the 'name' attribute to the given value.
func (*AddOnParameterBuilder) Required ¶ added in v0.0.329
func (b *AddOnParameterBuilder) Required(value bool) *AddOnParameterBuilder
Required sets the value of the 'required' attribute to the given value.
func (*AddOnParameterBuilder) Validation ¶ added in v0.0.329
func (b *AddOnParameterBuilder) Validation(value string) *AddOnParameterBuilder
Validation sets the value of the 'validation' attribute to the given value.
func (*AddOnParameterBuilder) ValueType ¶ added in v0.0.329
func (b *AddOnParameterBuilder) ValueType(value string) *AddOnParameterBuilder
ValueType sets the value of the 'value_type' attribute to the given value.
type AddOnParameterList ¶ added in v0.0.329
type AddOnParameterList struct {
// contains filtered or unexported fields
}
AddOnParameterList is a list of values of the 'add_on_parameter' type.
func (*AddOnParameterList) Each ¶ added in v0.0.329
func (l *AddOnParameterList) Each(f func(item *AddOnParameter) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AddOnParameterList) Empty ¶ added in v0.0.329
func (l *AddOnParameterList) Empty() bool
Empty returns true if the list is empty.
func (*AddOnParameterList) Get ¶ added in v0.0.329
func (l *AddOnParameterList) Get(i int) *AddOnParameter
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AddOnParameterList) GetHREF ¶ added in v0.0.329
func (l *AddOnParameterList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*AddOnParameterList) HREF ¶ added in v0.0.329
func (l *AddOnParameterList) HREF() string
HREF returns the link to the list.
func (*AddOnParameterList) Kind ¶ added in v0.0.329
func (l *AddOnParameterList) Kind() string
Kind returns the name of the type of the object.
func (*AddOnParameterList) Len ¶ added in v0.0.329
func (l *AddOnParameterList) Len() int
Len returns the length of the list.
func (*AddOnParameterList) Link ¶ added in v0.0.329
func (l *AddOnParameterList) Link() bool
Link returns true iif this is a link.
func (*AddOnParameterList) Range ¶ added in v0.0.329
func (l *AddOnParameterList) Range(f func(index int, item *AddOnParameter) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AddOnParameterList) Slice ¶ added in v0.0.329
func (l *AddOnParameterList) Slice() []*AddOnParameter
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AddOnParameterListBuilder ¶ added in v0.0.329
type AddOnParameterListBuilder struct {
// contains filtered or unexported fields
}
AddOnParameterListBuilder contains the data and logic needed to build 'add_on_parameter' objects.
func NewAddOnParameterList ¶ added in v0.0.329
func NewAddOnParameterList() *AddOnParameterListBuilder
NewAddOnParameterList creates a new builder of 'add_on_parameter' objects.
func (*AddOnParameterListBuilder) Build ¶ added in v0.0.329
func (b *AddOnParameterListBuilder) Build() (list *AddOnParameterList, err error)
Build creates a list of 'add_on_parameter' objects using the configuration stored in the builder.
func (*AddOnParameterListBuilder) Copy ¶ added in v0.0.329
func (b *AddOnParameterListBuilder) Copy(list *AddOnParameterList) *AddOnParameterListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AddOnParameterListBuilder) Items ¶ added in v0.0.329
func (b *AddOnParameterListBuilder) Items(values ...*AddOnParameterBuilder) *AddOnParameterListBuilder
Items sets the items of the list.
type AddOnPollRequest ¶
type AddOnPollRequest struct {
// contains filtered or unexported fields
}
AddOnPollRequest is the request for the Poll method.
func (*AddOnPollRequest) Header ¶
func (r *AddOnPollRequest) Header(name string, value interface{}) *AddOnPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*AddOnPollRequest) Interval ¶
func (r *AddOnPollRequest) Interval(value time.Duration) *AddOnPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*AddOnPollRequest) Parameter ¶
func (r *AddOnPollRequest) Parameter(name string, value interface{}) *AddOnPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*AddOnPollRequest) Predicate ¶
func (r *AddOnPollRequest) Predicate(value func(*AddOnGetResponse) bool) *AddOnPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*AddOnPollRequest) StartContext ¶
func (r *AddOnPollRequest) StartContext(ctx context.Context) (response *AddOnPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*AddOnPollRequest) Status ¶
func (r *AddOnPollRequest) Status(value int) *AddOnPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type AddOnPollResponse ¶
type AddOnPollResponse struct {
// contains filtered or unexported fields
}
AddOnPollResponse is the response for the Poll method.
func (*AddOnPollResponse) Body ¶
func (r *AddOnPollResponse) Body() *AddOn
Body returns the value of the 'body' parameter.
func (*AddOnPollResponse) Error ¶
func (r *AddOnPollResponse) Error() *errors.Error
Error returns the response error.
func (*AddOnPollResponse) GetBody ¶
func (r *AddOnPollResponse) GetBody() (value *AddOn, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AddOnPollResponse) Header ¶
func (r *AddOnPollResponse) Header() http.Header
Header returns header of the response.
func (*AddOnPollResponse) Status ¶
func (r *AddOnPollResponse) Status() int
Status returns the response status code.
type AddOnRequirement ¶ added in v0.0.329
type AddOnRequirement struct {
// contains filtered or unexported fields
}
AddOnRequirement represents the values of the 'add_on_requirement' type.
Representation of an add-on requirement.
func UnmarshalAddOnRequirement ¶ added in v0.0.329
func UnmarshalAddOnRequirement(source interface{}) (object *AddOnRequirement, err error)
UnmarshalAddOnRequirement reads a value of the 'add_on_requirement' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAddOnRequirementList ¶ added in v0.0.329
func UnmarshalAddOnRequirementList(source interface{}) (items []*AddOnRequirement, err error)
UnmarshalAddOnRequirementList reads a list of values of the 'add_on_requirement' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AddOnRequirement) Data ¶ added in v0.0.329
func (o *AddOnRequirement) Data() map[string]interface{}
Data returns the value of the 'data' attribute, or the zero value of the type if the attribute doesn't have a value.
Data for the add-on requirement.
func (*AddOnRequirement) Empty ¶ added in v0.0.329
func (o *AddOnRequirement) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AddOnRequirement) Enabled ¶ added in v0.0.329
func (o *AddOnRequirement) Enabled() bool
Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if this requirement is enabled for the add-on.
func (*AddOnRequirement) GetData ¶ added in v0.0.329
func (o *AddOnRequirement) GetData() (value map[string]interface{}, ok bool)
GetData returns the value of the 'data' attribute and a flag indicating if the attribute has a value.
Data for the add-on requirement.
func (*AddOnRequirement) GetEnabled ¶ added in v0.0.329
func (o *AddOnRequirement) GetEnabled() (value bool, ok bool)
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
Indicates if this requirement is enabled for the add-on.
func (*AddOnRequirement) GetID ¶ added in v0.0.329
func (o *AddOnRequirement) GetID() (value string, ok bool)
GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.
ID of the add-on requirement.
func (*AddOnRequirement) GetResource ¶ added in v0.0.329
func (o *AddOnRequirement) GetResource() (value string, ok bool)
GetResource returns the value of the 'resource' attribute and a flag indicating if the attribute has a value.
Type of resource of the add-on requirement.
func (*AddOnRequirement) ID ¶ added in v0.0.329
func (o *AddOnRequirement) ID() string
ID returns the value of the 'ID' attribute, or the zero value of the type if the attribute doesn't have a value.
ID of the add-on requirement.
func (*AddOnRequirement) Resource ¶ added in v0.0.329
func (o *AddOnRequirement) Resource() string
Resource returns the value of the 'resource' attribute, or the zero value of the type if the attribute doesn't have a value.
Type of resource of the add-on requirement.
type AddOnRequirementBuilder ¶ added in v0.0.329
type AddOnRequirementBuilder struct {
// contains filtered or unexported fields
}
AddOnRequirementBuilder contains the data and logic needed to build 'add_on_requirement' objects.
Representation of an add-on requirement.
func NewAddOnRequirement ¶ added in v0.0.329
func NewAddOnRequirement() *AddOnRequirementBuilder
NewAddOnRequirement creates a new builder of 'add_on_requirement' objects.
func (*AddOnRequirementBuilder) Build ¶ added in v0.0.329
func (b *AddOnRequirementBuilder) Build() (object *AddOnRequirement, err error)
Build creates a 'add_on_requirement' object using the configuration stored in the builder.
func (*AddOnRequirementBuilder) Copy ¶ added in v0.0.329
func (b *AddOnRequirementBuilder) Copy(object *AddOnRequirement) *AddOnRequirementBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AddOnRequirementBuilder) Data ¶ added in v0.0.329
func (b *AddOnRequirementBuilder) Data(value map[string]interface{}) *AddOnRequirementBuilder
Data sets the value of the 'data' attribute to the given value.
func (*AddOnRequirementBuilder) Enabled ¶ added in v0.0.329
func (b *AddOnRequirementBuilder) Enabled(value bool) *AddOnRequirementBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
func (*AddOnRequirementBuilder) ID ¶ added in v0.0.329
func (b *AddOnRequirementBuilder) ID(value string) *AddOnRequirementBuilder
ID sets the value of the 'ID' attribute to the given value.
func (*AddOnRequirementBuilder) Resource ¶ added in v0.0.329
func (b *AddOnRequirementBuilder) Resource(value string) *AddOnRequirementBuilder
Resource sets the value of the 'resource' attribute to the given value.
type AddOnRequirementList ¶ added in v0.0.329
type AddOnRequirementList struct {
// contains filtered or unexported fields
}
AddOnRequirementList is a list of values of the 'add_on_requirement' type.
func (*AddOnRequirementList) Each ¶ added in v0.0.329
func (l *AddOnRequirementList) Each(f func(item *AddOnRequirement) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AddOnRequirementList) Empty ¶ added in v0.0.329
func (l *AddOnRequirementList) Empty() bool
Empty returns true if the list is empty.
func (*AddOnRequirementList) Get ¶ added in v0.0.329
func (l *AddOnRequirementList) Get(i int) *AddOnRequirement
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AddOnRequirementList) Len ¶ added in v0.0.329
func (l *AddOnRequirementList) Len() int
Len returns the length of the list.
func (*AddOnRequirementList) Range ¶ added in v0.0.329
func (l *AddOnRequirementList) Range(f func(index int, item *AddOnRequirement) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AddOnRequirementList) Slice ¶ added in v0.0.329
func (l *AddOnRequirementList) Slice() []*AddOnRequirement
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AddOnRequirementListBuilder ¶ added in v0.0.329
type AddOnRequirementListBuilder struct {
// contains filtered or unexported fields
}
AddOnRequirementListBuilder contains the data and logic needed to build 'add_on_requirement' objects.
func NewAddOnRequirementList ¶ added in v0.0.329
func NewAddOnRequirementList() *AddOnRequirementListBuilder
NewAddOnRequirementList creates a new builder of 'add_on_requirement' objects.
func (*AddOnRequirementListBuilder) Build ¶ added in v0.0.329
func (b *AddOnRequirementListBuilder) Build() (list *AddOnRequirementList, err error)
Build creates a list of 'add_on_requirement' objects using the configuration stored in the builder.
func (*AddOnRequirementListBuilder) Copy ¶ added in v0.0.329
func (b *AddOnRequirementListBuilder) Copy(list *AddOnRequirementList) *AddOnRequirementListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AddOnRequirementListBuilder) Items ¶ added in v0.0.329
func (b *AddOnRequirementListBuilder) Items(values ...*AddOnRequirementBuilder) *AddOnRequirementListBuilder
Items sets the items of the list.
type AddOnServer ¶
type AddOnServer interface { // Delete handles a request for the 'delete' method. // // Deletes the add-on. Delete(ctx context.Context, request *AddOnDeleteServerRequest, response *AddOnDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the add-on. Get(ctx context.Context, request *AddOnGetServerRequest, response *AddOnGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the add-on. Update(ctx context.Context, request *AddOnUpdateServerRequest, response *AddOnUpdateServerResponse) error }
AddOnServer represents the interface the manages the 'add_on' resource.
type AddOnUpdateRequest ¶
type AddOnUpdateRequest struct {
// contains filtered or unexported fields
}
AddOnUpdateRequest is the request for the 'update' method.
func (*AddOnUpdateRequest) Body ¶
func (r *AddOnUpdateRequest) Body(value *AddOn) *AddOnUpdateRequest
Body sets the value of the 'body' parameter.
func (*AddOnUpdateRequest) Header ¶
func (r *AddOnUpdateRequest) Header(name string, value interface{}) *AddOnUpdateRequest
Header adds a request header.
func (*AddOnUpdateRequest) 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 AddOnUpdateServerRequest ¶
type AddOnUpdateServerRequest struct {
// contains filtered or unexported fields
}
AddOnUpdateServerRequest is the request for the 'update' method.
func (*AddOnUpdateServerRequest) Body ¶
func (r *AddOnUpdateServerRequest) Body() *AddOn
Body returns the value of the 'body' parameter.
func (*AddOnUpdateServerRequest) GetBody ¶
func (r *AddOnUpdateServerRequest) GetBody() (value *AddOn, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type AddOnUpdateServerResponse ¶
type AddOnUpdateServerResponse struct {
// contains filtered or unexported fields
}
AddOnUpdateServerResponse is the response for the 'update' method.
func (*AddOnUpdateServerResponse) Body ¶
func (r *AddOnUpdateServerResponse) Body(value *AddOn) *AddOnUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*AddOnUpdateServerResponse) Status ¶
func (r *AddOnUpdateServerResponse) Status(value int) *AddOnUpdateServerResponse
Status sets the status code.
type AddOnsAddRequest ¶
type AddOnsAddRequest struct {
// contains filtered or unexported fields
}
AddOnsAddRequest is the request for the 'add' method.
func (*AddOnsAddRequest) Body ¶
func (r *AddOnsAddRequest) Body(value *AddOn) *AddOnsAddRequest
Body sets the value of the 'body' parameter.
Description of the add-on.
func (*AddOnsAddRequest) Header ¶
func (r *AddOnsAddRequest) Header(name string, value interface{}) *AddOnsAddRequest
Header adds a request header.
func (*AddOnsAddRequest) Parameter ¶
func (r *AddOnsAddRequest) Parameter(name string, value interface{}) *AddOnsAddRequest
Parameter adds a query parameter.
func (*AddOnsAddRequest) Send ¶
func (r *AddOnsAddRequest) Send() (result *AddOnsAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*AddOnsAddRequest) SendContext ¶
func (r *AddOnsAddRequest) SendContext(ctx context.Context) (result *AddOnsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AddOnsAddResponse ¶
type AddOnsAddResponse struct {
// contains filtered or unexported fields
}
AddOnsAddResponse is the response for the 'add' method.
func (*AddOnsAddResponse) Body ¶
func (r *AddOnsAddResponse) Body() *AddOn
Body returns the value of the 'body' parameter.
Description of the add-on.
func (*AddOnsAddResponse) Error ¶
func (r *AddOnsAddResponse) Error() *errors.Error
Error returns the response error.
func (*AddOnsAddResponse) GetBody ¶
func (r *AddOnsAddResponse) GetBody() (value *AddOn, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the add-on.
func (*AddOnsAddResponse) Header ¶
func (r *AddOnsAddResponse) Header() http.Header
Header returns header of the response.
func (*AddOnsAddResponse) Status ¶
func (r *AddOnsAddResponse) Status() int
Status returns the response status code.
type AddOnsAddServerRequest ¶
type AddOnsAddServerRequest struct {
// contains filtered or unexported fields
}
AddOnsAddServerRequest is the request for the 'add' method.
func (*AddOnsAddServerRequest) Body ¶
func (r *AddOnsAddServerRequest) Body() *AddOn
Body returns the value of the 'body' parameter.
Description of the add-on.
func (*AddOnsAddServerRequest) GetBody ¶
func (r *AddOnsAddServerRequest) GetBody() (value *AddOn, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the add-on.
type AddOnsAddServerResponse ¶
type AddOnsAddServerResponse struct {
// contains filtered or unexported fields
}
AddOnsAddServerResponse is the response for the 'add' method.
func (*AddOnsAddServerResponse) Body ¶
func (r *AddOnsAddServerResponse) Body(value *AddOn) *AddOnsAddServerResponse
Body sets the value of the 'body' parameter.
Description of the add-on.
func (*AddOnsAddServerResponse) Status ¶
func (r *AddOnsAddServerResponse) Status(value int) *AddOnsAddServerResponse
Status sets the status code.
type AddOnsClient ¶
type AddOnsClient struct {
// contains filtered or unexported fields
}
AddOnsClient is the client of the 'add_ons' resource.
Manages the collection of add-ons.
func NewAddOnsClient ¶
func NewAddOnsClient(transport http.RoundTripper, path string, metric string) *AddOnsClient
NewAddOnsClient creates a new client for the 'add_ons' resource using the given transport to send the requests and receive the responses.
func (*AddOnsClient) Add ¶
func (c *AddOnsClient) Add() *AddOnsAddRequest
Add creates a request for the 'add' method.
Create a new add-on and add it to the collection of add-ons.
func (*AddOnsClient) Addon ¶
func (c *AddOnsClient) Addon(id string) *AddOnClient
Addon returns the target 'add_on' resource for the given identifier.
Returns a reference to the service that manages a specific add-on.
func (*AddOnsClient) List ¶
func (c *AddOnsClient) List() *AddOnsListRequest
List creates a request for the 'list' method.
Retrieves the list of add-ons.
type AddOnsListRequest ¶
type AddOnsListRequest struct {
// contains filtered or unexported fields
}
AddOnsListRequest is the request for the 'list' method.
func (*AddOnsListRequest) Header ¶
func (r *AddOnsListRequest) Header(name string, value interface{}) *AddOnsListRequest
Header adds a request header.
func (*AddOnsListRequest) Order ¶
func (r *AddOnsListRequest) Order(value string) *AddOnsListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the add-on instead of the names of the columns of a table. For example, in order to sort the add-ons descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AddOnsListRequest) Page ¶
func (r *AddOnsListRequest) Page(value int) *AddOnsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AddOnsListRequest) Parameter ¶
func (r *AddOnsListRequest) Parameter(name string, value interface{}) *AddOnsListRequest
Parameter adds a query parameter.
func (*AddOnsListRequest) Search ¶
func (r *AddOnsListRequest) Search(value string) *AddOnsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the add-on instead of the names of the columns of a table. For example, in order to retrieve all the add-ons with a name starting with `my` the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the add-ons that the user has permission to see will be returned.
func (*AddOnsListRequest) Send ¶
func (r *AddOnsListRequest) Send() (result *AddOnsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*AddOnsListRequest) SendContext ¶
func (r *AddOnsListRequest) SendContext(ctx context.Context) (result *AddOnsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*AddOnsListRequest) Size ¶
func (r *AddOnsListRequest) Size(value int) *AddOnsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AddOnsListResponse ¶
type AddOnsListResponse struct {
// contains filtered or unexported fields
}
AddOnsListResponse is the response for the 'list' method.
func (*AddOnsListResponse) Error ¶
func (r *AddOnsListResponse) Error() *errors.Error
Error returns the response error.
func (*AddOnsListResponse) GetItems ¶
func (r *AddOnsListResponse) GetItems() (value *AddOnList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of add-ons.
func (*AddOnsListResponse) GetPage ¶
func (r *AddOnsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*AddOnsListResponse) GetSize ¶
func (r *AddOnsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*AddOnsListResponse) GetTotal ¶
func (r *AddOnsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*AddOnsListResponse) Header ¶
func (r *AddOnsListResponse) Header() http.Header
Header returns header of the response.
func (*AddOnsListResponse) Items ¶
func (r *AddOnsListResponse) Items() *AddOnList
Items returns the value of the 'items' parameter.
Retrieved list of add-ons.
func (*AddOnsListResponse) Page ¶
func (r *AddOnsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AddOnsListResponse) Size ¶
func (r *AddOnsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AddOnsListResponse) Status ¶
func (r *AddOnsListResponse) Status() int
Status returns the response status code.
func (*AddOnsListResponse) Total ¶
func (r *AddOnsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type AddOnsListServerRequest ¶
type AddOnsListServerRequest struct {
// contains filtered or unexported fields
}
AddOnsListServerRequest is the request for the 'list' method.
func (*AddOnsListServerRequest) GetOrder ¶
func (r *AddOnsListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
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:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AddOnsListServerRequest) GetPage ¶
func (r *AddOnsListServerRequest) 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 (*AddOnsListServerRequest) GetSearch ¶
func (r *AddOnsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
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:
[source,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 (*AddOnsListServerRequest) GetSize ¶
func (r *AddOnsListServerRequest) 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 (*AddOnsListServerRequest) Order ¶
func (r *AddOnsListServerRequest) Order() string
Order returns 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:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AddOnsListServerRequest) Page ¶
func (r *AddOnsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AddOnsListServerRequest) Search ¶
func (r *AddOnsListServerRequest) Search() string
Search returns 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:
[source,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 (*AddOnsListServerRequest) Size ¶
func (r *AddOnsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AddOnsListServerResponse ¶
type AddOnsListServerResponse struct {
// contains filtered or unexported fields
}
AddOnsListServerResponse is the response for the 'list' method.
func (*AddOnsListServerResponse) Items ¶
func (r *AddOnsListServerResponse) Items(value *AddOnList) *AddOnsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of add-ons.
func (*AddOnsListServerResponse) Page ¶
func (r *AddOnsListServerResponse) Page(value int) *AddOnsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AddOnsListServerResponse) Size ¶
func (r *AddOnsListServerResponse) Size(value int) *AddOnsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AddOnsListServerResponse) Status ¶
func (r *AddOnsListServerResponse) Status(value int) *AddOnsListServerResponse
Status sets the status code.
func (*AddOnsListServerResponse) Total ¶
func (r *AddOnsListServerResponse) Total(value int) *AddOnsListServerResponse
Total sets 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 AddOnsServer ¶
type AddOnsServer interface { // Add handles a request for the 'add' method. // // Create a new add-on and add it to the collection of add-ons. Add(ctx context.Context, request *AddOnsAddServerRequest, response *AddOnsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of add-ons. List(ctx context.Context, request *AddOnsListServerRequest, response *AddOnsListServerResponse) error // Addon returns the target 'add_on' server for the given identifier. // // Returns a reference to the service that manages a specific add-on. Addon(id string) AddOnServer }
AddOnsServer represents the interface the manages the 'add_ons' resource.
type AdminCredentials ¶
type AdminCredentials struct {
// contains filtered or unexported fields
}
AdminCredentials represents the values of the 'admin_credentials' type.
Temporary administrator credentials generated during the installation of the cluster.
func UnmarshalAdminCredentials ¶
func UnmarshalAdminCredentials(source interface{}) (object *AdminCredentials, err error)
UnmarshalAdminCredentials reads a value of the 'admin_credentials' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAdminCredentialsList ¶
func UnmarshalAdminCredentialsList(source interface{}) (items []*AdminCredentials, err error)
UnmarshalAdminCredentialsList reads a list of values of the 'admin_credentials' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AdminCredentials) Empty ¶
func (o *AdminCredentials) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AdminCredentials) GetPassword ¶
func (o *AdminCredentials) GetPassword() (value string, ok bool)
GetPassword returns the value of the 'password' attribute and a flag indicating if the attribute has a value.
Cluster administrator password.
func (*AdminCredentials) GetUser ¶
func (o *AdminCredentials) GetUser() (value string, ok bool)
GetUser returns the value of the 'user' attribute and a flag indicating if the attribute has a value.
Cluster administrator user name.
func (*AdminCredentials) Password ¶
func (o *AdminCredentials) Password() string
Password returns the value of the 'password' attribute, or the zero value of the type if the attribute doesn't have a value.
Cluster administrator password.
func (*AdminCredentials) User ¶
func (o *AdminCredentials) User() string
User returns the value of the 'user' attribute, or the zero value of the type if the attribute doesn't have a value.
Cluster administrator user name.
type AdminCredentialsBuilder ¶
type AdminCredentialsBuilder struct {
// contains filtered or unexported fields
}
AdminCredentialsBuilder contains the data and logic needed to build 'admin_credentials' objects.
Temporary administrator credentials generated during the installation of the cluster.
func NewAdminCredentials ¶
func NewAdminCredentials() *AdminCredentialsBuilder
NewAdminCredentials creates a new builder of 'admin_credentials' objects.
func (*AdminCredentialsBuilder) Build ¶
func (b *AdminCredentialsBuilder) Build() (object *AdminCredentials, err error)
Build creates a 'admin_credentials' object using the configuration stored in the builder.
func (*AdminCredentialsBuilder) Copy ¶
func (b *AdminCredentialsBuilder) Copy(object *AdminCredentials) *AdminCredentialsBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AdminCredentialsBuilder) Password ¶
func (b *AdminCredentialsBuilder) Password(value string) *AdminCredentialsBuilder
Password sets the value of the 'password' attribute to the given value.
func (*AdminCredentialsBuilder) User ¶
func (b *AdminCredentialsBuilder) User(value string) *AdminCredentialsBuilder
User sets the value of the 'user' attribute to the given value.
type AdminCredentialsList ¶
type AdminCredentialsList struct {
// contains filtered or unexported fields
}
AdminCredentialsList is a list of values of the 'admin_credentials' type.
func (*AdminCredentialsList) Each ¶
func (l *AdminCredentialsList) Each(f func(item *AdminCredentials) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AdminCredentialsList) Empty ¶
func (l *AdminCredentialsList) Empty() bool
Empty returns true if the list is empty.
func (*AdminCredentialsList) Get ¶
func (l *AdminCredentialsList) Get(i int) *AdminCredentials
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AdminCredentialsList) Len ¶
func (l *AdminCredentialsList) Len() int
Len returns the length of the list.
func (*AdminCredentialsList) Range ¶
func (l *AdminCredentialsList) Range(f func(index int, item *AdminCredentials) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AdminCredentialsList) Slice ¶
func (l *AdminCredentialsList) Slice() []*AdminCredentials
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AdminCredentialsListBuilder ¶
type AdminCredentialsListBuilder struct {
// contains filtered or unexported fields
}
AdminCredentialsListBuilder contains the data and logic needed to build 'admin_credentials' objects.
func NewAdminCredentialsList ¶
func NewAdminCredentialsList() *AdminCredentialsListBuilder
NewAdminCredentialsList creates a new builder of 'admin_credentials' objects.
func (*AdminCredentialsListBuilder) Build ¶
func (b *AdminCredentialsListBuilder) Build() (list *AdminCredentialsList, err error)
Build creates a list of 'admin_credentials' objects using the configuration stored in the builder.
func (*AdminCredentialsListBuilder) Copy ¶
func (b *AdminCredentialsListBuilder) Copy(list *AdminCredentialsList) *AdminCredentialsListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AdminCredentialsListBuilder) Items ¶
func (b *AdminCredentialsListBuilder) Items(values ...*AdminCredentialsBuilder) *AdminCredentialsListBuilder
Items sets the items of the list.
type AlertInfo ¶
type AlertInfo struct {
// contains filtered or unexported fields
}
AlertInfo represents the values of the 'alert_info' type.
Provides information about a single alert firing on the cluster.
func UnmarshalAlertInfo ¶
UnmarshalAlertInfo reads a value of the 'alert_info' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAlertInfoList ¶
UnmarshalAlertInfoList reads a list of values of the 'alert_info' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AlertInfo) Empty ¶
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AlertInfo) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
The alert name. Multiple alerts with same name are possible.
func (*AlertInfo) GetSeverity ¶
func (o *AlertInfo) GetSeverity() (value AlertSeverity, ok bool)
GetSeverity returns the value of the 'severity' attribute and a flag indicating if the attribute has a value.
The alert severity.
func (*AlertInfo) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
The alert name. Multiple alerts with same name are possible.
func (*AlertInfo) Severity ¶
func (o *AlertInfo) Severity() AlertSeverity
Severity returns the value of the 'severity' attribute, or the zero value of the type if the attribute doesn't have a value.
The alert severity.
type AlertInfoBuilder ¶
type AlertInfoBuilder struct {
// contains filtered or unexported fields
}
AlertInfoBuilder contains the data and logic needed to build 'alert_info' objects.
Provides information about a single alert firing on the cluster.
func NewAlertInfo ¶
func NewAlertInfo() *AlertInfoBuilder
NewAlertInfo creates a new builder of 'alert_info' objects.
func (*AlertInfoBuilder) Build ¶
func (b *AlertInfoBuilder) Build() (object *AlertInfo, err error)
Build creates a 'alert_info' object using the configuration stored in the builder.
func (*AlertInfoBuilder) Copy ¶
func (b *AlertInfoBuilder) Copy(object *AlertInfo) *AlertInfoBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AlertInfoBuilder) Name ¶
func (b *AlertInfoBuilder) Name(value string) *AlertInfoBuilder
Name sets the value of the 'name' attribute to the given value.
func (*AlertInfoBuilder) Severity ¶
func (b *AlertInfoBuilder) Severity(value AlertSeverity) *AlertInfoBuilder
Severity sets the value of the 'severity' attribute to the given value.
Severity of a cluster alert received via telemetry.
type AlertInfoList ¶
type AlertInfoList struct {
// contains filtered or unexported fields
}
AlertInfoList is a list of values of the 'alert_info' type.
func (*AlertInfoList) Each ¶
func (l *AlertInfoList) Each(f func(item *AlertInfo) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AlertInfoList) Empty ¶
func (l *AlertInfoList) Empty() bool
Empty returns true if the list is empty.
func (*AlertInfoList) Get ¶
func (l *AlertInfoList) Get(i int) *AlertInfo
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AlertInfoList) Range ¶
func (l *AlertInfoList) Range(f func(index int, item *AlertInfo) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AlertInfoList) Slice ¶
func (l *AlertInfoList) Slice() []*AlertInfo
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AlertInfoListBuilder ¶
type AlertInfoListBuilder struct {
// contains filtered or unexported fields
}
AlertInfoListBuilder contains the data and logic needed to build 'alert_info' objects.
func NewAlertInfoList ¶
func NewAlertInfoList() *AlertInfoListBuilder
NewAlertInfoList creates a new builder of 'alert_info' objects.
func (*AlertInfoListBuilder) Build ¶
func (b *AlertInfoListBuilder) Build() (list *AlertInfoList, err error)
Build creates a list of 'alert_info' objects using the configuration stored in the builder.
func (*AlertInfoListBuilder) Copy ¶
func (b *AlertInfoListBuilder) Copy(list *AlertInfoList) *AlertInfoListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AlertInfoListBuilder) Items ¶
func (b *AlertInfoListBuilder) Items(values ...*AlertInfoBuilder) *AlertInfoListBuilder
Items sets the items of the list.
type AlertSeverity ¶
type AlertSeverity string
AlertSeverity represents the values of the 'alert_severity' enumerated type.
const ( // Critical. AlertSeverityCritical AlertSeverity = "critical" // This level is only used for the "Watchdog" alert that is always on. AlertSeverityNone AlertSeverity = "none" // Warning. AlertSeverityWarning AlertSeverity = "warning" )
func UnmarshalAlertSeverityList ¶
func UnmarshalAlertSeverityList(source interface{}) (items []AlertSeverity, err error)
UnmarshalAlertSeverityList reads a list of values of the 'alert_severity' type from the given source, which can be a slice of bytes, a string or a reader.
type AlertsInfo ¶
type AlertsInfo struct {
// contains filtered or unexported fields
}
AlertsInfo represents the values of the 'alerts_info' type.
Provides information about the alerts firing on the cluster.
func UnmarshalAlertsInfo ¶
func UnmarshalAlertsInfo(source interface{}) (object *AlertsInfo, err error)
UnmarshalAlertsInfo reads a value of the 'alerts_info' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAlertsInfoList ¶
func UnmarshalAlertsInfoList(source interface{}) (items []*AlertsInfo, err error)
UnmarshalAlertsInfoList reads a list of values of the 'alerts_info' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AlertsInfo) Alerts ¶
func (o *AlertsInfo) Alerts() []*AlertInfo
Alerts returns the value of the 'alerts' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*AlertsInfo) Empty ¶
func (o *AlertsInfo) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AlertsInfo) GetAlerts ¶
func (o *AlertsInfo) GetAlerts() (value []*AlertInfo, ok bool)
GetAlerts returns the value of the 'alerts' attribute and a flag indicating if the attribute has a value.
type AlertsInfoBuilder ¶
type AlertsInfoBuilder struct {
// contains filtered or unexported fields
}
AlertsInfoBuilder contains the data and logic needed to build 'alerts_info' objects.
Provides information about the alerts firing on the cluster.
func NewAlertsInfo ¶
func NewAlertsInfo() *AlertsInfoBuilder
NewAlertsInfo creates a new builder of 'alerts_info' objects.
func (*AlertsInfoBuilder) Alerts ¶
func (b *AlertsInfoBuilder) Alerts(values ...*AlertInfoBuilder) *AlertsInfoBuilder
Alerts sets the value of the 'alerts' attribute to the given values.
func (*AlertsInfoBuilder) Build ¶
func (b *AlertsInfoBuilder) Build() (object *AlertsInfo, err error)
Build creates a 'alerts_info' object using the configuration stored in the builder.
func (*AlertsInfoBuilder) Copy ¶
func (b *AlertsInfoBuilder) Copy(object *AlertsInfo) *AlertsInfoBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
type AlertsInfoList ¶
type AlertsInfoList struct {
// contains filtered or unexported fields
}
AlertsInfoList is a list of values of the 'alerts_info' type.
func (*AlertsInfoList) Each ¶
func (l *AlertsInfoList) Each(f func(item *AlertsInfo) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AlertsInfoList) Empty ¶
func (l *AlertsInfoList) Empty() bool
Empty returns true if the list is empty.
func (*AlertsInfoList) Get ¶
func (l *AlertsInfoList) Get(i int) *AlertsInfo
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AlertsInfoList) Len ¶
func (l *AlertsInfoList) Len() int
Len returns the length of the list.
func (*AlertsInfoList) Range ¶
func (l *AlertsInfoList) Range(f func(index int, item *AlertsInfo) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*AlertsInfoList) Slice ¶
func (l *AlertsInfoList) Slice() []*AlertsInfo
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type AlertsInfoListBuilder ¶
type AlertsInfoListBuilder struct {
// contains filtered or unexported fields
}
AlertsInfoListBuilder contains the data and logic needed to build 'alerts_info' objects.
func NewAlertsInfoList ¶
func NewAlertsInfoList() *AlertsInfoListBuilder
NewAlertsInfoList creates a new builder of 'alerts_info' objects.
func (*AlertsInfoListBuilder) Build ¶
func (b *AlertsInfoListBuilder) Build() (list *AlertsInfoList, err error)
Build creates a list of 'alerts_info' objects using the configuration stored in the builder.
func (*AlertsInfoListBuilder) Copy ¶
func (b *AlertsInfoListBuilder) Copy(list *AlertsInfoList) *AlertsInfoListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AlertsInfoListBuilder) Items ¶
func (b *AlertsInfoListBuilder) Items(values ...*AlertsInfoBuilder) *AlertsInfoListBuilder
Items sets the items of the list.
type AlertsMetricQueryClient ¶
type AlertsMetricQueryClient struct {
// contains filtered or unexported fields
}
AlertsMetricQueryClient is the client of the 'alerts_metric_query' resource.
Provides information about the alerts firing on the cluster.
func NewAlertsMetricQueryClient ¶
func NewAlertsMetricQueryClient(transport http.RoundTripper, path string, metric string) *AlertsMetricQueryClient
NewAlertsMetricQueryClient creates a new client for the 'alerts_metric_query' resource using the given transport to send the requests and receive the responses.
func (*AlertsMetricQueryClient) Get ¶
func (c *AlertsMetricQueryClient) Get() *AlertsMetricQueryGetRequest
Get creates a request for the 'get' method.
func (*AlertsMetricQueryClient) Poll ¶
func (c *AlertsMetricQueryClient) Poll() *AlertsMetricQueryPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type AlertsMetricQueryGetRequest ¶
type AlertsMetricQueryGetRequest struct {
// contains filtered or unexported fields
}
AlertsMetricQueryGetRequest is the request for the 'get' method.
func (*AlertsMetricQueryGetRequest) Header ¶
func (r *AlertsMetricQueryGetRequest) Header(name string, value interface{}) *AlertsMetricQueryGetRequest
Header adds a request header.
func (*AlertsMetricQueryGetRequest) Parameter ¶
func (r *AlertsMetricQueryGetRequest) Parameter(name string, value interface{}) *AlertsMetricQueryGetRequest
Parameter adds a query parameter.
func (*AlertsMetricQueryGetRequest) Send ¶
func (r *AlertsMetricQueryGetRequest) Send() (result *AlertsMetricQueryGetResponse, 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 (*AlertsMetricQueryGetRequest) SendContext ¶
func (r *AlertsMetricQueryGetRequest) SendContext(ctx context.Context) (result *AlertsMetricQueryGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AlertsMetricQueryGetResponse ¶
type AlertsMetricQueryGetResponse struct {
// contains filtered or unexported fields
}
AlertsMetricQueryGetResponse is the response for the 'get' method.
func (*AlertsMetricQueryGetResponse) Body ¶
func (r *AlertsMetricQueryGetResponse) Body() *AlertsInfo
Body returns the value of the 'body' parameter.
func (*AlertsMetricQueryGetResponse) Error ¶
func (r *AlertsMetricQueryGetResponse) Error() *errors.Error
Error returns the response error.
func (*AlertsMetricQueryGetResponse) GetBody ¶
func (r *AlertsMetricQueryGetResponse) GetBody() (value *AlertsInfo, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AlertsMetricQueryGetResponse) Header ¶
func (r *AlertsMetricQueryGetResponse) Header() http.Header
Header returns header of the response.
func (*AlertsMetricQueryGetResponse) Status ¶
func (r *AlertsMetricQueryGetResponse) Status() int
Status returns the response status code.
type AlertsMetricQueryGetServerRequest ¶
type AlertsMetricQueryGetServerRequest struct { }
AlertsMetricQueryGetServerRequest is the request for the 'get' method.
type AlertsMetricQueryGetServerResponse ¶
type AlertsMetricQueryGetServerResponse struct {
// contains filtered or unexported fields
}
AlertsMetricQueryGetServerResponse is the response for the 'get' method.
func (*AlertsMetricQueryGetServerResponse) Body ¶
func (r *AlertsMetricQueryGetServerResponse) Body(value *AlertsInfo) *AlertsMetricQueryGetServerResponse
Body sets the value of the 'body' parameter.
func (*AlertsMetricQueryGetServerResponse) Status ¶
func (r *AlertsMetricQueryGetServerResponse) Status(value int) *AlertsMetricQueryGetServerResponse
Status sets the status code.
type AlertsMetricQueryPollRequest ¶
type AlertsMetricQueryPollRequest struct {
// contains filtered or unexported fields
}
AlertsMetricQueryPollRequest is the request for the Poll method.
func (*AlertsMetricQueryPollRequest) Header ¶
func (r *AlertsMetricQueryPollRequest) Header(name string, value interface{}) *AlertsMetricQueryPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*AlertsMetricQueryPollRequest) Interval ¶
func (r *AlertsMetricQueryPollRequest) Interval(value time.Duration) *AlertsMetricQueryPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*AlertsMetricQueryPollRequest) Parameter ¶
func (r *AlertsMetricQueryPollRequest) Parameter(name string, value interface{}) *AlertsMetricQueryPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*AlertsMetricQueryPollRequest) Predicate ¶
func (r *AlertsMetricQueryPollRequest) Predicate(value func(*AlertsMetricQueryGetResponse) bool) *AlertsMetricQueryPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*AlertsMetricQueryPollRequest) StartContext ¶
func (r *AlertsMetricQueryPollRequest) StartContext(ctx context.Context) (response *AlertsMetricQueryPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*AlertsMetricQueryPollRequest) Status ¶
func (r *AlertsMetricQueryPollRequest) Status(value int) *AlertsMetricQueryPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type AlertsMetricQueryPollResponse ¶
type AlertsMetricQueryPollResponse struct {
// contains filtered or unexported fields
}
AlertsMetricQueryPollResponse is the response for the Poll method.
func (*AlertsMetricQueryPollResponse) Body ¶
func (r *AlertsMetricQueryPollResponse) Body() *AlertsInfo
Body returns the value of the 'body' parameter.
func (*AlertsMetricQueryPollResponse) Error ¶
func (r *AlertsMetricQueryPollResponse) Error() *errors.Error
Error returns the response error.
func (*AlertsMetricQueryPollResponse) GetBody ¶
func (r *AlertsMetricQueryPollResponse) GetBody() (value *AlertsInfo, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AlertsMetricQueryPollResponse) Header ¶
func (r *AlertsMetricQueryPollResponse) Header() http.Header
Header returns header of the response.
func (*AlertsMetricQueryPollResponse) Status ¶
func (r *AlertsMetricQueryPollResponse) Status() int
Status returns the response status code.
type AlertsMetricQueryServer ¶
type AlertsMetricQueryServer interface { // Get handles a request for the 'get' method. // // Get(ctx context.Context, request *AlertsMetricQueryGetServerRequest, response *AlertsMetricQueryGetServerResponse) error }
AlertsMetricQueryServer represents the interface the manages the 'alerts_metric_query' resource.
type AvailableRegionsClient ¶
type AvailableRegionsClient struct {
// contains filtered or unexported fields
}
AvailableRegionsClient is the client of the 'available_regions' resource.
Manages collection of cloud provider regions available to a particular cloud provider account
func NewAvailableRegionsClient ¶
func NewAvailableRegionsClient(transport http.RoundTripper, path string, metric string) *AvailableRegionsClient
NewAvailableRegionsClient creates a new client for the 'available_regions' resource using the given transport to send the requests and receive the responses.
func (*AvailableRegionsClient) Search ¶
func (c *AvailableRegionsClient) Search() *AvailableRegionsSearchRequest
Search creates a request for the 'search' method.
Retrieves the list of available regions of the cloud provider.
IMPORTANT: This collection doesn't currently support paging or searching, so the returned `page` will always be 1 and `size` and `total` will always be the total number of available regions of the provider.
type AvailableRegionsSearchRequest ¶
type AvailableRegionsSearchRequest struct {
// contains filtered or unexported fields
}
AvailableRegionsSearchRequest is the request for the 'search' method.
func (*AvailableRegionsSearchRequest) Body ¶
func (r *AvailableRegionsSearchRequest) Body(value *AWS) *AvailableRegionsSearchRequest
Body sets the value of the 'body' parameter.
AWS account details
func (*AvailableRegionsSearchRequest) Header ¶
func (r *AvailableRegionsSearchRequest) Header(name string, value interface{}) *AvailableRegionsSearchRequest
Header adds a request header.
func (*AvailableRegionsSearchRequest) Page ¶
func (r *AvailableRegionsSearchRequest) Page(value int) *AvailableRegionsSearchRequest
Page sets the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*AvailableRegionsSearchRequest) Parameter ¶
func (r *AvailableRegionsSearchRequest) Parameter(name string, value interface{}) *AvailableRegionsSearchRequest
Parameter adds a query parameter.
func (*AvailableRegionsSearchRequest) Send ¶
func (r *AvailableRegionsSearchRequest) Send() (result *AvailableRegionsSearchResponse, 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 (*AvailableRegionsSearchRequest) SendContext ¶
func (r *AvailableRegionsSearchRequest) SendContext(ctx context.Context) (result *AvailableRegionsSearchResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*AvailableRegionsSearchRequest) Size ¶
func (r *AvailableRegionsSearchRequest) Size(value int) *AvailableRegionsSearchRequest
Size sets the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
type AvailableRegionsSearchResponse ¶
type AvailableRegionsSearchResponse struct {
// contains filtered or unexported fields
}
AvailableRegionsSearchResponse is the response for the 'search' method.
func (*AvailableRegionsSearchResponse) Error ¶
func (r *AvailableRegionsSearchResponse) Error() *errors.Error
Error returns the response error.
func (*AvailableRegionsSearchResponse) GetItems ¶
func (r *AvailableRegionsSearchResponse) GetItems() (value *CloudRegionList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of cloud regions.
func (*AvailableRegionsSearchResponse) GetPage ¶
func (r *AvailableRegionsSearchResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*AvailableRegionsSearchResponse) GetSize ¶
func (r *AvailableRegionsSearchResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
func (*AvailableRegionsSearchResponse) GetTotal ¶
func (r *AvailableRegionsSearchResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available regions of the provider.
func (*AvailableRegionsSearchResponse) Header ¶
func (r *AvailableRegionsSearchResponse) Header() http.Header
Header returns header of the response.
func (*AvailableRegionsSearchResponse) Items ¶
func (r *AvailableRegionsSearchResponse) Items() *CloudRegionList
Items returns the value of the 'items' parameter.
Retrieved list of cloud regions.
func (*AvailableRegionsSearchResponse) Page ¶
func (r *AvailableRegionsSearchResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*AvailableRegionsSearchResponse) Size ¶
func (r *AvailableRegionsSearchResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
func (*AvailableRegionsSearchResponse) Status ¶
func (r *AvailableRegionsSearchResponse) Status() int
Status returns the response status code.
func (*AvailableRegionsSearchResponse) Total ¶
func (r *AvailableRegionsSearchResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available regions of the provider.
type AvailableRegionsSearchServerRequest ¶
type AvailableRegionsSearchServerRequest struct {
// contains filtered or unexported fields
}
AvailableRegionsSearchServerRequest is the request for the 'search' method.
func (*AvailableRegionsSearchServerRequest) Body ¶
func (r *AvailableRegionsSearchServerRequest) Body() *AWS
Body returns the value of the 'body' parameter.
AWS account details
func (*AvailableRegionsSearchServerRequest) GetBody ¶
func (r *AvailableRegionsSearchServerRequest) GetBody() (value *AWS, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
AWS account details
func (*AvailableRegionsSearchServerRequest) GetPage ¶
func (r *AvailableRegionsSearchServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*AvailableRegionsSearchServerRequest) GetSize ¶
func (r *AvailableRegionsSearchServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
func (*AvailableRegionsSearchServerRequest) Page ¶
func (r *AvailableRegionsSearchServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*AvailableRegionsSearchServerRequest) Size ¶
func (r *AvailableRegionsSearchServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
type AvailableRegionsSearchServerResponse ¶
type AvailableRegionsSearchServerResponse struct {
// contains filtered or unexported fields
}
AvailableRegionsSearchServerResponse is the response for the 'search' method.
func (*AvailableRegionsSearchServerResponse) Items ¶
func (r *AvailableRegionsSearchServerResponse) Items(value *CloudRegionList) *AvailableRegionsSearchServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of cloud regions.
func (*AvailableRegionsSearchServerResponse) Page ¶
func (r *AvailableRegionsSearchServerResponse) Page(value int) *AvailableRegionsSearchServerResponse
Page sets the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*AvailableRegionsSearchServerResponse) Size ¶
func (r *AvailableRegionsSearchServerResponse) Size(value int) *AvailableRegionsSearchServerResponse
Size sets the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
func (*AvailableRegionsSearchServerResponse) Status ¶
func (r *AvailableRegionsSearchServerResponse) Status(value int) *AvailableRegionsSearchServerResponse
Status sets the status code.
func (*AvailableRegionsSearchServerResponse) Total ¶
func (r *AvailableRegionsSearchServerResponse) Total(value int) *AvailableRegionsSearchServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of available regions of the provider.
type AvailableRegionsServer ¶
type AvailableRegionsServer interface { // Search handles a request for the 'search' method. // // Retrieves the list of available regions of the cloud provider. // // IMPORTANT: This collection doesn't currently support paging or searching, so the returned // `page` will always be 1 and `size` and `total` will always be the total number of available regions // of the provider. Search(ctx context.Context, request *AvailableRegionsSearchServerRequest, response *AvailableRegionsSearchServerResponse) error }
AvailableRegionsServer represents the interface the manages the 'available_regions' resource.
type CCS ¶ added in v0.0.329
type CCS struct {
// contains filtered or unexported fields
}
CCS represents the values of the 'CCS' type.
func UnmarshalCCS ¶ added in v0.0.329
UnmarshalCCS reads a value of the 'CCS' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCCSList ¶ added in v0.0.329
UnmarshalCCSList reads a list of values of the 'CCS' type from the given source, which can be a slice of bytes, a string or a reader.
func (*CCS) DisableSCPChecks ¶ added in v0.0.329
DisableSCPChecks returns the value of the 'disable_SCP_checks' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if cloud permissions checks are disabled, when attempting installation of the cluster.
func (*CCS) Empty ¶ added in v0.0.329
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*CCS) Enabled ¶ added in v0.0.329
Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if Customer Cloud Subscription is enabled on the cluster.
func (*CCS) GetDisableSCPChecks ¶ added in v0.0.329
GetDisableSCPChecks returns the value of the 'disable_SCP_checks' attribute and a flag indicating if the attribute has a value.
Indicates if cloud permissions checks are disabled, when attempting installation of the cluster.
func (*CCS) GetEnabled ¶ added in v0.0.329
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
Indicates if Customer Cloud Subscription is enabled on the cluster.
func (*CCS) GetHREF ¶ added in v0.0.329
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*CCS) GetID ¶ added in v0.0.329
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
type CCSBuilder ¶ added in v0.0.329
type CCSBuilder struct {
// contains filtered or unexported fields
}
CCSBuilder contains the data and logic needed to build 'CCS' objects.
func NewCCS ¶ added in v0.0.329
func NewCCS() *CCSBuilder
NewCCS creates a new builder of 'CCS' objects.
func (*CCSBuilder) Build ¶ added in v0.0.329
func (b *CCSBuilder) Build() (object *CCS, err error)
Build creates a 'CCS' object using the configuration stored in the builder.
func (*CCSBuilder) Copy ¶ added in v0.0.329
func (b *CCSBuilder) Copy(object *CCS) *CCSBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*CCSBuilder) DisableSCPChecks ¶ added in v0.0.329
func (b *CCSBuilder) DisableSCPChecks(value bool) *CCSBuilder
DisableSCPChecks sets the value of the 'disable_SCP_checks' attribute to the given value.
func (*CCSBuilder) Enabled ¶ added in v0.0.329
func (b *CCSBuilder) Enabled(value bool) *CCSBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
func (*CCSBuilder) HREF ¶ added in v0.0.329
func (b *CCSBuilder) HREF(value string) *CCSBuilder
HREF sets the link to the object.
func (*CCSBuilder) ID ¶ added in v0.0.329
func (b *CCSBuilder) ID(value string) *CCSBuilder
ID sets the identifier of the object.
func (*CCSBuilder) Link ¶ added in v0.0.329
func (b *CCSBuilder) Link(value bool) *CCSBuilder
Link sets the flag that indicates if this is a link.
type CCSList ¶ added in v0.0.329
type CCSList struct {
// contains filtered or unexported fields
}
CCSList is a list of values of the 'CCS' type.
func (*CCSList) Each ¶ added in v0.0.329
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CCSList) Get ¶ added in v0.0.329
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CCSList) GetHREF ¶ added in v0.0.329
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*CCSList) Range ¶ added in v0.0.329
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CCSList) Slice ¶ added in v0.0.329
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type CCSListBuilder ¶ added in v0.0.329
type CCSListBuilder struct {
// contains filtered or unexported fields
}
CCSListBuilder contains the data and logic needed to build 'CCS' objects.
func NewCCSList ¶ added in v0.0.329
func NewCCSList() *CCSListBuilder
NewCCSList creates a new builder of 'CCS' objects.
func (*CCSListBuilder) Build ¶ added in v0.0.329
func (b *CCSListBuilder) Build() (list *CCSList, err error)
Build creates a list of 'CCS' objects using the configuration stored in the builder.
func (*CCSListBuilder) Copy ¶ added in v0.0.329
func (b *CCSListBuilder) Copy(list *CCSList) *CCSListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CCSListBuilder) Items ¶ added in v0.0.329
func (b *CCSListBuilder) Items(values ...*CCSBuilder) *CCSListBuilder
Items sets the items of the list.
type CPUTotalByNodeRolesOSMetricQueryClient ¶
type CPUTotalByNodeRolesOSMetricQueryClient struct {
// contains filtered or unexported fields
}
CPUTotalByNodeRolesOSMetricQueryClient is the client of the 'CPU_total_by_node_roles_OS_metric_query' resource.
Total cpu capacity in the cluster by node role and operating system.
func NewCPUTotalByNodeRolesOSMetricQueryClient ¶
func NewCPUTotalByNodeRolesOSMetricQueryClient(transport http.RoundTripper, path string, metric string) *CPUTotalByNodeRolesOSMetricQueryClient
NewCPUTotalByNodeRolesOSMetricQueryClient creates a new client for the 'CPU_total_by_node_roles_OS_metric_query' resource using the given transport to send the requests and receive the responses.
func (*CPUTotalByNodeRolesOSMetricQueryClient) Get ¶
Get creates a request for the 'get' method.
Retrieves the metrics.
func (*CPUTotalByNodeRolesOSMetricQueryClient) Poll ¶
func (c *CPUTotalByNodeRolesOSMetricQueryClient) Poll() *CPUTotalByNodeRolesOSMetricQueryPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type CPUTotalByNodeRolesOSMetricQueryGetRequest ¶
type CPUTotalByNodeRolesOSMetricQueryGetRequest struct {
// contains filtered or unexported fields
}
CPUTotalByNodeRolesOSMetricQueryGetRequest is the request for the 'get' method.
func (*CPUTotalByNodeRolesOSMetricQueryGetRequest) Header ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetRequest) Header(name string, value interface{}) *CPUTotalByNodeRolesOSMetricQueryGetRequest
Header adds a request header.
func (*CPUTotalByNodeRolesOSMetricQueryGetRequest) Parameter ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetRequest) Parameter(name string, value interface{}) *CPUTotalByNodeRolesOSMetricQueryGetRequest
Parameter adds a query parameter.
func (*CPUTotalByNodeRolesOSMetricQueryGetRequest) Send ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetRequest) Send() (result *CPUTotalByNodeRolesOSMetricQueryGetResponse, 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 (*CPUTotalByNodeRolesOSMetricQueryGetRequest) SendContext ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetRequest) SendContext(ctx context.Context) (result *CPUTotalByNodeRolesOSMetricQueryGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type CPUTotalByNodeRolesOSMetricQueryGetResponse ¶
type CPUTotalByNodeRolesOSMetricQueryGetResponse struct {
// contains filtered or unexported fields
}
CPUTotalByNodeRolesOSMetricQueryGetResponse is the response for the 'get' method.
func (*CPUTotalByNodeRolesOSMetricQueryGetResponse) Body ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Body() *CPUTotalsNodeRoleOSMetricNode
Body returns the value of the 'body' parameter.
func (*CPUTotalByNodeRolesOSMetricQueryGetResponse) Error ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Error() *errors.Error
Error returns the response error.
func (*CPUTotalByNodeRolesOSMetricQueryGetResponse) GetBody ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) GetBody() (value *CPUTotalsNodeRoleOSMetricNode, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*CPUTotalByNodeRolesOSMetricQueryGetResponse) Header ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Header() http.Header
Header returns header of the response.
func (*CPUTotalByNodeRolesOSMetricQueryGetResponse) Status ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Status() int
Status returns the response status code.
type CPUTotalByNodeRolesOSMetricQueryGetServerRequest ¶
type CPUTotalByNodeRolesOSMetricQueryGetServerRequest struct { }
CPUTotalByNodeRolesOSMetricQueryGetServerRequest is the request for the 'get' method.
type CPUTotalByNodeRolesOSMetricQueryGetServerResponse ¶
type CPUTotalByNodeRolesOSMetricQueryGetServerResponse struct {
// contains filtered or unexported fields
}
CPUTotalByNodeRolesOSMetricQueryGetServerResponse is the response for the 'get' method.
func (*CPUTotalByNodeRolesOSMetricQueryGetServerResponse) Body ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetServerResponse) Body(value *CPUTotalsNodeRoleOSMetricNode) *CPUTotalByNodeRolesOSMetricQueryGetServerResponse
Body sets the value of the 'body' parameter.
func (*CPUTotalByNodeRolesOSMetricQueryGetServerResponse) Status ¶
func (r *CPUTotalByNodeRolesOSMetricQueryGetServerResponse) Status(value int) *CPUTotalByNodeRolesOSMetricQueryGetServerResponse
Status sets the status code.
type CPUTotalByNodeRolesOSMetricQueryPollRequest ¶
type CPUTotalByNodeRolesOSMetricQueryPollRequest struct {
// contains filtered or unexported fields
}
CPUTotalByNodeRolesOSMetricQueryPollRequest is the request for the Poll method.
func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) Header ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) Header(name string, value interface{}) *CPUTotalByNodeRolesOSMetricQueryPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) Interval ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) Interval(value time.Duration) *CPUTotalByNodeRolesOSMetricQueryPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) Parameter ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) Parameter(name string, value interface{}) *CPUTotalByNodeRolesOSMetricQueryPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) Predicate ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) Predicate(value func(*CPUTotalByNodeRolesOSMetricQueryGetResponse) bool) *CPUTotalByNodeRolesOSMetricQueryPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*CPUTotalByNodeRolesOSMetricQueryPollRequest) StartContext ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) StartContext(ctx context.Context) (response *CPUTotalByNodeRolesOSMetricQueryPollResponse, 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 (*CPUTotalByNodeRolesOSMetricQueryPollRequest) Status ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollRequest) Status(value int) *CPUTotalByNodeRolesOSMetricQueryPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type CPUTotalByNodeRolesOSMetricQueryPollResponse ¶
type CPUTotalByNodeRolesOSMetricQueryPollResponse struct {
// contains filtered or unexported fields
}
CPUTotalByNodeRolesOSMetricQueryPollResponse is the response for the Poll method.
func (*CPUTotalByNodeRolesOSMetricQueryPollResponse) Body ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) Body() *CPUTotalsNodeRoleOSMetricNode
Body returns the value of the 'body' parameter.
func (*CPUTotalByNodeRolesOSMetricQueryPollResponse) Error ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) Error() *errors.Error
Error returns the response error.
func (*CPUTotalByNodeRolesOSMetricQueryPollResponse) GetBody ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) GetBody() (value *CPUTotalsNodeRoleOSMetricNode, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*CPUTotalByNodeRolesOSMetricQueryPollResponse) Header ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) Header() http.Header
Header returns header of the response.
func (*CPUTotalByNodeRolesOSMetricQueryPollResponse) Status ¶
func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) Status() int
Status returns the response status code.
type CPUTotalByNodeRolesOSMetricQueryServer ¶
type CPUTotalByNodeRolesOSMetricQueryServer interface { // Get handles a request for the 'get' method. // // Retrieves the metrics. Get(ctx context.Context, request *CPUTotalByNodeRolesOSMetricQueryGetServerRequest, response *CPUTotalByNodeRolesOSMetricQueryGetServerResponse) error }
CPUTotalByNodeRolesOSMetricQueryServer represents the interface the manages the 'CPU_total_by_node_roles_OS_metric_query' resource.
type CPUTotalNodeRoleOSMetricNode ¶
type CPUTotalNodeRoleOSMetricNode struct {
// contains filtered or unexported fields
}
CPUTotalNodeRoleOSMetricNode represents the values of the 'CPU_total_node_role_OS_metric_node' type.
Representation of information from telemetry about a the CPU capacity by node role and OS.
func UnmarshalCPUTotalNodeRoleOSMetricNode ¶
func UnmarshalCPUTotalNodeRoleOSMetricNode(source interface{}) (object *CPUTotalNodeRoleOSMetricNode, err error)
UnmarshalCPUTotalNodeRoleOSMetricNode reads a value of the 'CPU_total_node_role_OS_metric_node' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCPUTotalNodeRoleOSMetricNodeList ¶
func UnmarshalCPUTotalNodeRoleOSMetricNodeList(source interface{}) (items []*CPUTotalNodeRoleOSMetricNode, err error)
UnmarshalCPUTotalNodeRoleOSMetricNodeList reads a list of values of the 'CPU_total_node_role_OS_metric_node' type from the given source, which can be a slice of bytes, a string or a reader.
func (*CPUTotalNodeRoleOSMetricNode) CPUTotal ¶
func (o *CPUTotalNodeRoleOSMetricNode) CPUTotal() float64
CPUTotal returns the value of the 'CPU_total' attribute, or the zero value of the type if the attribute doesn't have a value.
The total CPU capacity of nodes with this set of roles and operating system.
func (*CPUTotalNodeRoleOSMetricNode) Empty ¶
func (o *CPUTotalNodeRoleOSMetricNode) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*CPUTotalNodeRoleOSMetricNode) GetCPUTotal ¶
func (o *CPUTotalNodeRoleOSMetricNode) GetCPUTotal() (value float64, ok bool)
GetCPUTotal returns the value of the 'CPU_total' attribute and a flag indicating if the attribute has a value.
The total CPU capacity of nodes with this set of roles and operating system.
func (*CPUTotalNodeRoleOSMetricNode) GetNodeRoles ¶
func (o *CPUTotalNodeRoleOSMetricNode) GetNodeRoles() (value []string, ok bool)
GetNodeRoles returns the value of the 'node_roles' attribute and a flag indicating if the attribute has a value.
Representation of the node role for a cluster.
func (*CPUTotalNodeRoleOSMetricNode) GetOperatingSystem ¶
func (o *CPUTotalNodeRoleOSMetricNode) GetOperatingSystem() (value string, ok bool)
GetOperatingSystem returns the value of the 'operating_system' attribute and a flag indicating if the attribute has a value.
The operating system.
func (*CPUTotalNodeRoleOSMetricNode) GetTime ¶
func (o *CPUTotalNodeRoleOSMetricNode) GetTime() (value time.Time, ok bool)
GetTime returns the value of the 'time' attribute and a flag indicating if the attribute has a value.
func (*CPUTotalNodeRoleOSMetricNode) NodeRoles ¶
func (o *CPUTotalNodeRoleOSMetricNode) NodeRoles() []string
NodeRoles returns the value of the 'node_roles' attribute, or the zero value of the type if the attribute doesn't have a value.
Representation of the node role for a cluster.
func (*CPUTotalNodeRoleOSMetricNode) OperatingSystem ¶
func (o *CPUTotalNodeRoleOSMetricNode) OperatingSystem() string
OperatingSystem returns the value of the 'operating_system' attribute, or the zero value of the type if the attribute doesn't have a value.
The operating system.
func (*CPUTotalNodeRoleOSMetricNode) Time ¶
func (o *CPUTotalNodeRoleOSMetricNode) Time() time.Time
Time returns the value of the 'time' attribute, or the zero value of the type if the attribute doesn't have a value.
type CPUTotalNodeRoleOSMetricNodeBuilder ¶
type CPUTotalNodeRoleOSMetricNodeBuilder struct {
// contains filtered or unexported fields
}
CPUTotalNodeRoleOSMetricNodeBuilder contains the data and logic needed to build 'CPU_total_node_role_OS_metric_node' objects.
Representation of information from telemetry about a the CPU capacity by node role and OS.
func NewCPUTotalNodeRoleOSMetricNode ¶
func NewCPUTotalNodeRoleOSMetricNode() *CPUTotalNodeRoleOSMetricNodeBuilder
NewCPUTotalNodeRoleOSMetricNode creates a new builder of 'CPU_total_node_role_OS_metric_node' objects.
func (*CPUTotalNodeRoleOSMetricNodeBuilder) Build ¶
func (b *CPUTotalNodeRoleOSMetricNodeBuilder) Build() (object *CPUTotalNodeRoleOSMetricNode, err error)
Build creates a 'CPU_total_node_role_OS_metric_node' object using the configuration stored in the builder.
func (*CPUTotalNodeRoleOSMetricNodeBuilder) CPUTotal ¶
func (b *CPUTotalNodeRoleOSMetricNodeBuilder) CPUTotal(value float64) *CPUTotalNodeRoleOSMetricNodeBuilder
CPUTotal sets the value of the 'CPU_total' attribute to the given value.
func (*CPUTotalNodeRoleOSMetricNodeBuilder) Copy ¶
func (b *CPUTotalNodeRoleOSMetricNodeBuilder) Copy(object *CPUTotalNodeRoleOSMetricNode) *CPUTotalNodeRoleOSMetricNodeBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*CPUTotalNodeRoleOSMetricNodeBuilder) NodeRoles ¶
func (b *CPUTotalNodeRoleOSMetricNodeBuilder) NodeRoles(values ...string) *CPUTotalNodeRoleOSMetricNodeBuilder
NodeRoles sets the value of the 'node_roles' attribute to the given values.
func (*CPUTotalNodeRoleOSMetricNodeBuilder) OperatingSystem ¶
func (b *CPUTotalNodeRoleOSMetricNodeBuilder) OperatingSystem(value string) *CPUTotalNodeRoleOSMetricNodeBuilder
OperatingSystem sets the value of the 'operating_system' attribute to the given value.
func (*CPUTotalNodeRoleOSMetricNodeBuilder) Time ¶
func (b *CPUTotalNodeRoleOSMetricNodeBuilder) Time(value time.Time) *CPUTotalNodeRoleOSMetricNodeBuilder
Time sets the value of the 'time' attribute to the given value.
type CPUTotalNodeRoleOSMetricNodeList ¶
type CPUTotalNodeRoleOSMetricNodeList struct {
// contains filtered or unexported fields
}
CPUTotalNodeRoleOSMetricNodeList is a list of values of the 'CPU_total_node_role_OS_metric_node' type.
func (*CPUTotalNodeRoleOSMetricNodeList) Each ¶
func (l *CPUTotalNodeRoleOSMetricNodeList) Each(f func(item *CPUTotalNodeRoleOSMetricNode) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CPUTotalNodeRoleOSMetricNodeList) Empty ¶
func (l *CPUTotalNodeRoleOSMetricNodeList) Empty() bool
Empty returns true if the list is empty.
func (*CPUTotalNodeRoleOSMetricNodeList) Get ¶
func (l *CPUTotalNodeRoleOSMetricNodeList) Get(i int) *CPUTotalNodeRoleOSMetricNode
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CPUTotalNodeRoleOSMetricNodeList) Len ¶
func (l *CPUTotalNodeRoleOSMetricNodeList) Len() int
Len returns the length of the list.
func (*CPUTotalNodeRoleOSMetricNodeList) Range ¶
func (l *CPUTotalNodeRoleOSMetricNodeList) Range(f func(index int, item *CPUTotalNodeRoleOSMetricNode) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CPUTotalNodeRoleOSMetricNodeList) Slice ¶
func (l *CPUTotalNodeRoleOSMetricNodeList) Slice() []*CPUTotalNodeRoleOSMetricNode
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type CPUTotalNodeRoleOSMetricNodeListBuilder ¶
type CPUTotalNodeRoleOSMetricNodeListBuilder struct {
// contains filtered or unexported fields
}
CPUTotalNodeRoleOSMetricNodeListBuilder contains the data and logic needed to build 'CPU_total_node_role_OS_metric_node' objects.
func NewCPUTotalNodeRoleOSMetricNodeList ¶
func NewCPUTotalNodeRoleOSMetricNodeList() *CPUTotalNodeRoleOSMetricNodeListBuilder
NewCPUTotalNodeRoleOSMetricNodeList creates a new builder of 'CPU_total_node_role_OS_metric_node' objects.
func (*CPUTotalNodeRoleOSMetricNodeListBuilder) Build ¶
func (b *CPUTotalNodeRoleOSMetricNodeListBuilder) Build() (list *CPUTotalNodeRoleOSMetricNodeList, err error)
Build creates a list of 'CPU_total_node_role_OS_metric_node' objects using the configuration stored in the builder.
func (*CPUTotalNodeRoleOSMetricNodeListBuilder) Copy ¶
func (b *CPUTotalNodeRoleOSMetricNodeListBuilder) Copy(list *CPUTotalNodeRoleOSMetricNodeList) *CPUTotalNodeRoleOSMetricNodeListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CPUTotalNodeRoleOSMetricNodeListBuilder) Items ¶
func (b *CPUTotalNodeRoleOSMetricNodeListBuilder) Items(values ...*CPUTotalNodeRoleOSMetricNodeBuilder) *CPUTotalNodeRoleOSMetricNodeListBuilder
Items sets the items of the list.
type CPUTotalsNodeRoleOSMetricNode ¶
type CPUTotalsNodeRoleOSMetricNode struct {
// contains filtered or unexported fields
}
CPUTotalsNodeRoleOSMetricNode represents the values of the 'CPU_totals_node_role_OS_metric_node' type.
Representation of information from telemetry about the CPU capacity by node role and OS of a cluster.
func UnmarshalCPUTotalsNodeRoleOSMetricNode ¶
func UnmarshalCPUTotalsNodeRoleOSMetricNode(source interface{}) (object *CPUTotalsNodeRoleOSMetricNode, err error)
UnmarshalCPUTotalsNodeRoleOSMetricNode reads a value of the 'CPU_totals_node_role_OS_metric_node' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCPUTotalsNodeRoleOSMetricNodeList ¶
func UnmarshalCPUTotalsNodeRoleOSMetricNodeList(source interface{}) (items []*CPUTotalsNodeRoleOSMetricNode, err error)
UnmarshalCPUTotalsNodeRoleOSMetricNodeList reads a list of values of the 'CPU_totals_node_role_OS_metric_node' type from the given source, which can be a slice of bytes, a string or a reader.
func (*CPUTotalsNodeRoleOSMetricNode) CPUTotals ¶
func (o *CPUTotalsNodeRoleOSMetricNode) CPUTotals() []*CPUTotalNodeRoleOSMetricNode
CPUTotals returns the value of the 'CPU_totals' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*CPUTotalsNodeRoleOSMetricNode) Empty ¶
func (o *CPUTotalsNodeRoleOSMetricNode) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*CPUTotalsNodeRoleOSMetricNode) GetCPUTotals ¶
func (o *CPUTotalsNodeRoleOSMetricNode) GetCPUTotals() (value []*CPUTotalNodeRoleOSMetricNode, ok bool)
GetCPUTotals returns the value of the 'CPU_totals' attribute and a flag indicating if the attribute has a value.
type CPUTotalsNodeRoleOSMetricNodeBuilder ¶
type CPUTotalsNodeRoleOSMetricNodeBuilder struct {
// contains filtered or unexported fields
}
CPUTotalsNodeRoleOSMetricNodeBuilder contains the data and logic needed to build 'CPU_totals_node_role_OS_metric_node' objects.
Representation of information from telemetry about the CPU capacity by node role and OS of a cluster.
func NewCPUTotalsNodeRoleOSMetricNode ¶
func NewCPUTotalsNodeRoleOSMetricNode() *CPUTotalsNodeRoleOSMetricNodeBuilder
NewCPUTotalsNodeRoleOSMetricNode creates a new builder of 'CPU_totals_node_role_OS_metric_node' objects.
func (*CPUTotalsNodeRoleOSMetricNodeBuilder) Build ¶
func (b *CPUTotalsNodeRoleOSMetricNodeBuilder) Build() (object *CPUTotalsNodeRoleOSMetricNode, err error)
Build creates a 'CPU_totals_node_role_OS_metric_node' object using the configuration stored in the builder.
func (*CPUTotalsNodeRoleOSMetricNodeBuilder) CPUTotals ¶
func (b *CPUTotalsNodeRoleOSMetricNodeBuilder) CPUTotals(values ...*CPUTotalNodeRoleOSMetricNodeBuilder) *CPUTotalsNodeRoleOSMetricNodeBuilder
CPUTotals sets the value of the 'CPU_totals' attribute to the given values.
func (*CPUTotalsNodeRoleOSMetricNodeBuilder) Copy ¶
func (b *CPUTotalsNodeRoleOSMetricNodeBuilder) Copy(object *CPUTotalsNodeRoleOSMetricNode) *CPUTotalsNodeRoleOSMetricNodeBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
type CPUTotalsNodeRoleOSMetricNodeList ¶
type CPUTotalsNodeRoleOSMetricNodeList struct {
// contains filtered or unexported fields
}
CPUTotalsNodeRoleOSMetricNodeList is a list of values of the 'CPU_totals_node_role_OS_metric_node' type.
func (*CPUTotalsNodeRoleOSMetricNodeList) Each ¶
func (l *CPUTotalsNodeRoleOSMetricNodeList) Each(f func(item *CPUTotalsNodeRoleOSMetricNode) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CPUTotalsNodeRoleOSMetricNodeList) Empty ¶
func (l *CPUTotalsNodeRoleOSMetricNodeList) Empty() bool
Empty returns true if the list is empty.
func (*CPUTotalsNodeRoleOSMetricNodeList) Get ¶
func (l *CPUTotalsNodeRoleOSMetricNodeList) Get(i int) *CPUTotalsNodeRoleOSMetricNode
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CPUTotalsNodeRoleOSMetricNodeList) Len ¶
func (l *CPUTotalsNodeRoleOSMetricNodeList) Len() int
Len returns the length of the list.
func (*CPUTotalsNodeRoleOSMetricNodeList) Range ¶
func (l *CPUTotalsNodeRoleOSMetricNodeList) Range(f func(index int, item *CPUTotalsNodeRoleOSMetricNode) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CPUTotalsNodeRoleOSMetricNodeList) Slice ¶
func (l *CPUTotalsNodeRoleOSMetricNodeList) Slice() []*CPUTotalsNodeRoleOSMetricNode
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type CPUTotalsNodeRoleOSMetricNodeListBuilder ¶
type CPUTotalsNodeRoleOSMetricNodeListBuilder struct {
// contains filtered or unexported fields
}
CPUTotalsNodeRoleOSMetricNodeListBuilder contains the data and logic needed to build 'CPU_totals_node_role_OS_metric_node' objects.
func NewCPUTotalsNodeRoleOSMetricNodeList ¶
func NewCPUTotalsNodeRoleOSMetricNodeList() *CPUTotalsNodeRoleOSMetricNodeListBuilder
NewCPUTotalsNodeRoleOSMetricNodeList creates a new builder of 'CPU_totals_node_role_OS_metric_node' objects.
func (*CPUTotalsNodeRoleOSMetricNodeListBuilder) Build ¶
func (b *CPUTotalsNodeRoleOSMetricNodeListBuilder) Build() (list *CPUTotalsNodeRoleOSMetricNodeList, err error)
Build creates a list of 'CPU_totals_node_role_OS_metric_node' objects using the configuration stored in the builder.
func (*CPUTotalsNodeRoleOSMetricNodeListBuilder) Copy ¶
func (b *CPUTotalsNodeRoleOSMetricNodeListBuilder) Copy(list *CPUTotalsNodeRoleOSMetricNodeList) *CPUTotalsNodeRoleOSMetricNodeListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CPUTotalsNodeRoleOSMetricNodeListBuilder) Items ¶
func (b *CPUTotalsNodeRoleOSMetricNodeListBuilder) Items(values ...*CPUTotalsNodeRoleOSMetricNodeBuilder) *CPUTotalsNodeRoleOSMetricNodeListBuilder
Items sets the items of the list.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the client of the 'root' resource.
Root of the tree of resources of the clusters management service.
func NewClient ¶
func NewClient(transport http.RoundTripper, path string, metric string) *Client
NewClient creates a new client for the 'root' resource using the given transport to send the requests and receive the responses.
func (*Client) AWSInfrastructureAccessRoles ¶
func (c *Client) AWSInfrastructureAccessRoles() *AWSInfrastructureAccessRolesClient
AWSInfrastructureAccessRoles returns the target 'AWS_infrastructure_access_roles' resource.
Reference to the resource that manages the collection of AWS infrastructure access roles.
func (*Client) Addons ¶
func (c *Client) Addons() *AddOnsClient
Addons returns the target 'add_ons' resource.
Reference to the resource that manages the collection of add-ons.
func (*Client) CloudProviders ¶
func (c *Client) CloudProviders() *CloudProvidersClient
CloudProviders returns the target 'cloud_providers' resource.
Reference to the resource that manages the collection of cloud providers.
func (*Client) Clusters ¶
func (c *Client) Clusters() *ClustersClient
Clusters returns the target 'clusters' resource.
Reference to the resource that manages the collection of clusters.
func (*Client) Dashboards ¶
func (c *Client) Dashboards() *DashboardsClient
Dashboards returns the target 'dashboards' resource.
Reference to the resource that manages the collection of dashboards.
func (*Client) Flavours ¶
func (c *Client) Flavours() *FlavoursClient
Flavours returns the target 'flavours' resource.
Reference to the service that manages the collection of flavours.
func (*Client) Get ¶
func (c *Client) Get() *MetadataRequest
Creates a new request for the method that retrieves the metadata.
func (*Client) MachineTypes ¶
func (c *Client) MachineTypes() *MachineTypesClient
MachineTypes returns the target 'machine_types' resource.
Reference to the resource that manage the collection of machine types.
func (*Client) Products ¶
func (c *Client) Products() *ProductsClient
Products returns the target 'products' resource.
Reference to the resource that manages the collection of products.
func (*Client) ProvisionShards ¶
func (c *Client) ProvisionShards() *ProvisionShardsClient
ProvisionShards returns the target 'provision_shards' resource.
Reference to the resource that manages the collection of provision shards.
func (*Client) Versions ¶
func (c *Client) Versions() *VersionsClient
Versions returns the target 'versions' resource.
Reference to the resource that manage the collection of versions.
type CloudProvider ¶
type CloudProvider struct {
// contains filtered or unexported fields
}
CloudProvider represents the values of the 'cloud_provider' type.
Cloud provider.
func UnmarshalCloudProvider ¶
func UnmarshalCloudProvider(source interface{}) (object *CloudProvider, err error)
UnmarshalCloudProvider reads a value of the 'cloud_provider' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCloudProviderList ¶
func UnmarshalCloudProviderList(source interface{}) (items []*CloudProvider, err error)
UnmarshalCloudProviderList reads a list of values of the 'cloud_provider' type from the given source, which can be a slice of bytes, a string or a reader.
func (*CloudProvider) DisplayName ¶
func (o *CloudProvider) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the cloud provider for display purposes. It can contain any characters, including spaces.
func (*CloudProvider) Empty ¶
func (o *CloudProvider) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*CloudProvider) GetDisplayName ¶
func (o *CloudProvider) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
Name of the cloud provider for display purposes. It can contain any characters, including spaces.
func (*CloudProvider) GetHREF ¶
func (o *CloudProvider) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*CloudProvider) GetID ¶
func (o *CloudProvider) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*CloudProvider) GetName ¶
func (o *CloudProvider) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Human friendly identifier of the cloud provider, for example `aws`.
func (*CloudProvider) HREF ¶
func (o *CloudProvider) HREF() string
HREF returns the link to the object.
func (*CloudProvider) ID ¶
func (o *CloudProvider) ID() string
ID returns the identifier of the object.
func (*CloudProvider) Kind ¶
func (o *CloudProvider) Kind() string
Kind returns the name of the type of the object.
func (*CloudProvider) Link ¶
func (o *CloudProvider) Link() bool
Link returns true iif this is a link.
func (*CloudProvider) Name ¶
func (o *CloudProvider) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Human friendly identifier of the cloud provider, for example `aws`.
type CloudProviderBuilder ¶
type CloudProviderBuilder struct {
// contains filtered or unexported fields
}
CloudProviderBuilder contains the data and logic needed to build 'cloud_provider' objects.
Cloud provider.
func NewCloudProvider ¶
func NewCloudProvider() *CloudProviderBuilder
NewCloudProvider creates a new builder of 'cloud_provider' objects.
func (*CloudProviderBuilder) Build ¶
func (b *CloudProviderBuilder) Build() (object *CloudProvider, err error)
Build creates a 'cloud_provider' object using the configuration stored in the builder.
func (*CloudProviderBuilder) Copy ¶
func (b *CloudProviderBuilder) Copy(object *CloudProvider) *CloudProviderBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*CloudProviderBuilder) DisplayName ¶
func (b *CloudProviderBuilder) DisplayName(value string) *CloudProviderBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*CloudProviderBuilder) HREF ¶
func (b *CloudProviderBuilder) HREF(value string) *CloudProviderBuilder
HREF sets the link to the object.
func (*CloudProviderBuilder) ID ¶
func (b *CloudProviderBuilder) ID(value string) *CloudProviderBuilder
ID sets the identifier of the object.
func (*CloudProviderBuilder) Link ¶
func (b *CloudProviderBuilder) Link(value bool) *CloudProviderBuilder
Link sets the flag that indicates if this is a link.
func (*CloudProviderBuilder) Name ¶
func (b *CloudProviderBuilder) Name(value string) *CloudProviderBuilder
Name sets the value of the 'name' attribute to the given value.
type CloudProviderClient ¶
type CloudProviderClient struct {
// contains filtered or unexported fields
}
CloudProviderClient is the client of the 'cloud_provider' resource.
Manages a specific cloud provider.
func NewCloudProviderClient ¶
func NewCloudProviderClient(transport http.RoundTripper, path string, metric string) *CloudProviderClient
NewCloudProviderClient creates a new client for the 'cloud_provider' resource using the given transport to send the requests and receive the responses.
func (*CloudProviderClient) AvailableRegions ¶
func (c *CloudProviderClient) AvailableRegions() *AvailableRegionsClient
AvailableRegions returns the target 'available_regions' resource.
Reference to the resource that manages the collection of available regions for this cloud provider.
func (*CloudProviderClient) Get ¶
func (c *CloudProviderClient) Get() *CloudProviderGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the cloud provider.
func (*CloudProviderClient) Poll ¶
func (c *CloudProviderClient) Poll() *CloudProviderPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*CloudProviderClient) Regions ¶
func (c *CloudProviderClient) Regions() *CloudRegionsClient
Regions returns the target 'cloud_regions' resource.
Reference to the resource that manages the collection of regions for this cloud provider.
type CloudProviderGetRequest ¶
type CloudProviderGetRequest struct {
// contains filtered or unexported fields
}
CloudProviderGetRequest is the request for the 'get' method.
func (*CloudProviderGetRequest) Header ¶
func (r *CloudProviderGetRequest) Header(name string, value interface{}) *CloudProviderGetRequest
Header adds a request header.
func (*CloudProviderGetRequest) Parameter ¶
func (r *CloudProviderGetRequest) Parameter(name string, value interface{}) *CloudProviderGetRequest
Parameter adds a query parameter.
func (*CloudProviderGetRequest) Send ¶
func (r *CloudProviderGetRequest) Send() (result *CloudProviderGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*CloudProviderGetRequest) SendContext ¶
func (r *CloudProviderGetRequest) SendContext(ctx context.Context) (result *CloudProviderGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type CloudProviderGetResponse ¶
type CloudProviderGetResponse struct {
// contains filtered or unexported fields
}
CloudProviderGetResponse is the response for the 'get' method.
func (*CloudProviderGetResponse) Body ¶
func (r *CloudProviderGetResponse) Body() *CloudProvider
Body returns the value of the 'body' parameter.
func (*CloudProviderGetResponse) Error ¶
func (r *CloudProviderGetResponse) Error() *errors.Error
Error returns the response error.
func (*CloudProviderGetResponse) GetBody ¶
func (r *CloudProviderGetResponse) GetBody() (value *CloudProvider, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*CloudProviderGetResponse) Header ¶
func (r *CloudProviderGetResponse) Header() http.Header
Header returns header of the response.
func (*CloudProviderGetResponse) Status ¶
func (r *CloudProviderGetResponse) Status() int
Status returns the response status code.
type CloudProviderGetServerRequest ¶
type CloudProviderGetServerRequest struct { }
CloudProviderGetServerRequest is the request for the 'get' method.
type CloudProviderGetServerResponse ¶
type CloudProviderGetServerResponse struct {
// contains filtered or unexported fields
}
CloudProviderGetServerResponse is the response for the 'get' method.
func (*CloudProviderGetServerResponse) Body ¶
func (r *CloudProviderGetServerResponse) Body(value *CloudProvider) *CloudProviderGetServerResponse
Body sets the value of the 'body' parameter.
func (*CloudProviderGetServerResponse) Status ¶
func (r *CloudProviderGetServerResponse) Status(value int) *CloudProviderGetServerResponse
Status sets the status code.
type CloudProviderList ¶
type CloudProviderList struct {
// contains filtered or unexported fields
}
CloudProviderList is a list of values of the 'cloud_provider' type.
func (*CloudProviderList) Each ¶
func (l *CloudProviderList) Each(f func(item *CloudProvider) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CloudProviderList) Empty ¶
func (l *CloudProviderList) Empty() bool
Empty returns true if the list is empty.
func (*CloudProviderList) Get ¶
func (l *CloudProviderList) Get(i int) *CloudProvider
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CloudProviderList) GetHREF ¶
func (l *CloudProviderList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*CloudProviderList) HREF ¶
func (l *CloudProviderList) HREF() string
HREF returns the link to the list.
func (*CloudProviderList) Kind ¶
func (l *CloudProviderList) Kind() string
Kind returns the name of the type of the object.
func (*CloudProviderList) Len ¶
func (l *CloudProviderList) Len() int
Len returns the length of the list.
func (*CloudProviderList) Link ¶
func (l *CloudProviderList) Link() bool
Link returns true iif this is a link.
func (*CloudProviderList) Range ¶
func (l *CloudProviderList) Range(f func(index int, item *CloudProvider) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CloudProviderList) Slice ¶
func (l *CloudProviderList) Slice() []*CloudProvider
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type CloudProviderListBuilder ¶
type CloudProviderListBuilder struct {
// contains filtered or unexported fields
}
CloudProviderListBuilder contains the data and logic needed to build 'cloud_provider' objects.
func NewCloudProviderList ¶
func NewCloudProviderList() *CloudProviderListBuilder
NewCloudProviderList creates a new builder of 'cloud_provider' objects.
func (*CloudProviderListBuilder) Build ¶
func (b *CloudProviderListBuilder) Build() (list *CloudProviderList, err error)
Build creates a list of 'cloud_provider' objects using the configuration stored in the builder.
func (*CloudProviderListBuilder) Copy ¶
func (b *CloudProviderListBuilder) Copy(list *CloudProviderList) *CloudProviderListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CloudProviderListBuilder) Items ¶
func (b *CloudProviderListBuilder) Items(values ...*CloudProviderBuilder) *CloudProviderListBuilder
Items sets the items of the list.
type CloudProviderPollRequest ¶
type CloudProviderPollRequest struct {
// contains filtered or unexported fields
}
CloudProviderPollRequest is the request for the Poll method.
func (*CloudProviderPollRequest) Header ¶
func (r *CloudProviderPollRequest) Header(name string, value interface{}) *CloudProviderPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*CloudProviderPollRequest) Interval ¶
func (r *CloudProviderPollRequest) Interval(value time.Duration) *CloudProviderPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*CloudProviderPollRequest) Parameter ¶
func (r *CloudProviderPollRequest) Parameter(name string, value interface{}) *CloudProviderPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*CloudProviderPollRequest) Predicate ¶
func (r *CloudProviderPollRequest) Predicate(value func(*CloudProviderGetResponse) bool) *CloudProviderPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*CloudProviderPollRequest) StartContext ¶
func (r *CloudProviderPollRequest) StartContext(ctx context.Context) (response *CloudProviderPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*CloudProviderPollRequest) Status ¶
func (r *CloudProviderPollRequest) Status(value int) *CloudProviderPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type CloudProviderPollResponse ¶
type CloudProviderPollResponse struct {
// contains filtered or unexported fields
}
CloudProviderPollResponse is the response for the Poll method.
func (*CloudProviderPollResponse) Body ¶
func (r *CloudProviderPollResponse) Body() *CloudProvider
Body returns the value of the 'body' parameter.
func (*CloudProviderPollResponse) Error ¶
func (r *CloudProviderPollResponse) Error() *errors.Error
Error returns the response error.
func (*CloudProviderPollResponse) GetBody ¶
func (r *CloudProviderPollResponse) GetBody() (value *CloudProvider, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*CloudProviderPollResponse) Header ¶
func (r *CloudProviderPollResponse) Header() http.Header
Header returns header of the response.
func (*CloudProviderPollResponse) Status ¶
func (r *CloudProviderPollResponse) Status() int
Status returns the response status code.
type CloudProviderServer ¶
type CloudProviderServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the cloud provider. Get(ctx context.Context, request *CloudProviderGetServerRequest, response *CloudProviderGetServerResponse) error // AvailableRegions returns the target 'available_regions' resource. // // Reference to the resource that manages the collection of available regions for // this cloud provider. AvailableRegions() AvailableRegionsServer // Regions returns the target 'cloud_regions' resource. // // Reference to the resource that manages the collection of regions for // this cloud provider. Regions() CloudRegionsServer }
CloudProviderServer represents the interface the manages the 'cloud_provider' resource.
type CloudProvidersClient ¶
type CloudProvidersClient struct {
// contains filtered or unexported fields
}
CloudProvidersClient is the client of the 'cloud_providers' resource.
Manages the collection of cloud providers.
func NewCloudProvidersClient ¶
func NewCloudProvidersClient(transport http.RoundTripper, path string, metric string) *CloudProvidersClient
NewCloudProvidersClient creates a new client for the 'cloud_providers' resource using the given transport to send the requests and receive the responses.
func (*CloudProvidersClient) CloudProvider ¶
func (c *CloudProvidersClient) CloudProvider(id string) *CloudProviderClient
CloudProvider returns the target 'cloud_provider' resource for the given identifier.
Returns a reference to the service that manages an specific cloud provider.
func (*CloudProvidersClient) List ¶
func (c *CloudProvidersClient) List() *CloudProvidersListRequest
List creates a request for the 'list' method.
Retrieves the list of cloud providers.
type CloudProvidersListRequest ¶
type CloudProvidersListRequest struct {
// contains filtered or unexported fields
}
CloudProvidersListRequest is the request for the 'list' method.
func (*CloudProvidersListRequest) Header ¶
func (r *CloudProvidersListRequest) Header(name string, value interface{}) *CloudProvidersListRequest
Header adds a request header.
func (*CloudProvidersListRequest) Order ¶
func (r *CloudProvidersListRequest) Order(value string) *CloudProvidersListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the cloud provider instead of the names of the columns of a table. For example, in order to sort the clusters descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*CloudProvidersListRequest) Page ¶
func (r *CloudProvidersListRequest) Page(value int) *CloudProvidersListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*CloudProvidersListRequest) Parameter ¶
func (r *CloudProvidersListRequest) Parameter(name string, value interface{}) *CloudProvidersListRequest
Parameter adds a query parameter.
func (*CloudProvidersListRequest) Search ¶
func (r *CloudProvidersListRequest) Search(value string) *CloudProvidersListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the cloud provider instead of the names of the columns of a table. For example, in order to retrieve all the cloud providers with a name starting with `A` the value should be:
[source,sql] ---- name like 'A%' ----
If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.
func (*CloudProvidersListRequest) Send ¶
func (r *CloudProvidersListRequest) Send() (result *CloudProvidersListResponse, 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 (*CloudProvidersListRequest) SendContext ¶
func (r *CloudProvidersListRequest) SendContext(ctx context.Context) (result *CloudProvidersListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*CloudProvidersListRequest) Size ¶
func (r *CloudProvidersListRequest) Size(value int) *CloudProvidersListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type CloudProvidersListResponse ¶
type CloudProvidersListResponse struct {
// contains filtered or unexported fields
}
CloudProvidersListResponse is the response for the 'list' method.
func (*CloudProvidersListResponse) Error ¶
func (r *CloudProvidersListResponse) Error() *errors.Error
Error returns the response error.
func (*CloudProvidersListResponse) GetItems ¶
func (r *CloudProvidersListResponse) GetItems() (value *CloudProviderList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of cloud providers.
func (*CloudProvidersListResponse) GetPage ¶
func (r *CloudProvidersListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*CloudProvidersListResponse) GetSize ¶
func (r *CloudProvidersListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*CloudProvidersListResponse) GetTotal ¶
func (r *CloudProvidersListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*CloudProvidersListResponse) Header ¶
func (r *CloudProvidersListResponse) Header() http.Header
Header returns header of the response.
func (*CloudProvidersListResponse) Items ¶
func (r *CloudProvidersListResponse) Items() *CloudProviderList
Items returns the value of the 'items' parameter.
Retrieved list of cloud providers.
func (*CloudProvidersListResponse) Page ¶
func (r *CloudProvidersListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*CloudProvidersListResponse) Size ¶
func (r *CloudProvidersListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*CloudProvidersListResponse) Status ¶
func (r *CloudProvidersListResponse) Status() int
Status returns the response status code.
func (*CloudProvidersListResponse) Total ¶
func (r *CloudProvidersListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type CloudProvidersListServerRequest ¶
type CloudProvidersListServerRequest struct {
// contains filtered or unexported fields
}
CloudProvidersListServerRequest is the request for the 'list' method.
func (*CloudProvidersListServerRequest) GetOrder ¶
func (r *CloudProvidersListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the cloud provider instead of the names of the columns of a table. For example, in order to sort the clusters descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*CloudProvidersListServerRequest) GetPage ¶
func (r *CloudProvidersListServerRequest) 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 (*CloudProvidersListServerRequest) GetSearch ¶
func (r *CloudProvidersListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the cloud provider instead of the names of the columns of a table. For example, in order to retrieve all the cloud providers with a name starting with `A` the value should be:
[source,sql] ---- name like 'A%' ----
If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.
func (*CloudProvidersListServerRequest) GetSize ¶
func (r *CloudProvidersListServerRequest) 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 (*CloudProvidersListServerRequest) Order ¶
func (r *CloudProvidersListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the cloud provider instead of the names of the columns of a table. For example, in order to sort the clusters descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*CloudProvidersListServerRequest) Page ¶
func (r *CloudProvidersListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*CloudProvidersListServerRequest) Search ¶
func (r *CloudProvidersListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the cloud provider instead of the names of the columns of a table. For example, in order to retrieve all the cloud providers with a name starting with `A` the value should be:
[source,sql] ---- name like 'A%' ----
If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.
func (*CloudProvidersListServerRequest) Size ¶
func (r *CloudProvidersListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type CloudProvidersListServerResponse ¶
type CloudProvidersListServerResponse struct {
// contains filtered or unexported fields
}
CloudProvidersListServerResponse is the response for the 'list' method.
func (*CloudProvidersListServerResponse) Items ¶
func (r *CloudProvidersListServerResponse) Items(value *CloudProviderList) *CloudProvidersListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of cloud providers.
func (*CloudProvidersListServerResponse) Page ¶
func (r *CloudProvidersListServerResponse) Page(value int) *CloudProvidersListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*CloudProvidersListServerResponse) Size ¶
func (r *CloudProvidersListServerResponse) Size(value int) *CloudProvidersListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*CloudProvidersListServerResponse) Status ¶
func (r *CloudProvidersListServerResponse) Status(value int) *CloudProvidersListServerResponse
Status sets the status code.
func (*CloudProvidersListServerResponse) Total ¶
func (r *CloudProvidersListServerResponse) Total(value int) *CloudProvidersListServerResponse
Total sets 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 CloudProvidersServer ¶
type CloudProvidersServer interface { // List handles a request for the 'list' method. // // Retrieves the list of cloud providers. List(ctx context.Context, request *CloudProvidersListServerRequest, response *CloudProvidersListServerResponse) error // CloudProvider returns the target 'cloud_provider' server for the given identifier. // // Returns a reference to the service that manages an specific cloud provider. CloudProvider(id string) CloudProviderServer }
CloudProvidersServer represents the interface the manages the 'cloud_providers' resource.
type CloudRegion ¶
type CloudRegion struct {
// contains filtered or unexported fields
}
CloudRegion represents the values of the 'cloud_region' type.
Description of a region of a cloud provider.
func UnmarshalCloudRegion ¶
func UnmarshalCloudRegion(source interface{}) (object *CloudRegion, err error)
UnmarshalCloudRegion reads a value of the 'cloud_region' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCloudRegionList ¶
func UnmarshalCloudRegionList(source interface{}) (items []*CloudRegion, err error)
UnmarshalCloudRegionList reads a list of values of the 'cloud_region' type from the given source, which can be a slice of bytes, a string or a reader.
func (*CloudRegion) CloudProvider ¶
func (o *CloudRegion) CloudProvider() *CloudProvider
CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the cloud provider that the region belongs to.
func (*CloudRegion) DisplayName ¶
func (o *CloudRegion) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the region for display purposes, for example `N. Virginia`.
func (*CloudRegion) Empty ¶
func (o *CloudRegion) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*CloudRegion) Enabled ¶
func (o *CloudRegion) Enabled() bool
Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
Whether the region is enabled for deploying an OSD cluster.
func (*CloudRegion) GetCloudProvider ¶
func (o *CloudRegion) GetCloudProvider() (value *CloudProvider, ok bool)
GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.
Link to the cloud provider that the region belongs to.
func (*CloudRegion) GetDisplayName ¶
func (o *CloudRegion) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
Name of the region for display purposes, for example `N. Virginia`.
func (*CloudRegion) GetEnabled ¶
func (o *CloudRegion) GetEnabled() (value bool, ok bool)
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
Whether the region is enabled for deploying an OSD cluster.
func (*CloudRegion) GetHREF ¶
func (o *CloudRegion) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*CloudRegion) GetID ¶
func (o *CloudRegion) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*CloudRegion) GetName ¶
func (o *CloudRegion) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Human friendly identifier of the region, for example `us-east-1`.
NOTE: Currently for all cloud providers and all regions `id` and `name` have exactly the same values.
func (*CloudRegion) GetSupportsMultiAZ ¶
func (o *CloudRegion) GetSupportsMultiAZ() (value bool, ok bool)
GetSupportsMultiAZ returns the value of the 'supports_multi_AZ' attribute and a flag indicating if the attribute has a value.
Whether the region supports multiple availability zones.
func (*CloudRegion) HREF ¶
func (o *CloudRegion) HREF() string
HREF returns the link to the object.
func (*CloudRegion) ID ¶
func (o *CloudRegion) ID() string
ID returns the identifier of the object.
func (*CloudRegion) Kind ¶
func (o *CloudRegion) Kind() string
Kind returns the name of the type of the object.
func (*CloudRegion) Name ¶
func (o *CloudRegion) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Human friendly identifier of the region, for example `us-east-1`.
NOTE: Currently for all cloud providers and all regions `id` and `name` have exactly the same values.
func (*CloudRegion) SupportsMultiAZ ¶
func (o *CloudRegion) SupportsMultiAZ() bool
SupportsMultiAZ returns the value of the 'supports_multi_AZ' attribute, or the zero value of the type if the attribute doesn't have a value.
Whether the region supports multiple availability zones.
type CloudRegionBuilder ¶
type CloudRegionBuilder struct {
// contains filtered or unexported fields
}
CloudRegionBuilder contains the data and logic needed to build 'cloud_region' objects.
Description of a region of a cloud provider.
func NewCloudRegion ¶
func NewCloudRegion() *CloudRegionBuilder
NewCloudRegion creates a new builder of 'cloud_region' objects.
func (*CloudRegionBuilder) Build ¶
func (b *CloudRegionBuilder) Build() (object *CloudRegion, err error)
Build creates a 'cloud_region' object using the configuration stored in the builder.
func (*CloudRegionBuilder) CloudProvider ¶
func (b *CloudRegionBuilder) CloudProvider(value *CloudProviderBuilder) *CloudRegionBuilder
CloudProvider sets the value of the 'cloud_provider' attribute to the given value.
Cloud provider.
func (*CloudRegionBuilder) Copy ¶
func (b *CloudRegionBuilder) Copy(object *CloudRegion) *CloudRegionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*CloudRegionBuilder) DisplayName ¶
func (b *CloudRegionBuilder) DisplayName(value string) *CloudRegionBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*CloudRegionBuilder) Enabled ¶
func (b *CloudRegionBuilder) Enabled(value bool) *CloudRegionBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
func (*CloudRegionBuilder) HREF ¶
func (b *CloudRegionBuilder) HREF(value string) *CloudRegionBuilder
HREF sets the link to the object.
func (*CloudRegionBuilder) ID ¶
func (b *CloudRegionBuilder) ID(value string) *CloudRegionBuilder
ID sets the identifier of the object.
func (*CloudRegionBuilder) Link ¶
func (b *CloudRegionBuilder) Link(value bool) *CloudRegionBuilder
Link sets the flag that indicates if this is a link.
func (*CloudRegionBuilder) Name ¶
func (b *CloudRegionBuilder) Name(value string) *CloudRegionBuilder
Name sets the value of the 'name' attribute to the given value.
func (*CloudRegionBuilder) SupportsMultiAZ ¶
func (b *CloudRegionBuilder) SupportsMultiAZ(value bool) *CloudRegionBuilder
SupportsMultiAZ sets the value of the 'supports_multi_AZ' attribute to the given value.
type CloudRegionClient ¶
type CloudRegionClient struct {
// contains filtered or unexported fields
}
CloudRegionClient is the client of the 'cloud_region' resource.
Manages a specific cloud region.
func NewCloudRegionClient ¶
func NewCloudRegionClient(transport http.RoundTripper, path string, metric string) *CloudRegionClient
NewCloudRegionClient creates a new client for the 'cloud_region' resource using the given transport to send the requests and receive the responses.
func (*CloudRegionClient) Get ¶
func (c *CloudRegionClient) Get() *CloudRegionGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the region.
func (*CloudRegionClient) Poll ¶
func (c *CloudRegionClient) Poll() *CloudRegionPollRequest
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 CloudRegionGetRequest ¶
type CloudRegionGetRequest struct {
// contains filtered or unexported fields
}
CloudRegionGetRequest is the request for the 'get' method.
func (*CloudRegionGetRequest) Header ¶
func (r *CloudRegionGetRequest) Header(name string, value interface{}) *CloudRegionGetRequest
Header adds a request header.
func (*CloudRegionGetRequest) Parameter ¶
func (r *CloudRegionGetRequest) Parameter(name string, value interface{}) *CloudRegionGetRequest
Parameter adds a query parameter.
func (*CloudRegionGetRequest) Send ¶
func (r *CloudRegionGetRequest) Send() (result *CloudRegionGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*CloudRegionGetRequest) SendContext ¶
func (r *CloudRegionGetRequest) SendContext(ctx context.Context) (result *CloudRegionGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type CloudRegionGetResponse ¶
type CloudRegionGetResponse struct {
// contains filtered or unexported fields
}
CloudRegionGetResponse is the response for the 'get' method.
func (*CloudRegionGetResponse) Body ¶
func (r *CloudRegionGetResponse) Body() *CloudRegion
Body returns the value of the 'body' parameter.
func (*CloudRegionGetResponse) Error ¶
func (r *CloudRegionGetResponse) Error() *errors.Error
Error returns the response error.
func (*CloudRegionGetResponse) GetBody ¶
func (r *CloudRegionGetResponse) GetBody() (value *CloudRegion, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*CloudRegionGetResponse) Header ¶
func (r *CloudRegionGetResponse) Header() http.Header
Header returns header of the response.
func (*CloudRegionGetResponse) Status ¶
func (r *CloudRegionGetResponse) Status() int
Status returns the response status code.
type CloudRegionGetServerRequest ¶
type CloudRegionGetServerRequest struct { }
CloudRegionGetServerRequest is the request for the 'get' method.
type CloudRegionGetServerResponse ¶
type CloudRegionGetServerResponse struct {
// contains filtered or unexported fields
}
CloudRegionGetServerResponse is the response for the 'get' method.
func (*CloudRegionGetServerResponse) Body ¶
func (r *CloudRegionGetServerResponse) Body(value *CloudRegion) *CloudRegionGetServerResponse
Body sets the value of the 'body' parameter.
func (*CloudRegionGetServerResponse) Status ¶
func (r *CloudRegionGetServerResponse) Status(value int) *CloudRegionGetServerResponse
Status sets the status code.
type CloudRegionList ¶
type CloudRegionList struct {
// contains filtered or unexported fields
}
CloudRegionList is a list of values of the 'cloud_region' type.
func (*CloudRegionList) Each ¶
func (l *CloudRegionList) Each(f func(item *CloudRegion) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CloudRegionList) Empty ¶
func (l *CloudRegionList) Empty() bool
Empty returns true if the list is empty.
func (*CloudRegionList) Get ¶
func (l *CloudRegionList) Get(i int) *CloudRegion
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CloudRegionList) GetHREF ¶
func (l *CloudRegionList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*CloudRegionList) HREF ¶
func (l *CloudRegionList) HREF() string
HREF returns the link to the list.
func (*CloudRegionList) Kind ¶
func (l *CloudRegionList) Kind() string
Kind returns the name of the type of the object.
func (*CloudRegionList) Len ¶
func (l *CloudRegionList) Len() int
Len returns the length of the list.
func (*CloudRegionList) Link ¶
func (l *CloudRegionList) Link() bool
Link returns true iif this is a link.
func (*CloudRegionList) Range ¶
func (l *CloudRegionList) Range(f func(index int, item *CloudRegion) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*CloudRegionList) Slice ¶
func (l *CloudRegionList) Slice() []*CloudRegion
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type CloudRegionListBuilder ¶
type CloudRegionListBuilder struct {
// contains filtered or unexported fields
}
CloudRegionListBuilder contains the data and logic needed to build 'cloud_region' objects.
func NewCloudRegionList ¶
func NewCloudRegionList() *CloudRegionListBuilder
NewCloudRegionList creates a new builder of 'cloud_region' objects.
func (*CloudRegionListBuilder) Build ¶
func (b *CloudRegionListBuilder) Build() (list *CloudRegionList, err error)
Build creates a list of 'cloud_region' objects using the configuration stored in the builder.
func (*CloudRegionListBuilder) Copy ¶
func (b *CloudRegionListBuilder) Copy(list *CloudRegionList) *CloudRegionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CloudRegionListBuilder) Items ¶
func (b *CloudRegionListBuilder) Items(values ...*CloudRegionBuilder) *CloudRegionListBuilder
Items sets the items of the list.
type CloudRegionPollRequest ¶
type CloudRegionPollRequest struct {
// contains filtered or unexported fields
}
CloudRegionPollRequest is the request for the Poll method.
func (*CloudRegionPollRequest) Header ¶
func (r *CloudRegionPollRequest) Header(name string, value interface{}) *CloudRegionPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*CloudRegionPollRequest) Interval ¶
func (r *CloudRegionPollRequest) Interval(value time.Duration) *CloudRegionPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*CloudRegionPollRequest) Parameter ¶
func (r *CloudRegionPollRequest) Parameter(name string, value interface{}) *CloudRegionPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*CloudRegionPollRequest) Predicate ¶
func (r *CloudRegionPollRequest) Predicate(value func(*CloudRegionGetResponse) bool) *CloudRegionPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*CloudRegionPollRequest) StartContext ¶
func (r *CloudRegionPollRequest) StartContext(ctx context.Context) (response *CloudRegionPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*CloudRegionPollRequest) Status ¶
func (r *CloudRegionPollRequest) Status(value int) *CloudRegionPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type CloudRegionPollResponse ¶
type CloudRegionPollResponse struct {
// contains filtered or unexported fields
}
CloudRegionPollResponse is the response for the Poll method.
func (*CloudRegionPollResponse) Body ¶
func (r *CloudRegionPollResponse) Body() *CloudRegion
Body returns the value of the 'body' parameter.
func (*CloudRegionPollResponse) Error ¶
func (r *CloudRegionPollResponse) Error() *errors.Error
Error returns the response error.
func (*CloudRegionPollResponse) GetBody ¶
func (r *CloudRegionPollResponse) GetBody() (value *CloudRegion, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*CloudRegionPollResponse) Header ¶
func (r *CloudRegionPollResponse) Header() http.Header
Header returns header of the response.
func (*CloudRegionPollResponse) Status ¶
func (r *CloudRegionPollResponse) Status() int
Status returns the response status code.
type CloudRegionServer ¶
type CloudRegionServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the region. Get(ctx context.Context, request *CloudRegionGetServerRequest, response *CloudRegionGetServerResponse) error }
CloudRegionServer represents the interface the manages the 'cloud_region' resource.
type CloudRegionsClient ¶
type CloudRegionsClient struct {
// contains filtered or unexported fields
}
CloudRegionsClient is the client of the 'cloud_regions' resource.
Manages the collection of regions of a cloud provider.
func NewCloudRegionsClient ¶
func NewCloudRegionsClient(transport http.RoundTripper, path string, metric string) *CloudRegionsClient
NewCloudRegionsClient creates a new client for the 'cloud_regions' resource using the given transport to send the requests and receive the responses.
func (*CloudRegionsClient) List ¶
func (c *CloudRegionsClient) List() *CloudRegionsListRequest
List creates a request for the 'list' method.
Retrieves the list of regions of the cloud provider.
IMPORTANT: This collection doesn't currently support paging or searching, so the returned `page` will always be 1 and `size` and `total` will always be the total number of regions of the provider.
func (*CloudRegionsClient) Region ¶
func (c *CloudRegionsClient) Region(id string) *CloudRegionClient
Region returns the target 'cloud_region' resource for the given identifier.
Reference to the service that manages an specific region.
type CloudRegionsListRequest ¶
type CloudRegionsListRequest struct {
// contains filtered or unexported fields
}
CloudRegionsListRequest is the request for the 'list' method.
func (*CloudRegionsListRequest) Header ¶
func (r *CloudRegionsListRequest) Header(name string, value interface{}) *CloudRegionsListRequest
Header adds a request header.
func (*CloudRegionsListRequest) Page ¶
func (r *CloudRegionsListRequest) Page(value int) *CloudRegionsListRequest
Page sets the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*CloudRegionsListRequest) Parameter ¶
func (r *CloudRegionsListRequest) Parameter(name string, value interface{}) *CloudRegionsListRequest
Parameter adds a query parameter.
func (*CloudRegionsListRequest) Send ¶
func (r *CloudRegionsListRequest) Send() (result *CloudRegionsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*CloudRegionsListRequest) SendContext ¶
func (r *CloudRegionsListRequest) SendContext(ctx context.Context) (result *CloudRegionsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*CloudRegionsListRequest) Size ¶
func (r *CloudRegionsListRequest) Size(value int) *CloudRegionsListRequest
Size sets the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
type CloudRegionsListResponse ¶
type CloudRegionsListResponse struct {
// contains filtered or unexported fields
}
CloudRegionsListResponse is the response for the 'list' method.
func (*CloudRegionsListResponse) Error ¶
func (r *CloudRegionsListResponse) Error() *errors.Error
Error returns the response error.
func (*CloudRegionsListResponse) GetItems ¶
func (r *CloudRegionsListResponse) GetItems() (value *CloudRegionList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of cloud providers.
func (*CloudRegionsListResponse) GetPage ¶
func (r *CloudRegionsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*CloudRegionsListResponse) GetSize ¶
func (r *CloudRegionsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
func (*CloudRegionsListResponse) GetTotal ¶
func (r *CloudRegionsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
func (*CloudRegionsListResponse) Header ¶
func (r *CloudRegionsListResponse) Header() http.Header
Header returns header of the response.
func (*CloudRegionsListResponse) Items ¶
func (r *CloudRegionsListResponse) Items() *CloudRegionList
Items returns the value of the 'items' parameter.
Retrieved list of cloud providers.
func (*CloudRegionsListResponse) Page ¶
func (r *CloudRegionsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*CloudRegionsListResponse) Size ¶
func (r *CloudRegionsListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
func (*CloudRegionsListResponse) Status ¶
func (r *CloudRegionsListResponse) Status() int
Status returns the response status code.
func (*CloudRegionsListResponse) Total ¶
func (r *CloudRegionsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
type CloudRegionsListServerRequest ¶
type CloudRegionsListServerRequest struct {
// contains filtered or unexported fields
}
CloudRegionsListServerRequest is the request for the 'list' method.
func (*CloudRegionsListServerRequest) GetPage ¶
func (r *CloudRegionsListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*CloudRegionsListServerRequest) GetSize ¶
func (r *CloudRegionsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
func (*CloudRegionsListServerRequest) Page ¶
func (r *CloudRegionsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*CloudRegionsListServerRequest) Size ¶
func (r *CloudRegionsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
type CloudRegionsListServerResponse ¶
type CloudRegionsListServerResponse struct {
// contains filtered or unexported fields
}
CloudRegionsListServerResponse is the response for the 'list' method.
func (*CloudRegionsListServerResponse) Items ¶
func (r *CloudRegionsListServerResponse) Items(value *CloudRegionList) *CloudRegionsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of cloud providers.
func (*CloudRegionsListServerResponse) Page ¶
func (r *CloudRegionsListServerResponse) Page(value int) *CloudRegionsListServerResponse
Page sets the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*CloudRegionsListServerResponse) Size ¶
func (r *CloudRegionsListServerResponse) Size(value int) *CloudRegionsListServerResponse
Size sets the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
func (*CloudRegionsListServerResponse) Status ¶
func (r *CloudRegionsListServerResponse) Status(value int) *CloudRegionsListServerResponse
Status sets the status code.
func (*CloudRegionsListServerResponse) Total ¶
func (r *CloudRegionsListServerResponse) Total(value int) *CloudRegionsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of regions of the provider.
type CloudRegionsServer ¶
type CloudRegionsServer interface { // List handles a request for the 'list' method. // // Retrieves the list of regions of the cloud provider. // // IMPORTANT: This collection doesn't currently support paging or searching, so the returned // `page` will always be 1 and `size` and `total` will always be the total number of regions // of the provider. List(ctx context.Context, request *CloudRegionsListServerRequest, response *CloudRegionsListServerResponse) error // Region returns the target 'cloud_region' server for the given identifier. // // Reference to the service that manages an specific region. Region(id string) CloudRegionServer }
CloudRegionsServer represents the interface the manages the 'cloud_regions' resource.
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster represents the values of the 'cluster' type.
Definition of an _OpenShift_ cluster.
The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:
[source,json] ----
{ "cloud_provider": { "kind": "CloudProviderLink", "id": "123", "href": "/api/clusters_mgmt/v1/cloud_providers/123" } }
----
When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:
[source,json] ----
{ "cloud_provider": { "id": "123", } }
----
If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.
The region attribute is mandatory when a cluster is created.
The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.
func UnmarshalCluster ¶
UnmarshalCluster reads a value of the 'cluster' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterList ¶
UnmarshalClusterList reads a list of values of the 'cluster' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Cluster) API ¶
func (o *Cluster) API() *ClusterAPI
API returns the value of the 'API' attribute, or the zero value of the type if the attribute doesn't have a value.
Information about the API of the cluster.
func (*Cluster) AWS ¶
AWS returns the value of the 'AWS' attribute, or the zero value of the type if the attribute doesn't have a value.
Amazon Web Services settings of the cluster.
func (*Cluster) AWSInfrastructureAccessRoleGrants ¶
func (o *Cluster) AWSInfrastructureAccessRoleGrants() *AWSInfrastructureAccessRoleGrantList
AWSInfrastructureAccessRoleGrants returns the value of the 'AWS_infrastructure_access_role_grants' attribute, or the zero value of the type if the attribute doesn't have a value.
List of AWS infrastructure access role grants on this cluster.
func (*Cluster) Addons ¶
func (o *Cluster) Addons() *AddOnInstallationList
Addons returns the value of the 'addons' attribute, or the zero value of the type if the attribute doesn't have a value.
List of add-ons on this cluster.
func (*Cluster) CCS ¶ added in v0.0.329
CCS returns the value of the 'CCS' attribute, or the zero value of the type if the attribute doesn't have a value.
Contains configuration of a Customer Cloud Subscription cluster.
func (*Cluster) CloudProvider ¶
func (o *Cluster) CloudProvider() *CloudProvider
CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the cloud provider where the cluster is installed.
func (*Cluster) Console ¶
func (o *Cluster) Console() *ClusterConsole
Console returns the value of the 'console' attribute, or the zero value of the type if the attribute doesn't have a value.
Information about the console of the cluster.
func (*Cluster) CreationTimestamp ¶
CreationTimestamp returns the value of the 'creation_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.
Date and time when the cluster was initially created, using the format defined in https://www.ietf.org/rfc/rfc3339.txt[RC3339].
func (*Cluster) DNS ¶
DNS returns the value of the 'DNS' attribute, or the zero value of the type if the attribute doesn't have a value.
DNS settings of the cluster.
func (*Cluster) DisplayName ¶
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the cluster for display purposes. It can contain any characters, including spaces.
func (*Cluster) EtcdEncryption ¶ added in v0.0.329
EtcdEncryption returns the value of the 'etcd_encryption' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates whether that etcd is encrypted or not. This is set only during cluster creation.
func (*Cluster) ExpirationTimestamp ¶
ExpirationTimestamp returns the value of the 'expiration_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.
Date and time when the cluster will be automatically deleted, using the format defined in https://www.ietf.org/rfc/rfc3339.txt[RFC3339]. If no timestamp is provided, the cluster will never expire.
This option is unsupported.
func (*Cluster) ExternalConfiguration ¶
func (o *Cluster) ExternalConfiguration() *ExternalConfiguration
ExternalConfiguration returns the value of the 'external_configuration' attribute, or the zero value of the type if the attribute doesn't have a value.
ExternalConfiguration shows external configuration on the cluster.
func (*Cluster) ExternalID ¶
ExternalID returns the value of the 'external_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
External identifier of the cluster, generated by the installer.
func (*Cluster) Flavour ¶
Flavour returns the value of the 'flavour' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the _flavour_ that was used to create the cluster.
func (*Cluster) GCP ¶ added in v0.0.329
GCP returns the value of the 'GCP' attribute, or the zero value of the type if the attribute doesn't have a value.
Google cloud platform settings of the cluster.
func (*Cluster) GetAPI ¶
func (o *Cluster) GetAPI() (value *ClusterAPI, ok bool)
GetAPI returns the value of the 'API' attribute and a flag indicating if the attribute has a value.
Information about the API of the cluster.
func (*Cluster) GetAWS ¶
GetAWS returns the value of the 'AWS' attribute and a flag indicating if the attribute has a value.
Amazon Web Services settings of the cluster.
func (*Cluster) GetAWSInfrastructureAccessRoleGrants ¶
func (o *Cluster) GetAWSInfrastructureAccessRoleGrants() (value *AWSInfrastructureAccessRoleGrantList, ok bool)
GetAWSInfrastructureAccessRoleGrants returns the value of the 'AWS_infrastructure_access_role_grants' attribute and a flag indicating if the attribute has a value.
List of AWS infrastructure access role grants on this cluster.
func (*Cluster) GetAddons ¶
func (o *Cluster) GetAddons() (value *AddOnInstallationList, ok bool)
GetAddons returns the value of the 'addons' attribute and a flag indicating if the attribute has a value.
List of add-ons on this cluster.
func (*Cluster) GetCCS ¶ added in v0.0.329
GetCCS returns the value of the 'CCS' attribute and a flag indicating if the attribute has a value.
Contains configuration of a Customer Cloud Subscription cluster.
func (*Cluster) GetCloudProvider ¶
func (o *Cluster) GetCloudProvider() (value *CloudProvider, ok bool)
GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.
Link to the cloud provider where the cluster is installed.
func (*Cluster) GetConsole ¶
func (o *Cluster) GetConsole() (value *ClusterConsole, ok bool)
GetConsole returns the value of the 'console' attribute and a flag indicating if the attribute has a value.
Information about the console of the cluster.
func (*Cluster) GetCreationTimestamp ¶
GetCreationTimestamp returns the value of the 'creation_timestamp' attribute and a flag indicating if the attribute has a value.
Date and time when the cluster was initially created, using the format defined in https://www.ietf.org/rfc/rfc3339.txt[RC3339].
func (*Cluster) GetDNS ¶
GetDNS returns the value of the 'DNS' attribute and a flag indicating if the attribute has a value.
DNS settings of the cluster.
func (*Cluster) GetDisplayName ¶
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
Name of the cluster for display purposes. It can contain any characters, including spaces.
func (*Cluster) GetEtcdEncryption ¶ added in v0.0.329
GetEtcdEncryption returns the value of the 'etcd_encryption' attribute and a flag indicating if the attribute has a value.
Indicates whether that etcd is encrypted or not. This is set only during cluster creation.
func (*Cluster) GetExpirationTimestamp ¶
GetExpirationTimestamp returns the value of the 'expiration_timestamp' attribute and a flag indicating if the attribute has a value.
Date and time when the cluster will be automatically deleted, using the format defined in https://www.ietf.org/rfc/rfc3339.txt[RFC3339]. If no timestamp is provided, the cluster will never expire.
This option is unsupported.
func (*Cluster) GetExternalConfiguration ¶
func (o *Cluster) GetExternalConfiguration() (value *ExternalConfiguration, ok bool)
GetExternalConfiguration returns the value of the 'external_configuration' attribute and a flag indicating if the attribute has a value.
ExternalConfiguration shows external configuration on the cluster.
func (*Cluster) GetExternalID ¶
GetExternalID returns the value of the 'external_ID' attribute and a flag indicating if the attribute has a value.
External identifier of the cluster, generated by the installer.
func (*Cluster) GetFlavour ¶
GetFlavour returns the value of the 'flavour' attribute and a flag indicating if the attribute has a value.
Link to the _flavour_ that was used to create the cluster.
func (*Cluster) GetGCP ¶ added in v0.0.329
GetGCP returns the value of the 'GCP' attribute and a flag indicating if the attribute has a value.
Google cloud platform settings of the cluster.
func (*Cluster) GetGroups ¶
GetGroups returns the value of the 'groups' attribute and a flag indicating if the attribute has a value.
Link to the collection of groups of user of the cluster.
func (*Cluster) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Cluster) GetHealthState ¶
func (o *Cluster) GetHealthState() (value ClusterHealthState, ok bool)
GetHealthState returns the value of the 'health_state' attribute and a flag indicating if the attribute has a value.
HealthState indicates the overall health state of the cluster.
func (*Cluster) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Cluster) GetIdentityProviders ¶
func (o *Cluster) GetIdentityProviders() (value *IdentityProviderList, ok bool)
GetIdentityProviders returns the value of the 'identity_providers' attribute and a flag indicating if the attribute has a value.
Link to the collection of identity providers of the cluster.
func (*Cluster) GetIngresses ¶
func (o *Cluster) GetIngresses() (value *IngressList, ok bool)
GetIngresses returns the value of the 'ingresses' attribute and a flag indicating if the attribute has a value.
List of ingresses on this cluster.
func (*Cluster) GetLoadBalancerQuota ¶
GetLoadBalancerQuota returns the value of the 'load_balancer_quota' attribute and a flag indicating if the attribute has a value.
Load Balancer quota to be assigned to the cluster.
func (*Cluster) GetMachinePools ¶ added in v0.0.329
func (o *Cluster) GetMachinePools() (value *MachinePoolList, ok bool)
GetMachinePools returns the value of the 'machine_pools' attribute and a flag indicating if the attribute has a value.
List of machine pools on this cluster.
func (*Cluster) GetManaged ¶
GetManaged returns the value of the 'managed' attribute and a flag indicating if the attribute has a value.
Flag indicating if the cluster is managed (by Red Hat) or self-managed by the user.
func (*Cluster) GetMetrics ¶
func (o *Cluster) GetMetrics() (value *ClusterMetrics, ok bool)
GetMetrics returns the value of the 'metrics' attribute and a flag indicating if the attribute has a value.
Cluster metrics received from telemetry.
When provisioning a cluster this will be ignored.
func (*Cluster) GetMultiAZ ¶
GetMultiAZ returns the value of the 'multi_AZ' attribute and a flag indicating if the attribute has a value.
Flag indicating if the cluster should be created with nodes in different availability zones or all the nodes in a single one randomly selected.
func (*Cluster) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the cluster. This name is assigned by the user when the cluster is created.
func (*Cluster) GetNetwork ¶
GetNetwork returns the value of the 'network' attribute and a flag indicating if the attribute has a value.
Network settings of the cluster.
func (*Cluster) GetNodeDrainGracePeriod ¶ added in v0.0.329
GetNodeDrainGracePeriod returns the value of the 'node_drain_grace_period' attribute and a flag indicating if the attribute has a value.
Node drain grace period.
func (*Cluster) GetNodes ¶
func (o *Cluster) GetNodes() (value *ClusterNodes, ok bool)
GetNodes returns the value of the 'nodes' attribute and a flag indicating if the attribute has a value.
Information about the nodes of the cluster.
func (*Cluster) GetOpenshiftVersion ¶
GetOpenshiftVersion returns the value of the 'openshift_version' attribute and a flag indicating if the attribute has a value.
Version of _OpenShift_ installed in the cluster, for example `4.0.0-0.2`.
When retrieving a cluster this will always be reported.
When provisioning a cluster this will be ignored, as the version to deploy will be determined internally.
func (*Cluster) GetProduct ¶
GetProduct returns the value of the 'product' attribute and a flag indicating if the attribute has a value.
Link to the product type of this cluster.
func (*Cluster) GetProperties ¶
GetProperties returns the value of the 'properties' attribute and a flag indicating if the attribute has a value.
User defined properties for tagging and querying.
func (*Cluster) GetProvisionShard ¶
func (o *Cluster) GetProvisionShard() (value *ProvisionShard, ok bool)
GetProvisionShard returns the value of the 'provision_shard' attribute and a flag indicating if the attribute has a value.
ProvisionShard contains the properties of the provision shard, including AWS and GCP related configurations
func (*Cluster) GetRegion ¶
func (o *Cluster) GetRegion() (value *CloudRegion, ok bool)
GetRegion returns the value of the 'region' attribute and a flag indicating if the attribute has a value.
Link to the cloud provider region where the cluster is installed.
func (*Cluster) GetState ¶
func (o *Cluster) GetState() (value ClusterState, ok bool)
GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.
Overall state of the cluster.
func (*Cluster) GetStatus ¶ added in v0.0.329
func (o *Cluster) GetStatus() (value *ClusterStatus, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
Status of cluster
func (*Cluster) GetStorageQuota ¶
GetStorageQuota returns the value of the 'storage_quota' attribute and a flag indicating if the attribute has a value.
Storage quota to be assigned to the cluster.
func (*Cluster) GetSubscription ¶
func (o *Cluster) GetSubscription() (value *Subscription, ok bool)
GetSubscription returns the value of the 'subscription' attribute and a flag indicating if the attribute has a value.
Link to the subscription that comes from the account management service when the cluster is registered.
func (*Cluster) GetUpgradeChannelGroup ¶ added in v0.1.152
GetUpgradeChannelGroup returns the value of the 'upgrade_channel_group' attribute and a flag indicating if the attribute has a value.
Channel group to be used for upgrading the cluster. Valid values: stable (default), fast, candidate, nightly.
func (*Cluster) GetVersion ¶
GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.
Link to the version of _OpenShift_ that will be used to install the cluster.
func (*Cluster) Groups ¶
Groups returns the value of the 'groups' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the collection of groups of user of the cluster.
func (*Cluster) HealthState ¶
func (o *Cluster) HealthState() ClusterHealthState
HealthState returns the value of the 'health_state' attribute, or the zero value of the type if the attribute doesn't have a value.
HealthState indicates the overall health state of the cluster.
func (*Cluster) IdentityProviders ¶
func (o *Cluster) IdentityProviders() *IdentityProviderList
IdentityProviders returns the value of the 'identity_providers' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the collection of identity providers of the cluster.
func (*Cluster) Ingresses ¶
func (o *Cluster) Ingresses() *IngressList
Ingresses returns the value of the 'ingresses' attribute, or the zero value of the type if the attribute doesn't have a value.
List of ingresses on this cluster.
func (*Cluster) LoadBalancerQuota ¶
LoadBalancerQuota returns the value of the 'load_balancer_quota' attribute, or the zero value of the type if the attribute doesn't have a value.
Load Balancer quota to be assigned to the cluster.
func (*Cluster) MachinePools ¶ added in v0.0.329
func (o *Cluster) MachinePools() *MachinePoolList
MachinePools returns the value of the 'machine_pools' attribute, or the zero value of the type if the attribute doesn't have a value.
List of machine pools on this cluster.
func (*Cluster) Managed ¶
Managed returns the value of the 'managed' attribute, or the zero value of the type if the attribute doesn't have a value.
Flag indicating if the cluster is managed (by Red Hat) or self-managed by the user.
func (*Cluster) Metrics ¶
func (o *Cluster) Metrics() *ClusterMetrics
Metrics returns the value of the 'metrics' attribute, or the zero value of the type if the attribute doesn't have a value.
Cluster metrics received from telemetry.
When provisioning a cluster this will be ignored.
func (*Cluster) MultiAZ ¶
MultiAZ returns the value of the 'multi_AZ' attribute, or the zero value of the type if the attribute doesn't have a value.
Flag indicating if the cluster should be created with nodes in different availability zones or all the nodes in a single one randomly selected.
func (*Cluster) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the cluster. This name is assigned by the user when the cluster is created.
func (*Cluster) Network ¶
Network returns the value of the 'network' attribute, or the zero value of the type if the attribute doesn't have a value.
Network settings of the cluster.
func (*Cluster) NodeDrainGracePeriod ¶ added in v0.0.329
NodeDrainGracePeriod returns the value of the 'node_drain_grace_period' attribute, or the zero value of the type if the attribute doesn't have a value.
Node drain grace period.
func (*Cluster) Nodes ¶
func (o *Cluster) Nodes() *ClusterNodes
Nodes returns the value of the 'nodes' attribute, or the zero value of the type if the attribute doesn't have a value.
Information about the nodes of the cluster.
func (*Cluster) OpenshiftVersion ¶
OpenshiftVersion returns the value of the 'openshift_version' attribute, or the zero value of the type if the attribute doesn't have a value.
Version of _OpenShift_ installed in the cluster, for example `4.0.0-0.2`.
When retrieving a cluster this will always be reported.
When provisioning a cluster this will be ignored, as the version to deploy will be determined internally.
func (*Cluster) Product ¶
Product returns the value of the 'product' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the product type of this cluster.
func (*Cluster) Properties ¶
Properties returns the value of the 'properties' attribute, or the zero value of the type if the attribute doesn't have a value.
User defined properties for tagging and querying.
func (*Cluster) ProvisionShard ¶
func (o *Cluster) ProvisionShard() *ProvisionShard
ProvisionShard returns the value of the 'provision_shard' attribute, or the zero value of the type if the attribute doesn't have a value.
ProvisionShard contains the properties of the provision shard, including AWS and GCP related configurations
func (*Cluster) Region ¶
func (o *Cluster) Region() *CloudRegion
Region returns the value of the 'region' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the cloud provider region where the cluster is installed.
func (*Cluster) State ¶
func (o *Cluster) State() ClusterState
State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.
Overall state of the cluster.
func (*Cluster) Status ¶ added in v0.0.329
func (o *Cluster) Status() *ClusterStatus
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
Status of cluster
func (*Cluster) StorageQuota ¶
StorageQuota returns the value of the 'storage_quota' attribute, or the zero value of the type if the attribute doesn't have a value.
Storage quota to be assigned to the cluster.
func (*Cluster) Subscription ¶
func (o *Cluster) Subscription() *Subscription
Subscription returns the value of the 'subscription' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the subscription that comes from the account management service when the cluster is registered.
func (*Cluster) UpgradeChannelGroup ¶ added in v0.1.152
UpgradeChannelGroup returns the value of the 'upgrade_channel_group' attribute, or the zero value of the type if the attribute doesn't have a value.
Channel group to be used for upgrading the cluster. Valid values: stable (default), fast, candidate, nightly.
type ClusterAPI ¶
type ClusterAPI struct {
// contains filtered or unexported fields
}
ClusterAPI represents the values of the 'cluster_API' type.
Information about the API of a cluster.
func UnmarshalClusterAPI ¶
func UnmarshalClusterAPI(source interface{}) (object *ClusterAPI, err error)
UnmarshalClusterAPI reads a value of the 'cluster_API' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterAPIList ¶
func UnmarshalClusterAPIList(source interface{}) (items []*ClusterAPI, err error)
UnmarshalClusterAPIList reads a list of values of the 'cluster_API' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterAPI) Empty ¶
func (o *ClusterAPI) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterAPI) GetListening ¶
func (o *ClusterAPI) GetListening() (value ListeningMethod, ok bool)
GetListening returns the value of the 'listening' attribute and a flag indicating if the attribute has a value.
The listening method of the API server.
func (*ClusterAPI) GetURL ¶
func (o *ClusterAPI) GetURL() (value string, ok bool)
GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.
The URL of the API server of the cluster.
func (*ClusterAPI) Listening ¶
func (o *ClusterAPI) Listening() ListeningMethod
Listening returns the value of the 'listening' attribute, or the zero value of the type if the attribute doesn't have a value.
The listening method of the API server.
func (*ClusterAPI) URL ¶
func (o *ClusterAPI) URL() string
URL returns the value of the 'URL' attribute, or the zero value of the type if the attribute doesn't have a value.
The URL of the API server of the cluster.
type ClusterAPIBuilder ¶
type ClusterAPIBuilder struct {
// contains filtered or unexported fields
}
ClusterAPIBuilder contains the data and logic needed to build 'cluster_API' objects.
Information about the API of a cluster.
func NewClusterAPI ¶
func NewClusterAPI() *ClusterAPIBuilder
NewClusterAPI creates a new builder of 'cluster_API' objects.
func (*ClusterAPIBuilder) Build ¶
func (b *ClusterAPIBuilder) Build() (object *ClusterAPI, err error)
Build creates a 'cluster_API' object using the configuration stored in the builder.
func (*ClusterAPIBuilder) Copy ¶
func (b *ClusterAPIBuilder) Copy(object *ClusterAPI) *ClusterAPIBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterAPIBuilder) Listening ¶
func (b *ClusterAPIBuilder) Listening(value ListeningMethod) *ClusterAPIBuilder
Listening sets the value of the 'listening' attribute to the given value.
Cluster components listening method.
func (*ClusterAPIBuilder) URL ¶
func (b *ClusterAPIBuilder) URL(value string) *ClusterAPIBuilder
URL sets the value of the 'URL' attribute to the given value.
type ClusterAPIList ¶
type ClusterAPIList struct {
// contains filtered or unexported fields
}
ClusterAPIList is a list of values of the 'cluster_API' type.
func (*ClusterAPIList) Each ¶
func (l *ClusterAPIList) Each(f func(item *ClusterAPI) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterAPIList) Empty ¶
func (l *ClusterAPIList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterAPIList) Get ¶
func (l *ClusterAPIList) Get(i int) *ClusterAPI
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterAPIList) Len ¶
func (l *ClusterAPIList) Len() int
Len returns the length of the list.
func (*ClusterAPIList) Range ¶
func (l *ClusterAPIList) Range(f func(index int, item *ClusterAPI) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterAPIList) Slice ¶
func (l *ClusterAPIList) Slice() []*ClusterAPI
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterAPIListBuilder ¶
type ClusterAPIListBuilder struct {
// contains filtered or unexported fields
}
ClusterAPIListBuilder contains the data and logic needed to build 'cluster_API' objects.
func NewClusterAPIList ¶
func NewClusterAPIList() *ClusterAPIListBuilder
NewClusterAPIList creates a new builder of 'cluster_API' objects.
func (*ClusterAPIListBuilder) Build ¶
func (b *ClusterAPIListBuilder) Build() (list *ClusterAPIList, err error)
Build creates a list of 'cluster_API' objects using the configuration stored in the builder.
func (*ClusterAPIListBuilder) Copy ¶
func (b *ClusterAPIListBuilder) Copy(list *ClusterAPIList) *ClusterAPIListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterAPIListBuilder) Items ¶
func (b *ClusterAPIListBuilder) Items(values ...*ClusterAPIBuilder) *ClusterAPIListBuilder
Items sets the items of the list.
type ClusterBuilder ¶
type ClusterBuilder struct {
// contains filtered or unexported fields
}
ClusterBuilder contains the data and logic needed to build 'cluster' objects.
Definition of an _OpenShift_ cluster.
The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:
[source,json] ----
{ "cloud_provider": { "kind": "CloudProviderLink", "id": "123", "href": "/api/clusters_mgmt/v1/cloud_providers/123" } }
----
When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:
[source,json] ----
{ "cloud_provider": { "id": "123", } }
----
If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.
The region attribute is mandatory when a cluster is created.
The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.
func NewCluster ¶
func NewCluster() *ClusterBuilder
NewCluster creates a new builder of 'cluster' objects.
func (*ClusterBuilder) API ¶
func (b *ClusterBuilder) API(value *ClusterAPIBuilder) *ClusterBuilder
API sets the value of the 'API' attribute to the given value.
Information about the API of a cluster.
func (*ClusterBuilder) AWS ¶
func (b *ClusterBuilder) AWS(value *AWSBuilder) *ClusterBuilder
AWS sets the value of the 'AWS' attribute to the given value.
_Amazon Web Services_ specific settings of a cluster.
func (*ClusterBuilder) AWSInfrastructureAccessRoleGrants ¶
func (b *ClusterBuilder) AWSInfrastructureAccessRoleGrants(value *AWSInfrastructureAccessRoleGrantListBuilder) *ClusterBuilder
AWSInfrastructureAccessRoleGrants sets the value of the 'AWS_infrastructure_access_role_grants' attribute to the given values.
func (*ClusterBuilder) Addons ¶
func (b *ClusterBuilder) Addons(value *AddOnInstallationListBuilder) *ClusterBuilder
Addons sets the value of the 'addons' attribute to the given values.
func (*ClusterBuilder) Build ¶
func (b *ClusterBuilder) Build() (object *Cluster, err error)
Build creates a 'cluster' object using the configuration stored in the builder.
func (*ClusterBuilder) CCS ¶ added in v0.0.329
func (b *ClusterBuilder) CCS(value *CCSBuilder) *ClusterBuilder
CCS sets the value of the 'CCS' attribute to the given value.
func (*ClusterBuilder) CloudProvider ¶
func (b *ClusterBuilder) CloudProvider(value *CloudProviderBuilder) *ClusterBuilder
CloudProvider sets the value of the 'cloud_provider' attribute to the given value.
Cloud provider.
func (*ClusterBuilder) Console ¶
func (b *ClusterBuilder) Console(value *ClusterConsoleBuilder) *ClusterBuilder
Console sets the value of the 'console' attribute to the given value.
Information about the console of a cluster.
func (*ClusterBuilder) Copy ¶
func (b *ClusterBuilder) Copy(object *Cluster) *ClusterBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterBuilder) CreationTimestamp ¶
func (b *ClusterBuilder) CreationTimestamp(value time.Time) *ClusterBuilder
CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.
func (*ClusterBuilder) DNS ¶
func (b *ClusterBuilder) DNS(value *DNSBuilder) *ClusterBuilder
DNS sets the value of the 'DNS' attribute to the given value.
DNS settings of the cluster.
func (*ClusterBuilder) DisplayName ¶
func (b *ClusterBuilder) DisplayName(value string) *ClusterBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*ClusterBuilder) EtcdEncryption ¶ added in v0.0.329
func (b *ClusterBuilder) EtcdEncryption(value bool) *ClusterBuilder
EtcdEncryption sets the value of the 'etcd_encryption' attribute to the given value.
func (*ClusterBuilder) ExpirationTimestamp ¶
func (b *ClusterBuilder) ExpirationTimestamp(value time.Time) *ClusterBuilder
ExpirationTimestamp sets the value of the 'expiration_timestamp' attribute to the given value.
func (*ClusterBuilder) ExternalConfiguration ¶
func (b *ClusterBuilder) ExternalConfiguration(value *ExternalConfigurationBuilder) *ClusterBuilder
ExternalConfiguration sets the value of the 'external_configuration' attribute to the given value.
Representation of cluster external configuration.
func (*ClusterBuilder) ExternalID ¶
func (b *ClusterBuilder) ExternalID(value string) *ClusterBuilder
ExternalID sets the value of the 'external_ID' attribute to the given value.
func (*ClusterBuilder) Flavour ¶
func (b *ClusterBuilder) Flavour(value *FlavourBuilder) *ClusterBuilder
Flavour sets the value of the 'flavour' attribute to the given value.
Set of predefined properties of a cluster. For example, a _huge_ flavour can be a cluster with 10 infra nodes and 1000 compute nodes.
func (*ClusterBuilder) GCP ¶ added in v0.0.329
func (b *ClusterBuilder) GCP(value *GCPBuilder) *ClusterBuilder
GCP sets the value of the 'GCP' attribute to the given value.
Google cloud platform settings of a cluster.
func (*ClusterBuilder) Groups ¶
func (b *ClusterBuilder) Groups(value *GroupListBuilder) *ClusterBuilder
Groups sets the value of the 'groups' attribute to the given values.
func (*ClusterBuilder) HREF ¶
func (b *ClusterBuilder) HREF(value string) *ClusterBuilder
HREF sets the link to the object.
func (*ClusterBuilder) HealthState ¶
func (b *ClusterBuilder) HealthState(value ClusterHealthState) *ClusterBuilder
HealthState sets the value of the 'health_state' attribute to the given value.
ClusterHealthState indicates the health of a cluster.
func (*ClusterBuilder) ID ¶
func (b *ClusterBuilder) ID(value string) *ClusterBuilder
ID sets the identifier of the object.
func (*ClusterBuilder) IdentityProviders ¶
func (b *ClusterBuilder) IdentityProviders(value *IdentityProviderListBuilder) *ClusterBuilder
IdentityProviders sets the value of the 'identity_providers' attribute to the given values.
func (*ClusterBuilder) Ingresses ¶
func (b *ClusterBuilder) Ingresses(value *IngressListBuilder) *ClusterBuilder
Ingresses sets the value of the 'ingresses' attribute to the given values.
func (*ClusterBuilder) Link ¶
func (b *ClusterBuilder) Link(value bool) *ClusterBuilder
Link sets the flag that indicates if this is a link.
func (*ClusterBuilder) LoadBalancerQuota ¶
func (b *ClusterBuilder) LoadBalancerQuota(value int) *ClusterBuilder
LoadBalancerQuota sets the value of the 'load_balancer_quota' attribute to the given value.
func (*ClusterBuilder) MachinePools ¶ added in v0.0.329
func (b *ClusterBuilder) MachinePools(value *MachinePoolListBuilder) *ClusterBuilder
MachinePools sets the value of the 'machine_pools' attribute to the given values.
func (*ClusterBuilder) Managed ¶
func (b *ClusterBuilder) Managed(value bool) *ClusterBuilder
Managed sets the value of the 'managed' attribute to the given value.
func (*ClusterBuilder) Metrics ¶
func (b *ClusterBuilder) Metrics(value *ClusterMetricsBuilder) *ClusterBuilder
Metrics sets the value of the 'metrics' attribute to the given value.
Cluster metrics received via telemetry.
func (*ClusterBuilder) MultiAZ ¶
func (b *ClusterBuilder) MultiAZ(value bool) *ClusterBuilder
MultiAZ sets the value of the 'multi_AZ' attribute to the given value.
func (*ClusterBuilder) Name ¶
func (b *ClusterBuilder) Name(value string) *ClusterBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ClusterBuilder) Network ¶
func (b *ClusterBuilder) Network(value *NetworkBuilder) *ClusterBuilder
Network sets the value of the 'network' attribute to the given value.
Network configuration of a cluster.
func (*ClusterBuilder) NodeDrainGracePeriod ¶ added in v0.0.329
func (b *ClusterBuilder) NodeDrainGracePeriod(value *ValueBuilder) *ClusterBuilder
NodeDrainGracePeriod sets the value of the 'node_drain_grace_period' attribute to the given value.
Numeric value and the unit used to measure it.
Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:
- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes
- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes
func (*ClusterBuilder) Nodes ¶
func (b *ClusterBuilder) Nodes(value *ClusterNodesBuilder) *ClusterBuilder
Nodes sets the value of the 'nodes' attribute to the given value.
Counts of different classes of nodes inside a cluster.
func (*ClusterBuilder) OpenshiftVersion ¶
func (b *ClusterBuilder) OpenshiftVersion(value string) *ClusterBuilder
OpenshiftVersion sets the value of the 'openshift_version' attribute to the given value.
func (*ClusterBuilder) Product ¶
func (b *ClusterBuilder) Product(value *ProductBuilder) *ClusterBuilder
Product sets the value of the 'product' attribute to the given value.
Representation of an product that can be selected as a cluster type.
func (*ClusterBuilder) Properties ¶
func (b *ClusterBuilder) Properties(value map[string]string) *ClusterBuilder
Properties sets the value of the 'properties' attribute to the given value.
func (*ClusterBuilder) ProvisionShard ¶
func (b *ClusterBuilder) ProvisionShard(value *ProvisionShardBuilder) *ClusterBuilder
ProvisionShard sets the value of the 'provision_shard' attribute to the given value.
Contains the properties of the provision shard, including AWS and GCP related configurations
func (*ClusterBuilder) Region ¶
func (b *ClusterBuilder) Region(value *CloudRegionBuilder) *ClusterBuilder
Region sets the value of the 'region' attribute to the given value.
Description of a region of a cloud provider.
func (*ClusterBuilder) State ¶
func (b *ClusterBuilder) State(value ClusterState) *ClusterBuilder
State sets the value of the 'state' attribute to the given value.
Overall state of a cluster.
func (*ClusterBuilder) Status ¶ added in v0.0.329
func (b *ClusterBuilder) Status(value *ClusterStatusBuilder) *ClusterBuilder
Status sets the value of the 'status' attribute to the given value.
Detailed status of a cluster.
func (*ClusterBuilder) StorageQuota ¶
func (b *ClusterBuilder) StorageQuota(value *ValueBuilder) *ClusterBuilder
StorageQuota sets the value of the 'storage_quota' attribute to the given value.
Numeric value and the unit used to measure it.
Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:
- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes
- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes
func (*ClusterBuilder) Subscription ¶
func (b *ClusterBuilder) Subscription(value *SubscriptionBuilder) *ClusterBuilder
Subscription sets the value of the 'subscription' attribute to the given value.
Definition of a subscription.
func (*ClusterBuilder) UpgradeChannelGroup ¶ added in v0.1.152
func (b *ClusterBuilder) UpgradeChannelGroup(value string) *ClusterBuilder
UpgradeChannelGroup sets the value of the 'upgrade_channel_group' attribute to the given value.
func (*ClusterBuilder) Version ¶
func (b *ClusterBuilder) Version(value *VersionBuilder) *ClusterBuilder
Version sets the value of the 'version' attribute to the given value.
Representation of an _OpenShift_ version.
type ClusterClient ¶
type ClusterClient struct {
// contains filtered or unexported fields
}
ClusterClient is the client of the 'cluster' resource.
Manages a specific cluster.
func NewClusterClient ¶
func NewClusterClient(transport http.RoundTripper, path string, metric 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) AWSInfrastructureAccessRoleGrants ¶
func (c *ClusterClient) AWSInfrastructureAccessRoleGrants() *AWSInfrastructureAccessRoleGrantsClient
AWSInfrastructureAccessRoleGrants returns the target 'AWS_infrastructure_access_role_grants' resource.
Reference to the resource that manages the collection of AWS infrastructure access role grants on this cluster.
func (*ClusterClient) Addons ¶
func (c *ClusterClient) Addons() *AddOnInstallationsClient
Addons returns the target 'add_on_installations' resource.
Reference to the resource that manages the collection of add-ons installed on this cluster.
func (*ClusterClient) Credentials ¶
func (c *ClusterClient) Credentials() *CredentialsClient
Credentials returns the target 'credentials' resource.
Reference to the resource that manages the credentials of the cluster.
func (*ClusterClient) Delete ¶
func (c *ClusterClient) Delete() *ClusterDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the cluster.
func (*ClusterClient) ExternalConfiguration ¶
func (c *ClusterClient) ExternalConfiguration() *ExternalConfigurationClient
ExternalConfiguration returns the target 'external_configuration' resource.
Reference to the resource that manages the external configuration.
func (*ClusterClient) Get ¶
func (c *ClusterClient) Get() *ClusterGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the cluster.
func (*ClusterClient) Groups ¶
func (c *ClusterClient) Groups() *GroupsClient
Groups returns the target 'groups' resource.
Reference to the resource that manages the collection of groups.
func (*ClusterClient) Hibernate ¶ added in v0.0.329
func (c *ClusterClient) Hibernate() *ClusterHibernateRequest
Hibernate creates a request for the 'hibernate' method.
Initiates cluster hibernation. While hibernating a cluster will not consume any cloud provider infrastructure but will be counted for quota.
func (*ClusterClient) IdentityProviders ¶
func (c *ClusterClient) IdentityProviders() *IdentityProvidersClient
IdentityProviders returns the target 'identity_providers' resource.
Reference to the resource that manages the collection of identity providers.
func (*ClusterClient) Ingresses ¶
func (c *ClusterClient) Ingresses() *IngressesClient
Ingresses returns the target 'ingresses' resource.
Reference to the resource that manages the collection of ingress resources.
func (*ClusterClient) Logs ¶
func (c *ClusterClient) Logs() *LogsClient
Logs returns the target 'logs' resource.
Reference to the resource that manages the collection of logs of the cluster.
func (*ClusterClient) MachinePools ¶ added in v0.0.329
func (c *ClusterClient) MachinePools() *MachinePoolsClient
MachinePools returns the target 'machine_pools' resource.
Reference to the resource that manages the collection of machine pool resources.
func (*ClusterClient) MetricQueries ¶
func (c *ClusterClient) MetricQueries() *MetricQueriesClient
MetricQueries returns the target 'metric_queries' resource.
Reference to the resource that manages metrics queries for the cluster.
func (*ClusterClient) Poll ¶
func (c *ClusterClient) Poll() *ClusterPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*ClusterClient) Product ¶
func (c *ClusterClient) Product() *ProductClient
Product returns the target 'product' resource.
Reference to the resource that manages the product type of the cluster
func (*ClusterClient) ProvisionShard ¶
func (c *ClusterClient) ProvisionShard() *ProvisionShardClient
ProvisionShard returns the target 'provision_shard' resource.
Reference to the resource that manages the cluster's provision shard.
func (*ClusterClient) Resume ¶ added in v0.0.329
func (c *ClusterClient) Resume() *ClusterResumeRequest
Resume creates a request for the 'resume' method.
Resumes from Hibernation.
func (*ClusterClient) Status ¶
func (c *ClusterClient) Status() *ClusterStatusClient
Status returns the target 'cluster_status' resource.
Reference to the resource that manages the detailed status of the cluster.
func (*ClusterClient) Update ¶
func (c *ClusterClient) Update() *ClusterUpdateRequest
Update creates a request for the 'update' method.
Updates the cluster.
func (*ClusterClient) UpgradePolicies ¶ added in v0.0.329
func (c *ClusterClient) UpgradePolicies() *UpgradePoliciesClient
UpgradePolicies returns the target 'upgrade_policies' resource.
Reference to the resource that manages the collection of upgrade policies defined for this cluster.
type ClusterConsole ¶
type ClusterConsole struct {
// contains filtered or unexported fields
}
ClusterConsole represents the values of the 'cluster_console' type.
Information about the console of a cluster.
func UnmarshalClusterConsole ¶
func UnmarshalClusterConsole(source interface{}) (object *ClusterConsole, err error)
UnmarshalClusterConsole reads a value of the 'cluster_console' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterConsoleList ¶
func UnmarshalClusterConsoleList(source interface{}) (items []*ClusterConsole, err error)
UnmarshalClusterConsoleList reads a list of values of the 'cluster_console' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterConsole) Empty ¶
func (o *ClusterConsole) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterConsole) GetURL ¶
func (o *ClusterConsole) GetURL() (value string, ok bool)
GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.
The URL of the console of the cluster.
func (*ClusterConsole) URL ¶
func (o *ClusterConsole) URL() string
URL returns the value of the 'URL' attribute, or the zero value of the type if the attribute doesn't have a value.
The URL of the console of the cluster.
type ClusterConsoleBuilder ¶
type ClusterConsoleBuilder struct {
// contains filtered or unexported fields
}
ClusterConsoleBuilder contains the data and logic needed to build 'cluster_console' objects.
Information about the console of a cluster.
func NewClusterConsole ¶
func NewClusterConsole() *ClusterConsoleBuilder
NewClusterConsole creates a new builder of 'cluster_console' objects.
func (*ClusterConsoleBuilder) Build ¶
func (b *ClusterConsoleBuilder) Build() (object *ClusterConsole, err error)
Build creates a 'cluster_console' object using the configuration stored in the builder.
func (*ClusterConsoleBuilder) Copy ¶
func (b *ClusterConsoleBuilder) Copy(object *ClusterConsole) *ClusterConsoleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterConsoleBuilder) URL ¶
func (b *ClusterConsoleBuilder) URL(value string) *ClusterConsoleBuilder
URL sets the value of the 'URL' attribute to the given value.
type ClusterConsoleList ¶
type ClusterConsoleList struct {
// contains filtered or unexported fields
}
ClusterConsoleList is a list of values of the 'cluster_console' type.
func (*ClusterConsoleList) Each ¶
func (l *ClusterConsoleList) Each(f func(item *ClusterConsole) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterConsoleList) Empty ¶
func (l *ClusterConsoleList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterConsoleList) Get ¶
func (l *ClusterConsoleList) Get(i int) *ClusterConsole
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterConsoleList) Len ¶
func (l *ClusterConsoleList) Len() int
Len returns the length of the list.
func (*ClusterConsoleList) Range ¶
func (l *ClusterConsoleList) Range(f func(index int, item *ClusterConsole) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterConsoleList) Slice ¶
func (l *ClusterConsoleList) Slice() []*ClusterConsole
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterConsoleListBuilder ¶
type ClusterConsoleListBuilder struct {
// contains filtered or unexported fields
}
ClusterConsoleListBuilder contains the data and logic needed to build 'cluster_console' objects.
func NewClusterConsoleList ¶
func NewClusterConsoleList() *ClusterConsoleListBuilder
NewClusterConsoleList creates a new builder of 'cluster_console' objects.
func (*ClusterConsoleListBuilder) Build ¶
func (b *ClusterConsoleListBuilder) Build() (list *ClusterConsoleList, err error)
Build creates a list of 'cluster_console' objects using the configuration stored in the builder.
func (*ClusterConsoleListBuilder) Copy ¶
func (b *ClusterConsoleListBuilder) Copy(list *ClusterConsoleList) *ClusterConsoleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterConsoleListBuilder) Items ¶
func (b *ClusterConsoleListBuilder) Items(values ...*ClusterConsoleBuilder) *ClusterConsoleListBuilder
Items sets the items of the list.
type ClusterCredentials ¶
type ClusterCredentials struct {
// contains filtered or unexported fields
}
ClusterCredentials represents the values of the 'cluster_credentials' type.
Credentials of the a cluster.
func UnmarshalClusterCredentials ¶
func UnmarshalClusterCredentials(source interface{}) (object *ClusterCredentials, err error)
UnmarshalClusterCredentials reads a value of the 'cluster_credentials' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterCredentialsList ¶
func UnmarshalClusterCredentialsList(source interface{}) (items []*ClusterCredentials, err error)
UnmarshalClusterCredentialsList reads a list of values of the 'cluster_credentials' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterCredentials) Admin ¶
func (o *ClusterCredentials) Admin() *AdminCredentials
Admin returns the value of the 'admin' attribute, or the zero value of the type if the attribute doesn't have a value.
Temporary administrator credentials generated during the installation of the cluster.
func (*ClusterCredentials) Empty ¶
func (o *ClusterCredentials) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterCredentials) GetAdmin ¶
func (o *ClusterCredentials) GetAdmin() (value *AdminCredentials, ok bool)
GetAdmin returns the value of the 'admin' attribute and a flag indicating if the attribute has a value.
Temporary administrator credentials generated during the installation of the cluster.
func (*ClusterCredentials) GetHREF ¶
func (o *ClusterCredentials) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ClusterCredentials) GetID ¶
func (o *ClusterCredentials) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ClusterCredentials) GetKubeconfig ¶
func (o *ClusterCredentials) GetKubeconfig() (value string, ok bool)
GetKubeconfig returns the value of the 'kubeconfig' attribute and a flag indicating if the attribute has a value.
Administrator _kubeconfig_ file for the cluster.
func (*ClusterCredentials) GetSSH ¶
func (o *ClusterCredentials) GetSSH() (value *SSHCredentials, ok bool)
GetSSH returns the value of the 'SSH' attribute and a flag indicating if the attribute has a value.
SSH key pair of the cluster.
func (*ClusterCredentials) HREF ¶
func (o *ClusterCredentials) HREF() string
HREF returns the link to the object.
func (*ClusterCredentials) ID ¶
func (o *ClusterCredentials) ID() string
ID returns the identifier of the object.
func (*ClusterCredentials) Kind ¶
func (o *ClusterCredentials) Kind() string
Kind returns the name of the type of the object.
func (*ClusterCredentials) Kubeconfig ¶
func (o *ClusterCredentials) Kubeconfig() string
Kubeconfig returns the value of the 'kubeconfig' attribute, or the zero value of the type if the attribute doesn't have a value.
Administrator _kubeconfig_ file for the cluster.
func (*ClusterCredentials) Link ¶
func (o *ClusterCredentials) Link() bool
Link returns true iif this is a link.
func (*ClusterCredentials) SSH ¶
func (o *ClusterCredentials) SSH() *SSHCredentials
SSH returns the value of the 'SSH' attribute, or the zero value of the type if the attribute doesn't have a value.
SSH key pair of the cluster.
type ClusterCredentialsBuilder ¶
type ClusterCredentialsBuilder struct {
// contains filtered or unexported fields
}
ClusterCredentialsBuilder contains the data and logic needed to build 'cluster_credentials' objects.
Credentials of the a cluster.
func NewClusterCredentials ¶
func NewClusterCredentials() *ClusterCredentialsBuilder
NewClusterCredentials creates a new builder of 'cluster_credentials' objects.
func (*ClusterCredentialsBuilder) Admin ¶
func (b *ClusterCredentialsBuilder) Admin(value *AdminCredentialsBuilder) *ClusterCredentialsBuilder
Admin sets the value of the 'admin' attribute to the given value.
Temporary administrator credentials generated during the installation of the cluster.
func (*ClusterCredentialsBuilder) Build ¶
func (b *ClusterCredentialsBuilder) Build() (object *ClusterCredentials, err error)
Build creates a 'cluster_credentials' object using the configuration stored in the builder.
func (*ClusterCredentialsBuilder) Copy ¶
func (b *ClusterCredentialsBuilder) Copy(object *ClusterCredentials) *ClusterCredentialsBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterCredentialsBuilder) HREF ¶
func (b *ClusterCredentialsBuilder) HREF(value string) *ClusterCredentialsBuilder
HREF sets the link to the object.
func (*ClusterCredentialsBuilder) ID ¶
func (b *ClusterCredentialsBuilder) ID(value string) *ClusterCredentialsBuilder
ID sets the identifier of the object.
func (*ClusterCredentialsBuilder) Kubeconfig ¶
func (b *ClusterCredentialsBuilder) Kubeconfig(value string) *ClusterCredentialsBuilder
Kubeconfig sets the value of the 'kubeconfig' attribute to the given value.
func (*ClusterCredentialsBuilder) Link ¶
func (b *ClusterCredentialsBuilder) Link(value bool) *ClusterCredentialsBuilder
Link sets the flag that indicates if this is a link.
func (*ClusterCredentialsBuilder) SSH ¶
func (b *ClusterCredentialsBuilder) SSH(value *SSHCredentialsBuilder) *ClusterCredentialsBuilder
SSH sets the value of the 'SSH' attribute to the given value.
SSH key pair of a cluster.
type ClusterCredentialsList ¶
type ClusterCredentialsList struct {
// contains filtered or unexported fields
}
ClusterCredentialsList is a list of values of the 'cluster_credentials' type.
func (*ClusterCredentialsList) Each ¶
func (l *ClusterCredentialsList) Each(f func(item *ClusterCredentials) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterCredentialsList) Empty ¶
func (l *ClusterCredentialsList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterCredentialsList) Get ¶
func (l *ClusterCredentialsList) Get(i int) *ClusterCredentials
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterCredentialsList) GetHREF ¶
func (l *ClusterCredentialsList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ClusterCredentialsList) HREF ¶
func (l *ClusterCredentialsList) HREF() string
HREF returns the link to the list.
func (*ClusterCredentialsList) Kind ¶
func (l *ClusterCredentialsList) Kind() string
Kind returns the name of the type of the object.
func (*ClusterCredentialsList) Len ¶
func (l *ClusterCredentialsList) Len() int
Len returns the length of the list.
func (*ClusterCredentialsList) Link ¶
func (l *ClusterCredentialsList) Link() bool
Link returns true iif this is a link.
func (*ClusterCredentialsList) Range ¶
func (l *ClusterCredentialsList) Range(f func(index int, item *ClusterCredentials) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterCredentialsList) Slice ¶
func (l *ClusterCredentialsList) Slice() []*ClusterCredentials
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterCredentialsListBuilder ¶
type ClusterCredentialsListBuilder struct {
// contains filtered or unexported fields
}
ClusterCredentialsListBuilder contains the data and logic needed to build 'cluster_credentials' objects.
func NewClusterCredentialsList ¶
func NewClusterCredentialsList() *ClusterCredentialsListBuilder
NewClusterCredentialsList creates a new builder of 'cluster_credentials' objects.
func (*ClusterCredentialsListBuilder) Build ¶
func (b *ClusterCredentialsListBuilder) Build() (list *ClusterCredentialsList, err error)
Build creates a list of 'cluster_credentials' objects using the configuration stored in the builder.
func (*ClusterCredentialsListBuilder) Copy ¶
func (b *ClusterCredentialsListBuilder) Copy(list *ClusterCredentialsList) *ClusterCredentialsListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterCredentialsListBuilder) Items ¶
func (b *ClusterCredentialsListBuilder) Items(values ...*ClusterCredentialsBuilder) *ClusterCredentialsListBuilder
Items sets the items of the list.
type ClusterDeleteRequest ¶
type ClusterDeleteRequest struct {
// contains filtered or unexported fields
}
ClusterDeleteRequest is the request for the 'delete' method.
func (*ClusterDeleteRequest) Header ¶
func (r *ClusterDeleteRequest) Header(name string, value interface{}) *ClusterDeleteRequest
Header adds a request header.
func (*ClusterDeleteRequest) Parameter ¶
func (r *ClusterDeleteRequest) Parameter(name string, value interface{}) *ClusterDeleteRequest
Parameter adds a query parameter.
func (*ClusterDeleteRequest) Send ¶
func (r *ClusterDeleteRequest) Send() (result *ClusterDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ClusterDeleteRequest) SendContext ¶
func (r *ClusterDeleteRequest) SendContext(ctx context.Context) (result *ClusterDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ClusterDeleteResponse ¶
type ClusterDeleteResponse struct {
// contains filtered or unexported fields
}
ClusterDeleteResponse is the response for the 'delete' method.
func (*ClusterDeleteResponse) Error ¶
func (r *ClusterDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterDeleteResponse) Header ¶
func (r *ClusterDeleteResponse) Header() http.Header
Header returns header of the response.
func (*ClusterDeleteResponse) Status ¶
func (r *ClusterDeleteResponse) Status() int
Status returns the response status code.
type ClusterDeleteServerRequest ¶
type ClusterDeleteServerRequest struct { }
ClusterDeleteServerRequest is the request for the 'delete' method.
type ClusterDeleteServerResponse ¶
type ClusterDeleteServerResponse struct {
// contains filtered or unexported fields
}
ClusterDeleteServerResponse is the response for the 'delete' method.
func (*ClusterDeleteServerResponse) Status ¶
func (r *ClusterDeleteServerResponse) Status(value int) *ClusterDeleteServerResponse
Status sets the status code.
type ClusterGetRequest ¶
type ClusterGetRequest struct {
// contains filtered or unexported fields
}
ClusterGetRequest is the request for the 'get' method.
func (*ClusterGetRequest) Header ¶
func (r *ClusterGetRequest) Header(name string, value interface{}) *ClusterGetRequest
Header adds a request header.
func (*ClusterGetRequest) Parameter ¶
func (r *ClusterGetRequest) Parameter(name string, value interface{}) *ClusterGetRequest
Parameter adds a query parameter.
func (*ClusterGetRequest) Send ¶
func (r *ClusterGetRequest) Send() (result *ClusterGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ClusterGetRequest) SendContext ¶
func (r *ClusterGetRequest) SendContext(ctx context.Context) (result *ClusterGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ClusterGetResponse ¶
type ClusterGetResponse struct {
// contains filtered or unexported fields
}
ClusterGetResponse is the response for the 'get' method.
func (*ClusterGetResponse) Body ¶
func (r *ClusterGetResponse) Body() *Cluster
Body returns the value of the 'body' parameter.
func (*ClusterGetResponse) Error ¶
func (r *ClusterGetResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterGetResponse) GetBody ¶
func (r *ClusterGetResponse) GetBody() (value *Cluster, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ClusterGetResponse) Header ¶
func (r *ClusterGetResponse) Header() http.Header
Header returns header of the response.
func (*ClusterGetResponse) Status ¶
func (r *ClusterGetResponse) Status() int
Status returns the response status code.
type ClusterGetServerRequest ¶
type ClusterGetServerRequest struct { }
ClusterGetServerRequest is the request for the 'get' method.
type ClusterGetServerResponse ¶
type ClusterGetServerResponse struct {
// contains filtered or unexported fields
}
ClusterGetServerResponse is the response for the 'get' method.
func (*ClusterGetServerResponse) Body ¶
func (r *ClusterGetServerResponse) Body(value *Cluster) *ClusterGetServerResponse
Body sets the value of the 'body' parameter.
func (*ClusterGetServerResponse) Status ¶
func (r *ClusterGetServerResponse) Status(value int) *ClusterGetServerResponse
Status sets the status code.
type ClusterHealthState ¶
type ClusterHealthState string
ClusterHealthState represents the values of the 'cluster_health_state' enumerated type.
const ( // Cluster is Ready and healthy. ClusterHealthStateHealthy ClusterHealthState = "healthy" // Cluster is Ready and unhealthy. ClusterHealthStateUnhealthy ClusterHealthState = "unhealthy" // Cluster health is unknown. ClusterHealthStateUnknown ClusterHealthState = "unknown" )
func UnmarshalClusterHealthStateList ¶
func UnmarshalClusterHealthStateList(source interface{}) (items []ClusterHealthState, err error)
UnmarshalClusterHealthStateList reads a list of values of the 'cluster_health_state' type from the given source, which can be a slice of bytes, a string or a reader.
type ClusterHibernateRequest ¶ added in v0.0.329
type ClusterHibernateRequest struct {
// contains filtered or unexported fields
}
ClusterHibernateRequest is the request for the 'hibernate' method.
func (*ClusterHibernateRequest) Header ¶ added in v0.0.329
func (r *ClusterHibernateRequest) Header(name string, value interface{}) *ClusterHibernateRequest
Header adds a request header.
func (*ClusterHibernateRequest) Parameter ¶ added in v0.0.329
func (r *ClusterHibernateRequest) Parameter(name string, value interface{}) *ClusterHibernateRequest
Parameter adds a query parameter.
func (*ClusterHibernateRequest) Send ¶ added in v0.0.329
func (r *ClusterHibernateRequest) Send() (result *ClusterHibernateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ClusterHibernateRequest) SendContext ¶ added in v0.0.329
func (r *ClusterHibernateRequest) SendContext(ctx context.Context) (result *ClusterHibernateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ClusterHibernateResponse ¶ added in v0.0.329
type ClusterHibernateResponse struct {
// contains filtered or unexported fields
}
ClusterHibernateResponse is the response for the 'hibernate' method.
func (*ClusterHibernateResponse) Error ¶ added in v0.0.329
func (r *ClusterHibernateResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterHibernateResponse) Header ¶ added in v0.0.329
func (r *ClusterHibernateResponse) Header() http.Header
Header returns header of the response.
func (*ClusterHibernateResponse) Status ¶ added in v0.0.329
func (r *ClusterHibernateResponse) Status() int
Status returns the response status code.
type ClusterHibernateServerRequest ¶ added in v0.1.156
type ClusterHibernateServerRequest struct { }
ClusterHibernateServerRequest is the request for the 'hibernate' method.
type ClusterHibernateServerResponse ¶ added in v0.1.156
type ClusterHibernateServerResponse struct {
// contains filtered or unexported fields
}
ClusterHibernateServerResponse is the response for the 'hibernate' method.
func (*ClusterHibernateServerResponse) Status ¶ added in v0.1.156
func (r *ClusterHibernateServerResponse) Status(value int) *ClusterHibernateServerResponse
Status sets the status code.
type ClusterList ¶
type ClusterList struct {
// contains filtered or unexported fields
}
ClusterList is a list of values of the 'cluster' type.
func (*ClusterList) Each ¶
func (l *ClusterList) Each(f func(item *Cluster) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterList) Empty ¶
func (l *ClusterList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterList) Get ¶
func (l *ClusterList) Get(i int) *Cluster
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterList) GetHREF ¶
func (l *ClusterList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ClusterList) Kind ¶
func (l *ClusterList) Kind() string
Kind returns the name of the type of the object.
func (*ClusterList) Range ¶
func (l *ClusterList) Range(f func(index int, item *Cluster) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterList) Slice ¶
func (l *ClusterList) Slice() []*Cluster
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterListBuilder ¶
type ClusterListBuilder struct {
// contains filtered or unexported fields
}
ClusterListBuilder contains the data and logic needed to build 'cluster' objects.
func NewClusterList ¶
func NewClusterList() *ClusterListBuilder
NewClusterList creates a new builder of 'cluster' objects.
func (*ClusterListBuilder) Build ¶
func (b *ClusterListBuilder) Build() (list *ClusterList, err error)
Build creates a list of 'cluster' objects using the configuration stored in the builder.
func (*ClusterListBuilder) Copy ¶
func (b *ClusterListBuilder) Copy(list *ClusterList) *ClusterListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterListBuilder) Items ¶
func (b *ClusterListBuilder) Items(values ...*ClusterBuilder) *ClusterListBuilder
Items sets the items of the list.
type ClusterMetric ¶
type ClusterMetric struct {
// contains filtered or unexported fields
}
ClusterMetric represents the values of the 'cluster_metric' type.
Metric describing the total and used amount of some resource (like RAM, CPU and storage) in a cluster.
func UnmarshalClusterMetric ¶
func UnmarshalClusterMetric(source interface{}) (object *ClusterMetric, err error)
UnmarshalClusterMetric reads a value of the 'cluster_metric' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterMetricList ¶
func UnmarshalClusterMetricList(source interface{}) (items []*ClusterMetric, err error)
UnmarshalClusterMetricList reads a list of values of the 'cluster_metric' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterMetric) Empty ¶
func (o *ClusterMetric) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterMetric) GetTotal ¶
func (o *ClusterMetric) GetTotal() (value *Value, ok bool)
GetTotal returns the value of the 'total' attribute and a flag indicating if the attribute has a value.
Total amount of the resource that exists in the cluster. For example the total amount of RAM.
func (*ClusterMetric) GetUpdatedTimestamp ¶
func (o *ClusterMetric) 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.
Collection timestamp of the metric.
func (*ClusterMetric) GetUsed ¶
func (o *ClusterMetric) GetUsed() (value *Value, ok bool)
GetUsed returns the value of the 'used' attribute and a flag indicating if the attribute has a value.
Amount of the resource that is currently in use in the cluster. Fore example the amount of RAM in use.
func (*ClusterMetric) Total ¶
func (o *ClusterMetric) Total() *Value
Total returns the value of the 'total' attribute, or the zero value of the type if the attribute doesn't have a value.
Total amount of the resource that exists in the cluster. For example the total amount of RAM.
func (*ClusterMetric) UpdatedTimestamp ¶
func (o *ClusterMetric) 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.
Collection timestamp of the metric.
func (*ClusterMetric) Used ¶
func (o *ClusterMetric) Used() *Value
Used returns the value of the 'used' attribute, or the zero value of the type if the attribute doesn't have a value.
Amount of the resource that is currently in use in the cluster. Fore example the amount of RAM in use.
type ClusterMetricBuilder ¶
type ClusterMetricBuilder struct {
// contains filtered or unexported fields
}
ClusterMetricBuilder contains the data and logic needed to build 'cluster_metric' objects.
Metric describing the total and used amount of some resource (like RAM, CPU and storage) in a cluster.
func NewClusterMetric ¶
func NewClusterMetric() *ClusterMetricBuilder
NewClusterMetric creates a new builder of 'cluster_metric' objects.
func (*ClusterMetricBuilder) Build ¶
func (b *ClusterMetricBuilder) Build() (object *ClusterMetric, err error)
Build creates a 'cluster_metric' object using the configuration stored in the builder.
func (*ClusterMetricBuilder) Copy ¶
func (b *ClusterMetricBuilder) Copy(object *ClusterMetric) *ClusterMetricBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterMetricBuilder) Total ¶
func (b *ClusterMetricBuilder) Total(value *ValueBuilder) *ClusterMetricBuilder
Total sets the value of the 'total' attribute to the given value.
Numeric value and the unit used to measure it.
Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:
- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes
- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes
func (*ClusterMetricBuilder) UpdatedTimestamp ¶
func (b *ClusterMetricBuilder) UpdatedTimestamp(value time.Time) *ClusterMetricBuilder
UpdatedTimestamp sets the value of the 'updated_timestamp' attribute to the given value.
func (*ClusterMetricBuilder) Used ¶
func (b *ClusterMetricBuilder) Used(value *ValueBuilder) *ClusterMetricBuilder
Used sets the value of the 'used' attribute to the given value.
Numeric value and the unit used to measure it.
Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:
- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes
- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes
type ClusterMetricList ¶
type ClusterMetricList struct {
// contains filtered or unexported fields
}
ClusterMetricList is a list of values of the 'cluster_metric' type.
func (*ClusterMetricList) Each ¶
func (l *ClusterMetricList) Each(f func(item *ClusterMetric) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterMetricList) Empty ¶
func (l *ClusterMetricList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterMetricList) Get ¶
func (l *ClusterMetricList) Get(i int) *ClusterMetric
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterMetricList) Len ¶
func (l *ClusterMetricList) Len() int
Len returns the length of the list.
func (*ClusterMetricList) Range ¶
func (l *ClusterMetricList) Range(f func(index int, item *ClusterMetric) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterMetricList) Slice ¶
func (l *ClusterMetricList) Slice() []*ClusterMetric
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterMetricListBuilder ¶
type ClusterMetricListBuilder struct {
// contains filtered or unexported fields
}
ClusterMetricListBuilder contains the data and logic needed to build 'cluster_metric' objects.
func NewClusterMetricList ¶
func NewClusterMetricList() *ClusterMetricListBuilder
NewClusterMetricList creates a new builder of 'cluster_metric' objects.
func (*ClusterMetricListBuilder) Build ¶
func (b *ClusterMetricListBuilder) Build() (list *ClusterMetricList, err error)
Build creates a list of 'cluster_metric' objects using the configuration stored in the builder.
func (*ClusterMetricListBuilder) Copy ¶
func (b *ClusterMetricListBuilder) Copy(list *ClusterMetricList) *ClusterMetricListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterMetricListBuilder) Items ¶
func (b *ClusterMetricListBuilder) Items(values ...*ClusterMetricBuilder) *ClusterMetricListBuilder
Items sets the items of the list.
type ClusterMetrics ¶
type ClusterMetrics struct {
// contains filtered or unexported fields
}
ClusterMetrics represents the values of the 'cluster_metrics' type.
Cluster metrics received via telemetry.
func UnmarshalClusterMetrics ¶
func UnmarshalClusterMetrics(source interface{}) (object *ClusterMetrics, err error)
UnmarshalClusterMetrics reads a value of the 'cluster_metrics' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterMetricsList ¶
func UnmarshalClusterMetricsList(source interface{}) (items []*ClusterMetrics, err error)
UnmarshalClusterMetricsList reads a list of values of the 'cluster_metrics' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterMetrics) CPU ¶
func (o *ClusterMetrics) CPU() *ClusterMetric
CPU returns the value of the 'CPU' attribute, or the zero value of the type if the attribute doesn't have a value.
The amount of CPU provisioned and used in the cluster.
func (*ClusterMetrics) ComputeNodesCPU ¶
func (o *ClusterMetrics) ComputeNodesCPU() *ClusterMetric
ComputeNodesCPU returns the value of the 'compute_nodes_CPU' attribute, or the zero value of the type if the attribute doesn't have a value.
The amount of CPU provisioned and used in the cluster by compute nodes.
func (*ClusterMetrics) ComputeNodesMemory ¶
func (o *ClusterMetrics) ComputeNodesMemory() *ClusterMetric
ComputeNodesMemory returns the value of the 'compute_nodes_memory' attribute, or the zero value of the type if the attribute doesn't have a value.
The amount of memory provisioned and used in the cluster by compute nodes.
func (*ClusterMetrics) ComputeNodesSockets ¶
func (o *ClusterMetrics) ComputeNodesSockets() *ClusterMetric
ComputeNodesSockets returns the value of the 'compute_nodes_sockets' attribute, or the zero value of the type if the attribute doesn't have a value.
The amount of sockets provisioned and used in the cluster by compute nodes.
func (*ClusterMetrics) CriticalAlertsFiring ¶
func (o *ClusterMetrics) CriticalAlertsFiring() int
CriticalAlertsFiring returns the value of the 'critical_alerts_firing' attribute, or the zero value of the type if the attribute doesn't have a value.
CriticalAlertsFiring contains information about critical alerts firing.
func (*ClusterMetrics) Empty ¶
func (o *ClusterMetrics) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterMetrics) GetCPU ¶
func (o *ClusterMetrics) GetCPU() (value *ClusterMetric, ok bool)
GetCPU returns the value of the 'CPU' attribute and a flag indicating if the attribute has a value.
The amount of CPU provisioned and used in the cluster.
func (*ClusterMetrics) GetComputeNodesCPU ¶
func (o *ClusterMetrics) GetComputeNodesCPU() (value *ClusterMetric, ok bool)
GetComputeNodesCPU returns the value of the 'compute_nodes_CPU' attribute and a flag indicating if the attribute has a value.
The amount of CPU provisioned and used in the cluster by compute nodes.
func (*ClusterMetrics) GetComputeNodesMemory ¶
func (o *ClusterMetrics) GetComputeNodesMemory() (value *ClusterMetric, ok bool)
GetComputeNodesMemory returns the value of the 'compute_nodes_memory' attribute and a flag indicating if the attribute has a value.
The amount of memory provisioned and used in the cluster by compute nodes.
func (*ClusterMetrics) GetComputeNodesSockets ¶
func (o *ClusterMetrics) GetComputeNodesSockets() (value *ClusterMetric, ok bool)
GetComputeNodesSockets returns the value of the 'compute_nodes_sockets' attribute and a flag indicating if the attribute has a value.
The amount of sockets provisioned and used in the cluster by compute nodes.
func (*ClusterMetrics) GetCriticalAlertsFiring ¶
func (o *ClusterMetrics) GetCriticalAlertsFiring() (value int, ok bool)
GetCriticalAlertsFiring returns the value of the 'critical_alerts_firing' attribute and a flag indicating if the attribute has a value.
CriticalAlertsFiring contains information about critical alerts firing.
func (*ClusterMetrics) GetMemory ¶
func (o *ClusterMetrics) GetMemory() (value *ClusterMetric, ok bool)
GetMemory returns the value of the 'memory' attribute and a flag indicating if the attribute has a value.
The amount of memory provisioned and used in the cluster.
func (*ClusterMetrics) GetNodes ¶
func (o *ClusterMetrics) GetNodes() (value *ClusterNodes, ok bool)
GetNodes returns the value of the 'nodes' attribute and a flag indicating if the attribute has a value.
The number of nodes provisioned for the cluster.
func (*ClusterMetrics) GetOperatorsConditionFailing ¶
func (o *ClusterMetrics) GetOperatorsConditionFailing() (value int, ok bool)
GetOperatorsConditionFailing returns the value of the 'operators_condition_failing' attribute and a flag indicating if the attribute has a value.
OperatorsConditionFailing contains information about operator in failing condition in the cluster.
func (*ClusterMetrics) GetSockets ¶
func (o *ClusterMetrics) GetSockets() (value *ClusterMetric, ok bool)
GetSockets returns the value of the 'sockets' attribute and a flag indicating if the attribute has a value.
The amount of sockets provisioned and used in the cluster.
func (*ClusterMetrics) GetStorage ¶
func (o *ClusterMetrics) GetStorage() (value *ClusterMetric, ok bool)
GetStorage returns the value of the 'storage' attribute and a flag indicating if the attribute has a value.
The amount of storage provisioned and used in the cluster.
WARNING: This isn't currently populated.
func (*ClusterMetrics) Memory ¶
func (o *ClusterMetrics) Memory() *ClusterMetric
Memory returns the value of the 'memory' attribute, or the zero value of the type if the attribute doesn't have a value.
The amount of memory provisioned and used in the cluster.
func (*ClusterMetrics) Nodes ¶
func (o *ClusterMetrics) Nodes() *ClusterNodes
Nodes returns the value of the 'nodes' attribute, or the zero value of the type if the attribute doesn't have a value.
The number of nodes provisioned for the cluster.
func (*ClusterMetrics) OperatorsConditionFailing ¶
func (o *ClusterMetrics) OperatorsConditionFailing() int
OperatorsConditionFailing returns the value of the 'operators_condition_failing' attribute, or the zero value of the type if the attribute doesn't have a value.
OperatorsConditionFailing contains information about operator in failing condition in the cluster.
func (*ClusterMetrics) Sockets ¶
func (o *ClusterMetrics) Sockets() *ClusterMetric
Sockets returns the value of the 'sockets' attribute, or the zero value of the type if the attribute doesn't have a value.
The amount of sockets provisioned and used in the cluster.
func (*ClusterMetrics) Storage ¶
func (o *ClusterMetrics) Storage() *ClusterMetric
Storage returns the value of the 'storage' attribute, or the zero value of the type if the attribute doesn't have a value.
The amount of storage provisioned and used in the cluster.
WARNING: This isn't currently populated.
type ClusterMetricsBuilder ¶
type ClusterMetricsBuilder struct {
// contains filtered or unexported fields
}
ClusterMetricsBuilder contains the data and logic needed to build 'cluster_metrics' objects.
Cluster metrics received via telemetry.
func NewClusterMetrics ¶
func NewClusterMetrics() *ClusterMetricsBuilder
NewClusterMetrics creates a new builder of 'cluster_metrics' objects.
func (*ClusterMetricsBuilder) Build ¶
func (b *ClusterMetricsBuilder) Build() (object *ClusterMetrics, err error)
Build creates a 'cluster_metrics' object using the configuration stored in the builder.
func (*ClusterMetricsBuilder) CPU ¶
func (b *ClusterMetricsBuilder) CPU(value *ClusterMetricBuilder) *ClusterMetricsBuilder
CPU sets the value of the 'CPU' attribute to the given value.
Metric describing the total and used amount of some resource (like RAM, CPU and storage) in a cluster.
func (*ClusterMetricsBuilder) ComputeNodesCPU ¶
func (b *ClusterMetricsBuilder) ComputeNodesCPU(value *ClusterMetricBuilder) *ClusterMetricsBuilder
ComputeNodesCPU sets the value of the 'compute_nodes_CPU' attribute to the given value.
Metric describing the total and used amount of some resource (like RAM, CPU and storage) in a cluster.
func (*ClusterMetricsBuilder) ComputeNodesMemory ¶
func (b *ClusterMetricsBuilder) ComputeNodesMemory(value *ClusterMetricBuilder) *ClusterMetricsBuilder
ComputeNodesMemory sets the value of the 'compute_nodes_memory' attribute to the given value.
Metric describing the total and used amount of some resource (like RAM, CPU and storage) in a cluster.
func (*ClusterMetricsBuilder) ComputeNodesSockets ¶
func (b *ClusterMetricsBuilder) ComputeNodesSockets(value *ClusterMetricBuilder) *ClusterMetricsBuilder
ComputeNodesSockets sets the value of the 'compute_nodes_sockets' attribute to the given value.
Metric describing the total and used amount of some resource (like RAM, CPU and storage) in a cluster.
func (*ClusterMetricsBuilder) Copy ¶
func (b *ClusterMetricsBuilder) Copy(object *ClusterMetrics) *ClusterMetricsBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterMetricsBuilder) CriticalAlertsFiring ¶
func (b *ClusterMetricsBuilder) CriticalAlertsFiring(value int) *ClusterMetricsBuilder
CriticalAlertsFiring sets the value of the 'critical_alerts_firing' attribute to the given value.
func (*ClusterMetricsBuilder) Memory ¶
func (b *ClusterMetricsBuilder) Memory(value *ClusterMetricBuilder) *ClusterMetricsBuilder
Memory sets the value of the 'memory' attribute to the given value.
Metric describing the total and used amount of some resource (like RAM, CPU and storage) in a cluster.
func (*ClusterMetricsBuilder) Nodes ¶
func (b *ClusterMetricsBuilder) Nodes(value *ClusterNodesBuilder) *ClusterMetricsBuilder
Nodes sets the value of the 'nodes' attribute to the given value.
Counts of different classes of nodes inside a cluster.
func (*ClusterMetricsBuilder) OperatorsConditionFailing ¶
func (b *ClusterMetricsBuilder) OperatorsConditionFailing(value int) *ClusterMetricsBuilder
OperatorsConditionFailing sets the value of the 'operators_condition_failing' attribute to the given value.
func (*ClusterMetricsBuilder) Sockets ¶
func (b *ClusterMetricsBuilder) Sockets(value *ClusterMetricBuilder) *ClusterMetricsBuilder
Sockets sets the value of the 'sockets' attribute to the given value.
Metric describing the total and used amount of some resource (like RAM, CPU and storage) in a cluster.
func (*ClusterMetricsBuilder) Storage ¶
func (b *ClusterMetricsBuilder) Storage(value *ClusterMetricBuilder) *ClusterMetricsBuilder
Storage sets the value of the 'storage' attribute to the given value.
Metric describing the total and used amount of some resource (like RAM, CPU and storage) in a cluster.
type ClusterMetricsList ¶
type ClusterMetricsList struct {
// contains filtered or unexported fields
}
ClusterMetricsList is a list of values of the 'cluster_metrics' type.
func (*ClusterMetricsList) Each ¶
func (l *ClusterMetricsList) Each(f func(item *ClusterMetrics) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterMetricsList) Empty ¶
func (l *ClusterMetricsList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterMetricsList) Get ¶
func (l *ClusterMetricsList) Get(i int) *ClusterMetrics
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterMetricsList) Len ¶
func (l *ClusterMetricsList) Len() int
Len returns the length of the list.
func (*ClusterMetricsList) Range ¶
func (l *ClusterMetricsList) Range(f func(index int, item *ClusterMetrics) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterMetricsList) Slice ¶
func (l *ClusterMetricsList) Slice() []*ClusterMetrics
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterMetricsListBuilder ¶
type ClusterMetricsListBuilder struct {
// contains filtered or unexported fields
}
ClusterMetricsListBuilder contains the data and logic needed to build 'cluster_metrics' objects.
func NewClusterMetricsList ¶
func NewClusterMetricsList() *ClusterMetricsListBuilder
NewClusterMetricsList creates a new builder of 'cluster_metrics' objects.
func (*ClusterMetricsListBuilder) Build ¶
func (b *ClusterMetricsListBuilder) Build() (list *ClusterMetricsList, err error)
Build creates a list of 'cluster_metrics' objects using the configuration stored in the builder.
func (*ClusterMetricsListBuilder) Copy ¶
func (b *ClusterMetricsListBuilder) Copy(list *ClusterMetricsList) *ClusterMetricsListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterMetricsListBuilder) Items ¶
func (b *ClusterMetricsListBuilder) Items(values ...*ClusterMetricsBuilder) *ClusterMetricsListBuilder
Items sets the items of the list.
type ClusterNodes ¶
type ClusterNodes struct {
// contains filtered or unexported fields
}
ClusterNodes represents the values of the 'cluster_nodes' type.
Counts of different classes of nodes inside a cluster.
func UnmarshalClusterNodes ¶
func UnmarshalClusterNodes(source interface{}) (object *ClusterNodes, err error)
UnmarshalClusterNodes reads a value of the 'cluster_nodes' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterNodesList ¶
func UnmarshalClusterNodesList(source interface{}) (items []*ClusterNodes, err error)
UnmarshalClusterNodesList reads a list of values of the 'cluster_nodes' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterNodes) AutoscaleCompute ¶ added in v0.0.329
func (o *ClusterNodes) AutoscaleCompute() *MachinePoolAutoscaling
AutoscaleCompute returns the value of the 'autoscale_compute' attribute, or the zero value of the type if the attribute doesn't have a value.
Details for auto-scaling the compute machine pool. Compute and AutoscaleCompute cannot be used together.
func (*ClusterNodes) AvailabilityZones ¶ added in v0.0.329
func (o *ClusterNodes) AvailabilityZones() []string
AvailabilityZones returns the value of the 'availability_zones' attribute, or the zero value of the type if the attribute doesn't have a value.
The availability zones upon which the nodes are created.
func (*ClusterNodes) Compute ¶
func (o *ClusterNodes) Compute() int
Compute returns the value of the 'compute' attribute, or the zero value of the type if the attribute doesn't have a value.
Number of compute nodes of the cluster. Compute and AutoscaleCompute cannot be used together.
func (*ClusterNodes) ComputeLabels ¶ added in v0.0.329
func (o *ClusterNodes) ComputeLabels() map[string]string
ComputeLabels returns the value of the 'compute_labels' attribute, or the zero value of the type if the attribute doesn't have a value.
The labels set on the "default" compute machine pool.
func (*ClusterNodes) ComputeMachineType ¶
func (o *ClusterNodes) ComputeMachineType() *MachineType
ComputeMachineType returns the value of the 'compute_machine_type' attribute, or the zero value of the type if the attribute doesn't have a value.
The compute machine type to use, for example `r5.xlarge`.
func (*ClusterNodes) Empty ¶
func (o *ClusterNodes) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterNodes) GetAutoscaleCompute ¶ added in v0.0.329
func (o *ClusterNodes) GetAutoscaleCompute() (value *MachinePoolAutoscaling, ok bool)
GetAutoscaleCompute returns the value of the 'autoscale_compute' attribute and a flag indicating if the attribute has a value.
Details for auto-scaling the compute machine pool. Compute and AutoscaleCompute cannot be used together.
func (*ClusterNodes) GetAvailabilityZones ¶ added in v0.0.329
func (o *ClusterNodes) GetAvailabilityZones() (value []string, ok bool)
GetAvailabilityZones returns the value of the 'availability_zones' attribute and a flag indicating if the attribute has a value.
The availability zones upon which the nodes are created.
func (*ClusterNodes) GetCompute ¶
func (o *ClusterNodes) GetCompute() (value int, ok bool)
GetCompute returns the value of the 'compute' attribute and a flag indicating if the attribute has a value.
Number of compute nodes of the cluster. Compute and AutoscaleCompute cannot be used together.
func (*ClusterNodes) GetComputeLabels ¶ added in v0.0.329
func (o *ClusterNodes) GetComputeLabels() (value map[string]string, ok bool)
GetComputeLabels returns the value of the 'compute_labels' attribute and a flag indicating if the attribute has a value.
The labels set on the "default" compute machine pool.
func (*ClusterNodes) GetComputeMachineType ¶
func (o *ClusterNodes) GetComputeMachineType() (value *MachineType, ok bool)
GetComputeMachineType returns the value of the 'compute_machine_type' attribute and a flag indicating if the attribute has a value.
The compute machine type to use, for example `r5.xlarge`.
func (*ClusterNodes) GetInfra ¶
func (o *ClusterNodes) GetInfra() (value int, ok bool)
GetInfra returns the value of the 'infra' attribute and a flag indicating if the attribute has a value.
Number of infrastructure nodes of the cluster.
func (*ClusterNodes) GetMaster ¶
func (o *ClusterNodes) GetMaster() (value int, ok bool)
GetMaster returns the value of the 'master' attribute and a flag indicating if the attribute has a value.
Number of master nodes of the cluster.
func (*ClusterNodes) GetTotal ¶
func (o *ClusterNodes) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' attribute and a flag indicating if the attribute has a value.
Total number of nodes of the cluster.
func (*ClusterNodes) Infra ¶
func (o *ClusterNodes) Infra() int
Infra returns the value of the 'infra' attribute, or the zero value of the type if the attribute doesn't have a value.
Number of infrastructure nodes of the cluster.
func (*ClusterNodes) Master ¶
func (o *ClusterNodes) Master() int
Master returns the value of the 'master' attribute, or the zero value of the type if the attribute doesn't have a value.
Number of master nodes of the cluster.
func (*ClusterNodes) Total ¶
func (o *ClusterNodes) Total() int
Total returns the value of the 'total' attribute, or the zero value of the type if the attribute doesn't have a value.
Total number of nodes of the cluster.
type ClusterNodesBuilder ¶
type ClusterNodesBuilder struct {
// contains filtered or unexported fields
}
ClusterNodesBuilder contains the data and logic needed to build 'cluster_nodes' objects.
Counts of different classes of nodes inside a cluster.
func NewClusterNodes ¶
func NewClusterNodes() *ClusterNodesBuilder
NewClusterNodes creates a new builder of 'cluster_nodes' objects.
func (*ClusterNodesBuilder) AutoscaleCompute ¶ added in v0.0.329
func (b *ClusterNodesBuilder) AutoscaleCompute(value *MachinePoolAutoscalingBuilder) *ClusterNodesBuilder
AutoscaleCompute sets the value of the 'autoscale_compute' attribute to the given value.
Representation of a autoscaling in a machine pool.
func (*ClusterNodesBuilder) AvailabilityZones ¶ added in v0.0.329
func (b *ClusterNodesBuilder) AvailabilityZones(values ...string) *ClusterNodesBuilder
AvailabilityZones sets the value of the 'availability_zones' attribute to the given values.
func (*ClusterNodesBuilder) Build ¶
func (b *ClusterNodesBuilder) Build() (object *ClusterNodes, err error)
Build creates a 'cluster_nodes' object using the configuration stored in the builder.
func (*ClusterNodesBuilder) Compute ¶
func (b *ClusterNodesBuilder) Compute(value int) *ClusterNodesBuilder
Compute sets the value of the 'compute' attribute to the given value.
func (*ClusterNodesBuilder) ComputeLabels ¶ added in v0.0.329
func (b *ClusterNodesBuilder) ComputeLabels(value map[string]string) *ClusterNodesBuilder
ComputeLabels sets the value of the 'compute_labels' attribute to the given value.
func (*ClusterNodesBuilder) ComputeMachineType ¶
func (b *ClusterNodesBuilder) ComputeMachineType(value *MachineTypeBuilder) *ClusterNodesBuilder
ComputeMachineType sets the value of the 'compute_machine_type' attribute to the given value.
Machine type.
func (*ClusterNodesBuilder) Copy ¶
func (b *ClusterNodesBuilder) Copy(object *ClusterNodes) *ClusterNodesBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterNodesBuilder) Infra ¶
func (b *ClusterNodesBuilder) Infra(value int) *ClusterNodesBuilder
Infra sets the value of the 'infra' attribute to the given value.
func (*ClusterNodesBuilder) Master ¶
func (b *ClusterNodesBuilder) Master(value int) *ClusterNodesBuilder
Master sets the value of the 'master' attribute to the given value.
func (*ClusterNodesBuilder) Total ¶
func (b *ClusterNodesBuilder) Total(value int) *ClusterNodesBuilder
Total sets the value of the 'total' attribute to the given value.
type ClusterNodesList ¶
type ClusterNodesList struct {
// contains filtered or unexported fields
}
ClusterNodesList is a list of values of the 'cluster_nodes' type.
func (*ClusterNodesList) Each ¶
func (l *ClusterNodesList) Each(f func(item *ClusterNodes) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterNodesList) Empty ¶
func (l *ClusterNodesList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterNodesList) Get ¶
func (l *ClusterNodesList) Get(i int) *ClusterNodes
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterNodesList) Len ¶
func (l *ClusterNodesList) Len() int
Len returns the length of the list.
func (*ClusterNodesList) Range ¶
func (l *ClusterNodesList) Range(f func(index int, item *ClusterNodes) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterNodesList) Slice ¶
func (l *ClusterNodesList) Slice() []*ClusterNodes
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterNodesListBuilder ¶
type ClusterNodesListBuilder struct {
// contains filtered or unexported fields
}
ClusterNodesListBuilder contains the data and logic needed to build 'cluster_nodes' objects.
func NewClusterNodesList ¶
func NewClusterNodesList() *ClusterNodesListBuilder
NewClusterNodesList creates a new builder of 'cluster_nodes' objects.
func (*ClusterNodesListBuilder) Build ¶
func (b *ClusterNodesListBuilder) Build() (list *ClusterNodesList, err error)
Build creates a list of 'cluster_nodes' objects using the configuration stored in the builder.
func (*ClusterNodesListBuilder) Copy ¶
func (b *ClusterNodesListBuilder) Copy(list *ClusterNodesList) *ClusterNodesListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterNodesListBuilder) Items ¶
func (b *ClusterNodesListBuilder) Items(values ...*ClusterNodesBuilder) *ClusterNodesListBuilder
Items sets the items of the list.
type ClusterOperatorInfo ¶
type ClusterOperatorInfo struct {
// contains filtered or unexported fields
}
ClusterOperatorInfo represents the values of the 'cluster_operator_info' type.
func UnmarshalClusterOperatorInfo ¶
func UnmarshalClusterOperatorInfo(source interface{}) (object *ClusterOperatorInfo, err error)
UnmarshalClusterOperatorInfo reads a value of the 'cluster_operator_info' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterOperatorInfoList ¶
func UnmarshalClusterOperatorInfoList(source interface{}) (items []*ClusterOperatorInfo, err error)
UnmarshalClusterOperatorInfoList reads a list of values of the 'cluster_operator_info' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterOperatorInfo) Condition ¶
func (o *ClusterOperatorInfo) Condition() ClusterOperatorState
Condition returns the value of the 'condition' attribute, or the zero value of the type if the attribute doesn't have a value.
Operator status. Empty string if unknown.
func (*ClusterOperatorInfo) Empty ¶
func (o *ClusterOperatorInfo) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterOperatorInfo) GetCondition ¶
func (o *ClusterOperatorInfo) GetCondition() (value ClusterOperatorState, ok bool)
GetCondition returns the value of the 'condition' attribute and a flag indicating if the attribute has a value.
Operator status. Empty string if unknown.
func (*ClusterOperatorInfo) GetName ¶
func (o *ClusterOperatorInfo) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the operator.
func (*ClusterOperatorInfo) GetReason ¶
func (o *ClusterOperatorInfo) GetReason() (value string, ok bool)
GetReason returns the value of the 'reason' attribute and a flag indicating if the attribute has a value.
Extra detail on condition, if available. Empty string if unknown.
func (*ClusterOperatorInfo) GetTime ¶
func (o *ClusterOperatorInfo) GetTime() (value time.Time, ok bool)
GetTime returns the value of the 'time' attribute and a flag indicating if the attribute has a value.
Time when the sample was obtained, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
func (*ClusterOperatorInfo) GetVersion ¶
func (o *ClusterOperatorInfo) GetVersion() (value string, ok bool)
GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.
Current version of the operator. Empty string if unknown.
func (*ClusterOperatorInfo) Name ¶
func (o *ClusterOperatorInfo) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the operator.
func (*ClusterOperatorInfo) Reason ¶
func (o *ClusterOperatorInfo) Reason() string
Reason returns the value of the 'reason' attribute, or the zero value of the type if the attribute doesn't have a value.
Extra detail on condition, if available. Empty string if unknown.
func (*ClusterOperatorInfo) Time ¶
func (o *ClusterOperatorInfo) Time() time.Time
Time returns the value of the 'time' attribute, or the zero value of the type if the attribute doesn't have a value.
Time when the sample was obtained, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
func (*ClusterOperatorInfo) Version ¶
func (o *ClusterOperatorInfo) Version() string
Version returns the value of the 'version' attribute, or the zero value of the type if the attribute doesn't have a value.
Current version of the operator. Empty string if unknown.
type ClusterOperatorInfoBuilder ¶
type ClusterOperatorInfoBuilder struct {
// contains filtered or unexported fields
}
ClusterOperatorInfoBuilder contains the data and logic needed to build 'cluster_operator_info' objects.
func NewClusterOperatorInfo ¶
func NewClusterOperatorInfo() *ClusterOperatorInfoBuilder
NewClusterOperatorInfo creates a new builder of 'cluster_operator_info' objects.
func (*ClusterOperatorInfoBuilder) Build ¶
func (b *ClusterOperatorInfoBuilder) Build() (object *ClusterOperatorInfo, err error)
Build creates a 'cluster_operator_info' object using the configuration stored in the builder.
func (*ClusterOperatorInfoBuilder) Condition ¶
func (b *ClusterOperatorInfoBuilder) Condition(value ClusterOperatorState) *ClusterOperatorInfoBuilder
Condition sets the value of the 'condition' attribute to the given value.
Overall state of a cluster operator.
func (*ClusterOperatorInfoBuilder) Copy ¶
func (b *ClusterOperatorInfoBuilder) Copy(object *ClusterOperatorInfo) *ClusterOperatorInfoBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterOperatorInfoBuilder) Name ¶
func (b *ClusterOperatorInfoBuilder) Name(value string) *ClusterOperatorInfoBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ClusterOperatorInfoBuilder) Reason ¶
func (b *ClusterOperatorInfoBuilder) Reason(value string) *ClusterOperatorInfoBuilder
Reason sets the value of the 'reason' attribute to the given value.
func (*ClusterOperatorInfoBuilder) Time ¶
func (b *ClusterOperatorInfoBuilder) Time(value time.Time) *ClusterOperatorInfoBuilder
Time sets the value of the 'time' attribute to the given value.
func (*ClusterOperatorInfoBuilder) Version ¶
func (b *ClusterOperatorInfoBuilder) Version(value string) *ClusterOperatorInfoBuilder
Version sets the value of the 'version' attribute to the given value.
type ClusterOperatorInfoList ¶
type ClusterOperatorInfoList struct {
// contains filtered or unexported fields
}
ClusterOperatorInfoList is a list of values of the 'cluster_operator_info' type.
func (*ClusterOperatorInfoList) Each ¶
func (l *ClusterOperatorInfoList) Each(f func(item *ClusterOperatorInfo) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterOperatorInfoList) Empty ¶
func (l *ClusterOperatorInfoList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterOperatorInfoList) Get ¶
func (l *ClusterOperatorInfoList) Get(i int) *ClusterOperatorInfo
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterOperatorInfoList) Len ¶
func (l *ClusterOperatorInfoList) Len() int
Len returns the length of the list.
func (*ClusterOperatorInfoList) Range ¶
func (l *ClusterOperatorInfoList) Range(f func(index int, item *ClusterOperatorInfo) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterOperatorInfoList) Slice ¶
func (l *ClusterOperatorInfoList) Slice() []*ClusterOperatorInfo
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterOperatorInfoListBuilder ¶
type ClusterOperatorInfoListBuilder struct {
// contains filtered or unexported fields
}
ClusterOperatorInfoListBuilder contains the data and logic needed to build 'cluster_operator_info' objects.
func NewClusterOperatorInfoList ¶
func NewClusterOperatorInfoList() *ClusterOperatorInfoListBuilder
NewClusterOperatorInfoList creates a new builder of 'cluster_operator_info' objects.
func (*ClusterOperatorInfoListBuilder) Build ¶
func (b *ClusterOperatorInfoListBuilder) Build() (list *ClusterOperatorInfoList, err error)
Build creates a list of 'cluster_operator_info' objects using the configuration stored in the builder.
func (*ClusterOperatorInfoListBuilder) Copy ¶
func (b *ClusterOperatorInfoListBuilder) Copy(list *ClusterOperatorInfoList) *ClusterOperatorInfoListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterOperatorInfoListBuilder) Items ¶
func (b *ClusterOperatorInfoListBuilder) Items(values ...*ClusterOperatorInfoBuilder) *ClusterOperatorInfoListBuilder
Items sets the items of the list.
type ClusterOperatorState ¶
type ClusterOperatorState string
ClusterOperatorState represents the values of the 'cluster_operator_state' enumerated type.
const ( // Operator is working normally. ClusterOperatorStateAvailable ClusterOperatorState = "available" // Operator is partially working, there is an issue. ClusterOperatorStateDegraded ClusterOperatorState = "degraded" // Operator is not running or not working. ClusterOperatorStateFailing ClusterOperatorState = "failing" // Operator is upgrading to newer version, possibly degraded until upgrade completes. ClusterOperatorStateUpgrading ClusterOperatorState = "upgrading" )
func UnmarshalClusterOperatorStateList ¶
func UnmarshalClusterOperatorStateList(source interface{}) (items []ClusterOperatorState, err error)
UnmarshalClusterOperatorStateList reads a list of values of the 'cluster_operator_state' type from the given source, which can be a slice of bytes, a string or a reader.
type ClusterOperatorsInfo ¶
type ClusterOperatorsInfo struct {
// contains filtered or unexported fields
}
ClusterOperatorsInfo represents the values of the 'cluster_operators_info' type.
Provides detailed information about the operators installed on the cluster.
func UnmarshalClusterOperatorsInfo ¶
func UnmarshalClusterOperatorsInfo(source interface{}) (object *ClusterOperatorsInfo, err error)
UnmarshalClusterOperatorsInfo reads a value of the 'cluster_operators_info' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterOperatorsInfoList ¶
func UnmarshalClusterOperatorsInfoList(source interface{}) (items []*ClusterOperatorsInfo, err error)
UnmarshalClusterOperatorsInfoList reads a list of values of the 'cluster_operators_info' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterOperatorsInfo) Empty ¶
func (o *ClusterOperatorsInfo) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterOperatorsInfo) GetOperators ¶
func (o *ClusterOperatorsInfo) GetOperators() (value []*ClusterOperatorInfo, ok bool)
GetOperators returns the value of the 'operators' attribute and a flag indicating if the attribute has a value.
func (*ClusterOperatorsInfo) Operators ¶
func (o *ClusterOperatorsInfo) Operators() []*ClusterOperatorInfo
Operators returns the value of the 'operators' attribute, or the zero value of the type if the attribute doesn't have a value.
type ClusterOperatorsInfoBuilder ¶
type ClusterOperatorsInfoBuilder struct {
// contains filtered or unexported fields
}
ClusterOperatorsInfoBuilder contains the data and logic needed to build 'cluster_operators_info' objects.
Provides detailed information about the operators installed on the cluster.
func NewClusterOperatorsInfo ¶
func NewClusterOperatorsInfo() *ClusterOperatorsInfoBuilder
NewClusterOperatorsInfo creates a new builder of 'cluster_operators_info' objects.
func (*ClusterOperatorsInfoBuilder) Build ¶
func (b *ClusterOperatorsInfoBuilder) Build() (object *ClusterOperatorsInfo, err error)
Build creates a 'cluster_operators_info' object using the configuration stored in the builder.
func (*ClusterOperatorsInfoBuilder) Copy ¶
func (b *ClusterOperatorsInfoBuilder) Copy(object *ClusterOperatorsInfo) *ClusterOperatorsInfoBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterOperatorsInfoBuilder) Operators ¶
func (b *ClusterOperatorsInfoBuilder) Operators(values ...*ClusterOperatorInfoBuilder) *ClusterOperatorsInfoBuilder
Operators sets the value of the 'operators' attribute to the given values.
type ClusterOperatorsInfoList ¶
type ClusterOperatorsInfoList struct {
// contains filtered or unexported fields
}
ClusterOperatorsInfoList is a list of values of the 'cluster_operators_info' type.
func (*ClusterOperatorsInfoList) Each ¶
func (l *ClusterOperatorsInfoList) Each(f func(item *ClusterOperatorsInfo) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterOperatorsInfoList) Empty ¶
func (l *ClusterOperatorsInfoList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterOperatorsInfoList) Get ¶
func (l *ClusterOperatorsInfoList) Get(i int) *ClusterOperatorsInfo
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterOperatorsInfoList) Len ¶
func (l *ClusterOperatorsInfoList) Len() int
Len returns the length of the list.
func (*ClusterOperatorsInfoList) Range ¶
func (l *ClusterOperatorsInfoList) Range(f func(index int, item *ClusterOperatorsInfo) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterOperatorsInfoList) Slice ¶
func (l *ClusterOperatorsInfoList) Slice() []*ClusterOperatorsInfo
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterOperatorsInfoListBuilder ¶
type ClusterOperatorsInfoListBuilder struct {
// contains filtered or unexported fields
}
ClusterOperatorsInfoListBuilder contains the data and logic needed to build 'cluster_operators_info' objects.
func NewClusterOperatorsInfoList ¶
func NewClusterOperatorsInfoList() *ClusterOperatorsInfoListBuilder
NewClusterOperatorsInfoList creates a new builder of 'cluster_operators_info' objects.
func (*ClusterOperatorsInfoListBuilder) Build ¶
func (b *ClusterOperatorsInfoListBuilder) Build() (list *ClusterOperatorsInfoList, err error)
Build creates a list of 'cluster_operators_info' objects using the configuration stored in the builder.
func (*ClusterOperatorsInfoListBuilder) Copy ¶
func (b *ClusterOperatorsInfoListBuilder) Copy(list *ClusterOperatorsInfoList) *ClusterOperatorsInfoListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterOperatorsInfoListBuilder) Items ¶
func (b *ClusterOperatorsInfoListBuilder) Items(values ...*ClusterOperatorsInfoBuilder) *ClusterOperatorsInfoListBuilder
Items sets the items of the list.
type ClusterOperatorsMetricQueryClient ¶
type ClusterOperatorsMetricQueryClient struct {
// contains filtered or unexported fields
}
ClusterOperatorsMetricQueryClient is the client of the 'cluster_operators_metric_query' resource.
Provides detailed information about the Metrics of the Cluster
func NewClusterOperatorsMetricQueryClient ¶
func NewClusterOperatorsMetricQueryClient(transport http.RoundTripper, path string, metric string) *ClusterOperatorsMetricQueryClient
NewClusterOperatorsMetricQueryClient creates a new client for the 'cluster_operators_metric_query' resource using the given transport to send the requests and receive the responses.
func (*ClusterOperatorsMetricQueryClient) Get ¶
func (c *ClusterOperatorsMetricQueryClient) Get() *ClusterOperatorsMetricQueryGetRequest
Get creates a request for the 'get' method.
func (*ClusterOperatorsMetricQueryClient) Poll ¶
func (c *ClusterOperatorsMetricQueryClient) Poll() *ClusterOperatorsMetricQueryPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type ClusterOperatorsMetricQueryGetRequest ¶
type ClusterOperatorsMetricQueryGetRequest struct {
// contains filtered or unexported fields
}
ClusterOperatorsMetricQueryGetRequest is the request for the 'get' method.
func (*ClusterOperatorsMetricQueryGetRequest) Header ¶
func (r *ClusterOperatorsMetricQueryGetRequest) Header(name string, value interface{}) *ClusterOperatorsMetricQueryGetRequest
Header adds a request header.
func (*ClusterOperatorsMetricQueryGetRequest) Parameter ¶
func (r *ClusterOperatorsMetricQueryGetRequest) Parameter(name string, value interface{}) *ClusterOperatorsMetricQueryGetRequest
Parameter adds a query parameter.
func (*ClusterOperatorsMetricQueryGetRequest) Send ¶
func (r *ClusterOperatorsMetricQueryGetRequest) Send() (result *ClusterOperatorsMetricQueryGetResponse, 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 (*ClusterOperatorsMetricQueryGetRequest) SendContext ¶
func (r *ClusterOperatorsMetricQueryGetRequest) SendContext(ctx context.Context) (result *ClusterOperatorsMetricQueryGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ClusterOperatorsMetricQueryGetResponse ¶
type ClusterOperatorsMetricQueryGetResponse struct {
// contains filtered or unexported fields
}
ClusterOperatorsMetricQueryGetResponse is the response for the 'get' method.
func (*ClusterOperatorsMetricQueryGetResponse) Body ¶
func (r *ClusterOperatorsMetricQueryGetResponse) Body() *ClusterOperatorsInfo
Body returns the value of the 'body' parameter.
func (*ClusterOperatorsMetricQueryGetResponse) Error ¶
func (r *ClusterOperatorsMetricQueryGetResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterOperatorsMetricQueryGetResponse) GetBody ¶
func (r *ClusterOperatorsMetricQueryGetResponse) GetBody() (value *ClusterOperatorsInfo, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ClusterOperatorsMetricQueryGetResponse) Header ¶
func (r *ClusterOperatorsMetricQueryGetResponse) Header() http.Header
Header returns header of the response.
func (*ClusterOperatorsMetricQueryGetResponse) Status ¶
func (r *ClusterOperatorsMetricQueryGetResponse) Status() int
Status returns the response status code.
type ClusterOperatorsMetricQueryGetServerRequest ¶
type ClusterOperatorsMetricQueryGetServerRequest struct { }
ClusterOperatorsMetricQueryGetServerRequest is the request for the 'get' method.
type ClusterOperatorsMetricQueryGetServerResponse ¶
type ClusterOperatorsMetricQueryGetServerResponse struct {
// contains filtered or unexported fields
}
ClusterOperatorsMetricQueryGetServerResponse is the response for the 'get' method.
func (*ClusterOperatorsMetricQueryGetServerResponse) Body ¶
func (r *ClusterOperatorsMetricQueryGetServerResponse) Body(value *ClusterOperatorsInfo) *ClusterOperatorsMetricQueryGetServerResponse
Body sets the value of the 'body' parameter.
func (*ClusterOperatorsMetricQueryGetServerResponse) Status ¶
func (r *ClusterOperatorsMetricQueryGetServerResponse) Status(value int) *ClusterOperatorsMetricQueryGetServerResponse
Status sets the status code.
type ClusterOperatorsMetricQueryPollRequest ¶
type ClusterOperatorsMetricQueryPollRequest struct {
// contains filtered or unexported fields
}
ClusterOperatorsMetricQueryPollRequest is the request for the Poll method.
func (*ClusterOperatorsMetricQueryPollRequest) Header ¶
func (r *ClusterOperatorsMetricQueryPollRequest) Header(name string, value interface{}) *ClusterOperatorsMetricQueryPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ClusterOperatorsMetricQueryPollRequest) Interval ¶
func (r *ClusterOperatorsMetricQueryPollRequest) Interval(value time.Duration) *ClusterOperatorsMetricQueryPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ClusterOperatorsMetricQueryPollRequest) Parameter ¶
func (r *ClusterOperatorsMetricQueryPollRequest) Parameter(name string, value interface{}) *ClusterOperatorsMetricQueryPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ClusterOperatorsMetricQueryPollRequest) Predicate ¶
func (r *ClusterOperatorsMetricQueryPollRequest) Predicate(value func(*ClusterOperatorsMetricQueryGetResponse) bool) *ClusterOperatorsMetricQueryPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ClusterOperatorsMetricQueryPollRequest) StartContext ¶
func (r *ClusterOperatorsMetricQueryPollRequest) StartContext(ctx context.Context) (response *ClusterOperatorsMetricQueryPollResponse, 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 (*ClusterOperatorsMetricQueryPollRequest) Status ¶
func (r *ClusterOperatorsMetricQueryPollRequest) Status(value int) *ClusterOperatorsMetricQueryPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ClusterOperatorsMetricQueryPollResponse ¶
type ClusterOperatorsMetricQueryPollResponse struct {
// contains filtered or unexported fields
}
ClusterOperatorsMetricQueryPollResponse is the response for the Poll method.
func (*ClusterOperatorsMetricQueryPollResponse) Body ¶
func (r *ClusterOperatorsMetricQueryPollResponse) Body() *ClusterOperatorsInfo
Body returns the value of the 'body' parameter.
func (*ClusterOperatorsMetricQueryPollResponse) Error ¶
func (r *ClusterOperatorsMetricQueryPollResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterOperatorsMetricQueryPollResponse) GetBody ¶
func (r *ClusterOperatorsMetricQueryPollResponse) GetBody() (value *ClusterOperatorsInfo, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ClusterOperatorsMetricQueryPollResponse) Header ¶
func (r *ClusterOperatorsMetricQueryPollResponse) Header() http.Header
Header returns header of the response.
func (*ClusterOperatorsMetricQueryPollResponse) Status ¶
func (r *ClusterOperatorsMetricQueryPollResponse) Status() int
Status returns the response status code.
type ClusterOperatorsMetricQueryServer ¶
type ClusterOperatorsMetricQueryServer interface { // Get handles a request for the 'get' method. // // Get(ctx context.Context, request *ClusterOperatorsMetricQueryGetServerRequest, response *ClusterOperatorsMetricQueryGetServerResponse) error }
ClusterOperatorsMetricQueryServer represents the interface the manages the 'cluster_operators_metric_query' resource.
type ClusterPollRequest ¶
type ClusterPollRequest struct {
// contains filtered or unexported fields
}
ClusterPollRequest is the request for the Poll method.
func (*ClusterPollRequest) Header ¶
func (r *ClusterPollRequest) Header(name string, value interface{}) *ClusterPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ClusterPollRequest) Interval ¶
func (r *ClusterPollRequest) Interval(value time.Duration) *ClusterPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ClusterPollRequest) Parameter ¶
func (r *ClusterPollRequest) Parameter(name string, value interface{}) *ClusterPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ClusterPollRequest) Predicate ¶
func (r *ClusterPollRequest) Predicate(value func(*ClusterGetResponse) bool) *ClusterPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ClusterPollRequest) StartContext ¶
func (r *ClusterPollRequest) StartContext(ctx context.Context) (response *ClusterPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ClusterPollRequest) Status ¶
func (r *ClusterPollRequest) Status(value int) *ClusterPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ClusterPollResponse ¶
type ClusterPollResponse struct {
// contains filtered or unexported fields
}
ClusterPollResponse is the response for the Poll method.
func (*ClusterPollResponse) Body ¶
func (r *ClusterPollResponse) Body() *Cluster
Body returns the value of the 'body' parameter.
func (*ClusterPollResponse) Error ¶
func (r *ClusterPollResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterPollResponse) GetBody ¶
func (r *ClusterPollResponse) GetBody() (value *Cluster, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ClusterPollResponse) Header ¶
func (r *ClusterPollResponse) Header() http.Header
Header returns header of the response.
func (*ClusterPollResponse) Status ¶
func (r *ClusterPollResponse) Status() int
Status returns the response status code.
type ClusterRegistration ¶
type ClusterRegistration struct {
// contains filtered or unexported fields
}
ClusterRegistration represents the values of the 'cluster_registration' type.
Registration of a new cluster to the service.
func UnmarshalClusterRegistration ¶
func UnmarshalClusterRegistration(source interface{}) (object *ClusterRegistration, err error)
UnmarshalClusterRegistration reads a value of the 'cluster_registration' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterRegistrationList ¶
func UnmarshalClusterRegistrationList(source interface{}) (items []*ClusterRegistration, err error)
UnmarshalClusterRegistrationList reads a list of values of the 'cluster_registration' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterRegistration) Empty ¶
func (o *ClusterRegistration) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterRegistration) ExternalID ¶
func (o *ClusterRegistration) ExternalID() string
ExternalID returns the value of the 'external_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Identifier of the cluster generated by the installer.
For example, to register a cluster that has been provisioned outside of this service, send a a request like this:
[source,http] ---- POST /api/clusters_mgmt/v1/register_cluster HTTP/1.1 ----
With a request body like this:
[source,json] ----
{ "external_id": "d656aecf-11a6-4782-ad86-8f72638449ba" }
----
func (*ClusterRegistration) GetExternalID ¶
func (o *ClusterRegistration) GetExternalID() (value string, ok bool)
GetExternalID returns the value of the 'external_ID' attribute and a flag indicating if the attribute has a value.
Identifier of the cluster generated by the installer.
For example, to register a cluster that has been provisioned outside of this service, send a a request like this:
[source,http] ---- POST /api/clusters_mgmt/v1/register_cluster HTTP/1.1 ----
With a request body like this:
[source,json] ----
{ "external_id": "d656aecf-11a6-4782-ad86-8f72638449ba" }
----
func (*ClusterRegistration) GetOrganizationID ¶
func (o *ClusterRegistration) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Optional Organization identifier of the cluster generated by the account manager.
func (*ClusterRegistration) GetSubscriptionID ¶
func (o *ClusterRegistration) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Subscription identifier of the cluster generated by the account manager.
func (*ClusterRegistration) OrganizationID ¶
func (o *ClusterRegistration) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional Organization identifier of the cluster generated by the account manager.
func (*ClusterRegistration) SubscriptionID ¶
func (o *ClusterRegistration) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Subscription identifier of the cluster generated by the account manager.
type ClusterRegistrationBuilder ¶
type ClusterRegistrationBuilder struct {
// contains filtered or unexported fields
}
ClusterRegistrationBuilder contains the data and logic needed to build 'cluster_registration' objects.
Registration of a new cluster to the service.
func NewClusterRegistration ¶
func NewClusterRegistration() *ClusterRegistrationBuilder
NewClusterRegistration creates a new builder of 'cluster_registration' objects.
func (*ClusterRegistrationBuilder) Build ¶
func (b *ClusterRegistrationBuilder) Build() (object *ClusterRegistration, err error)
Build creates a 'cluster_registration' object using the configuration stored in the builder.
func (*ClusterRegistrationBuilder) Copy ¶
func (b *ClusterRegistrationBuilder) Copy(object *ClusterRegistration) *ClusterRegistrationBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterRegistrationBuilder) ExternalID ¶
func (b *ClusterRegistrationBuilder) ExternalID(value string) *ClusterRegistrationBuilder
ExternalID sets the value of the 'external_ID' attribute to the given value.
func (*ClusterRegistrationBuilder) OrganizationID ¶
func (b *ClusterRegistrationBuilder) OrganizationID(value string) *ClusterRegistrationBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*ClusterRegistrationBuilder) SubscriptionID ¶
func (b *ClusterRegistrationBuilder) SubscriptionID(value string) *ClusterRegistrationBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
type ClusterRegistrationList ¶
type ClusterRegistrationList struct {
// contains filtered or unexported fields
}
ClusterRegistrationList is a list of values of the 'cluster_registration' type.
func (*ClusterRegistrationList) Each ¶
func (l *ClusterRegistrationList) Each(f func(item *ClusterRegistration) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterRegistrationList) Empty ¶
func (l *ClusterRegistrationList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterRegistrationList) Get ¶
func (l *ClusterRegistrationList) Get(i int) *ClusterRegistration
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterRegistrationList) Len ¶
func (l *ClusterRegistrationList) Len() int
Len returns the length of the list.
func (*ClusterRegistrationList) Range ¶
func (l *ClusterRegistrationList) Range(f func(index int, item *ClusterRegistration) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterRegistrationList) Slice ¶
func (l *ClusterRegistrationList) Slice() []*ClusterRegistration
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterRegistrationListBuilder ¶
type ClusterRegistrationListBuilder struct {
// contains filtered or unexported fields
}
ClusterRegistrationListBuilder contains the data and logic needed to build 'cluster_registration' objects.
func NewClusterRegistrationList ¶
func NewClusterRegistrationList() *ClusterRegistrationListBuilder
NewClusterRegistrationList creates a new builder of 'cluster_registration' objects.
func (*ClusterRegistrationListBuilder) Build ¶
func (b *ClusterRegistrationListBuilder) Build() (list *ClusterRegistrationList, err error)
Build creates a list of 'cluster_registration' objects using the configuration stored in the builder.
func (*ClusterRegistrationListBuilder) Copy ¶
func (b *ClusterRegistrationListBuilder) Copy(list *ClusterRegistrationList) *ClusterRegistrationListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterRegistrationListBuilder) Items ¶
func (b *ClusterRegistrationListBuilder) Items(values ...*ClusterRegistrationBuilder) *ClusterRegistrationListBuilder
Items sets the items of the list.
type ClusterResumeRequest ¶ added in v0.0.329
type ClusterResumeRequest struct {
// contains filtered or unexported fields
}
ClusterResumeRequest is the request for the 'resume' method.
func (*ClusterResumeRequest) Header ¶ added in v0.0.329
func (r *ClusterResumeRequest) Header(name string, value interface{}) *ClusterResumeRequest
Header adds a request header.
func (*ClusterResumeRequest) Parameter ¶ added in v0.0.329
func (r *ClusterResumeRequest) Parameter(name string, value interface{}) *ClusterResumeRequest
Parameter adds a query parameter.
func (*ClusterResumeRequest) Send ¶ added in v0.0.329
func (r *ClusterResumeRequest) Send() (result *ClusterResumeResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ClusterResumeRequest) SendContext ¶ added in v0.0.329
func (r *ClusterResumeRequest) SendContext(ctx context.Context) (result *ClusterResumeResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ClusterResumeResponse ¶ added in v0.0.329
type ClusterResumeResponse struct {
// contains filtered or unexported fields
}
ClusterResumeResponse is the response for the 'resume' method.
func (*ClusterResumeResponse) Error ¶ added in v0.0.329
func (r *ClusterResumeResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterResumeResponse) Header ¶ added in v0.0.329
func (r *ClusterResumeResponse) Header() http.Header
Header returns header of the response.
func (*ClusterResumeResponse) Status ¶ added in v0.0.329
func (r *ClusterResumeResponse) Status() int
Status returns the response status code.
type ClusterResumeServerRequest ¶ added in v0.1.156
type ClusterResumeServerRequest struct { }
ClusterResumeServerRequest is the request for the 'resume' method.
type ClusterResumeServerResponse ¶ added in v0.1.156
type ClusterResumeServerResponse struct {
// contains filtered or unexported fields
}
ClusterResumeServerResponse is the response for the 'resume' method.
func (*ClusterResumeServerResponse) Status ¶ added in v0.1.156
func (r *ClusterResumeServerResponse) Status(value int) *ClusterResumeServerResponse
Status sets the status code.
type ClusterServer ¶
type ClusterServer interface { // Delete handles a request for the 'delete' method. // // Deletes the cluster. Delete(ctx context.Context, request *ClusterDeleteServerRequest, response *ClusterDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the cluster. Get(ctx context.Context, request *ClusterGetServerRequest, response *ClusterGetServerResponse) error // Hibernate handles a request for the 'hibernate' method. // // Initiates cluster hibernation. While hibernating a cluster will not consume any cloud provider infrastructure // but will be counted for quota. Hibernate(ctx context.Context, request *ClusterHibernateServerRequest, response *ClusterHibernateServerResponse) error // Resume handles a request for the 'resume' method. // // Resumes from Hibernation. Resume(ctx context.Context, request *ClusterResumeServerRequest, response *ClusterResumeServerResponse) error // Update handles a request for the 'update' method. // // Updates the cluster. Update(ctx context.Context, request *ClusterUpdateServerRequest, response *ClusterUpdateServerResponse) error // AWSInfrastructureAccessRoleGrants returns the target 'AWS_infrastructure_access_role_grants' resource. // // Reference to the resource that manages the collection of AWS infrastructure // access role grants on this cluster. AWSInfrastructureAccessRoleGrants() AWSInfrastructureAccessRoleGrantsServer // Addons returns the target 'add_on_installations' resource. // // Reference to the resource that manages the collection of add-ons installed on this cluster. Addons() AddOnInstallationsServer // Credentials returns the target 'credentials' resource. // // Reference to the resource that manages the credentials of the cluster. Credentials() CredentialsServer // ExternalConfiguration returns the target 'external_configuration' resource. // // Reference to the resource that manages the external configuration. ExternalConfiguration() ExternalConfigurationServer // Groups returns the target 'groups' resource. // // Reference to the resource that manages the collection of groups. Groups() GroupsServer // IdentityProviders returns the target 'identity_providers' resource. // // Reference to the resource that manages the collection of identity providers. IdentityProviders() IdentityProvidersServer // Ingresses returns the target 'ingresses' resource. // // Reference to the resource that manages the collection of ingress resources. Ingresses() IngressesServer // Logs returns the target 'logs' resource. // // Reference to the resource that manages the collection of logs of the cluster. Logs() LogsServer // MachinePools returns the target 'machine_pools' resource. // // Reference to the resource that manages the collection of machine pool resources. MachinePools() MachinePoolsServer // MetricQueries returns the target 'metric_queries' resource. // // Reference to the resource that manages metrics queries for the cluster. MetricQueries() MetricQueriesServer // Product returns the target 'product' resource. // // Reference to the resource that manages the product type of the cluster Product() ProductServer // ProvisionShard returns the target 'provision_shard' resource. // // Reference to the resource that manages the cluster's provision shard. ProvisionShard() ProvisionShardServer // Status returns the target 'cluster_status' resource. // // Reference to the resource that manages the detailed status of the cluster. Status() ClusterStatusServer // UpgradePolicies returns the target 'upgrade_policies' resource. // // Reference to the resource that manages the collection of upgrade policies defined for this cluster. UpgradePolicies() UpgradePoliciesServer }
ClusterServer represents the interface the manages the 'cluster' resource.
type ClusterState ¶
type ClusterState string
ClusterState represents the values of the 'cluster_state' enumerated type.
const ( // Error during installation. ClusterStateError ClusterState = "error" // The cluster is still being installed. ClusterStateInstalling ClusterState = "installing" // The cluster is waiting to be provisioned. ClusterStatePending ClusterState = "pending" // The cluster is ready to use. ClusterStateReady ClusterState = "ready" // The cluster is being uninstalled. ClusterStateUninstalling ClusterState = "uninstalling" // The state of the cluster is unknown. ClusterStateUnknown ClusterState = "unknown" )
func UnmarshalClusterStateList ¶
func UnmarshalClusterStateList(source interface{}) (items []ClusterState, err error)
UnmarshalClusterStateList reads a list of values of the 'cluster_state' type from the given source, which can be a slice of bytes, a string or a reader.
type ClusterStatus ¶
type ClusterStatus struct {
// contains filtered or unexported fields
}
ClusterStatus represents the values of the 'cluster_status' type.
Detailed status of a cluster.
func UnmarshalClusterStatus ¶
func UnmarshalClusterStatus(source interface{}) (object *ClusterStatus, err error)
UnmarshalClusterStatus reads a value of the 'cluster_status' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterStatusList ¶
func UnmarshalClusterStatusList(source interface{}) (items []*ClusterStatus, err error)
UnmarshalClusterStatusList reads a list of values of the 'cluster_status' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterStatus) DNSReady ¶ added in v0.0.329
func (o *ClusterStatus) DNSReady() bool
DNSReady returns the value of the 'DNS_ready' attribute, or the zero value of the type if the attribute doesn't have a value.
DNSReady from Provisioner
func (*ClusterStatus) Description ¶
func (o *ClusterStatus) Description() string
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
Detailed description of the cluster status.
func (*ClusterStatus) Empty ¶
func (o *ClusterStatus) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterStatus) GetDNSReady ¶ added in v0.0.329
func (o *ClusterStatus) GetDNSReady() (value bool, ok bool)
GetDNSReady returns the value of the 'DNS_ready' attribute and a flag indicating if the attribute has a value.
DNSReady from Provisioner
func (*ClusterStatus) GetDescription ¶
func (o *ClusterStatus) GetDescription() (value string, ok bool)
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
Detailed description of the cluster status.
func (*ClusterStatus) GetHREF ¶
func (o *ClusterStatus) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ClusterStatus) GetID ¶
func (o *ClusterStatus) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ClusterStatus) GetProvisionErrorCode ¶ added in v0.0.329
func (o *ClusterStatus) GetProvisionErrorCode() (value string, ok bool)
GetProvisionErrorCode returns the value of the 'provision_error_code' attribute and a flag indicating if the attribute has a value.
Provisioning Error Code
func (*ClusterStatus) GetProvisionErrorMessage ¶ added in v0.0.329
func (o *ClusterStatus) GetProvisionErrorMessage() (value string, ok bool)
GetProvisionErrorMessage returns the value of the 'provision_error_message' attribute and a flag indicating if the attribute has a value.
Provisioning Error Message
func (*ClusterStatus) GetState ¶
func (o *ClusterStatus) GetState() (value ClusterState, ok bool)
GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.
The overall state of the cluster.
func (*ClusterStatus) HREF ¶
func (o *ClusterStatus) HREF() string
HREF returns the link to the object.
func (*ClusterStatus) ID ¶
func (o *ClusterStatus) ID() string
ID returns the identifier of the object.
func (*ClusterStatus) Kind ¶
func (o *ClusterStatus) Kind() string
Kind returns the name of the type of the object.
func (*ClusterStatus) Link ¶
func (o *ClusterStatus) Link() bool
Link returns true iif this is a link.
func (*ClusterStatus) ProvisionErrorCode ¶ added in v0.0.329
func (o *ClusterStatus) ProvisionErrorCode() string
ProvisionErrorCode returns the value of the 'provision_error_code' attribute, or the zero value of the type if the attribute doesn't have a value.
Provisioning Error Code
func (*ClusterStatus) ProvisionErrorMessage ¶ added in v0.0.329
func (o *ClusterStatus) ProvisionErrorMessage() string
ProvisionErrorMessage returns the value of the 'provision_error_message' attribute, or the zero value of the type if the attribute doesn't have a value.
Provisioning Error Message
func (*ClusterStatus) State ¶
func (o *ClusterStatus) State() ClusterState
State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.
The overall state of the cluster.
type ClusterStatusBuilder ¶
type ClusterStatusBuilder struct {
// contains filtered or unexported fields
}
ClusterStatusBuilder contains the data and logic needed to build 'cluster_status' objects.
Detailed status of a cluster.
func NewClusterStatus ¶
func NewClusterStatus() *ClusterStatusBuilder
NewClusterStatus creates a new builder of 'cluster_status' objects.
func (*ClusterStatusBuilder) Build ¶
func (b *ClusterStatusBuilder) Build() (object *ClusterStatus, err error)
Build creates a 'cluster_status' object using the configuration stored in the builder.
func (*ClusterStatusBuilder) Copy ¶
func (b *ClusterStatusBuilder) Copy(object *ClusterStatus) *ClusterStatusBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterStatusBuilder) DNSReady ¶ added in v0.0.329
func (b *ClusterStatusBuilder) DNSReady(value bool) *ClusterStatusBuilder
DNSReady sets the value of the 'DNS_ready' attribute to the given value.
func (*ClusterStatusBuilder) Description ¶
func (b *ClusterStatusBuilder) Description(value string) *ClusterStatusBuilder
Description sets the value of the 'description' attribute to the given value.
func (*ClusterStatusBuilder) HREF ¶
func (b *ClusterStatusBuilder) HREF(value string) *ClusterStatusBuilder
HREF sets the link to the object.
func (*ClusterStatusBuilder) ID ¶
func (b *ClusterStatusBuilder) ID(value string) *ClusterStatusBuilder
ID sets the identifier of the object.
func (*ClusterStatusBuilder) Link ¶
func (b *ClusterStatusBuilder) Link(value bool) *ClusterStatusBuilder
Link sets the flag that indicates if this is a link.
func (*ClusterStatusBuilder) ProvisionErrorCode ¶ added in v0.0.329
func (b *ClusterStatusBuilder) ProvisionErrorCode(value string) *ClusterStatusBuilder
ProvisionErrorCode sets the value of the 'provision_error_code' attribute to the given value.
func (*ClusterStatusBuilder) ProvisionErrorMessage ¶ added in v0.0.329
func (b *ClusterStatusBuilder) ProvisionErrorMessage(value string) *ClusterStatusBuilder
ProvisionErrorMessage sets the value of the 'provision_error_message' attribute to the given value.
func (*ClusterStatusBuilder) State ¶
func (b *ClusterStatusBuilder) State(value ClusterState) *ClusterStatusBuilder
State sets the value of the 'state' attribute to the given value.
Overall state of a cluster.
type ClusterStatusClient ¶
type ClusterStatusClient struct {
// contains filtered or unexported fields
}
ClusterStatusClient is the client of the 'cluster_status' resource.
Provides detailed information about the status of an specific cluster.
func NewClusterStatusClient ¶
func NewClusterStatusClient(transport http.RoundTripper, path string, metric string) *ClusterStatusClient
NewClusterStatusClient creates a new client for the 'cluster_status' resource using the given transport to send the requests and receive the responses.
func (*ClusterStatusClient) Get ¶
func (c *ClusterStatusClient) Get() *ClusterStatusGetRequest
Get creates a request for the 'get' method.
func (*ClusterStatusClient) Poll ¶
func (c *ClusterStatusClient) Poll() *ClusterStatusPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type ClusterStatusGetRequest ¶
type ClusterStatusGetRequest struct {
// contains filtered or unexported fields
}
ClusterStatusGetRequest is the request for the 'get' method.
func (*ClusterStatusGetRequest) Header ¶
func (r *ClusterStatusGetRequest) Header(name string, value interface{}) *ClusterStatusGetRequest
Header adds a request header.
func (*ClusterStatusGetRequest) Parameter ¶
func (r *ClusterStatusGetRequest) Parameter(name string, value interface{}) *ClusterStatusGetRequest
Parameter adds a query parameter.
func (*ClusterStatusGetRequest) Send ¶
func (r *ClusterStatusGetRequest) Send() (result *ClusterStatusGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ClusterStatusGetRequest) SendContext ¶
func (r *ClusterStatusGetRequest) SendContext(ctx context.Context) (result *ClusterStatusGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ClusterStatusGetResponse ¶
type ClusterStatusGetResponse struct {
// contains filtered or unexported fields
}
ClusterStatusGetResponse is the response for the 'get' method.
func (*ClusterStatusGetResponse) Body ¶
func (r *ClusterStatusGetResponse) Body() *ClusterStatus
Body returns the value of the 'body' parameter.
func (*ClusterStatusGetResponse) Error ¶
func (r *ClusterStatusGetResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterStatusGetResponse) GetBody ¶
func (r *ClusterStatusGetResponse) GetBody() (value *ClusterStatus, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ClusterStatusGetResponse) Header ¶
func (r *ClusterStatusGetResponse) Header() http.Header
Header returns header of the response.
func (*ClusterStatusGetResponse) Status ¶
func (r *ClusterStatusGetResponse) Status() int
Status returns the response status code.
type ClusterStatusGetServerRequest ¶
type ClusterStatusGetServerRequest struct { }
ClusterStatusGetServerRequest is the request for the 'get' method.
type ClusterStatusGetServerResponse ¶
type ClusterStatusGetServerResponse struct {
// contains filtered or unexported fields
}
ClusterStatusGetServerResponse is the response for the 'get' method.
func (*ClusterStatusGetServerResponse) Body ¶
func (r *ClusterStatusGetServerResponse) Body(value *ClusterStatus) *ClusterStatusGetServerResponse
Body sets the value of the 'body' parameter.
func (*ClusterStatusGetServerResponse) Status ¶
func (r *ClusterStatusGetServerResponse) Status(value int) *ClusterStatusGetServerResponse
Status sets the status code.
type ClusterStatusList ¶
type ClusterStatusList struct {
// contains filtered or unexported fields
}
ClusterStatusList is a list of values of the 'cluster_status' type.
func (*ClusterStatusList) Each ¶
func (l *ClusterStatusList) Each(f func(item *ClusterStatus) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterStatusList) Empty ¶
func (l *ClusterStatusList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterStatusList) Get ¶
func (l *ClusterStatusList) Get(i int) *ClusterStatus
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterStatusList) GetHREF ¶
func (l *ClusterStatusList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ClusterStatusList) HREF ¶
func (l *ClusterStatusList) HREF() string
HREF returns the link to the list.
func (*ClusterStatusList) Kind ¶
func (l *ClusterStatusList) Kind() string
Kind returns the name of the type of the object.
func (*ClusterStatusList) Len ¶
func (l *ClusterStatusList) Len() int
Len returns the length of the list.
func (*ClusterStatusList) Link ¶
func (l *ClusterStatusList) Link() bool
Link returns true iif this is a link.
func (*ClusterStatusList) Range ¶
func (l *ClusterStatusList) Range(f func(index int, item *ClusterStatus) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ClusterStatusList) Slice ¶
func (l *ClusterStatusList) Slice() []*ClusterStatus
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ClusterStatusListBuilder ¶
type ClusterStatusListBuilder struct {
// contains filtered or unexported fields
}
ClusterStatusListBuilder contains the data and logic needed to build 'cluster_status' objects.
func NewClusterStatusList ¶
func NewClusterStatusList() *ClusterStatusListBuilder
NewClusterStatusList creates a new builder of 'cluster_status' objects.
func (*ClusterStatusListBuilder) Build ¶
func (b *ClusterStatusListBuilder) Build() (list *ClusterStatusList, err error)
Build creates a list of 'cluster_status' objects using the configuration stored in the builder.
func (*ClusterStatusListBuilder) Copy ¶
func (b *ClusterStatusListBuilder) Copy(list *ClusterStatusList) *ClusterStatusListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterStatusListBuilder) Items ¶
func (b *ClusterStatusListBuilder) Items(values ...*ClusterStatusBuilder) *ClusterStatusListBuilder
Items sets the items of the list.
type ClusterStatusPollRequest ¶
type ClusterStatusPollRequest struct {
// contains filtered or unexported fields
}
ClusterStatusPollRequest is the request for the Poll method.
func (*ClusterStatusPollRequest) Header ¶
func (r *ClusterStatusPollRequest) Header(name string, value interface{}) *ClusterStatusPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ClusterStatusPollRequest) Interval ¶
func (r *ClusterStatusPollRequest) Interval(value time.Duration) *ClusterStatusPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ClusterStatusPollRequest) Parameter ¶
func (r *ClusterStatusPollRequest) Parameter(name string, value interface{}) *ClusterStatusPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ClusterStatusPollRequest) Predicate ¶
func (r *ClusterStatusPollRequest) Predicate(value func(*ClusterStatusGetResponse) bool) *ClusterStatusPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ClusterStatusPollRequest) StartContext ¶
func (r *ClusterStatusPollRequest) StartContext(ctx context.Context) (response *ClusterStatusPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ClusterStatusPollRequest) Status ¶
func (r *ClusterStatusPollRequest) Status(value int) *ClusterStatusPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ClusterStatusPollResponse ¶
type ClusterStatusPollResponse struct {
// contains filtered or unexported fields
}
ClusterStatusPollResponse is the response for the Poll method.
func (*ClusterStatusPollResponse) Body ¶
func (r *ClusterStatusPollResponse) Body() *ClusterStatus
Body returns the value of the 'body' parameter.
func (*ClusterStatusPollResponse) Error ¶
func (r *ClusterStatusPollResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterStatusPollResponse) GetBody ¶
func (r *ClusterStatusPollResponse) GetBody() (value *ClusterStatus, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ClusterStatusPollResponse) Header ¶
func (r *ClusterStatusPollResponse) Header() http.Header
Header returns header of the response.
func (*ClusterStatusPollResponse) Status ¶
func (r *ClusterStatusPollResponse) Status() int
Status returns the response status code.
type ClusterStatusServer ¶
type ClusterStatusServer interface { // Get handles a request for the 'get' method. // // Get(ctx context.Context, request *ClusterStatusGetServerRequest, response *ClusterStatusGetServerResponse) error }
ClusterStatusServer represents the interface the manages the 'cluster_status' resource.
type ClusterUpdateRequest ¶
type ClusterUpdateRequest struct {
// contains filtered or unexported fields
}
ClusterUpdateRequest is the request for the 'update' method.
func (*ClusterUpdateRequest) Body ¶
func (r *ClusterUpdateRequest) Body(value *Cluster) *ClusterUpdateRequest
Body sets the value of the 'body' parameter.
func (*ClusterUpdateRequest) Header ¶
func (r *ClusterUpdateRequest) Header(name string, value interface{}) *ClusterUpdateRequest
Header adds a request header.
func (*ClusterUpdateRequest) Parameter ¶
func (r *ClusterUpdateRequest) Parameter(name string, value interface{}) *ClusterUpdateRequest
Parameter adds a query parameter.
func (*ClusterUpdateRequest) Send ¶
func (r *ClusterUpdateRequest) Send() (result *ClusterUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ClusterUpdateRequest) SendContext ¶
func (r *ClusterUpdateRequest) SendContext(ctx context.Context) (result *ClusterUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ClusterUpdateResponse ¶
type ClusterUpdateResponse struct {
// contains filtered or unexported fields
}
ClusterUpdateResponse is the response for the 'update' method.
func (*ClusterUpdateResponse) Body ¶
func (r *ClusterUpdateResponse) Body() *Cluster
Body returns the value of the 'body' parameter.
func (*ClusterUpdateResponse) Error ¶
func (r *ClusterUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterUpdateResponse) GetBody ¶
func (r *ClusterUpdateResponse) GetBody() (value *Cluster, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ClusterUpdateResponse) Header ¶
func (r *ClusterUpdateResponse) Header() http.Header
Header returns header of the response.
func (*ClusterUpdateResponse) Status ¶
func (r *ClusterUpdateResponse) Status() int
Status returns the response status code.
type ClusterUpdateServerRequest ¶
type ClusterUpdateServerRequest struct {
// contains filtered or unexported fields
}
ClusterUpdateServerRequest is the request for the 'update' method.
func (*ClusterUpdateServerRequest) Body ¶
func (r *ClusterUpdateServerRequest) Body() *Cluster
Body returns the value of the 'body' parameter.
func (*ClusterUpdateServerRequest) GetBody ¶
func (r *ClusterUpdateServerRequest) GetBody() (value *Cluster, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type ClusterUpdateServerResponse ¶
type ClusterUpdateServerResponse struct {
// contains filtered or unexported fields
}
ClusterUpdateServerResponse is the response for the 'update' method.
func (*ClusterUpdateServerResponse) Body ¶
func (r *ClusterUpdateServerResponse) Body(value *Cluster) *ClusterUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*ClusterUpdateServerResponse) Status ¶
func (r *ClusterUpdateServerResponse) Status(value int) *ClusterUpdateServerResponse
Status sets the status code.
type ClustersAddRequest ¶
type ClustersAddRequest struct {
// contains filtered or unexported fields
}
ClustersAddRequest is the request for the 'add' method.
func (*ClustersAddRequest) Body ¶
func (r *ClustersAddRequest) Body(value *Cluster) *ClustersAddRequest
Body sets the value of the 'body' parameter.
Description of the cluster.
func (*ClustersAddRequest) Header ¶
func (r *ClustersAddRequest) Header(name string, value interface{}) *ClustersAddRequest
Header adds a request header.
func (*ClustersAddRequest) Parameter ¶
func (r *ClustersAddRequest) Parameter(name string, value interface{}) *ClustersAddRequest
Parameter adds a query parameter.
func (*ClustersAddRequest) Send ¶
func (r *ClustersAddRequest) Send() (result *ClustersAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ClustersAddRequest) SendContext ¶
func (r *ClustersAddRequest) SendContext(ctx context.Context) (result *ClustersAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ClustersAddResponse ¶
type ClustersAddResponse struct {
// contains filtered or unexported fields
}
ClustersAddResponse is the response for the 'add' method.
func (*ClustersAddResponse) Body ¶
func (r *ClustersAddResponse) Body() *Cluster
Body returns the value of the 'body' parameter.
Description of the cluster.
func (*ClustersAddResponse) Error ¶
func (r *ClustersAddResponse) Error() *errors.Error
Error returns the response error.
func (*ClustersAddResponse) GetBody ¶
func (r *ClustersAddResponse) GetBody() (value *Cluster, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the cluster.
func (*ClustersAddResponse) Header ¶
func (r *ClustersAddResponse) Header() http.Header
Header returns header of the response.
func (*ClustersAddResponse) Status ¶
func (r *ClustersAddResponse) Status() int
Status returns the response status code.
type ClustersAddServerRequest ¶
type ClustersAddServerRequest struct {
// contains filtered or unexported fields
}
ClustersAddServerRequest is the request for the 'add' method.
func (*ClustersAddServerRequest) Body ¶
func (r *ClustersAddServerRequest) Body() *Cluster
Body returns the value of the 'body' parameter.
Description of the cluster.
func (*ClustersAddServerRequest) GetBody ¶
func (r *ClustersAddServerRequest) GetBody() (value *Cluster, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the cluster.
type ClustersAddServerResponse ¶
type ClustersAddServerResponse struct {
// contains filtered or unexported fields
}
ClustersAddServerResponse is the response for the 'add' method.
func (*ClustersAddServerResponse) Body ¶
func (r *ClustersAddServerResponse) Body(value *Cluster) *ClustersAddServerResponse
Body sets the value of the 'body' parameter.
Description of the cluster.
func (*ClustersAddServerResponse) Status ¶
func (r *ClustersAddServerResponse) Status(value int) *ClustersAddServerResponse
Status sets the status code.
type ClustersClient ¶
type ClustersClient struct {
// contains filtered or unexported fields
}
ClustersClient is the client of the 'clusters' resource.
Manages the collection of clusters.
func NewClustersClient ¶
func NewClustersClient(transport http.RoundTripper, path string, metric string) *ClustersClient
NewClustersClient creates a new client for the 'clusters' resource using the given transport to send the requests and receive the responses.
func (*ClustersClient) Add ¶
func (c *ClustersClient) Add() *ClustersAddRequest
Add creates a request for the 'add' method.
Provision a new cluster and add it to the collection of clusters.
See the `register_cluster` method for adding an existing cluster.
func (*ClustersClient) Cluster ¶
func (c *ClustersClient) Cluster(id string) *ClusterClient
Cluster returns the target 'cluster' resource for the given identifier.
Returns a reference to the service that manages an specific cluster.
func (*ClustersClient) List ¶
func (c *ClustersClient) List() *ClustersListRequest
List creates a request for the 'list' method.
Retrieves the list of clusters.
type ClustersListRequest ¶
type ClustersListRequest struct {
// contains filtered or unexported fields
}
ClustersListRequest is the request for the 'list' method.
func (*ClustersListRequest) Header ¶
func (r *ClustersListRequest) Header(name string, value interface{}) *ClustersListRequest
Header adds a request header.
func (*ClustersListRequest) Order ¶
func (r *ClustersListRequest) Order(value string) *ClustersListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to sort the clusters descending by region identifier the value should be:
[source,sql] ---- region.id desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*ClustersListRequest) Page ¶
func (r *ClustersListRequest) Page(value int) *ClustersListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ClustersListRequest) Parameter ¶
func (r *ClustersListRequest) Parameter(name string, value interface{}) *ClustersListRequest
Parameter adds a query parameter.
func (*ClustersListRequest) Search ¶
func (r *ClustersListRequest) Search(value string) *ClustersListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to retrieve all the clusters with a name starting with `my` in the `us-east-1` region the value should be:
[source,sql] ---- name like 'my%' and region.id = 'us-east-1' ----
If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.
func (*ClustersListRequest) Send ¶
func (r *ClustersListRequest) Send() (result *ClustersListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ClustersListRequest) SendContext ¶
func (r *ClustersListRequest) SendContext(ctx context.Context) (result *ClustersListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ClustersListRequest) Size ¶
func (r *ClustersListRequest) Size(value int) *ClustersListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ClustersListResponse ¶
type ClustersListResponse struct {
// contains filtered or unexported fields
}
ClustersListResponse is the response for the 'list' method.
func (*ClustersListResponse) Error ¶
func (r *ClustersListResponse) Error() *errors.Error
Error returns the response error.
func (*ClustersListResponse) GetItems ¶
func (r *ClustersListResponse) GetItems() (value *ClusterList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of clusters.
func (*ClustersListResponse) GetPage ¶
func (r *ClustersListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*ClustersListResponse) GetSize ¶
func (r *ClustersListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*ClustersListResponse) GetTotal ¶
func (r *ClustersListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*ClustersListResponse) Header ¶
func (r *ClustersListResponse) Header() http.Header
Header returns header of the response.
func (*ClustersListResponse) Items ¶
func (r *ClustersListResponse) Items() *ClusterList
Items returns the value of the 'items' parameter.
Retrieved list of clusters.
func (*ClustersListResponse) Page ¶
func (r *ClustersListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ClustersListResponse) Size ¶
func (r *ClustersListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ClustersListResponse) Status ¶
func (r *ClustersListResponse) Status() int
Status returns the response status code.
func (*ClustersListResponse) Total ¶
func (r *ClustersListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type ClustersListServerRequest ¶
type ClustersListServerRequest struct {
// contains filtered or unexported fields
}
ClustersListServerRequest is the request for the 'list' method.
func (*ClustersListServerRequest) GetOrder ¶
func (r *ClustersListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to sort the clusters descending by region identifier the value should be:
[source,sql] ---- region.id desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*ClustersListServerRequest) GetPage ¶
func (r *ClustersListServerRequest) 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 (*ClustersListServerRequest) GetSearch ¶
func (r *ClustersListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to retrieve all the clusters with a name starting with `my` in the `us-east-1` region the value should be:
[source,sql] ---- name like 'my%' and region.id = 'us-east-1' ----
If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.
func (*ClustersListServerRequest) GetSize ¶
func (r *ClustersListServerRequest) 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 (*ClustersListServerRequest) Order ¶
func (r *ClustersListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to sort the clusters descending by region identifier the value should be:
[source,sql] ---- region.id desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*ClustersListServerRequest) Page ¶
func (r *ClustersListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ClustersListServerRequest) Search ¶
func (r *ClustersListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the cluster instead of the names of the columns of a table. For example, in order to retrieve all the clusters with a name starting with `my` in the `us-east-1` region the value should be:
[source,sql] ---- name like 'my%' and region.id = 'us-east-1' ----
If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.
func (*ClustersListServerRequest) Size ¶
func (r *ClustersListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ClustersListServerResponse ¶
type ClustersListServerResponse struct {
// contains filtered or unexported fields
}
ClustersListServerResponse is the response for the 'list' method.
func (*ClustersListServerResponse) Items ¶
func (r *ClustersListServerResponse) Items(value *ClusterList) *ClustersListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of clusters.
func (*ClustersListServerResponse) Page ¶
func (r *ClustersListServerResponse) Page(value int) *ClustersListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ClustersListServerResponse) Size ¶
func (r *ClustersListServerResponse) Size(value int) *ClustersListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ClustersListServerResponse) Status ¶
func (r *ClustersListServerResponse) Status(value int) *ClustersListServerResponse
Status sets the status code.
func (*ClustersListServerResponse) Total ¶
func (r *ClustersListServerResponse) Total(value int) *ClustersListServerResponse
Total sets 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 ClustersServer ¶
type ClustersServer interface { // Add handles a request for the 'add' method. // // Provision a new cluster and add it to the collection of clusters. // // See the `register_cluster` method for adding an existing cluster. Add(ctx context.Context, request *ClustersAddServerRequest, response *ClustersAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of clusters. List(ctx context.Context, request *ClustersListServerRequest, response *ClustersListServerResponse) error // Cluster returns the target 'cluster' server for the given identifier. // // Returns a reference to the service that manages an specific cluster. Cluster(id string) ClusterServer }
ClustersServer represents the interface the manages the 'clusters' resource.
type CredentialsClient ¶
type CredentialsClient struct {
// contains filtered or unexported fields
}
CredentialsClient is the client of the 'credentials' resource.
Manages the credentials of a cluster.
func NewCredentialsClient ¶
func NewCredentialsClient(transport http.RoundTripper, path string, metric string) *CredentialsClient
NewCredentialsClient creates a new client for the 'credentials' resource using the given transport to send the requests and receive the responses.
func (*CredentialsClient) Get ¶
func (c *CredentialsClient) Get() *CredentialsGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the credentials of a cluster.
func (*CredentialsClient) Poll ¶
func (c *CredentialsClient) Poll() *CredentialsPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type CredentialsGetRequest ¶
type CredentialsGetRequest struct {
// contains filtered or unexported fields
}
CredentialsGetRequest is the request for the 'get' method.
func (*CredentialsGetRequest) Header ¶
func (r *CredentialsGetRequest) Header(name string, value interface{}) *CredentialsGetRequest
Header adds a request header.
func (*CredentialsGetRequest) Parameter ¶
func (r *CredentialsGetRequest) Parameter(name string, value interface{}) *CredentialsGetRequest
Parameter adds a query parameter.
func (*CredentialsGetRequest) Send ¶
func (r *CredentialsGetRequest) Send() (result *CredentialsGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*CredentialsGetRequest) SendContext ¶
func (r *CredentialsGetRequest) SendContext(ctx context.Context) (result *CredentialsGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type CredentialsGetResponse ¶
type CredentialsGetResponse struct {
// contains filtered or unexported fields
}
CredentialsGetResponse is the response for the 'get' method.
func (*CredentialsGetResponse) Body ¶
func (r *CredentialsGetResponse) Body() *ClusterCredentials
Body returns the value of the 'body' parameter.
func (*CredentialsGetResponse) Error ¶
func (r *CredentialsGetResponse) Error() *errors.Error
Error returns the response error.
func (*CredentialsGetResponse) GetBody ¶
func (r *CredentialsGetResponse) GetBody() (value *ClusterCredentials, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*CredentialsGetResponse) Header ¶
func (r *CredentialsGetResponse) Header() http.Header
Header returns header of the response.
func (*CredentialsGetResponse) Status ¶
func (r *CredentialsGetResponse) Status() int
Status returns the response status code.
type CredentialsGetServerRequest ¶
type CredentialsGetServerRequest struct { }
CredentialsGetServerRequest is the request for the 'get' method.
type CredentialsGetServerResponse ¶
type CredentialsGetServerResponse struct {
// contains filtered or unexported fields
}
CredentialsGetServerResponse is the response for the 'get' method.
func (*CredentialsGetServerResponse) Body ¶
func (r *CredentialsGetServerResponse) Body(value *ClusterCredentials) *CredentialsGetServerResponse
Body sets the value of the 'body' parameter.
func (*CredentialsGetServerResponse) Status ¶
func (r *CredentialsGetServerResponse) Status(value int) *CredentialsGetServerResponse
Status sets the status code.
type CredentialsPollRequest ¶
type CredentialsPollRequest struct {
// contains filtered or unexported fields
}
CredentialsPollRequest is the request for the Poll method.
func (*CredentialsPollRequest) Header ¶
func (r *CredentialsPollRequest) Header(name string, value interface{}) *CredentialsPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*CredentialsPollRequest) Interval ¶
func (r *CredentialsPollRequest) Interval(value time.Duration) *CredentialsPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*CredentialsPollRequest) Parameter ¶
func (r *CredentialsPollRequest) Parameter(name string, value interface{}) *CredentialsPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*CredentialsPollRequest) Predicate ¶
func (r *CredentialsPollRequest) Predicate(value func(*CredentialsGetResponse) bool) *CredentialsPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*CredentialsPollRequest) StartContext ¶
func (r *CredentialsPollRequest) StartContext(ctx context.Context) (response *CredentialsPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*CredentialsPollRequest) Status ¶
func (r *CredentialsPollRequest) Status(value int) *CredentialsPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type CredentialsPollResponse ¶
type CredentialsPollResponse struct {
// contains filtered or unexported fields
}
CredentialsPollResponse is the response for the Poll method.
func (*CredentialsPollResponse) Body ¶
func (r *CredentialsPollResponse) Body() *ClusterCredentials
Body returns the value of the 'body' parameter.
func (*CredentialsPollResponse) Error ¶
func (r *CredentialsPollResponse) Error() *errors.Error
Error returns the response error.
func (*CredentialsPollResponse) GetBody ¶
func (r *CredentialsPollResponse) GetBody() (value *ClusterCredentials, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*CredentialsPollResponse) Header ¶
func (r *CredentialsPollResponse) Header() http.Header
Header returns header of the response.
func (*CredentialsPollResponse) Status ¶
func (r *CredentialsPollResponse) Status() int
Status returns the response status code.
type CredentialsServer ¶
type CredentialsServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the credentials of a cluster. Get(ctx context.Context, request *CredentialsGetServerRequest, response *CredentialsGetServerResponse) error }
CredentialsServer represents the interface the manages the 'credentials' resource.
type DNS ¶
type DNS struct {
// contains filtered or unexported fields
}
DNS represents the values of the 'DNS' type.
DNS settings of the cluster.
func UnmarshalDNS ¶
UnmarshalDNS reads a value of the 'DNS' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalDNSList ¶
UnmarshalDNSList reads a list of values of the 'DNS' type from the given source, which can be a slice of bytes, a string or a reader.
func (*DNS) BaseDomain ¶
BaseDomain returns the value of the 'base_domain' attribute, or the zero value of the type if the attribute doesn't have a value.
Base DNS domain of the cluster.
During the installation of the cluster it is necessary to create multiple DNS records. They will be created as sub-domains of this domain. For example, if the name of the cluster is `mycluster` and the base domain is `example.com` then the following DNS records will be created:
.... mycluster-api.example.com mycluster-etcd-0.example.com mycluster-etcd-1.example.com mycluster-etcd-3.example.com ....
The exact number, type and names of the created DNS record depends on the characteristics of the cluster, and may be different for different versions of _OpenShift_. Please don't rely on them. For example, to find what is the URL of the Kubernetes API server of the cluster don't assume that it will be `mycluster-api.example.com`. Instead of that use this API to retrieve the description of the cluster, and get it from the `api.url` attribute. For example, if the identifier of the cluster is `123` send a request like this:
[source,http] ---- GET /api/clusters_mgmt/v1/clusters/123 HTTP/1.1 ----
That will return a response like this, including the `api.url` attribute:
[source,json] ----
{ "kind": "Cluster", "id": "123", "href": "/api/clusters_mgmt/v1/clusters/123", "api": { "url": "https://mycluster-api.example.com:6443" }, ... }
----
When the cluster is created in Amazon Web Services it is necessary to create this base DNS domain in advance, using AWS Route53 (https://console.aws.amazon.com/route53).
func (*DNS) GetBaseDomain ¶
GetBaseDomain returns the value of the 'base_domain' attribute and a flag indicating if the attribute has a value.
Base DNS domain of the cluster.
During the installation of the cluster it is necessary to create multiple DNS records. They will be created as sub-domains of this domain. For example, if the name of the cluster is `mycluster` and the base domain is `example.com` then the following DNS records will be created:
.... mycluster-api.example.com mycluster-etcd-0.example.com mycluster-etcd-1.example.com mycluster-etcd-3.example.com ....
The exact number, type and names of the created DNS record depends on the characteristics of the cluster, and may be different for different versions of _OpenShift_. Please don't rely on them. For example, to find what is the URL of the Kubernetes API server of the cluster don't assume that it will be `mycluster-api.example.com`. Instead of that use this API to retrieve the description of the cluster, and get it from the `api.url` attribute. For example, if the identifier of the cluster is `123` send a request like this:
[source,http] ---- GET /api/clusters_mgmt/v1/clusters/123 HTTP/1.1 ----
That will return a response like this, including the `api.url` attribute:
[source,json] ----
{ "kind": "Cluster", "id": "123", "href": "/api/clusters_mgmt/v1/clusters/123", "api": { "url": "https://mycluster-api.example.com:6443" }, ... }
----
When the cluster is created in Amazon Web Services it is necessary to create this base DNS domain in advance, using AWS Route53 (https://console.aws.amazon.com/route53).
type DNSBuilder ¶
type DNSBuilder struct {
// contains filtered or unexported fields
}
DNSBuilder contains the data and logic needed to build 'DNS' objects.
DNS settings of the cluster.
func (*DNSBuilder) BaseDomain ¶
func (b *DNSBuilder) BaseDomain(value string) *DNSBuilder
BaseDomain sets the value of the 'base_domain' attribute to the given value.
func (*DNSBuilder) Build ¶
func (b *DNSBuilder) Build() (object *DNS, err error)
Build creates a 'DNS' object using the configuration stored in the builder.
func (*DNSBuilder) Copy ¶
func (b *DNSBuilder) Copy(object *DNS) *DNSBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
type DNSList ¶
type DNSList struct {
// contains filtered or unexported fields
}
DNSList is a list of values of the 'DNS' type.
func (*DNSList) 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 (*DNSList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*DNSList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*DNSList) 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 DNSListBuilder ¶
type DNSListBuilder struct {
// contains filtered or unexported fields
}
DNSListBuilder contains the data and logic needed to build 'DNS' objects.
func NewDNSList ¶
func NewDNSList() *DNSListBuilder
NewDNSList creates a new builder of 'DNS' objects.
func (*DNSListBuilder) Build ¶
func (b *DNSListBuilder) Build() (list *DNSList, err error)
Build creates a list of 'DNS' objects using the configuration stored in the builder.
func (*DNSListBuilder) Copy ¶
func (b *DNSListBuilder) Copy(list *DNSList) *DNSListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*DNSListBuilder) Items ¶
func (b *DNSListBuilder) Items(values ...*DNSBuilder) *DNSListBuilder
Items sets the items of the list.
type Dashboard ¶
type Dashboard struct {
// contains filtered or unexported fields
}
Dashboard represents the values of the 'dashboard' type.
Collection of metrics intended to render a graphical dashboard.
func UnmarshalDashboard ¶
UnmarshalDashboard reads a value of the 'dashboard' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalDashboardList ¶
UnmarshalDashboardList reads a list of values of the 'dashboard' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Dashboard) Empty ¶
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Dashboard) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Dashboard) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Dashboard) GetMetrics ¶
GetMetrics returns the value of the 'metrics' attribute and a flag indicating if the attribute has a value.
Metrics included in the dashboard.
func (*Dashboard) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the dashboard.
type DashboardBuilder ¶
type DashboardBuilder struct {
// contains filtered or unexported fields
}
DashboardBuilder contains the data and logic needed to build 'dashboard' objects.
Collection of metrics intended to render a graphical dashboard.
func NewDashboard ¶
func NewDashboard() *DashboardBuilder
NewDashboard creates a new builder of 'dashboard' objects.
func (*DashboardBuilder) Build ¶
func (b *DashboardBuilder) Build() (object *Dashboard, err error)
Build creates a 'dashboard' object using the configuration stored in the builder.
func (*DashboardBuilder) Copy ¶
func (b *DashboardBuilder) Copy(object *Dashboard) *DashboardBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*DashboardBuilder) HREF ¶
func (b *DashboardBuilder) HREF(value string) *DashboardBuilder
HREF sets the link to the object.
func (*DashboardBuilder) ID ¶
func (b *DashboardBuilder) ID(value string) *DashboardBuilder
ID sets the identifier of the object.
func (*DashboardBuilder) Link ¶
func (b *DashboardBuilder) Link(value bool) *DashboardBuilder
Link sets the flag that indicates if this is a link.
func (*DashboardBuilder) Metrics ¶
func (b *DashboardBuilder) Metrics(values ...*MetricBuilder) *DashboardBuilder
Metrics sets the value of the 'metrics' attribute to the given values.
func (*DashboardBuilder) Name ¶
func (b *DashboardBuilder) Name(value string) *DashboardBuilder
Name sets the value of the 'name' attribute to the given value.
type DashboardClient ¶
type DashboardClient struct {
// contains filtered or unexported fields
}
DashboardClient is the client of the 'dashboard' resource.
Manages a specific dashboard.
func NewDashboardClient ¶
func NewDashboardClient(transport http.RoundTripper, path string, metric string) *DashboardClient
NewDashboardClient creates a new client for the 'dashboard' resource using the given transport to send the requests and receive the responses.
func (*DashboardClient) Get ¶
func (c *DashboardClient) Get() *DashboardGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the dashboard.
func (*DashboardClient) Poll ¶
func (c *DashboardClient) Poll() *DashboardPollRequest
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 DashboardGetRequest ¶
type DashboardGetRequest struct {
// contains filtered or unexported fields
}
DashboardGetRequest is the request for the 'get' method.
func (*DashboardGetRequest) Header ¶
func (r *DashboardGetRequest) Header(name string, value interface{}) *DashboardGetRequest
Header adds a request header.
func (*DashboardGetRequest) Parameter ¶
func (r *DashboardGetRequest) Parameter(name string, value interface{}) *DashboardGetRequest
Parameter adds a query parameter.
func (*DashboardGetRequest) Send ¶
func (r *DashboardGetRequest) Send() (result *DashboardGetResponse, 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 (*DashboardGetRequest) SendContext ¶
func (r *DashboardGetRequest) SendContext(ctx context.Context) (result *DashboardGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type DashboardGetResponse ¶
type DashboardGetResponse struct {
// contains filtered or unexported fields
}
DashboardGetResponse is the response for the 'get' method.
func (*DashboardGetResponse) Body ¶
func (r *DashboardGetResponse) Body() *Dashboard
Body returns the value of the 'body' parameter.
func (*DashboardGetResponse) Error ¶
func (r *DashboardGetResponse) Error() *errors.Error
Error returns the response error.
func (*DashboardGetResponse) GetBody ¶
func (r *DashboardGetResponse) GetBody() (value *Dashboard, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*DashboardGetResponse) Header ¶
func (r *DashboardGetResponse) Header() http.Header
Header returns header of the response.
func (*DashboardGetResponse) Status ¶
func (r *DashboardGetResponse) Status() int
Status returns the response status code.
type DashboardGetServerRequest ¶
type DashboardGetServerRequest struct { }
DashboardGetServerRequest is the request for the 'get' method.
type DashboardGetServerResponse ¶
type DashboardGetServerResponse struct {
// contains filtered or unexported fields
}
DashboardGetServerResponse is the response for the 'get' method.
func (*DashboardGetServerResponse) Body ¶
func (r *DashboardGetServerResponse) Body(value *Dashboard) *DashboardGetServerResponse
Body sets the value of the 'body' parameter.
func (*DashboardGetServerResponse) Status ¶
func (r *DashboardGetServerResponse) Status(value int) *DashboardGetServerResponse
Status sets the status code.
type DashboardList ¶
type DashboardList struct {
// contains filtered or unexported fields
}
DashboardList is a list of values of the 'dashboard' type.
func (*DashboardList) Each ¶
func (l *DashboardList) Each(f func(item *Dashboard) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*DashboardList) Empty ¶
func (l *DashboardList) Empty() bool
Empty returns true if the list is empty.
func (*DashboardList) Get ¶
func (l *DashboardList) Get(i int) *Dashboard
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*DashboardList) GetHREF ¶
func (l *DashboardList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*DashboardList) HREF ¶
func (l *DashboardList) HREF() string
HREF returns the link to the list.
func (*DashboardList) Kind ¶
func (l *DashboardList) Kind() string
Kind returns the name of the type of the object.
func (*DashboardList) Link ¶
func (l *DashboardList) Link() bool
Link returns true iif this is a link.
func (*DashboardList) Range ¶
func (l *DashboardList) Range(f func(index int, item *Dashboard) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*DashboardList) Slice ¶
func (l *DashboardList) Slice() []*Dashboard
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type DashboardListBuilder ¶
type DashboardListBuilder struct {
// contains filtered or unexported fields
}
DashboardListBuilder contains the data and logic needed to build 'dashboard' objects.
func NewDashboardList ¶
func NewDashboardList() *DashboardListBuilder
NewDashboardList creates a new builder of 'dashboard' objects.
func (*DashboardListBuilder) Build ¶
func (b *DashboardListBuilder) Build() (list *DashboardList, err error)
Build creates a list of 'dashboard' objects using the configuration stored in the builder.
func (*DashboardListBuilder) Copy ¶
func (b *DashboardListBuilder) Copy(list *DashboardList) *DashboardListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*DashboardListBuilder) Items ¶
func (b *DashboardListBuilder) Items(values ...*DashboardBuilder) *DashboardListBuilder
Items sets the items of the list.
type DashboardPollRequest ¶
type DashboardPollRequest struct {
// contains filtered or unexported fields
}
DashboardPollRequest is the request for the Poll method.
func (*DashboardPollRequest) Header ¶
func (r *DashboardPollRequest) Header(name string, value interface{}) *DashboardPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*DashboardPollRequest) Interval ¶
func (r *DashboardPollRequest) Interval(value time.Duration) *DashboardPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*DashboardPollRequest) Parameter ¶
func (r *DashboardPollRequest) Parameter(name string, value interface{}) *DashboardPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*DashboardPollRequest) Predicate ¶
func (r *DashboardPollRequest) Predicate(value func(*DashboardGetResponse) bool) *DashboardPollRequest
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 (*DashboardPollRequest) StartContext ¶
func (r *DashboardPollRequest) StartContext(ctx context.Context) (response *DashboardPollResponse, 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 (*DashboardPollRequest) Status ¶
func (r *DashboardPollRequest) Status(value int) *DashboardPollRequest
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 DashboardPollResponse ¶
type DashboardPollResponse struct {
// contains filtered or unexported fields
}
DashboardPollResponse is the response for the Poll method.
func (*DashboardPollResponse) Body ¶
func (r *DashboardPollResponse) Body() *Dashboard
Body returns the value of the 'body' parameter.
func (*DashboardPollResponse) Error ¶
func (r *DashboardPollResponse) Error() *errors.Error
Error returns the response error.
func (*DashboardPollResponse) GetBody ¶
func (r *DashboardPollResponse) GetBody() (value *Dashboard, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*DashboardPollResponse) Header ¶
func (r *DashboardPollResponse) Header() http.Header
Header returns header of the response.
func (*DashboardPollResponse) Status ¶
func (r *DashboardPollResponse) Status() int
Status returns the response status code.
type DashboardServer ¶
type DashboardServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the dashboard. Get(ctx context.Context, request *DashboardGetServerRequest, response *DashboardGetServerResponse) error }
DashboardServer represents the interface the manages the 'dashboard' resource.
type DashboardsClient ¶
type DashboardsClient struct {
// contains filtered or unexported fields
}
DashboardsClient is the client of the 'dashboards' resource.
Manages the collection of dashboards.
func NewDashboardsClient ¶
func NewDashboardsClient(transport http.RoundTripper, path string, metric string) *DashboardsClient
NewDashboardsClient creates a new client for the 'dashboards' resource using the given transport to send the requests and receive the responses.
func (*DashboardsClient) Dashboard ¶
func (c *DashboardsClient) Dashboard(id string) *DashboardClient
Dashboard returns the target 'dashboard' resource for the given identifier.
Reference to the resource that manages a specific dashboard.
func (*DashboardsClient) List ¶
func (c *DashboardsClient) List() *DashboardsListRequest
List creates a request for the 'list' method.
Retrieves a list of dashboards.
type DashboardsListRequest ¶
type DashboardsListRequest struct {
// contains filtered or unexported fields
}
DashboardsListRequest is the request for the 'list' method.
func (*DashboardsListRequest) Header ¶
func (r *DashboardsListRequest) Header(name string, value interface{}) *DashboardsListRequest
Header adds a request header.
func (*DashboardsListRequest) Order ¶
func (r *DashboardsListRequest) Order(value string) *DashboardsListRequest
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 dashboard instead of the names of the columns of a table. For example, in order to sort the dashboards descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*DashboardsListRequest) Page ¶
func (r *DashboardsListRequest) Page(value int) *DashboardsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*DashboardsListRequest) Parameter ¶
func (r *DashboardsListRequest) Parameter(name string, value interface{}) *DashboardsListRequest
Parameter adds a query parameter.
func (*DashboardsListRequest) Search ¶
func (r *DashboardsListRequest) Search(value string) *DashboardsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the dashboard instead of the names of the columns of a table. For example, in order to retrieve all the dashboards with a name starting with `my` the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the dashboards that the user has permission to see will be returned.
func (*DashboardsListRequest) Send ¶
func (r *DashboardsListRequest) Send() (result *DashboardsListResponse, 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 (*DashboardsListRequest) SendContext ¶
func (r *DashboardsListRequest) SendContext(ctx context.Context) (result *DashboardsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*DashboardsListRequest) Size ¶
func (r *DashboardsListRequest) Size(value int) *DashboardsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type DashboardsListResponse ¶
type DashboardsListResponse struct {
// contains filtered or unexported fields
}
DashboardsListResponse is the response for the 'list' method.
func (*DashboardsListResponse) Error ¶
func (r *DashboardsListResponse) Error() *errors.Error
Error returns the response error.
func (*DashboardsListResponse) GetItems ¶
func (r *DashboardsListResponse) GetItems() (value *DashboardList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of dashboards.
func (*DashboardsListResponse) GetPage ¶
func (r *DashboardsListResponse) 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 (*DashboardsListResponse) GetSize ¶
func (r *DashboardsListResponse) 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 (*DashboardsListResponse) GetTotal ¶
func (r *DashboardsListResponse) 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 (*DashboardsListResponse) Header ¶
func (r *DashboardsListResponse) Header() http.Header
Header returns header of the response.
func (*DashboardsListResponse) Items ¶
func (r *DashboardsListResponse) Items() *DashboardList
Items returns the value of the 'items' parameter.
Retrieved list of dashboards.
func (*DashboardsListResponse) Page ¶
func (r *DashboardsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*DashboardsListResponse) Size ¶
func (r *DashboardsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*DashboardsListResponse) Status ¶
func (r *DashboardsListResponse) Status() int
Status returns the response status code.
func (*DashboardsListResponse) Total ¶
func (r *DashboardsListResponse) 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 DashboardsListServerRequest ¶
type DashboardsListServerRequest struct {
// contains filtered or unexported fields
}
DashboardsListServerRequest is the request for the 'list' method.
func (*DashboardsListServerRequest) GetOrder ¶
func (r *DashboardsListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
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 dashboard instead of the names of the columns of a table. For example, in order to sort the dashboards descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*DashboardsListServerRequest) GetPage ¶
func (r *DashboardsListServerRequest) 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 (*DashboardsListServerRequest) GetSearch ¶
func (r *DashboardsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the dashboard instead of the names of the columns of a table. For example, in order to retrieve all the dashboards with a name starting with `my` the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the dashboards that the user has permission to see will be returned.
func (*DashboardsListServerRequest) GetSize ¶
func (r *DashboardsListServerRequest) 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 (*DashboardsListServerRequest) Order ¶
func (r *DashboardsListServerRequest) Order() string
Order returns 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 dashboard instead of the names of the columns of a table. For example, in order to sort the dashboards descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*DashboardsListServerRequest) Page ¶
func (r *DashboardsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*DashboardsListServerRequest) Search ¶
func (r *DashboardsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the dashboard instead of the names of the columns of a table. For example, in order to retrieve all the dashboards with a name starting with `my` the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the dashboards that the user has permission to see will be returned.
func (*DashboardsListServerRequest) Size ¶
func (r *DashboardsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type DashboardsListServerResponse ¶
type DashboardsListServerResponse struct {
// contains filtered or unexported fields
}
DashboardsListServerResponse is the response for the 'list' method.
func (*DashboardsListServerResponse) Items ¶
func (r *DashboardsListServerResponse) Items(value *DashboardList) *DashboardsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of dashboards.
func (*DashboardsListServerResponse) Page ¶
func (r *DashboardsListServerResponse) Page(value int) *DashboardsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*DashboardsListServerResponse) Size ¶
func (r *DashboardsListServerResponse) Size(value int) *DashboardsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*DashboardsListServerResponse) Status ¶
func (r *DashboardsListServerResponse) Status(value int) *DashboardsListServerResponse
Status sets the status code.
func (*DashboardsListServerResponse) Total ¶
func (r *DashboardsListServerResponse) Total(value int) *DashboardsListServerResponse
Total sets 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 DashboardsServer ¶
type DashboardsServer interface { // List handles a request for the 'list' method. // // Retrieves a list of dashboards. List(ctx context.Context, request *DashboardsListServerRequest, response *DashboardsListServerResponse) error // Dashboard returns the target 'dashboard' server for the given identifier. // // Reference to the resource that manages a specific dashboard. Dashboard(id string) DashboardServer }
DashboardsServer represents the interface the manages the 'dashboards' resource.
type ExternalConfiguration ¶
type ExternalConfiguration struct {
// contains filtered or unexported fields
}
ExternalConfiguration represents the values of the 'external_configuration' type.
Representation of cluster external configuration.
func UnmarshalExternalConfiguration ¶
func UnmarshalExternalConfiguration(source interface{}) (object *ExternalConfiguration, err error)
UnmarshalExternalConfiguration reads a value of the 'external_configuration' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalExternalConfigurationList ¶
func UnmarshalExternalConfigurationList(source interface{}) (items []*ExternalConfiguration, err error)
UnmarshalExternalConfigurationList reads a list of values of the 'external_configuration' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ExternalConfiguration) Empty ¶
func (o *ExternalConfiguration) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ExternalConfiguration) GetLabels ¶
func (o *ExternalConfiguration) GetLabels() (value *LabelList, ok bool)
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
list of labels externally configured on the clusterdeployment.
func (*ExternalConfiguration) GetSyncsets ¶
func (o *ExternalConfiguration) GetSyncsets() (value *SyncsetList, ok bool)
GetSyncsets returns the value of the 'syncsets' attribute and a flag indicating if the attribute has a value.
list of syncsets externally configured on the cluster.
func (*ExternalConfiguration) Labels ¶
func (o *ExternalConfiguration) Labels() *LabelList
Labels returns the value of the 'labels' attribute, or the zero value of the type if the attribute doesn't have a value.
list of labels externally configured on the clusterdeployment.
func (*ExternalConfiguration) Syncsets ¶
func (o *ExternalConfiguration) Syncsets() *SyncsetList
Syncsets returns the value of the 'syncsets' attribute, or the zero value of the type if the attribute doesn't have a value.
list of syncsets externally configured on the cluster.
type ExternalConfigurationBuilder ¶
type ExternalConfigurationBuilder struct {
// contains filtered or unexported fields
}
ExternalConfigurationBuilder contains the data and logic needed to build 'external_configuration' objects.
Representation of cluster external configuration.
func NewExternalConfiguration ¶
func NewExternalConfiguration() *ExternalConfigurationBuilder
NewExternalConfiguration creates a new builder of 'external_configuration' objects.
func (*ExternalConfigurationBuilder) Build ¶
func (b *ExternalConfigurationBuilder) Build() (object *ExternalConfiguration, err error)
Build creates a 'external_configuration' object using the configuration stored in the builder.
func (*ExternalConfigurationBuilder) Copy ¶
func (b *ExternalConfigurationBuilder) Copy(object *ExternalConfiguration) *ExternalConfigurationBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ExternalConfigurationBuilder) Labels ¶
func (b *ExternalConfigurationBuilder) Labels(value *LabelListBuilder) *ExternalConfigurationBuilder
Labels sets the value of the 'labels' attribute to the given values.
func (*ExternalConfigurationBuilder) Syncsets ¶
func (b *ExternalConfigurationBuilder) Syncsets(value *SyncsetListBuilder) *ExternalConfigurationBuilder
Syncsets sets the value of the 'syncsets' attribute to the given values.
type ExternalConfigurationClient ¶
type ExternalConfigurationClient struct {
// contains filtered or unexported fields
}
ExternalConfigurationClient is the client of the 'external_configuration' resource.
Manages a specific external configuration.
func NewExternalConfigurationClient ¶
func NewExternalConfigurationClient(transport http.RoundTripper, path string, metric string) *ExternalConfigurationClient
NewExternalConfigurationClient creates a new client for the 'external_configuration' resource using the given transport to send the requests and receive the responses.
func (*ExternalConfigurationClient) Get ¶
func (c *ExternalConfigurationClient) Get() *ExternalConfigurationGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the external configuration.
func (*ExternalConfigurationClient) Labels ¶
func (c *ExternalConfigurationClient) Labels() *LabelsClient
Labels returns the target 'labels' resource.
Reference to the resource that manages the collection of labels.
func (*ExternalConfigurationClient) Poll ¶
func (c *ExternalConfigurationClient) Poll() *ExternalConfigurationPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*ExternalConfigurationClient) Syncsets ¶
func (c *ExternalConfigurationClient) Syncsets() *SyncsetsClient
Syncsets returns the target 'syncsets' resource.
Reference to the resource that manages the collection of syncsets.
type ExternalConfigurationGetRequest ¶
type ExternalConfigurationGetRequest struct {
// contains filtered or unexported fields
}
ExternalConfigurationGetRequest is the request for the 'get' method.
func (*ExternalConfigurationGetRequest) Header ¶
func (r *ExternalConfigurationGetRequest) Header(name string, value interface{}) *ExternalConfigurationGetRequest
Header adds a request header.
func (*ExternalConfigurationGetRequest) Parameter ¶
func (r *ExternalConfigurationGetRequest) Parameter(name string, value interface{}) *ExternalConfigurationGetRequest
Parameter adds a query parameter.
func (*ExternalConfigurationGetRequest) Send ¶
func (r *ExternalConfigurationGetRequest) Send() (result *ExternalConfigurationGetResponse, 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 (*ExternalConfigurationGetRequest) SendContext ¶
func (r *ExternalConfigurationGetRequest) SendContext(ctx context.Context) (result *ExternalConfigurationGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ExternalConfigurationGetResponse ¶
type ExternalConfigurationGetResponse struct {
// contains filtered or unexported fields
}
ExternalConfigurationGetResponse is the response for the 'get' method.
func (*ExternalConfigurationGetResponse) Body ¶
func (r *ExternalConfigurationGetResponse) Body() *ExternalConfiguration
Body returns the value of the 'body' parameter.
Retreived log.
func (*ExternalConfigurationGetResponse) Error ¶
func (r *ExternalConfigurationGetResponse) Error() *errors.Error
Error returns the response error.
func (*ExternalConfigurationGetResponse) GetBody ¶
func (r *ExternalConfigurationGetResponse) GetBody() (value *ExternalConfiguration, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Retreived log.
func (*ExternalConfigurationGetResponse) Header ¶
func (r *ExternalConfigurationGetResponse) Header() http.Header
Header returns header of the response.
func (*ExternalConfigurationGetResponse) Status ¶
func (r *ExternalConfigurationGetResponse) Status() int
Status returns the response status code.
type ExternalConfigurationGetServerRequest ¶
type ExternalConfigurationGetServerRequest struct { }
ExternalConfigurationGetServerRequest is the request for the 'get' method.
type ExternalConfigurationGetServerResponse ¶
type ExternalConfigurationGetServerResponse struct {
// contains filtered or unexported fields
}
ExternalConfigurationGetServerResponse is the response for the 'get' method.
func (*ExternalConfigurationGetServerResponse) Body ¶
func (r *ExternalConfigurationGetServerResponse) Body(value *ExternalConfiguration) *ExternalConfigurationGetServerResponse
Body sets the value of the 'body' parameter.
Retreived log.
func (*ExternalConfigurationGetServerResponse) Status ¶
func (r *ExternalConfigurationGetServerResponse) Status(value int) *ExternalConfigurationGetServerResponse
Status sets the status code.
type ExternalConfigurationList ¶
type ExternalConfigurationList struct {
// contains filtered or unexported fields
}
ExternalConfigurationList is a list of values of the 'external_configuration' type.
func (*ExternalConfigurationList) Each ¶
func (l *ExternalConfigurationList) Each(f func(item *ExternalConfiguration) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ExternalConfigurationList) Empty ¶
func (l *ExternalConfigurationList) Empty() bool
Empty returns true if the list is empty.
func (*ExternalConfigurationList) Get ¶
func (l *ExternalConfigurationList) Get(i int) *ExternalConfiguration
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ExternalConfigurationList) Len ¶
func (l *ExternalConfigurationList) Len() int
Len returns the length of the list.
func (*ExternalConfigurationList) Range ¶
func (l *ExternalConfigurationList) Range(f func(index int, item *ExternalConfiguration) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ExternalConfigurationList) Slice ¶
func (l *ExternalConfigurationList) Slice() []*ExternalConfiguration
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ExternalConfigurationListBuilder ¶
type ExternalConfigurationListBuilder struct {
// contains filtered or unexported fields
}
ExternalConfigurationListBuilder contains the data and logic needed to build 'external_configuration' objects.
func NewExternalConfigurationList ¶
func NewExternalConfigurationList() *ExternalConfigurationListBuilder
NewExternalConfigurationList creates a new builder of 'external_configuration' objects.
func (*ExternalConfigurationListBuilder) Build ¶
func (b *ExternalConfigurationListBuilder) Build() (list *ExternalConfigurationList, err error)
Build creates a list of 'external_configuration' objects using the configuration stored in the builder.
func (*ExternalConfigurationListBuilder) Copy ¶
func (b *ExternalConfigurationListBuilder) Copy(list *ExternalConfigurationList) *ExternalConfigurationListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ExternalConfigurationListBuilder) Items ¶
func (b *ExternalConfigurationListBuilder) Items(values ...*ExternalConfigurationBuilder) *ExternalConfigurationListBuilder
Items sets the items of the list.
type ExternalConfigurationPollRequest ¶
type ExternalConfigurationPollRequest struct {
// contains filtered or unexported fields
}
ExternalConfigurationPollRequest is the request for the Poll method.
func (*ExternalConfigurationPollRequest) Header ¶
func (r *ExternalConfigurationPollRequest) Header(name string, value interface{}) *ExternalConfigurationPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ExternalConfigurationPollRequest) Interval ¶
func (r *ExternalConfigurationPollRequest) Interval(value time.Duration) *ExternalConfigurationPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ExternalConfigurationPollRequest) Parameter ¶
func (r *ExternalConfigurationPollRequest) Parameter(name string, value interface{}) *ExternalConfigurationPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ExternalConfigurationPollRequest) Predicate ¶
func (r *ExternalConfigurationPollRequest) Predicate(value func(*ExternalConfigurationGetResponse) bool) *ExternalConfigurationPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ExternalConfigurationPollRequest) StartContext ¶
func (r *ExternalConfigurationPollRequest) StartContext(ctx context.Context) (response *ExternalConfigurationPollResponse, 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 (*ExternalConfigurationPollRequest) Status ¶
func (r *ExternalConfigurationPollRequest) Status(value int) *ExternalConfigurationPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ExternalConfigurationPollResponse ¶
type ExternalConfigurationPollResponse struct {
// contains filtered or unexported fields
}
ExternalConfigurationPollResponse is the response for the Poll method.
func (*ExternalConfigurationPollResponse) Body ¶
func (r *ExternalConfigurationPollResponse) Body() *ExternalConfiguration
Body returns the value of the 'body' parameter.
Retreived log.
func (*ExternalConfigurationPollResponse) Error ¶
func (r *ExternalConfigurationPollResponse) Error() *errors.Error
Error returns the response error.
func (*ExternalConfigurationPollResponse) GetBody ¶
func (r *ExternalConfigurationPollResponse) GetBody() (value *ExternalConfiguration, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Retreived log.
func (*ExternalConfigurationPollResponse) Header ¶
func (r *ExternalConfigurationPollResponse) Header() http.Header
Header returns header of the response.
func (*ExternalConfigurationPollResponse) Status ¶
func (r *ExternalConfigurationPollResponse) Status() int
Status returns the response status code.
type ExternalConfigurationServer ¶
type ExternalConfigurationServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the external configuration. Get(ctx context.Context, request *ExternalConfigurationGetServerRequest, response *ExternalConfigurationGetServerResponse) error // Labels returns the target 'labels' resource. // // Reference to the resource that manages the collection of labels. Labels() LabelsServer // Syncsets returns the target 'syncsets' resource. // // Reference to the resource that manages the collection of syncsets. Syncsets() SyncsetsServer }
ExternalConfigurationServer represents the interface the manages the 'external_configuration' resource.
type Flavour ¶
type Flavour struct {
// contains filtered or unexported fields
}
Flavour represents the values of the 'flavour' type.
Set of predefined properties of a cluster. For example, a _huge_ flavour can be a cluster with 10 infra nodes and 1000 compute nodes.
func UnmarshalFlavour ¶
UnmarshalFlavour reads a value of the 'flavour' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalFlavourList ¶
UnmarshalFlavourList reads a list of values of the 'flavour' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Flavour) AWS ¶
func (o *Flavour) AWS() *AWSFlavour
AWS returns the value of the 'AWS' attribute, or the zero value of the type if the attribute doesn't have a value.
Default _Amazon Web Services_ settings of the cluster.
func (*Flavour) GCP ¶
func (o *Flavour) GCP() *GCPFlavour
GCP returns the value of the 'GCP' attribute, or the zero value of the type if the attribute doesn't have a value.
Default _Google Cloud Platform_ settings of the cluster.
func (*Flavour) GetAWS ¶
func (o *Flavour) GetAWS() (value *AWSFlavour, ok bool)
GetAWS returns the value of the 'AWS' attribute and a flag indicating if the attribute has a value.
Default _Amazon Web Services_ settings of the cluster.
func (*Flavour) GetGCP ¶
func (o *Flavour) GetGCP() (value *GCPFlavour, ok bool)
GetGCP returns the value of the 'GCP' attribute and a flag indicating if the attribute has a value.
Default _Google Cloud Platform_ settings of the cluster.
func (*Flavour) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Flavour) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Flavour) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Human friendly identifier of the cluster, for example `4`.
NOTE: Currently for all flavours the `id` and `name` attributes have exactly the same values.
func (*Flavour) GetNetwork ¶
GetNetwork returns the value of the 'network' attribute and a flag indicating if the attribute has a value.
Default network settings of the cluster.
These can be overridden specifying in the cluster itself a different set of settings.
func (*Flavour) GetNodes ¶
func (o *Flavour) GetNodes() (value *FlavourNodes, ok bool)
GetNodes returns the value of the 'nodes' attribute and a flag indicating if the attribute has a value.
Number of nodes that will be used by default when creating a cluster that uses this flavour.
These can be overridden specifying in the cluster itself a different number of nodes.
func (*Flavour) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Human friendly identifier of the cluster, for example `4`.
NOTE: Currently for all flavours the `id` and `name` attributes have exactly the same values.
func (*Flavour) Network ¶
Network returns the value of the 'network' attribute, or the zero value of the type if the attribute doesn't have a value.
Default network settings of the cluster.
These can be overridden specifying in the cluster itself a different set of settings.
func (*Flavour) Nodes ¶
func (o *Flavour) Nodes() *FlavourNodes
Nodes returns the value of the 'nodes' attribute, or the zero value of the type if the attribute doesn't have a value.
Number of nodes that will be used by default when creating a cluster that uses this flavour.
These can be overridden specifying in the cluster itself a different number of nodes.
type FlavourBuilder ¶
type FlavourBuilder struct {
// contains filtered or unexported fields
}
FlavourBuilder contains the data and logic needed to build 'flavour' objects.
Set of predefined properties of a cluster. For example, a _huge_ flavour can be a cluster with 10 infra nodes and 1000 compute nodes.
func NewFlavour ¶
func NewFlavour() *FlavourBuilder
NewFlavour creates a new builder of 'flavour' objects.
func (*FlavourBuilder) AWS ¶
func (b *FlavourBuilder) AWS(value *AWSFlavourBuilder) *FlavourBuilder
AWS sets the value of the 'AWS' attribute to the given value.
Specification for different classes of nodes inside a flavour.
func (*FlavourBuilder) Build ¶
func (b *FlavourBuilder) Build() (object *Flavour, err error)
Build creates a 'flavour' object using the configuration stored in the builder.
func (*FlavourBuilder) Copy ¶
func (b *FlavourBuilder) Copy(object *Flavour) *FlavourBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*FlavourBuilder) GCP ¶
func (b *FlavourBuilder) GCP(value *GCPFlavourBuilder) *FlavourBuilder
GCP sets the value of the 'GCP' attribute to the given value.
Specification for different classes of nodes inside a flavour.
func (*FlavourBuilder) HREF ¶
func (b *FlavourBuilder) HREF(value string) *FlavourBuilder
HREF sets the link to the object.
func (*FlavourBuilder) ID ¶
func (b *FlavourBuilder) ID(value string) *FlavourBuilder
ID sets the identifier of the object.
func (*FlavourBuilder) Link ¶
func (b *FlavourBuilder) Link(value bool) *FlavourBuilder
Link sets the flag that indicates if this is a link.
func (*FlavourBuilder) Name ¶
func (b *FlavourBuilder) Name(value string) *FlavourBuilder
Name sets the value of the 'name' attribute to the given value.
func (*FlavourBuilder) Network ¶
func (b *FlavourBuilder) Network(value *NetworkBuilder) *FlavourBuilder
Network sets the value of the 'network' attribute to the given value.
Network configuration of a cluster.
func (*FlavourBuilder) Nodes ¶
func (b *FlavourBuilder) Nodes(value *FlavourNodesBuilder) *FlavourBuilder
Nodes sets the value of the 'nodes' attribute to the given value.
Counts of different classes of nodes inside a flavour.
type FlavourClient ¶
type FlavourClient struct {
// contains filtered or unexported fields
}
FlavourClient is the client of the 'flavour' resource.
Manages a specific cluster flavour.
func NewFlavourClient ¶
func NewFlavourClient(transport http.RoundTripper, path string, metric string) *FlavourClient
NewFlavourClient creates a new client for the 'flavour' resource using the given transport to send the requests and receive the responses.
func (*FlavourClient) Get ¶
func (c *FlavourClient) Get() *FlavourGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the cluster flavour.
func (*FlavourClient) Poll ¶
func (c *FlavourClient) Poll() *FlavourPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*FlavourClient) Update ¶
func (c *FlavourClient) Update() *FlavourUpdateRequest
Update creates a request for the 'update' method.
Updates the flavour.
Attributes that can be updated are:
- `aws.infra_volume` - `aws.infra_instance_type` - `gcp.infra_instance_type`
type FlavourGetRequest ¶
type FlavourGetRequest struct {
// contains filtered or unexported fields
}
FlavourGetRequest is the request for the 'get' method.
func (*FlavourGetRequest) Header ¶
func (r *FlavourGetRequest) Header(name string, value interface{}) *FlavourGetRequest
Header adds a request header.
func (*FlavourGetRequest) Parameter ¶
func (r *FlavourGetRequest) Parameter(name string, value interface{}) *FlavourGetRequest
Parameter adds a query parameter.
func (*FlavourGetRequest) Send ¶
func (r *FlavourGetRequest) Send() (result *FlavourGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*FlavourGetRequest) SendContext ¶
func (r *FlavourGetRequest) SendContext(ctx context.Context) (result *FlavourGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type FlavourGetResponse ¶
type FlavourGetResponse struct {
// contains filtered or unexported fields
}
FlavourGetResponse is the response for the 'get' method.
func (*FlavourGetResponse) Body ¶
func (r *FlavourGetResponse) Body() *Flavour
Body returns the value of the 'body' parameter.
func (*FlavourGetResponse) Error ¶
func (r *FlavourGetResponse) Error() *errors.Error
Error returns the response error.
func (*FlavourGetResponse) GetBody ¶
func (r *FlavourGetResponse) GetBody() (value *Flavour, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*FlavourGetResponse) Header ¶
func (r *FlavourGetResponse) Header() http.Header
Header returns header of the response.
func (*FlavourGetResponse) Status ¶
func (r *FlavourGetResponse) Status() int
Status returns the response status code.
type FlavourGetServerRequest ¶
type FlavourGetServerRequest struct { }
FlavourGetServerRequest is the request for the 'get' method.
type FlavourGetServerResponse ¶
type FlavourGetServerResponse struct {
// contains filtered or unexported fields
}
FlavourGetServerResponse is the response for the 'get' method.
func (*FlavourGetServerResponse) Body ¶
func (r *FlavourGetServerResponse) Body(value *Flavour) *FlavourGetServerResponse
Body sets the value of the 'body' parameter.
func (*FlavourGetServerResponse) Status ¶
func (r *FlavourGetServerResponse) Status(value int) *FlavourGetServerResponse
Status sets the status code.
type FlavourList ¶
type FlavourList struct {
// contains filtered or unexported fields
}
FlavourList is a list of values of the 'flavour' type.
func (*FlavourList) Each ¶
func (l *FlavourList) Each(f func(item *Flavour) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FlavourList) Empty ¶
func (l *FlavourList) Empty() bool
Empty returns true if the list is empty.
func (*FlavourList) Get ¶
func (l *FlavourList) Get(i int) *Flavour
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*FlavourList) GetHREF ¶
func (l *FlavourList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*FlavourList) Kind ¶
func (l *FlavourList) Kind() string
Kind returns the name of the type of the object.
func (*FlavourList) Range ¶
func (l *FlavourList) Range(f func(index int, item *Flavour) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FlavourList) Slice ¶
func (l *FlavourList) Slice() []*Flavour
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type FlavourListBuilder ¶
type FlavourListBuilder struct {
// contains filtered or unexported fields
}
FlavourListBuilder contains the data and logic needed to build 'flavour' objects.
func NewFlavourList ¶
func NewFlavourList() *FlavourListBuilder
NewFlavourList creates a new builder of 'flavour' objects.
func (*FlavourListBuilder) Build ¶
func (b *FlavourListBuilder) Build() (list *FlavourList, err error)
Build creates a list of 'flavour' objects using the configuration stored in the builder.
func (*FlavourListBuilder) Copy ¶
func (b *FlavourListBuilder) Copy(list *FlavourList) *FlavourListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*FlavourListBuilder) Items ¶
func (b *FlavourListBuilder) Items(values ...*FlavourBuilder) *FlavourListBuilder
Items sets the items of the list.
type FlavourNodes ¶
type FlavourNodes struct {
// contains filtered or unexported fields
}
FlavourNodes represents the values of the 'flavour_nodes' type.
Counts of different classes of nodes inside a flavour.
func UnmarshalFlavourNodes ¶
func UnmarshalFlavourNodes(source interface{}) (object *FlavourNodes, err error)
UnmarshalFlavourNodes reads a value of the 'flavour_nodes' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalFlavourNodesList ¶
func UnmarshalFlavourNodesList(source interface{}) (items []*FlavourNodes, err error)
UnmarshalFlavourNodesList reads a list of values of the 'flavour_nodes' type from the given source, which can be a slice of bytes, a string or a reader.
func (*FlavourNodes) Empty ¶
func (o *FlavourNodes) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*FlavourNodes) GetMaster ¶
func (o *FlavourNodes) GetMaster() (value int, ok bool)
GetMaster returns the value of the 'master' attribute and a flag indicating if the attribute has a value.
Number of master nodes of the cluster.
func (*FlavourNodes) Master ¶
func (o *FlavourNodes) Master() int
Master returns the value of the 'master' attribute, or the zero value of the type if the attribute doesn't have a value.
Number of master nodes of the cluster.
type FlavourNodesBuilder ¶
type FlavourNodesBuilder struct {
// contains filtered or unexported fields
}
FlavourNodesBuilder contains the data and logic needed to build 'flavour_nodes' objects.
Counts of different classes of nodes inside a flavour.
func NewFlavourNodes ¶
func NewFlavourNodes() *FlavourNodesBuilder
NewFlavourNodes creates a new builder of 'flavour_nodes' objects.
func (*FlavourNodesBuilder) Build ¶
func (b *FlavourNodesBuilder) Build() (object *FlavourNodes, err error)
Build creates a 'flavour_nodes' object using the configuration stored in the builder.
func (*FlavourNodesBuilder) Copy ¶
func (b *FlavourNodesBuilder) Copy(object *FlavourNodes) *FlavourNodesBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*FlavourNodesBuilder) Master ¶
func (b *FlavourNodesBuilder) Master(value int) *FlavourNodesBuilder
Master sets the value of the 'master' attribute to the given value.
type FlavourNodesList ¶
type FlavourNodesList struct {
// contains filtered or unexported fields
}
FlavourNodesList is a list of values of the 'flavour_nodes' type.
func (*FlavourNodesList) Each ¶
func (l *FlavourNodesList) Each(f func(item *FlavourNodes) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FlavourNodesList) Empty ¶
func (l *FlavourNodesList) Empty() bool
Empty returns true if the list is empty.
func (*FlavourNodesList) Get ¶
func (l *FlavourNodesList) Get(i int) *FlavourNodes
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*FlavourNodesList) Len ¶
func (l *FlavourNodesList) Len() int
Len returns the length of the list.
func (*FlavourNodesList) Range ¶
func (l *FlavourNodesList) Range(f func(index int, item *FlavourNodes) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*FlavourNodesList) Slice ¶
func (l *FlavourNodesList) Slice() []*FlavourNodes
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type FlavourNodesListBuilder ¶
type FlavourNodesListBuilder struct {
// contains filtered or unexported fields
}
FlavourNodesListBuilder contains the data and logic needed to build 'flavour_nodes' objects.
func NewFlavourNodesList ¶
func NewFlavourNodesList() *FlavourNodesListBuilder
NewFlavourNodesList creates a new builder of 'flavour_nodes' objects.
func (*FlavourNodesListBuilder) Build ¶
func (b *FlavourNodesListBuilder) Build() (list *FlavourNodesList, err error)
Build creates a list of 'flavour_nodes' objects using the configuration stored in the builder.
func (*FlavourNodesListBuilder) Copy ¶
func (b *FlavourNodesListBuilder) Copy(list *FlavourNodesList) *FlavourNodesListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*FlavourNodesListBuilder) Items ¶
func (b *FlavourNodesListBuilder) Items(values ...*FlavourNodesBuilder) *FlavourNodesListBuilder
Items sets the items of the list.
type FlavourPollRequest ¶
type FlavourPollRequest struct {
// contains filtered or unexported fields
}
FlavourPollRequest is the request for the Poll method.
func (*FlavourPollRequest) Header ¶
func (r *FlavourPollRequest) Header(name string, value interface{}) *FlavourPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*FlavourPollRequest) Interval ¶
func (r *FlavourPollRequest) Interval(value time.Duration) *FlavourPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*FlavourPollRequest) Parameter ¶
func (r *FlavourPollRequest) Parameter(name string, value interface{}) *FlavourPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*FlavourPollRequest) Predicate ¶
func (r *FlavourPollRequest) Predicate(value func(*FlavourGetResponse) bool) *FlavourPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*FlavourPollRequest) StartContext ¶
func (r *FlavourPollRequest) StartContext(ctx context.Context) (response *FlavourPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*FlavourPollRequest) Status ¶
func (r *FlavourPollRequest) Status(value int) *FlavourPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type FlavourPollResponse ¶
type FlavourPollResponse struct {
// contains filtered or unexported fields
}
FlavourPollResponse is the response for the Poll method.
func (*FlavourPollResponse) Body ¶
func (r *FlavourPollResponse) Body() *Flavour
Body returns the value of the 'body' parameter.
func (*FlavourPollResponse) Error ¶
func (r *FlavourPollResponse) Error() *errors.Error
Error returns the response error.
func (*FlavourPollResponse) GetBody ¶
func (r *FlavourPollResponse) GetBody() (value *Flavour, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*FlavourPollResponse) Header ¶
func (r *FlavourPollResponse) Header() http.Header
Header returns header of the response.
func (*FlavourPollResponse) Status ¶
func (r *FlavourPollResponse) Status() int
Status returns the response status code.
type FlavourServer ¶
type FlavourServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the cluster flavour. Get(ctx context.Context, request *FlavourGetServerRequest, response *FlavourGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the flavour. // // Attributes that can be updated are: // // - `aws.infra_volume` // - `aws.infra_instance_type` // - `gcp.infra_instance_type` Update(ctx context.Context, request *FlavourUpdateServerRequest, response *FlavourUpdateServerResponse) error }
FlavourServer represents the interface the manages the 'flavour' resource.
type FlavourUpdateRequest ¶
type FlavourUpdateRequest struct {
// contains filtered or unexported fields
}
FlavourUpdateRequest is the request for the 'update' method.
func (*FlavourUpdateRequest) Body ¶
func (r *FlavourUpdateRequest) Body(value *Flavour) *FlavourUpdateRequest
Body sets the value of the 'body' parameter.
func (*FlavourUpdateRequest) Header ¶
func (r *FlavourUpdateRequest) Header(name string, value interface{}) *FlavourUpdateRequest
Header adds a request header.
func (*FlavourUpdateRequest) Parameter ¶
func (r *FlavourUpdateRequest) Parameter(name string, value interface{}) *FlavourUpdateRequest
Parameter adds a query parameter.
func (*FlavourUpdateRequest) Send ¶
func (r *FlavourUpdateRequest) Send() (result *FlavourUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*FlavourUpdateRequest) SendContext ¶
func (r *FlavourUpdateRequest) SendContext(ctx context.Context) (result *FlavourUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type FlavourUpdateResponse ¶
type FlavourUpdateResponse struct {
// contains filtered or unexported fields
}
FlavourUpdateResponse is the response for the 'update' method.
func (*FlavourUpdateResponse) Body ¶
func (r *FlavourUpdateResponse) Body() *Flavour
Body returns the value of the 'body' parameter.
func (*FlavourUpdateResponse) Error ¶
func (r *FlavourUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*FlavourUpdateResponse) GetBody ¶
func (r *FlavourUpdateResponse) GetBody() (value *Flavour, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*FlavourUpdateResponse) Header ¶
func (r *FlavourUpdateResponse) Header() http.Header
Header returns header of the response.
func (*FlavourUpdateResponse) Status ¶
func (r *FlavourUpdateResponse) Status() int
Status returns the response status code.
type FlavourUpdateServerRequest ¶
type FlavourUpdateServerRequest struct {
// contains filtered or unexported fields
}
FlavourUpdateServerRequest is the request for the 'update' method.
func (*FlavourUpdateServerRequest) Body ¶
func (r *FlavourUpdateServerRequest) Body() *Flavour
Body returns the value of the 'body' parameter.
func (*FlavourUpdateServerRequest) GetBody ¶
func (r *FlavourUpdateServerRequest) GetBody() (value *Flavour, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type FlavourUpdateServerResponse ¶
type FlavourUpdateServerResponse struct {
// contains filtered or unexported fields
}
FlavourUpdateServerResponse is the response for the 'update' method.
func (*FlavourUpdateServerResponse) Body ¶
func (r *FlavourUpdateServerResponse) Body(value *Flavour) *FlavourUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*FlavourUpdateServerResponse) Status ¶
func (r *FlavourUpdateServerResponse) Status(value int) *FlavourUpdateServerResponse
Status sets the status code.
type FlavoursAddRequest ¶
type FlavoursAddRequest struct {
// contains filtered or unexported fields
}
FlavoursAddRequest is the request for the 'add' method.
func (*FlavoursAddRequest) Body ¶
func (r *FlavoursAddRequest) Body(value *Flavour) *FlavoursAddRequest
Body sets the value of the 'body' parameter.
Details of the cluster flavour.
func (*FlavoursAddRequest) Header ¶
func (r *FlavoursAddRequest) Header(name string, value interface{}) *FlavoursAddRequest
Header adds a request header.
func (*FlavoursAddRequest) Parameter ¶
func (r *FlavoursAddRequest) Parameter(name string, value interface{}) *FlavoursAddRequest
Parameter adds a query parameter.
func (*FlavoursAddRequest) Send ¶
func (r *FlavoursAddRequest) Send() (result *FlavoursAddResponse, 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 (*FlavoursAddRequest) SendContext ¶
func (r *FlavoursAddRequest) SendContext(ctx context.Context) (result *FlavoursAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type FlavoursAddResponse ¶
type FlavoursAddResponse struct {
// contains filtered or unexported fields
}
FlavoursAddResponse is the response for the 'add' method.
func (*FlavoursAddResponse) Body ¶
func (r *FlavoursAddResponse) Body() *Flavour
Body returns the value of the 'body' parameter.
Details of the cluster flavour.
func (*FlavoursAddResponse) Error ¶
func (r *FlavoursAddResponse) Error() *errors.Error
Error returns the response error.
func (*FlavoursAddResponse) GetBody ¶
func (r *FlavoursAddResponse) GetBody() (value *Flavour, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Details of the cluster flavour.
func (*FlavoursAddResponse) Header ¶
func (r *FlavoursAddResponse) Header() http.Header
Header returns header of the response.
func (*FlavoursAddResponse) Status ¶
func (r *FlavoursAddResponse) Status() int
Status returns the response status code.
type FlavoursAddServerRequest ¶
type FlavoursAddServerRequest struct {
// contains filtered or unexported fields
}
FlavoursAddServerRequest is the request for the 'add' method.
func (*FlavoursAddServerRequest) Body ¶
func (r *FlavoursAddServerRequest) Body() *Flavour
Body returns the value of the 'body' parameter.
Details of the cluster flavour.
func (*FlavoursAddServerRequest) GetBody ¶
func (r *FlavoursAddServerRequest) GetBody() (value *Flavour, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Details of the cluster flavour.
type FlavoursAddServerResponse ¶
type FlavoursAddServerResponse struct {
// contains filtered or unexported fields
}
FlavoursAddServerResponse is the response for the 'add' method.
func (*FlavoursAddServerResponse) Body ¶
func (r *FlavoursAddServerResponse) Body(value *Flavour) *FlavoursAddServerResponse
Body sets the value of the 'body' parameter.
Details of the cluster flavour.
func (*FlavoursAddServerResponse) Status ¶
func (r *FlavoursAddServerResponse) Status(value int) *FlavoursAddServerResponse
Status sets the status code.
type FlavoursClient ¶
type FlavoursClient struct {
// contains filtered or unexported fields
}
FlavoursClient is the client of the 'flavours' resource.
Manages the collection of cluster flavours.
func NewFlavoursClient ¶
func NewFlavoursClient(transport http.RoundTripper, path string, metric string) *FlavoursClient
NewFlavoursClient creates a new client for the 'flavours' resource using the given transport to send the requests and receive the responses.
func (*FlavoursClient) Add ¶
func (c *FlavoursClient) Add() *FlavoursAddRequest
Add creates a request for the 'add' method.
Adds a new cluster flavour.
func (*FlavoursClient) Flavour ¶
func (c *FlavoursClient) Flavour(id string) *FlavourClient
Flavour returns the target 'flavour' resource for the given identifier.
Reference to the resource that manages a specific flavour.
func (*FlavoursClient) List ¶
func (c *FlavoursClient) List() *FlavoursListRequest
List creates a request for the 'list' method.
type FlavoursListRequest ¶
type FlavoursListRequest struct {
// contains filtered or unexported fields
}
FlavoursListRequest is the request for the 'list' method.
func (*FlavoursListRequest) Header ¶
func (r *FlavoursListRequest) Header(name string, value interface{}) *FlavoursListRequest
Header adds a request header.
func (*FlavoursListRequest) Order ¶
func (r *FlavoursListRequest) Order(value string) *FlavoursListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the flavour instead of the names of the columns of a table. For example, in order to sort the flavours descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*FlavoursListRequest) Page ¶
func (r *FlavoursListRequest) Page(value int) *FlavoursListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*FlavoursListRequest) Parameter ¶
func (r *FlavoursListRequest) Parameter(name string, value interface{}) *FlavoursListRequest
Parameter adds a query parameter.
func (*FlavoursListRequest) Search ¶
func (r *FlavoursListRequest) Search(value string) *FlavoursListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the flavour instead of the names of the columns of a table. For example, in order to retrieve all the flavours with a name starting with `my`the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the flavours that the user has permission to see will be returned.
func (*FlavoursListRequest) Send ¶
func (r *FlavoursListRequest) Send() (result *FlavoursListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*FlavoursListRequest) SendContext ¶
func (r *FlavoursListRequest) SendContext(ctx context.Context) (result *FlavoursListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*FlavoursListRequest) Size ¶
func (r *FlavoursListRequest) Size(value int) *FlavoursListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type FlavoursListResponse ¶
type FlavoursListResponse struct {
// contains filtered or unexported fields
}
FlavoursListResponse is the response for the 'list' method.
func (*FlavoursListResponse) Error ¶
func (r *FlavoursListResponse) Error() *errors.Error
Error returns the response error.
func (*FlavoursListResponse) GetItems ¶
func (r *FlavoursListResponse) GetItems() (value *FlavourList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of flavours.
func (*FlavoursListResponse) GetPage ¶
func (r *FlavoursListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*FlavoursListResponse) GetSize ¶
func (r *FlavoursListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*FlavoursListResponse) GetTotal ¶
func (r *FlavoursListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*FlavoursListResponse) Header ¶
func (r *FlavoursListResponse) Header() http.Header
Header returns header of the response.
func (*FlavoursListResponse) Items ¶
func (r *FlavoursListResponse) Items() *FlavourList
Items returns the value of the 'items' parameter.
Retrieved list of flavours.
func (*FlavoursListResponse) Page ¶
func (r *FlavoursListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*FlavoursListResponse) Size ¶
func (r *FlavoursListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*FlavoursListResponse) Status ¶
func (r *FlavoursListResponse) Status() int
Status returns the response status code.
func (*FlavoursListResponse) Total ¶
func (r *FlavoursListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type FlavoursListServerRequest ¶
type FlavoursListServerRequest struct {
// contains filtered or unexported fields
}
FlavoursListServerRequest is the request for the 'list' method.
func (*FlavoursListServerRequest) GetOrder ¶
func (r *FlavoursListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the flavour instead of the names of the columns of a table. For example, in order to sort the flavours descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*FlavoursListServerRequest) GetPage ¶
func (r *FlavoursListServerRequest) 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 (*FlavoursListServerRequest) GetSearch ¶
func (r *FlavoursListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the flavour instead of the names of the columns of a table. For example, in order to retrieve all the flavours with a name starting with `my`the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the flavours that the user has permission to see will be returned.
func (*FlavoursListServerRequest) GetSize ¶
func (r *FlavoursListServerRequest) 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 (*FlavoursListServerRequest) Order ¶
func (r *FlavoursListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the flavour instead of the names of the columns of a table. For example, in order to sort the flavours descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*FlavoursListServerRequest) Page ¶
func (r *FlavoursListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*FlavoursListServerRequest) Search ¶
func (r *FlavoursListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the flavour instead of the names of the columns of a table. For example, in order to retrieve all the flavours with a name starting with `my`the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the flavours that the user has permission to see will be returned.
func (*FlavoursListServerRequest) Size ¶
func (r *FlavoursListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type FlavoursListServerResponse ¶
type FlavoursListServerResponse struct {
// contains filtered or unexported fields
}
FlavoursListServerResponse is the response for the 'list' method.
func (*FlavoursListServerResponse) Items ¶
func (r *FlavoursListServerResponse) Items(value *FlavourList) *FlavoursListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of flavours.
func (*FlavoursListServerResponse) Page ¶
func (r *FlavoursListServerResponse) Page(value int) *FlavoursListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*FlavoursListServerResponse) Size ¶
func (r *FlavoursListServerResponse) Size(value int) *FlavoursListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*FlavoursListServerResponse) Status ¶
func (r *FlavoursListServerResponse) Status(value int) *FlavoursListServerResponse
Status sets the status code.
func (*FlavoursListServerResponse) Total ¶
func (r *FlavoursListServerResponse) Total(value int) *FlavoursListServerResponse
Total sets 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 FlavoursServer ¶
type FlavoursServer interface { // Add handles a request for the 'add' method. // // Adds a new cluster flavour. Add(ctx context.Context, request *FlavoursAddServerRequest, response *FlavoursAddServerResponse) error // List handles a request for the 'list' method. // // List(ctx context.Context, request *FlavoursListServerRequest, response *FlavoursListServerResponse) error // Flavour returns the target 'flavour' server for the given identifier. // // Reference to the resource that manages a specific flavour. Flavour(id string) FlavourServer }
FlavoursServer represents the interface the manages the 'flavours' resource.
type GCP ¶ added in v0.0.329
type GCP struct {
// contains filtered or unexported fields
}
GCP represents the values of the 'GCP' type.
Google cloud platform settings of a cluster.
func UnmarshalGCP ¶ added in v0.0.329
UnmarshalGCP reads a value of the 'GCP' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalGCPList ¶ added in v0.0.329
UnmarshalGCPList reads a list of values of the 'GCP' type from the given source, which can be a slice of bytes, a string or a reader.
func (*GCP) AuthProviderX509CertURL ¶ added in v0.0.329
AuthProviderX509CertURL returns the value of the 'auth_provider_X509_cert_URL' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP Authentication provider x509 certificate url
func (*GCP) AuthURI ¶ added in v0.0.329
AuthURI returns the value of the 'auth_URI' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP authentication uri
func (*GCP) ClientEmail ¶ added in v0.0.329
ClientEmail returns the value of the 'client_email' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP client email
func (*GCP) ClientID ¶ added in v0.0.329
ClientID returns the value of the 'client_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP client identifier
func (*GCP) ClientX509CertURL ¶ added in v0.0.329
ClientX509CertURL returns the value of the 'client_X509_cert_URL' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP client x509 certificate url
func (*GCP) Empty ¶ added in v0.0.329
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*GCP) GetAuthProviderX509CertURL ¶ added in v0.0.329
GetAuthProviderX509CertURL returns the value of the 'auth_provider_X509_cert_URL' attribute and a flag indicating if the attribute has a value.
GCP Authentication provider x509 certificate url
func (*GCP) GetAuthURI ¶ added in v0.0.329
GetAuthURI returns the value of the 'auth_URI' attribute and a flag indicating if the attribute has a value.
GCP authentication uri
func (*GCP) GetClientEmail ¶ added in v0.0.329
GetClientEmail returns the value of the 'client_email' attribute and a flag indicating if the attribute has a value.
GCP client email
func (*GCP) GetClientID ¶ added in v0.0.329
GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.
GCP client identifier
func (*GCP) GetClientX509CertURL ¶ added in v0.0.329
GetClientX509CertURL returns the value of the 'client_X509_cert_URL' attribute and a flag indicating if the attribute has a value.
GCP client x509 certificate url
func (*GCP) GetPrivateKey ¶ added in v0.0.329
GetPrivateKey returns the value of the 'private_key' attribute and a flag indicating if the attribute has a value.
GCP private key
func (*GCP) GetPrivateKeyID ¶ added in v0.0.329
GetPrivateKeyID returns the value of the 'private_key_ID' attribute and a flag indicating if the attribute has a value.
GCP private key identifier
func (*GCP) GetProjectID ¶ added in v0.0.329
GetProjectID returns the value of the 'project_ID' attribute and a flag indicating if the attribute has a value.
GCP project identifier.
func (*GCP) GetTokenURI ¶ added in v0.0.329
GetTokenURI returns the value of the 'token_URI' attribute and a flag indicating if the attribute has a value.
GCP token uri
func (*GCP) GetType ¶ added in v0.0.329
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
GCP the type of the service the key belongs to
func (*GCP) PrivateKey ¶ added in v0.0.329
PrivateKey returns the value of the 'private_key' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP private key
func (*GCP) PrivateKeyID ¶ added in v0.0.329
PrivateKeyID returns the value of the 'private_key_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP private key identifier
func (*GCP) ProjectID ¶ added in v0.0.329
ProjectID returns the value of the 'project_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP project identifier.
type GCPBuilder ¶ added in v0.0.329
type GCPBuilder struct {
// contains filtered or unexported fields
}
GCPBuilder contains the data and logic needed to build 'GCP' objects.
Google cloud platform settings of a cluster.
func NewGCP ¶ added in v0.0.329
func NewGCP() *GCPBuilder
NewGCP creates a new builder of 'GCP' objects.
func (*GCPBuilder) AuthProviderX509CertURL ¶ added in v0.0.329
func (b *GCPBuilder) AuthProviderX509CertURL(value string) *GCPBuilder
AuthProviderX509CertURL sets the value of the 'auth_provider_X509_cert_URL' attribute to the given value.
func (*GCPBuilder) AuthURI ¶ added in v0.0.329
func (b *GCPBuilder) AuthURI(value string) *GCPBuilder
AuthURI sets the value of the 'auth_URI' attribute to the given value.
func (*GCPBuilder) Build ¶ added in v0.0.329
func (b *GCPBuilder) Build() (object *GCP, err error)
Build creates a 'GCP' object using the configuration stored in the builder.
func (*GCPBuilder) ClientEmail ¶ added in v0.0.329
func (b *GCPBuilder) ClientEmail(value string) *GCPBuilder
ClientEmail sets the value of the 'client_email' attribute to the given value.
func (*GCPBuilder) ClientID ¶ added in v0.0.329
func (b *GCPBuilder) ClientID(value string) *GCPBuilder
ClientID sets the value of the 'client_ID' attribute to the given value.
func (*GCPBuilder) ClientX509CertURL ¶ added in v0.0.329
func (b *GCPBuilder) ClientX509CertURL(value string) *GCPBuilder
ClientX509CertURL sets the value of the 'client_X509_cert_URL' attribute to the given value.
func (*GCPBuilder) Copy ¶ added in v0.0.329
func (b *GCPBuilder) Copy(object *GCP) *GCPBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*GCPBuilder) PrivateKey ¶ added in v0.0.329
func (b *GCPBuilder) PrivateKey(value string) *GCPBuilder
PrivateKey sets the value of the 'private_key' attribute to the given value.
func (*GCPBuilder) PrivateKeyID ¶ added in v0.0.329
func (b *GCPBuilder) PrivateKeyID(value string) *GCPBuilder
PrivateKeyID sets the value of the 'private_key_ID' attribute to the given value.
func (*GCPBuilder) ProjectID ¶ added in v0.0.329
func (b *GCPBuilder) ProjectID(value string) *GCPBuilder
ProjectID sets the value of the 'project_ID' attribute to the given value.
func (*GCPBuilder) TokenURI ¶ added in v0.0.329
func (b *GCPBuilder) TokenURI(value string) *GCPBuilder
TokenURI sets the value of the 'token_URI' attribute to the given value.
func (*GCPBuilder) Type ¶ added in v0.0.329
func (b *GCPBuilder) Type(value string) *GCPBuilder
Type sets the value of the 'type' attribute to the given value.
type GCPFlavour ¶
type GCPFlavour struct {
// contains filtered or unexported fields
}
GCPFlavour represents the values of the 'GCP_flavour' type.
Specification for different classes of nodes inside a flavour.
func UnmarshalGCPFlavour ¶
func UnmarshalGCPFlavour(source interface{}) (object *GCPFlavour, err error)
UnmarshalGCPFlavour reads a value of the 'GCP_flavour' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalGCPFlavourList ¶
func UnmarshalGCPFlavourList(source interface{}) (items []*GCPFlavour, err error)
UnmarshalGCPFlavourList reads a list of values of the 'GCP_flavour' type from the given source, which can be a slice of bytes, a string or a reader.
func (*GCPFlavour) ComputeInstanceType ¶
func (o *GCPFlavour) ComputeInstanceType() string
ComputeInstanceType returns the value of the 'compute_instance_type' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP default instance type for the worker volume.
User can be overridden specifying in the cluster itself a type for compute node.
func (*GCPFlavour) Empty ¶
func (o *GCPFlavour) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*GCPFlavour) GetComputeInstanceType ¶
func (o *GCPFlavour) GetComputeInstanceType() (value string, ok bool)
GetComputeInstanceType returns the value of the 'compute_instance_type' attribute and a flag indicating if the attribute has a value.
GCP default instance type for the worker volume.
User can be overridden specifying in the cluster itself a type for compute node.
func (*GCPFlavour) GetInfraInstanceType ¶
func (o *GCPFlavour) GetInfraInstanceType() (value string, ok bool)
GetInfraInstanceType returns the value of the 'infra_instance_type' attribute and a flag indicating if the attribute has a value.
GCP default instance type for the infra volume.
func (*GCPFlavour) GetMasterInstanceType ¶
func (o *GCPFlavour) GetMasterInstanceType() (value string, ok bool)
GetMasterInstanceType returns the value of the 'master_instance_type' attribute and a flag indicating if the attribute has a value.
GCP default instance type for the master volume.
func (*GCPFlavour) InfraInstanceType ¶
func (o *GCPFlavour) InfraInstanceType() string
InfraInstanceType returns the value of the 'infra_instance_type' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP default instance type for the infra volume.
func (*GCPFlavour) MasterInstanceType ¶
func (o *GCPFlavour) MasterInstanceType() string
MasterInstanceType returns the value of the 'master_instance_type' attribute, or the zero value of the type if the attribute doesn't have a value.
GCP default instance type for the master volume.
type GCPFlavourBuilder ¶
type GCPFlavourBuilder struct {
// contains filtered or unexported fields
}
GCPFlavourBuilder contains the data and logic needed to build 'GCP_flavour' objects.
Specification for different classes of nodes inside a flavour.
func NewGCPFlavour ¶
func NewGCPFlavour() *GCPFlavourBuilder
NewGCPFlavour creates a new builder of 'GCP_flavour' objects.
func (*GCPFlavourBuilder) Build ¶
func (b *GCPFlavourBuilder) Build() (object *GCPFlavour, err error)
Build creates a 'GCP_flavour' object using the configuration stored in the builder.
func (*GCPFlavourBuilder) ComputeInstanceType ¶
func (b *GCPFlavourBuilder) ComputeInstanceType(value string) *GCPFlavourBuilder
ComputeInstanceType sets the value of the 'compute_instance_type' attribute to the given value.
func (*GCPFlavourBuilder) Copy ¶
func (b *GCPFlavourBuilder) Copy(object *GCPFlavour) *GCPFlavourBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*GCPFlavourBuilder) InfraInstanceType ¶
func (b *GCPFlavourBuilder) InfraInstanceType(value string) *GCPFlavourBuilder
InfraInstanceType sets the value of the 'infra_instance_type' attribute to the given value.
func (*GCPFlavourBuilder) MasterInstanceType ¶
func (b *GCPFlavourBuilder) MasterInstanceType(value string) *GCPFlavourBuilder
MasterInstanceType sets the value of the 'master_instance_type' attribute to the given value.
type GCPFlavourList ¶
type GCPFlavourList struct {
// contains filtered or unexported fields
}
GCPFlavourList is a list of values of the 'GCP_flavour' type.
func (*GCPFlavourList) Each ¶
func (l *GCPFlavourList) Each(f func(item *GCPFlavour) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GCPFlavourList) Empty ¶
func (l *GCPFlavourList) Empty() bool
Empty returns true if the list is empty.
func (*GCPFlavourList) Get ¶
func (l *GCPFlavourList) Get(i int) *GCPFlavour
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*GCPFlavourList) Len ¶
func (l *GCPFlavourList) Len() int
Len returns the length of the list.
func (*GCPFlavourList) Range ¶
func (l *GCPFlavourList) Range(f func(index int, item *GCPFlavour) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GCPFlavourList) Slice ¶
func (l *GCPFlavourList) Slice() []*GCPFlavour
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type GCPFlavourListBuilder ¶
type GCPFlavourListBuilder struct {
// contains filtered or unexported fields
}
GCPFlavourListBuilder contains the data and logic needed to build 'GCP_flavour' objects.
func NewGCPFlavourList ¶
func NewGCPFlavourList() *GCPFlavourListBuilder
NewGCPFlavourList creates a new builder of 'GCP_flavour' objects.
func (*GCPFlavourListBuilder) Build ¶
func (b *GCPFlavourListBuilder) Build() (list *GCPFlavourList, err error)
Build creates a list of 'GCP_flavour' objects using the configuration stored in the builder.
func (*GCPFlavourListBuilder) Copy ¶
func (b *GCPFlavourListBuilder) Copy(list *GCPFlavourList) *GCPFlavourListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*GCPFlavourListBuilder) Items ¶
func (b *GCPFlavourListBuilder) Items(values ...*GCPFlavourBuilder) *GCPFlavourListBuilder
Items sets the items of the list.
type GCPList ¶ added in v0.0.329
type GCPList struct {
// contains filtered or unexported fields
}
GCPList is a list of values of the 'GCP' type.
func (*GCPList) Each ¶ added in v0.0.329
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GCPList) Get ¶ added in v0.0.329
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*GCPList) Range ¶ added in v0.0.329
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GCPList) Slice ¶ added in v0.0.329
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type GCPListBuilder ¶ added in v0.0.329
type GCPListBuilder struct {
// contains filtered or unexported fields
}
GCPListBuilder contains the data and logic needed to build 'GCP' objects.
func NewGCPList ¶ added in v0.0.329
func NewGCPList() *GCPListBuilder
NewGCPList creates a new builder of 'GCP' objects.
func (*GCPListBuilder) Build ¶ added in v0.0.329
func (b *GCPListBuilder) Build() (list *GCPList, err error)
Build creates a list of 'GCP' objects using the configuration stored in the builder.
func (*GCPListBuilder) Copy ¶ added in v0.0.329
func (b *GCPListBuilder) Copy(list *GCPList) *GCPListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*GCPListBuilder) Items ¶ added in v0.0.329
func (b *GCPListBuilder) Items(values ...*GCPBuilder) *GCPListBuilder
Items sets the items of the list.
type GithubIdentityProvider ¶
type GithubIdentityProvider struct {
// contains filtered or unexported fields
}
GithubIdentityProvider represents the values of the 'github_identity_provider' type.
Details for `github` identity providers.
func UnmarshalGithubIdentityProvider ¶
func UnmarshalGithubIdentityProvider(source interface{}) (object *GithubIdentityProvider, err error)
UnmarshalGithubIdentityProvider reads a value of the 'github_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalGithubIdentityProviderList ¶
func UnmarshalGithubIdentityProviderList(source interface{}) (items []*GithubIdentityProvider, err error)
UnmarshalGithubIdentityProviderList reads a list of values of the 'github_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.
func (*GithubIdentityProvider) CA ¶
func (o *GithubIdentityProvider) CA() string
CA returns the value of the 'CA' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional trusted certificate authority bundle to use when making requests tot he server.
func (*GithubIdentityProvider) ClientID ¶
func (o *GithubIdentityProvider) ClientID() string
ClientID returns the value of the 'client_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Client identifier of a registered _GitHub_ OAuth application.
func (*GithubIdentityProvider) ClientSecret ¶
func (o *GithubIdentityProvider) ClientSecret() string
ClientSecret returns the value of the 'client_secret' attribute, or the zero value of the type if the attribute doesn't have a value.
Client secret of a registered _GitHub_ OAuth application.
func (*GithubIdentityProvider) Empty ¶
func (o *GithubIdentityProvider) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*GithubIdentityProvider) GetCA ¶
func (o *GithubIdentityProvider) GetCA() (value string, ok bool)
GetCA returns the value of the 'CA' attribute and a flag indicating if the attribute has a value.
Optional trusted certificate authority bundle to use when making requests tot he server.
func (*GithubIdentityProvider) GetClientID ¶
func (o *GithubIdentityProvider) GetClientID() (value string, ok bool)
GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.
Client identifier of a registered _GitHub_ OAuth application.
func (*GithubIdentityProvider) GetClientSecret ¶
func (o *GithubIdentityProvider) GetClientSecret() (value string, ok bool)
GetClientSecret returns the value of the 'client_secret' attribute and a flag indicating if the attribute has a value.
Client secret of a registered _GitHub_ OAuth application.
func (*GithubIdentityProvider) GetHostname ¶
func (o *GithubIdentityProvider) GetHostname() (value string, ok bool)
GetHostname returns the value of the 'hostname' attribute and a flag indicating if the attribute has a value.
For _GitHub Enterprise_ you must provide the host name of your instance, such as `example.com`. This value must match the _GitHub Enterprise_ host name value in the `/setup/settings` file and cannot include a port number.
For plain _GitHub_ omit this parameter.
func (*GithubIdentityProvider) GetOrganizations ¶
func (o *GithubIdentityProvider) GetOrganizations() (value []string, ok bool)
GetOrganizations returns the value of the 'organizations' attribute and a flag indicating if the attribute has a value.
Optional list of organizations. Cannot be used in combination with the Teams field.
func (*GithubIdentityProvider) GetTeams ¶
func (o *GithubIdentityProvider) GetTeams() (value []string, ok bool)
GetTeams returns the value of the 'teams' attribute and a flag indicating if the attribute has a value.
Optional list of teams. Cannot be used in combination with the Organizations field.
func (*GithubIdentityProvider) Hostname ¶
func (o *GithubIdentityProvider) Hostname() string
Hostname returns the value of the 'hostname' attribute, or the zero value of the type if the attribute doesn't have a value.
For _GitHub Enterprise_ you must provide the host name of your instance, such as `example.com`. This value must match the _GitHub Enterprise_ host name value in the `/setup/settings` file and cannot include a port number.
For plain _GitHub_ omit this parameter.
func (*GithubIdentityProvider) Organizations ¶
func (o *GithubIdentityProvider) Organizations() []string
Organizations returns the value of the 'organizations' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional list of organizations. Cannot be used in combination with the Teams field.
func (*GithubIdentityProvider) Teams ¶
func (o *GithubIdentityProvider) Teams() []string
Teams returns the value of the 'teams' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional list of teams. Cannot be used in combination with the Organizations field.
type GithubIdentityProviderBuilder ¶
type GithubIdentityProviderBuilder struct {
// contains filtered or unexported fields
}
GithubIdentityProviderBuilder contains the data and logic needed to build 'github_identity_provider' objects.
Details for `github` identity providers.
func NewGithubIdentityProvider ¶
func NewGithubIdentityProvider() *GithubIdentityProviderBuilder
NewGithubIdentityProvider creates a new builder of 'github_identity_provider' objects.
func (*GithubIdentityProviderBuilder) Build ¶
func (b *GithubIdentityProviderBuilder) Build() (object *GithubIdentityProvider, err error)
Build creates a 'github_identity_provider' object using the configuration stored in the builder.
func (*GithubIdentityProviderBuilder) CA ¶
func (b *GithubIdentityProviderBuilder) CA(value string) *GithubIdentityProviderBuilder
CA sets the value of the 'CA' attribute to the given value.
func (*GithubIdentityProviderBuilder) ClientID ¶
func (b *GithubIdentityProviderBuilder) ClientID(value string) *GithubIdentityProviderBuilder
ClientID sets the value of the 'client_ID' attribute to the given value.
func (*GithubIdentityProviderBuilder) ClientSecret ¶
func (b *GithubIdentityProviderBuilder) ClientSecret(value string) *GithubIdentityProviderBuilder
ClientSecret sets the value of the 'client_secret' attribute to the given value.
func (*GithubIdentityProviderBuilder) Copy ¶
func (b *GithubIdentityProviderBuilder) Copy(object *GithubIdentityProvider) *GithubIdentityProviderBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*GithubIdentityProviderBuilder) Hostname ¶
func (b *GithubIdentityProviderBuilder) Hostname(value string) *GithubIdentityProviderBuilder
Hostname sets the value of the 'hostname' attribute to the given value.
func (*GithubIdentityProviderBuilder) Organizations ¶
func (b *GithubIdentityProviderBuilder) Organizations(values ...string) *GithubIdentityProviderBuilder
Organizations sets the value of the 'organizations' attribute to the given values.
func (*GithubIdentityProviderBuilder) Teams ¶
func (b *GithubIdentityProviderBuilder) Teams(values ...string) *GithubIdentityProviderBuilder
Teams sets the value of the 'teams' attribute to the given values.
type GithubIdentityProviderList ¶
type GithubIdentityProviderList struct {
// contains filtered or unexported fields
}
GithubIdentityProviderList is a list of values of the 'github_identity_provider' type.
func (*GithubIdentityProviderList) Each ¶
func (l *GithubIdentityProviderList) Each(f func(item *GithubIdentityProvider) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GithubIdentityProviderList) Empty ¶
func (l *GithubIdentityProviderList) Empty() bool
Empty returns true if the list is empty.
func (*GithubIdentityProviderList) Get ¶
func (l *GithubIdentityProviderList) Get(i int) *GithubIdentityProvider
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*GithubIdentityProviderList) Len ¶
func (l *GithubIdentityProviderList) Len() int
Len returns the length of the list.
func (*GithubIdentityProviderList) Range ¶
func (l *GithubIdentityProviderList) Range(f func(index int, item *GithubIdentityProvider) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GithubIdentityProviderList) Slice ¶
func (l *GithubIdentityProviderList) Slice() []*GithubIdentityProvider
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type GithubIdentityProviderListBuilder ¶
type GithubIdentityProviderListBuilder struct {
// contains filtered or unexported fields
}
GithubIdentityProviderListBuilder contains the data and logic needed to build 'github_identity_provider' objects.
func NewGithubIdentityProviderList ¶
func NewGithubIdentityProviderList() *GithubIdentityProviderListBuilder
NewGithubIdentityProviderList creates a new builder of 'github_identity_provider' objects.
func (*GithubIdentityProviderListBuilder) Build ¶
func (b *GithubIdentityProviderListBuilder) Build() (list *GithubIdentityProviderList, err error)
Build creates a list of 'github_identity_provider' objects using the configuration stored in the builder.
func (*GithubIdentityProviderListBuilder) Copy ¶
func (b *GithubIdentityProviderListBuilder) Copy(list *GithubIdentityProviderList) *GithubIdentityProviderListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*GithubIdentityProviderListBuilder) Items ¶
func (b *GithubIdentityProviderListBuilder) Items(values ...*GithubIdentityProviderBuilder) *GithubIdentityProviderListBuilder
Items sets the items of the list.
type GitlabIdentityProvider ¶
type GitlabIdentityProvider struct {
// contains filtered or unexported fields
}
GitlabIdentityProvider represents the values of the 'gitlab_identity_provider' type.
Details for `gitlab` identity providers.
func UnmarshalGitlabIdentityProvider ¶
func UnmarshalGitlabIdentityProvider(source interface{}) (object *GitlabIdentityProvider, err error)
UnmarshalGitlabIdentityProvider reads a value of the 'gitlab_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalGitlabIdentityProviderList ¶
func UnmarshalGitlabIdentityProviderList(source interface{}) (items []*GitlabIdentityProvider, err error)
UnmarshalGitlabIdentityProviderList reads a list of values of the 'gitlab_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.
func (*GitlabIdentityProvider) CA ¶
func (o *GitlabIdentityProvider) CA() string
CA returns the value of the 'CA' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional trusted certificate authority bundle to use when making requests tot he server.
func (*GitlabIdentityProvider) ClientID ¶
func (o *GitlabIdentityProvider) ClientID() string
ClientID returns the value of the 'client_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Client identifier of a registered _GitLab_ OAuth application.
func (*GitlabIdentityProvider) ClientSecret ¶
func (o *GitlabIdentityProvider) ClientSecret() string
ClientSecret returns the value of the 'client_secret' attribute, or the zero value of the type if the attribute doesn't have a value.
Client secret issued by _GitLab_.
func (*GitlabIdentityProvider) Empty ¶
func (o *GitlabIdentityProvider) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*GitlabIdentityProvider) GetCA ¶
func (o *GitlabIdentityProvider) GetCA() (value string, ok bool)
GetCA returns the value of the 'CA' attribute and a flag indicating if the attribute has a value.
Optional trusted certificate authority bundle to use when making requests tot he server.
func (*GitlabIdentityProvider) GetClientID ¶
func (o *GitlabIdentityProvider) GetClientID() (value string, ok bool)
GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.
Client identifier of a registered _GitLab_ OAuth application.
func (*GitlabIdentityProvider) GetClientSecret ¶
func (o *GitlabIdentityProvider) GetClientSecret() (value string, ok bool)
GetClientSecret returns the value of the 'client_secret' attribute and a flag indicating if the attribute has a value.
Client secret issued by _GitLab_.
func (*GitlabIdentityProvider) GetURL ¶
func (o *GitlabIdentityProvider) GetURL() (value string, ok bool)
GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.
URL of the _GitLab_ instance.
func (*GitlabIdentityProvider) URL ¶
func (o *GitlabIdentityProvider) URL() string
URL returns the value of the 'URL' attribute, or the zero value of the type if the attribute doesn't have a value.
URL of the _GitLab_ instance.
type GitlabIdentityProviderBuilder ¶
type GitlabIdentityProviderBuilder struct {
// contains filtered or unexported fields
}
GitlabIdentityProviderBuilder contains the data and logic needed to build 'gitlab_identity_provider' objects.
Details for `gitlab` identity providers.
func NewGitlabIdentityProvider ¶
func NewGitlabIdentityProvider() *GitlabIdentityProviderBuilder
NewGitlabIdentityProvider creates a new builder of 'gitlab_identity_provider' objects.
func (*GitlabIdentityProviderBuilder) Build ¶
func (b *GitlabIdentityProviderBuilder) Build() (object *GitlabIdentityProvider, err error)
Build creates a 'gitlab_identity_provider' object using the configuration stored in the builder.
func (*GitlabIdentityProviderBuilder) CA ¶
func (b *GitlabIdentityProviderBuilder) CA(value string) *GitlabIdentityProviderBuilder
CA sets the value of the 'CA' attribute to the given value.
func (*GitlabIdentityProviderBuilder) ClientID ¶
func (b *GitlabIdentityProviderBuilder) ClientID(value string) *GitlabIdentityProviderBuilder
ClientID sets the value of the 'client_ID' attribute to the given value.
func (*GitlabIdentityProviderBuilder) ClientSecret ¶
func (b *GitlabIdentityProviderBuilder) ClientSecret(value string) *GitlabIdentityProviderBuilder
ClientSecret sets the value of the 'client_secret' attribute to the given value.
func (*GitlabIdentityProviderBuilder) Copy ¶
func (b *GitlabIdentityProviderBuilder) Copy(object *GitlabIdentityProvider) *GitlabIdentityProviderBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*GitlabIdentityProviderBuilder) URL ¶
func (b *GitlabIdentityProviderBuilder) URL(value string) *GitlabIdentityProviderBuilder
URL sets the value of the 'URL' attribute to the given value.
type GitlabIdentityProviderList ¶
type GitlabIdentityProviderList struct {
// contains filtered or unexported fields
}
GitlabIdentityProviderList is a list of values of the 'gitlab_identity_provider' type.
func (*GitlabIdentityProviderList) Each ¶
func (l *GitlabIdentityProviderList) Each(f func(item *GitlabIdentityProvider) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GitlabIdentityProviderList) Empty ¶
func (l *GitlabIdentityProviderList) Empty() bool
Empty returns true if the list is empty.
func (*GitlabIdentityProviderList) Get ¶
func (l *GitlabIdentityProviderList) Get(i int) *GitlabIdentityProvider
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*GitlabIdentityProviderList) Len ¶
func (l *GitlabIdentityProviderList) Len() int
Len returns the length of the list.
func (*GitlabIdentityProviderList) Range ¶
func (l *GitlabIdentityProviderList) Range(f func(index int, item *GitlabIdentityProvider) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GitlabIdentityProviderList) Slice ¶
func (l *GitlabIdentityProviderList) Slice() []*GitlabIdentityProvider
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type GitlabIdentityProviderListBuilder ¶
type GitlabIdentityProviderListBuilder struct {
// contains filtered or unexported fields
}
GitlabIdentityProviderListBuilder contains the data and logic needed to build 'gitlab_identity_provider' objects.
func NewGitlabIdentityProviderList ¶
func NewGitlabIdentityProviderList() *GitlabIdentityProviderListBuilder
NewGitlabIdentityProviderList creates a new builder of 'gitlab_identity_provider' objects.
func (*GitlabIdentityProviderListBuilder) Build ¶
func (b *GitlabIdentityProviderListBuilder) Build() (list *GitlabIdentityProviderList, err error)
Build creates a list of 'gitlab_identity_provider' objects using the configuration stored in the builder.
func (*GitlabIdentityProviderListBuilder) Copy ¶
func (b *GitlabIdentityProviderListBuilder) Copy(list *GitlabIdentityProviderList) *GitlabIdentityProviderListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*GitlabIdentityProviderListBuilder) Items ¶
func (b *GitlabIdentityProviderListBuilder) Items(values ...*GitlabIdentityProviderBuilder) *GitlabIdentityProviderListBuilder
Items sets the items of the list.
type GoogleIdentityProvider ¶
type GoogleIdentityProvider struct {
// contains filtered or unexported fields
}
GoogleIdentityProvider represents the values of the 'google_identity_provider' type.
Details for `google` identity providers.
func UnmarshalGoogleIdentityProvider ¶
func UnmarshalGoogleIdentityProvider(source interface{}) (object *GoogleIdentityProvider, err error)
UnmarshalGoogleIdentityProvider reads a value of the 'google_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalGoogleIdentityProviderList ¶
func UnmarshalGoogleIdentityProviderList(source interface{}) (items []*GoogleIdentityProvider, err error)
UnmarshalGoogleIdentityProviderList reads a list of values of the 'google_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.
func (*GoogleIdentityProvider) ClientID ¶
func (o *GoogleIdentityProvider) ClientID() string
ClientID returns the value of the 'client_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Client identifier of a registered _Google_ project.
func (*GoogleIdentityProvider) ClientSecret ¶
func (o *GoogleIdentityProvider) ClientSecret() string
ClientSecret returns the value of the 'client_secret' attribute, or the zero value of the type if the attribute doesn't have a value.
Client secret issued by _Google_.
func (*GoogleIdentityProvider) Empty ¶
func (o *GoogleIdentityProvider) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*GoogleIdentityProvider) GetClientID ¶
func (o *GoogleIdentityProvider) GetClientID() (value string, ok bool)
GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.
Client identifier of a registered _Google_ project.
func (*GoogleIdentityProvider) GetClientSecret ¶
func (o *GoogleIdentityProvider) GetClientSecret() (value string, ok bool)
GetClientSecret returns the value of the 'client_secret' attribute and a flag indicating if the attribute has a value.
Client secret issued by _Google_.
func (*GoogleIdentityProvider) GetHostedDomain ¶
func (o *GoogleIdentityProvider) GetHostedDomain() (value string, ok bool)
GetHostedDomain returns the value of the 'hosted_domain' attribute and a flag indicating if the attribute has a value.
Optional hosted domain to restrict sign-in accounts to.
func (*GoogleIdentityProvider) HostedDomain ¶
func (o *GoogleIdentityProvider) HostedDomain() string
HostedDomain returns the value of the 'hosted_domain' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional hosted domain to restrict sign-in accounts to.
type GoogleIdentityProviderBuilder ¶
type GoogleIdentityProviderBuilder struct {
// contains filtered or unexported fields
}
GoogleIdentityProviderBuilder contains the data and logic needed to build 'google_identity_provider' objects.
Details for `google` identity providers.
func NewGoogleIdentityProvider ¶
func NewGoogleIdentityProvider() *GoogleIdentityProviderBuilder
NewGoogleIdentityProvider creates a new builder of 'google_identity_provider' objects.
func (*GoogleIdentityProviderBuilder) Build ¶
func (b *GoogleIdentityProviderBuilder) Build() (object *GoogleIdentityProvider, err error)
Build creates a 'google_identity_provider' object using the configuration stored in the builder.
func (*GoogleIdentityProviderBuilder) ClientID ¶
func (b *GoogleIdentityProviderBuilder) ClientID(value string) *GoogleIdentityProviderBuilder
ClientID sets the value of the 'client_ID' attribute to the given value.
func (*GoogleIdentityProviderBuilder) ClientSecret ¶
func (b *GoogleIdentityProviderBuilder) ClientSecret(value string) *GoogleIdentityProviderBuilder
ClientSecret sets the value of the 'client_secret' attribute to the given value.
func (*GoogleIdentityProviderBuilder) Copy ¶
func (b *GoogleIdentityProviderBuilder) Copy(object *GoogleIdentityProvider) *GoogleIdentityProviderBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*GoogleIdentityProviderBuilder) HostedDomain ¶
func (b *GoogleIdentityProviderBuilder) HostedDomain(value string) *GoogleIdentityProviderBuilder
HostedDomain sets the value of the 'hosted_domain' attribute to the given value.
type GoogleIdentityProviderList ¶
type GoogleIdentityProviderList struct {
// contains filtered or unexported fields
}
GoogleIdentityProviderList is a list of values of the 'google_identity_provider' type.
func (*GoogleIdentityProviderList) Each ¶
func (l *GoogleIdentityProviderList) Each(f func(item *GoogleIdentityProvider) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GoogleIdentityProviderList) Empty ¶
func (l *GoogleIdentityProviderList) Empty() bool
Empty returns true if the list is empty.
func (*GoogleIdentityProviderList) Get ¶
func (l *GoogleIdentityProviderList) Get(i int) *GoogleIdentityProvider
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*GoogleIdentityProviderList) Len ¶
func (l *GoogleIdentityProviderList) Len() int
Len returns the length of the list.
func (*GoogleIdentityProviderList) Range ¶
func (l *GoogleIdentityProviderList) Range(f func(index int, item *GoogleIdentityProvider) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GoogleIdentityProviderList) Slice ¶
func (l *GoogleIdentityProviderList) Slice() []*GoogleIdentityProvider
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type GoogleIdentityProviderListBuilder ¶
type GoogleIdentityProviderListBuilder struct {
// contains filtered or unexported fields
}
GoogleIdentityProviderListBuilder contains the data and logic needed to build 'google_identity_provider' objects.
func NewGoogleIdentityProviderList ¶
func NewGoogleIdentityProviderList() *GoogleIdentityProviderListBuilder
NewGoogleIdentityProviderList creates a new builder of 'google_identity_provider' objects.
func (*GoogleIdentityProviderListBuilder) Build ¶
func (b *GoogleIdentityProviderListBuilder) Build() (list *GoogleIdentityProviderList, err error)
Build creates a list of 'google_identity_provider' objects using the configuration stored in the builder.
func (*GoogleIdentityProviderListBuilder) Copy ¶
func (b *GoogleIdentityProviderListBuilder) Copy(list *GoogleIdentityProviderList) *GoogleIdentityProviderListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*GoogleIdentityProviderListBuilder) Items ¶
func (b *GoogleIdentityProviderListBuilder) Items(values ...*GoogleIdentityProviderBuilder) *GoogleIdentityProviderListBuilder
Items sets the items of the list.
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
Group represents the values of the 'group' type.
Representation of a group of users.
func UnmarshalGroup ¶
UnmarshalGroup reads a value of the 'group' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalGroupList ¶
UnmarshalGroupList reads a list of values of the 'group' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Group) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Group) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Group) GetUsers ¶
GetUsers returns the value of the 'users' attribute and a flag indicating if the attribute has a value.
List of users of the group.
type GroupBuilder ¶
type GroupBuilder struct {
// contains filtered or unexported fields
}
GroupBuilder contains the data and logic needed to build 'group' objects.
Representation of a group of users.
func (*GroupBuilder) Build ¶
func (b *GroupBuilder) Build() (object *Group, err error)
Build creates a 'group' object using the configuration stored in the builder.
func (*GroupBuilder) Copy ¶
func (b *GroupBuilder) Copy(object *Group) *GroupBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*GroupBuilder) HREF ¶
func (b *GroupBuilder) HREF(value string) *GroupBuilder
HREF sets the link to the object.
func (*GroupBuilder) ID ¶
func (b *GroupBuilder) ID(value string) *GroupBuilder
ID sets the identifier of the object.
func (*GroupBuilder) Link ¶
func (b *GroupBuilder) Link(value bool) *GroupBuilder
Link sets the flag that indicates if this is a link.
func (*GroupBuilder) Users ¶
func (b *GroupBuilder) Users(value *UserListBuilder) *GroupBuilder
Users sets the value of the 'users' attribute to the given values.
type GroupClient ¶
type GroupClient struct {
// contains filtered or unexported fields
}
GroupClient is the client of the 'group' resource.
Manages a specific group.
func NewGroupClient ¶
func NewGroupClient(transport http.RoundTripper, path string, metric string) *GroupClient
NewGroupClient creates a new client for the 'group' resource using the given transport to send the requests and receive the responses.
func (*GroupClient) Get ¶
func (c *GroupClient) Get() *GroupGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the group.
func (*GroupClient) Poll ¶
func (c *GroupClient) Poll() *GroupPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*GroupClient) Users ¶
func (c *GroupClient) Users() *UsersClient
Users returns the target 'users' resource.
Reference to the resource that manages the collection of users.
type GroupGetRequest ¶
type GroupGetRequest struct {
// contains filtered or unexported fields
}
GroupGetRequest is the request for the 'get' method.
func (*GroupGetRequest) Header ¶
func (r *GroupGetRequest) Header(name string, value interface{}) *GroupGetRequest
Header adds a request header.
func (*GroupGetRequest) Parameter ¶
func (r *GroupGetRequest) Parameter(name string, value interface{}) *GroupGetRequest
Parameter adds a query parameter.
func (*GroupGetRequest) Send ¶
func (r *GroupGetRequest) Send() (result *GroupGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*GroupGetRequest) SendContext ¶
func (r *GroupGetRequest) SendContext(ctx context.Context) (result *GroupGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type GroupGetResponse ¶
type GroupGetResponse struct {
// contains filtered or unexported fields
}
GroupGetResponse is the response for the 'get' method.
func (*GroupGetResponse) Body ¶
func (r *GroupGetResponse) Body() *Group
Body returns the value of the 'body' parameter.
func (*GroupGetResponse) Error ¶
func (r *GroupGetResponse) Error() *errors.Error
Error returns the response error.
func (*GroupGetResponse) GetBody ¶
func (r *GroupGetResponse) GetBody() (value *Group, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*GroupGetResponse) Header ¶
func (r *GroupGetResponse) Header() http.Header
Header returns header of the response.
func (*GroupGetResponse) Status ¶
func (r *GroupGetResponse) Status() int
Status returns the response status code.
type GroupGetServerRequest ¶
type GroupGetServerRequest struct { }
GroupGetServerRequest is the request for the 'get' method.
type GroupGetServerResponse ¶
type GroupGetServerResponse struct {
// contains filtered or unexported fields
}
GroupGetServerResponse is the response for the 'get' method.
func (*GroupGetServerResponse) Body ¶
func (r *GroupGetServerResponse) Body(value *Group) *GroupGetServerResponse
Body sets the value of the 'body' parameter.
func (*GroupGetServerResponse) Status ¶
func (r *GroupGetServerResponse) Status(value int) *GroupGetServerResponse
Status sets the status code.
type GroupList ¶
type GroupList struct {
// contains filtered or unexported fields
}
GroupList is a list of values of the 'group' type.
func (*GroupList) Each ¶
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GroupList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*GroupList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*GroupList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*GroupList) 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 GroupListBuilder ¶
type GroupListBuilder struct {
// contains filtered or unexported fields
}
GroupListBuilder contains the data and logic needed to build 'group' objects.
func NewGroupList ¶
func NewGroupList() *GroupListBuilder
NewGroupList creates a new builder of 'group' objects.
func (*GroupListBuilder) Build ¶
func (b *GroupListBuilder) Build() (list *GroupList, err error)
Build creates a list of 'group' objects using the configuration stored in the builder.
func (*GroupListBuilder) Copy ¶
func (b *GroupListBuilder) Copy(list *GroupList) *GroupListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*GroupListBuilder) Items ¶
func (b *GroupListBuilder) Items(values ...*GroupBuilder) *GroupListBuilder
Items sets the items of the list.
type GroupPollRequest ¶
type GroupPollRequest struct {
// contains filtered or unexported fields
}
GroupPollRequest is the request for the Poll method.
func (*GroupPollRequest) Header ¶
func (r *GroupPollRequest) Header(name string, value interface{}) *GroupPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*GroupPollRequest) Interval ¶
func (r *GroupPollRequest) Interval(value time.Duration) *GroupPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*GroupPollRequest) Parameter ¶
func (r *GroupPollRequest) Parameter(name string, value interface{}) *GroupPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*GroupPollRequest) Predicate ¶
func (r *GroupPollRequest) Predicate(value func(*GroupGetResponse) bool) *GroupPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*GroupPollRequest) StartContext ¶
func (r *GroupPollRequest) StartContext(ctx context.Context) (response *GroupPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*GroupPollRequest) Status ¶
func (r *GroupPollRequest) Status(value int) *GroupPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type GroupPollResponse ¶
type GroupPollResponse struct {
// contains filtered or unexported fields
}
GroupPollResponse is the response for the Poll method.
func (*GroupPollResponse) Body ¶
func (r *GroupPollResponse) Body() *Group
Body returns the value of the 'body' parameter.
func (*GroupPollResponse) Error ¶
func (r *GroupPollResponse) Error() *errors.Error
Error returns the response error.
func (*GroupPollResponse) GetBody ¶
func (r *GroupPollResponse) GetBody() (value *Group, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*GroupPollResponse) Header ¶
func (r *GroupPollResponse) Header() http.Header
Header returns header of the response.
func (*GroupPollResponse) Status ¶
func (r *GroupPollResponse) Status() int
Status returns the response status code.
type GroupServer ¶
type GroupServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the group. Get(ctx context.Context, request *GroupGetServerRequest, response *GroupGetServerResponse) error // Users returns the target 'users' resource. // // Reference to the resource that manages the collection of users. Users() UsersServer }
GroupServer represents the interface the manages the 'group' resource.
type GroupsClient ¶
type GroupsClient struct {
// contains filtered or unexported fields
}
GroupsClient is the client of the 'groups' resource.
Manages the collection of groups of a cluster.
func NewGroupsClient ¶
func NewGroupsClient(transport http.RoundTripper, path string, metric string) *GroupsClient
NewGroupsClient creates a new client for the 'groups' resource using the given transport to send the requests and receive the responses.
func (*GroupsClient) Group ¶
func (c *GroupsClient) Group(id string) *GroupClient
Group returns the target 'group' resource for the given identifier.
Reference to the service that manages an specific group.
func (*GroupsClient) List ¶
func (c *GroupsClient) List() *GroupsListRequest
List creates a request for the 'list' method.
Retrieves the list of groups.
type GroupsListRequest ¶
type GroupsListRequest struct {
// contains filtered or unexported fields
}
GroupsListRequest is the request for the 'list' method.
func (*GroupsListRequest) Header ¶
func (r *GroupsListRequest) Header(name string, value interface{}) *GroupsListRequest
Header adds a request header.
func (*GroupsListRequest) Page ¶
func (r *GroupsListRequest) Page(value int) *GroupsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*GroupsListRequest) Parameter ¶
func (r *GroupsListRequest) Parameter(name string, value interface{}) *GroupsListRequest
Parameter adds a query parameter.
func (*GroupsListRequest) Send ¶
func (r *GroupsListRequest) Send() (result *GroupsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*GroupsListRequest) SendContext ¶
func (r *GroupsListRequest) SendContext(ctx context.Context) (result *GroupsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*GroupsListRequest) Size ¶
func (r *GroupsListRequest) Size(value int) *GroupsListRequest
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
type GroupsListResponse ¶
type GroupsListResponse struct {
// contains filtered or unexported fields
}
GroupsListResponse is the response for the 'list' method.
func (*GroupsListResponse) Error ¶
func (r *GroupsListResponse) Error() *errors.Error
Error returns the response error.
func (*GroupsListResponse) GetItems ¶
func (r *GroupsListResponse) GetItems() (value *GroupList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of groups.
func (*GroupsListResponse) GetPage ¶
func (r *GroupsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*GroupsListResponse) GetSize ¶
func (r *GroupsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*GroupsListResponse) GetTotal ¶
func (r *GroupsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection.
func (*GroupsListResponse) Header ¶
func (r *GroupsListResponse) Header() http.Header
Header returns header of the response.
func (*GroupsListResponse) Items ¶
func (r *GroupsListResponse) Items() *GroupList
Items returns the value of the 'items' parameter.
Retrieved list of groups.
func (*GroupsListResponse) Page ¶
func (r *GroupsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*GroupsListResponse) Size ¶
func (r *GroupsListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
func (*GroupsListResponse) Status ¶
func (r *GroupsListResponse) Status() int
Status returns the response status code.
func (*GroupsListResponse) Total ¶
func (r *GroupsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection.
type GroupsListServerRequest ¶
type GroupsListServerRequest struct {
// contains filtered or unexported fields
}
GroupsListServerRequest is the request for the 'list' method.
func (*GroupsListServerRequest) GetPage ¶
func (r *GroupsListServerRequest) 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 (*GroupsListServerRequest) GetSize ¶
func (r *GroupsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*GroupsListServerRequest) Page ¶
func (r *GroupsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*GroupsListServerRequest) Size ¶
func (r *GroupsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
type GroupsListServerResponse ¶
type GroupsListServerResponse struct {
// contains filtered or unexported fields
}
GroupsListServerResponse is the response for the 'list' method.
func (*GroupsListServerResponse) Items ¶
func (r *GroupsListServerResponse) Items(value *GroupList) *GroupsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of groups.
func (*GroupsListServerResponse) Page ¶
func (r *GroupsListServerResponse) Page(value int) *GroupsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*GroupsListServerResponse) Size ¶
func (r *GroupsListServerResponse) Size(value int) *GroupsListServerResponse
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
func (*GroupsListServerResponse) Status ¶
func (r *GroupsListServerResponse) Status(value int) *GroupsListServerResponse
Status sets the status code.
func (*GroupsListServerResponse) Total ¶
func (r *GroupsListServerResponse) Total(value int) *GroupsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection.
type GroupsServer ¶
type GroupsServer interface { // List handles a request for the 'list' method. // // Retrieves the list of groups. List(ctx context.Context, request *GroupsListServerRequest, response *GroupsListServerResponse) error // Group returns the target 'group' server for the given identifier. // // Reference to the service that manages an specific group. Group(id string) GroupServer }
GroupsServer represents the interface the manages the 'groups' resource.
type HTPasswdIdentityProvider ¶ added in v0.0.329
type HTPasswdIdentityProvider struct {
// contains filtered or unexported fields
}
HTPasswdIdentityProvider represents the values of the 'HT_passwd_identity_provider' type.
Details for `htpasswd` identity providers.
func UnmarshalHTPasswdIdentityProvider ¶ added in v0.0.329
func UnmarshalHTPasswdIdentityProvider(source interface{}) (object *HTPasswdIdentityProvider, err error)
UnmarshalHTPasswdIdentityProvider reads a value of the 'HT_passwd_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalHTPasswdIdentityProviderList ¶ added in v0.0.329
func UnmarshalHTPasswdIdentityProviderList(source interface{}) (items []*HTPasswdIdentityProvider, err error)
UnmarshalHTPasswdIdentityProviderList reads a list of values of the 'HT_passwd_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.
func (*HTPasswdIdentityProvider) Empty ¶ added in v0.0.329
func (o *HTPasswdIdentityProvider) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*HTPasswdIdentityProvider) GetPassword ¶ added in v0.0.329
func (o *HTPasswdIdentityProvider) GetPassword() (value string, ok bool)
GetPassword returns the value of the 'password' attribute and a flag indicating if the attribute has a value.
Password to be used in the _HTPasswd_ data file.
func (*HTPasswdIdentityProvider) GetUsername ¶ added in v0.0.329
func (o *HTPasswdIdentityProvider) GetUsername() (value string, ok bool)
GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.
Username to be used in the _HTPasswd_ data file.
func (*HTPasswdIdentityProvider) Password ¶ added in v0.0.329
func (o *HTPasswdIdentityProvider) Password() string
Password returns the value of the 'password' attribute, or the zero value of the type if the attribute doesn't have a value.
Password to be used in the _HTPasswd_ data file.
func (*HTPasswdIdentityProvider) Username ¶ added in v0.0.329
func (o *HTPasswdIdentityProvider) Username() string
Username returns the value of the 'username' attribute, or the zero value of the type if the attribute doesn't have a value.
Username to be used in the _HTPasswd_ data file.
type HTPasswdIdentityProviderBuilder ¶ added in v0.0.329
type HTPasswdIdentityProviderBuilder struct {
// contains filtered or unexported fields
}
HTPasswdIdentityProviderBuilder contains the data and logic needed to build 'HT_passwd_identity_provider' objects.
Details for `htpasswd` identity providers.
func NewHTPasswdIdentityProvider ¶ added in v0.0.329
func NewHTPasswdIdentityProvider() *HTPasswdIdentityProviderBuilder
NewHTPasswdIdentityProvider creates a new builder of 'HT_passwd_identity_provider' objects.
func (*HTPasswdIdentityProviderBuilder) Build ¶ added in v0.0.329
func (b *HTPasswdIdentityProviderBuilder) Build() (object *HTPasswdIdentityProvider, err error)
Build creates a 'HT_passwd_identity_provider' object using the configuration stored in the builder.
func (*HTPasswdIdentityProviderBuilder) Copy ¶ added in v0.0.329
func (b *HTPasswdIdentityProviderBuilder) Copy(object *HTPasswdIdentityProvider) *HTPasswdIdentityProviderBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*HTPasswdIdentityProviderBuilder) Password ¶ added in v0.0.329
func (b *HTPasswdIdentityProviderBuilder) Password(value string) *HTPasswdIdentityProviderBuilder
Password sets the value of the 'password' attribute to the given value.
func (*HTPasswdIdentityProviderBuilder) Username ¶ added in v0.0.329
func (b *HTPasswdIdentityProviderBuilder) Username(value string) *HTPasswdIdentityProviderBuilder
Username sets the value of the 'username' attribute to the given value.
type HTPasswdIdentityProviderList ¶ added in v0.0.329
type HTPasswdIdentityProviderList struct {
// contains filtered or unexported fields
}
HTPasswdIdentityProviderList is a list of values of the 'HT_passwd_identity_provider' type.
func (*HTPasswdIdentityProviderList) Each ¶ added in v0.0.329
func (l *HTPasswdIdentityProviderList) Each(f func(item *HTPasswdIdentityProvider) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*HTPasswdIdentityProviderList) Empty ¶ added in v0.0.329
func (l *HTPasswdIdentityProviderList) Empty() bool
Empty returns true if the list is empty.
func (*HTPasswdIdentityProviderList) Get ¶ added in v0.0.329
func (l *HTPasswdIdentityProviderList) Get(i int) *HTPasswdIdentityProvider
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*HTPasswdIdentityProviderList) Len ¶ added in v0.0.329
func (l *HTPasswdIdentityProviderList) Len() int
Len returns the length of the list.
func (*HTPasswdIdentityProviderList) Range ¶ added in v0.0.329
func (l *HTPasswdIdentityProviderList) Range(f func(index int, item *HTPasswdIdentityProvider) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*HTPasswdIdentityProviderList) Slice ¶ added in v0.0.329
func (l *HTPasswdIdentityProviderList) Slice() []*HTPasswdIdentityProvider
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type HTPasswdIdentityProviderListBuilder ¶ added in v0.0.329
type HTPasswdIdentityProviderListBuilder struct {
// contains filtered or unexported fields
}
HTPasswdIdentityProviderListBuilder contains the data and logic needed to build 'HT_passwd_identity_provider' objects.
func NewHTPasswdIdentityProviderList ¶ added in v0.0.329
func NewHTPasswdIdentityProviderList() *HTPasswdIdentityProviderListBuilder
NewHTPasswdIdentityProviderList creates a new builder of 'HT_passwd_identity_provider' objects.
func (*HTPasswdIdentityProviderListBuilder) Build ¶ added in v0.0.329
func (b *HTPasswdIdentityProviderListBuilder) Build() (list *HTPasswdIdentityProviderList, err error)
Build creates a list of 'HT_passwd_identity_provider' objects using the configuration stored in the builder.
func (*HTPasswdIdentityProviderListBuilder) Copy ¶ added in v0.0.329
func (b *HTPasswdIdentityProviderListBuilder) Copy(list *HTPasswdIdentityProviderList) *HTPasswdIdentityProviderListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*HTPasswdIdentityProviderListBuilder) Items ¶ added in v0.0.329
func (b *HTPasswdIdentityProviderListBuilder) Items(values ...*HTPasswdIdentityProviderBuilder) *HTPasswdIdentityProviderListBuilder
Items sets the items of the list.
type IdentityProvider ¶
type IdentityProvider struct {
// contains filtered or unexported fields
}
IdentityProvider represents the values of the 'identity_provider' type.
Representation of an identity provider.
func UnmarshalIdentityProvider ¶
func UnmarshalIdentityProvider(source interface{}) (object *IdentityProvider, err error)
UnmarshalIdentityProvider reads a value of the 'identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalIdentityProviderList ¶
func UnmarshalIdentityProviderList(source interface{}) (items []*IdentityProvider, err error)
UnmarshalIdentityProviderList reads a list of values of the 'identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.
func (*IdentityProvider) Challenge ¶
func (o *IdentityProvider) Challenge() bool
Challenge returns the value of the 'challenge' attribute, or the zero value of the type if the attribute doesn't have a value.
When `true` unauthenticated token requests from non-web clients (like the CLI) are sent a `WWW-Authenticate` challenge header for this provider.
func (*IdentityProvider) Empty ¶
func (o *IdentityProvider) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*IdentityProvider) GetChallenge ¶
func (o *IdentityProvider) GetChallenge() (value bool, ok bool)
GetChallenge returns the value of the 'challenge' attribute and a flag indicating if the attribute has a value.
When `true` unauthenticated token requests from non-web clients (like the CLI) are sent a `WWW-Authenticate` challenge header for this provider.
func (*IdentityProvider) GetGithub ¶
func (o *IdentityProvider) GetGithub() (value *GithubIdentityProvider, ok bool)
GetGithub returns the value of the 'github' attribute and a flag indicating if the attribute has a value.
Details for `github` identity providers.
func (*IdentityProvider) GetGitlab ¶
func (o *IdentityProvider) GetGitlab() (value *GitlabIdentityProvider, ok bool)
GetGitlab returns the value of the 'gitlab' attribute and a flag indicating if the attribute has a value.
Details for `gitlab` identity providers.
func (*IdentityProvider) GetGoogle ¶
func (o *IdentityProvider) GetGoogle() (value *GoogleIdentityProvider, ok bool)
GetGoogle returns the value of the 'google' attribute and a flag indicating if the attribute has a value.
Details for `google` identity providers.
func (*IdentityProvider) GetHREF ¶
func (o *IdentityProvider) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*IdentityProvider) GetHtpasswd ¶ added in v0.0.329
func (o *IdentityProvider) GetHtpasswd() (value *HTPasswdIdentityProvider, ok bool)
GetHtpasswd returns the value of the 'htpasswd' attribute and a flag indicating if the attribute has a value.
Details for `htpasswd` identity providers.
func (*IdentityProvider) GetID ¶
func (o *IdentityProvider) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*IdentityProvider) GetLDAP ¶
func (o *IdentityProvider) GetLDAP() (value *LDAPIdentityProvider, ok bool)
GetLDAP returns the value of the 'LDAP' attribute and a flag indicating if the attribute has a value.
Details for `ldap` identity providers.
func (*IdentityProvider) GetLogin ¶
func (o *IdentityProvider) GetLogin() (value bool, ok bool)
GetLogin returns the value of the 'login' attribute and a flag indicating if the attribute has a value.
When `true` unauthenticated token requests from web clients (like the web console) are redirected to the authorize URL to log in.
func (*IdentityProvider) GetMappingMethod ¶
func (o *IdentityProvider) GetMappingMethod() (value IdentityProviderMappingMethod, ok bool)
GetMappingMethod returns the value of the 'mapping_method' attribute and a flag indicating if the attribute has a value.
Controls how mappings are established between this provider's identities and user objects.
func (*IdentityProvider) GetName ¶
func (o *IdentityProvider) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
The name of the identity provider.
func (*IdentityProvider) GetOpenID ¶
func (o *IdentityProvider) GetOpenID() (value *OpenIDIdentityProvider, ok bool)
GetOpenID returns the value of the 'open_ID' attribute and a flag indicating if the attribute has a value.
Details for `openid` identity providers.
func (*IdentityProvider) GetType ¶
func (o *IdentityProvider) GetType() (value IdentityProviderType, ok bool)
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
Type of identity provider. The rest of the attributes will be populated according to this value. For example, if the type is `github` then only the `github` attribute will be populated.
func (*IdentityProvider) Github ¶
func (o *IdentityProvider) Github() *GithubIdentityProvider
Github returns the value of the 'github' attribute, or the zero value of the type if the attribute doesn't have a value.
Details for `github` identity providers.
func (*IdentityProvider) Gitlab ¶
func (o *IdentityProvider) Gitlab() *GitlabIdentityProvider
Gitlab returns the value of the 'gitlab' attribute, or the zero value of the type if the attribute doesn't have a value.
Details for `gitlab` identity providers.
func (*IdentityProvider) Google ¶
func (o *IdentityProvider) Google() *GoogleIdentityProvider
Google returns the value of the 'google' attribute, or the zero value of the type if the attribute doesn't have a value.
Details for `google` identity providers.
func (*IdentityProvider) HREF ¶
func (o *IdentityProvider) HREF() string
HREF returns the link to the object.
func (*IdentityProvider) Htpasswd ¶ added in v0.0.329
func (o *IdentityProvider) Htpasswd() *HTPasswdIdentityProvider
Htpasswd returns the value of the 'htpasswd' attribute, or the zero value of the type if the attribute doesn't have a value.
Details for `htpasswd` identity providers.
func (*IdentityProvider) ID ¶
func (o *IdentityProvider) ID() string
ID returns the identifier of the object.
func (*IdentityProvider) Kind ¶
func (o *IdentityProvider) Kind() string
Kind returns the name of the type of the object.
func (*IdentityProvider) LDAP ¶
func (o *IdentityProvider) LDAP() *LDAPIdentityProvider
LDAP returns the value of the 'LDAP' attribute, or the zero value of the type if the attribute doesn't have a value.
Details for `ldap` identity providers.
func (*IdentityProvider) Link ¶
func (o *IdentityProvider) Link() bool
Link returns true iif this is a link.
func (*IdentityProvider) Login ¶
func (o *IdentityProvider) Login() bool
Login returns the value of the 'login' attribute, or the zero value of the type if the attribute doesn't have a value.
When `true` unauthenticated token requests from web clients (like the web console) are redirected to the authorize URL to log in.
func (*IdentityProvider) MappingMethod ¶
func (o *IdentityProvider) MappingMethod() IdentityProviderMappingMethod
MappingMethod returns the value of the 'mapping_method' attribute, or the zero value of the type if the attribute doesn't have a value.
Controls how mappings are established between this provider's identities and user objects.
func (*IdentityProvider) Name ¶
func (o *IdentityProvider) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
The name of the identity provider.
func (*IdentityProvider) OpenID ¶
func (o *IdentityProvider) OpenID() *OpenIDIdentityProvider
OpenID returns the value of the 'open_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Details for `openid` identity providers.
func (*IdentityProvider) Type ¶
func (o *IdentityProvider) Type() IdentityProviderType
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
Type of identity provider. The rest of the attributes will be populated according to this value. For example, if the type is `github` then only the `github` attribute will be populated.
type IdentityProviderBuilder ¶
type IdentityProviderBuilder struct {
// contains filtered or unexported fields
}
IdentityProviderBuilder contains the data and logic needed to build 'identity_provider' objects.
Representation of an identity provider.
func NewIdentityProvider ¶
func NewIdentityProvider() *IdentityProviderBuilder
NewIdentityProvider creates a new builder of 'identity_provider' objects.
func (*IdentityProviderBuilder) Build ¶
func (b *IdentityProviderBuilder) Build() (object *IdentityProvider, err error)
Build creates a 'identity_provider' object using the configuration stored in the builder.
func (*IdentityProviderBuilder) Challenge ¶
func (b *IdentityProviderBuilder) Challenge(value bool) *IdentityProviderBuilder
Challenge sets the value of the 'challenge' attribute to the given value.
func (*IdentityProviderBuilder) Copy ¶
func (b *IdentityProviderBuilder) Copy(object *IdentityProvider) *IdentityProviderBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*IdentityProviderBuilder) Github ¶
func (b *IdentityProviderBuilder) Github(value *GithubIdentityProviderBuilder) *IdentityProviderBuilder
Github sets the value of the 'github' attribute to the given value.
Details for `github` identity providers.
func (*IdentityProviderBuilder) Gitlab ¶
func (b *IdentityProviderBuilder) Gitlab(value *GitlabIdentityProviderBuilder) *IdentityProviderBuilder
Gitlab sets the value of the 'gitlab' attribute to the given value.
Details for `gitlab` identity providers.
func (*IdentityProviderBuilder) Google ¶
func (b *IdentityProviderBuilder) Google(value *GoogleIdentityProviderBuilder) *IdentityProviderBuilder
Google sets the value of the 'google' attribute to the given value.
Details for `google` identity providers.
func (*IdentityProviderBuilder) HREF ¶
func (b *IdentityProviderBuilder) HREF(value string) *IdentityProviderBuilder
HREF sets the link to the object.
func (*IdentityProviderBuilder) Htpasswd ¶ added in v0.0.329
func (b *IdentityProviderBuilder) Htpasswd(value *HTPasswdIdentityProviderBuilder) *IdentityProviderBuilder
Htpasswd sets the value of the 'htpasswd' attribute to the given value.
Details for `htpasswd` identity providers.
func (*IdentityProviderBuilder) ID ¶
func (b *IdentityProviderBuilder) ID(value string) *IdentityProviderBuilder
ID sets the identifier of the object.
func (*IdentityProviderBuilder) LDAP ¶
func (b *IdentityProviderBuilder) LDAP(value *LDAPIdentityProviderBuilder) *IdentityProviderBuilder
LDAP sets the value of the 'LDAP' attribute to the given value.
Details for `ldap` identity providers.
func (*IdentityProviderBuilder) Link ¶
func (b *IdentityProviderBuilder) Link(value bool) *IdentityProviderBuilder
Link sets the flag that indicates if this is a link.
func (*IdentityProviderBuilder) Login ¶
func (b *IdentityProviderBuilder) Login(value bool) *IdentityProviderBuilder
Login sets the value of the 'login' attribute to the given value.
func (*IdentityProviderBuilder) MappingMethod ¶
func (b *IdentityProviderBuilder) MappingMethod(value IdentityProviderMappingMethod) *IdentityProviderBuilder
MappingMethod sets the value of the 'mapping_method' attribute to the given value.
Controls how mappings are established between provider identities and user objects.
func (*IdentityProviderBuilder) Name ¶
func (b *IdentityProviderBuilder) Name(value string) *IdentityProviderBuilder
Name sets the value of the 'name' attribute to the given value.
func (*IdentityProviderBuilder) OpenID ¶
func (b *IdentityProviderBuilder) OpenID(value *OpenIDIdentityProviderBuilder) *IdentityProviderBuilder
OpenID sets the value of the 'open_ID' attribute to the given value.
Details for `openid` identity providers.
func (*IdentityProviderBuilder) Type ¶
func (b *IdentityProviderBuilder) Type(value IdentityProviderType) *IdentityProviderBuilder
Type sets the value of the 'type' attribute to the given value.
Type of identity provider.
type IdentityProviderClient ¶
type IdentityProviderClient struct {
// contains filtered or unexported fields
}
IdentityProviderClient is the client of the 'identity_provider' resource.
Manages a specific identity provider.
func NewIdentityProviderClient ¶
func NewIdentityProviderClient(transport http.RoundTripper, path string, metric string) *IdentityProviderClient
NewIdentityProviderClient creates a new client for the 'identity_provider' resource using the given transport to send the requests and receive the responses.
func (*IdentityProviderClient) Delete ¶
func (c *IdentityProviderClient) Delete() *IdentityProviderDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the identity provider.
func (*IdentityProviderClient) Get ¶
func (c *IdentityProviderClient) Get() *IdentityProviderGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the identity provider.
func (*IdentityProviderClient) Poll ¶
func (c *IdentityProviderClient) Poll() *IdentityProviderPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*IdentityProviderClient) Update ¶
func (c *IdentityProviderClient) Update() *IdentityProviderUpdateRequest
Update creates a request for the 'update' method.
Update identity provider in the cluster.
type IdentityProviderDeleteRequest ¶
type IdentityProviderDeleteRequest struct {
// contains filtered or unexported fields
}
IdentityProviderDeleteRequest is the request for the 'delete' method.
func (*IdentityProviderDeleteRequest) Header ¶
func (r *IdentityProviderDeleteRequest) Header(name string, value interface{}) *IdentityProviderDeleteRequest
Header adds a request header.
func (*IdentityProviderDeleteRequest) Parameter ¶
func (r *IdentityProviderDeleteRequest) Parameter(name string, value interface{}) *IdentityProviderDeleteRequest
Parameter adds a query parameter.
func (*IdentityProviderDeleteRequest) Send ¶
func (r *IdentityProviderDeleteRequest) Send() (result *IdentityProviderDeleteResponse, 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 (*IdentityProviderDeleteRequest) SendContext ¶
func (r *IdentityProviderDeleteRequest) SendContext(ctx context.Context) (result *IdentityProviderDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type IdentityProviderDeleteResponse ¶
type IdentityProviderDeleteResponse struct {
// contains filtered or unexported fields
}
IdentityProviderDeleteResponse is the response for the 'delete' method.
func (*IdentityProviderDeleteResponse) Error ¶
func (r *IdentityProviderDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*IdentityProviderDeleteResponse) Header ¶
func (r *IdentityProviderDeleteResponse) Header() http.Header
Header returns header of the response.
func (*IdentityProviderDeleteResponse) Status ¶
func (r *IdentityProviderDeleteResponse) Status() int
Status returns the response status code.
type IdentityProviderDeleteServerRequest ¶
type IdentityProviderDeleteServerRequest struct { }
IdentityProviderDeleteServerRequest is the request for the 'delete' method.
type IdentityProviderDeleteServerResponse ¶
type IdentityProviderDeleteServerResponse struct {
// contains filtered or unexported fields
}
IdentityProviderDeleteServerResponse is the response for the 'delete' method.
func (*IdentityProviderDeleteServerResponse) Status ¶
func (r *IdentityProviderDeleteServerResponse) Status(value int) *IdentityProviderDeleteServerResponse
Status sets the status code.
type IdentityProviderGetRequest ¶
type IdentityProviderGetRequest struct {
// contains filtered or unexported fields
}
IdentityProviderGetRequest is the request for the 'get' method.
func (*IdentityProviderGetRequest) Header ¶
func (r *IdentityProviderGetRequest) Header(name string, value interface{}) *IdentityProviderGetRequest
Header adds a request header.
func (*IdentityProviderGetRequest) Parameter ¶
func (r *IdentityProviderGetRequest) Parameter(name string, value interface{}) *IdentityProviderGetRequest
Parameter adds a query parameter.
func (*IdentityProviderGetRequest) Send ¶
func (r *IdentityProviderGetRequest) Send() (result *IdentityProviderGetResponse, 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 (*IdentityProviderGetRequest) SendContext ¶
func (r *IdentityProviderGetRequest) SendContext(ctx context.Context) (result *IdentityProviderGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type IdentityProviderGetResponse ¶
type IdentityProviderGetResponse struct {
// contains filtered or unexported fields
}
IdentityProviderGetResponse is the response for the 'get' method.
func (*IdentityProviderGetResponse) Body ¶
func (r *IdentityProviderGetResponse) Body() *IdentityProvider
Body returns the value of the 'body' parameter.
func (*IdentityProviderGetResponse) Error ¶
func (r *IdentityProviderGetResponse) Error() *errors.Error
Error returns the response error.
func (*IdentityProviderGetResponse) GetBody ¶
func (r *IdentityProviderGetResponse) GetBody() (value *IdentityProvider, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*IdentityProviderGetResponse) Header ¶
func (r *IdentityProviderGetResponse) Header() http.Header
Header returns header of the response.
func (*IdentityProviderGetResponse) Status ¶
func (r *IdentityProviderGetResponse) Status() int
Status returns the response status code.
type IdentityProviderGetServerRequest ¶
type IdentityProviderGetServerRequest struct { }
IdentityProviderGetServerRequest is the request for the 'get' method.
type IdentityProviderGetServerResponse ¶
type IdentityProviderGetServerResponse struct {
// contains filtered or unexported fields
}
IdentityProviderGetServerResponse is the response for the 'get' method.
func (*IdentityProviderGetServerResponse) Body ¶
func (r *IdentityProviderGetServerResponse) Body(value *IdentityProvider) *IdentityProviderGetServerResponse
Body sets the value of the 'body' parameter.
func (*IdentityProviderGetServerResponse) Status ¶
func (r *IdentityProviderGetServerResponse) Status(value int) *IdentityProviderGetServerResponse
Status sets the status code.
type IdentityProviderList ¶
type IdentityProviderList struct {
// contains filtered or unexported fields
}
IdentityProviderList is a list of values of the 'identity_provider' type.
func (*IdentityProviderList) Each ¶
func (l *IdentityProviderList) Each(f func(item *IdentityProvider) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*IdentityProviderList) Empty ¶
func (l *IdentityProviderList) Empty() bool
Empty returns true if the list is empty.
func (*IdentityProviderList) Get ¶
func (l *IdentityProviderList) Get(i int) *IdentityProvider
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*IdentityProviderList) GetHREF ¶
func (l *IdentityProviderList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*IdentityProviderList) HREF ¶
func (l *IdentityProviderList) HREF() string
HREF returns the link to the list.
func (*IdentityProviderList) Kind ¶
func (l *IdentityProviderList) Kind() string
Kind returns the name of the type of the object.
func (*IdentityProviderList) Len ¶
func (l *IdentityProviderList) Len() int
Len returns the length of the list.
func (*IdentityProviderList) Link ¶
func (l *IdentityProviderList) Link() bool
Link returns true iif this is a link.
func (*IdentityProviderList) Range ¶
func (l *IdentityProviderList) Range(f func(index int, item *IdentityProvider) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*IdentityProviderList) Slice ¶
func (l *IdentityProviderList) Slice() []*IdentityProvider
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type IdentityProviderListBuilder ¶
type IdentityProviderListBuilder struct {
// contains filtered or unexported fields
}
IdentityProviderListBuilder contains the data and logic needed to build 'identity_provider' objects.
func NewIdentityProviderList ¶
func NewIdentityProviderList() *IdentityProviderListBuilder
NewIdentityProviderList creates a new builder of 'identity_provider' objects.
func (*IdentityProviderListBuilder) Build ¶
func (b *IdentityProviderListBuilder) Build() (list *IdentityProviderList, err error)
Build creates a list of 'identity_provider' objects using the configuration stored in the builder.
func (*IdentityProviderListBuilder) Copy ¶
func (b *IdentityProviderListBuilder) Copy(list *IdentityProviderList) *IdentityProviderListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*IdentityProviderListBuilder) Items ¶
func (b *IdentityProviderListBuilder) Items(values ...*IdentityProviderBuilder) *IdentityProviderListBuilder
Items sets the items of the list.
type IdentityProviderMappingMethod ¶
type IdentityProviderMappingMethod string
IdentityProviderMappingMethod represents the values of the 'identity_provider_mapping_method' enumerated type.
const ( // IdentityProviderMappingMethodAdd IdentityProviderMappingMethod = "add" // IdentityProviderMappingMethodClaim IdentityProviderMappingMethod = "claim" // IdentityProviderMappingMethodGenerate IdentityProviderMappingMethod = "generate" // IdentityProviderMappingMethodLookup IdentityProviderMappingMethod = "lookup" )
func UnmarshalIdentityProviderMappingMethodList ¶
func UnmarshalIdentityProviderMappingMethodList(source interface{}) (items []IdentityProviderMappingMethod, err error)
UnmarshalIdentityProviderMappingMethodList reads a list of values of the 'identity_provider_mapping_method' type from the given source, which can be a slice of bytes, a string or a reader.
type IdentityProviderPollRequest ¶
type IdentityProviderPollRequest struct {
// contains filtered or unexported fields
}
IdentityProviderPollRequest is the request for the Poll method.
func (*IdentityProviderPollRequest) Header ¶
func (r *IdentityProviderPollRequest) Header(name string, value interface{}) *IdentityProviderPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*IdentityProviderPollRequest) Interval ¶
func (r *IdentityProviderPollRequest) Interval(value time.Duration) *IdentityProviderPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*IdentityProviderPollRequest) Parameter ¶
func (r *IdentityProviderPollRequest) Parameter(name string, value interface{}) *IdentityProviderPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*IdentityProviderPollRequest) Predicate ¶
func (r *IdentityProviderPollRequest) Predicate(value func(*IdentityProviderGetResponse) bool) *IdentityProviderPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*IdentityProviderPollRequest) StartContext ¶
func (r *IdentityProviderPollRequest) StartContext(ctx context.Context) (response *IdentityProviderPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*IdentityProviderPollRequest) Status ¶
func (r *IdentityProviderPollRequest) Status(value int) *IdentityProviderPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type IdentityProviderPollResponse ¶
type IdentityProviderPollResponse struct {
// contains filtered or unexported fields
}
IdentityProviderPollResponse is the response for the Poll method.
func (*IdentityProviderPollResponse) Body ¶
func (r *IdentityProviderPollResponse) Body() *IdentityProvider
Body returns the value of the 'body' parameter.
func (*IdentityProviderPollResponse) Error ¶
func (r *IdentityProviderPollResponse) Error() *errors.Error
Error returns the response error.
func (*IdentityProviderPollResponse) GetBody ¶
func (r *IdentityProviderPollResponse) GetBody() (value *IdentityProvider, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*IdentityProviderPollResponse) Header ¶
func (r *IdentityProviderPollResponse) Header() http.Header
Header returns header of the response.
func (*IdentityProviderPollResponse) Status ¶
func (r *IdentityProviderPollResponse) Status() int
Status returns the response status code.
type IdentityProviderServer ¶
type IdentityProviderServer interface { // Delete handles a request for the 'delete' method. // // Deletes the identity provider. Delete(ctx context.Context, request *IdentityProviderDeleteServerRequest, response *IdentityProviderDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the identity provider. Get(ctx context.Context, request *IdentityProviderGetServerRequest, response *IdentityProviderGetServerResponse) error // Update handles a request for the 'update' method. // // Update identity provider in the cluster. Update(ctx context.Context, request *IdentityProviderUpdateServerRequest, response *IdentityProviderUpdateServerResponse) error }
IdentityProviderServer represents the interface the manages the 'identity_provider' resource.
type IdentityProviderType ¶
type IdentityProviderType string
IdentityProviderType represents the values of the 'identity_provider_type' enumerated type.
const ( // IdentityProviderTypeLDAP IdentityProviderType = "LDAP" // IdentityProviderTypeGithub IdentityProviderType = "github" // IdentityProviderTypeGitlab IdentityProviderType = "gitlab" // IdentityProviderTypeGoogle IdentityProviderType = "google" // IdentityProviderTypeHtpasswd IdentityProviderType = "htpasswd" // IdentityProviderTypeOpenID IdentityProviderType = "open_ID" )
func UnmarshalIdentityProviderTypeList ¶
func UnmarshalIdentityProviderTypeList(source interface{}) (items []IdentityProviderType, err error)
UnmarshalIdentityProviderTypeList reads a list of values of the 'identity_provider_type' type from the given source, which can be a slice of bytes, a string or a reader.
type IdentityProviderUpdateRequest ¶
type IdentityProviderUpdateRequest struct {
// contains filtered or unexported fields
}
IdentityProviderUpdateRequest is the request for the 'update' method.
func (*IdentityProviderUpdateRequest) Body ¶
func (r *IdentityProviderUpdateRequest) Body(value *IdentityProvider) *IdentityProviderUpdateRequest
Body sets the value of the 'body' parameter.
func (*IdentityProviderUpdateRequest) Header ¶
func (r *IdentityProviderUpdateRequest) Header(name string, value interface{}) *IdentityProviderUpdateRequest
Header adds a request header.
func (*IdentityProviderUpdateRequest) Parameter ¶
func (r *IdentityProviderUpdateRequest) Parameter(name string, value interface{}) *IdentityProviderUpdateRequest
Parameter adds a query parameter.
func (*IdentityProviderUpdateRequest) Send ¶
func (r *IdentityProviderUpdateRequest) Send() (result *IdentityProviderUpdateResponse, 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 (*IdentityProviderUpdateRequest) SendContext ¶
func (r *IdentityProviderUpdateRequest) SendContext(ctx context.Context) (result *IdentityProviderUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type IdentityProviderUpdateResponse ¶
type IdentityProviderUpdateResponse struct {
// contains filtered or unexported fields
}
IdentityProviderUpdateResponse is the response for the 'update' method.
func (*IdentityProviderUpdateResponse) Body ¶
func (r *IdentityProviderUpdateResponse) Body() *IdentityProvider
Body returns the value of the 'body' parameter.
func (*IdentityProviderUpdateResponse) Error ¶
func (r *IdentityProviderUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*IdentityProviderUpdateResponse) GetBody ¶
func (r *IdentityProviderUpdateResponse) GetBody() (value *IdentityProvider, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*IdentityProviderUpdateResponse) Header ¶
func (r *IdentityProviderUpdateResponse) Header() http.Header
Header returns header of the response.
func (*IdentityProviderUpdateResponse) Status ¶
func (r *IdentityProviderUpdateResponse) Status() int
Status returns the response status code.
type IdentityProviderUpdateServerRequest ¶
type IdentityProviderUpdateServerRequest struct {
// contains filtered or unexported fields
}
IdentityProviderUpdateServerRequest is the request for the 'update' method.
func (*IdentityProviderUpdateServerRequest) Body ¶
func (r *IdentityProviderUpdateServerRequest) Body() *IdentityProvider
Body returns the value of the 'body' parameter.
func (*IdentityProviderUpdateServerRequest) GetBody ¶
func (r *IdentityProviderUpdateServerRequest) GetBody() (value *IdentityProvider, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type IdentityProviderUpdateServerResponse ¶
type IdentityProviderUpdateServerResponse struct {
// contains filtered or unexported fields
}
IdentityProviderUpdateServerResponse is the response for the 'update' method.
func (*IdentityProviderUpdateServerResponse) Body ¶
func (r *IdentityProviderUpdateServerResponse) Body(value *IdentityProvider) *IdentityProviderUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*IdentityProviderUpdateServerResponse) Status ¶
func (r *IdentityProviderUpdateServerResponse) Status(value int) *IdentityProviderUpdateServerResponse
Status sets the status code.
type IdentityProvidersAddRequest ¶
type IdentityProvidersAddRequest struct {
// contains filtered or unexported fields
}
IdentityProvidersAddRequest is the request for the 'add' method.
func (*IdentityProvidersAddRequest) Body ¶
func (r *IdentityProvidersAddRequest) Body(value *IdentityProvider) *IdentityProvidersAddRequest
Body sets the value of the 'body' parameter.
Description of the cluster.
func (*IdentityProvidersAddRequest) Header ¶
func (r *IdentityProvidersAddRequest) Header(name string, value interface{}) *IdentityProvidersAddRequest
Header adds a request header.
func (*IdentityProvidersAddRequest) Parameter ¶
func (r *IdentityProvidersAddRequest) Parameter(name string, value interface{}) *IdentityProvidersAddRequest
Parameter adds a query parameter.
func (*IdentityProvidersAddRequest) Send ¶
func (r *IdentityProvidersAddRequest) Send() (result *IdentityProvidersAddResponse, 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 (*IdentityProvidersAddRequest) SendContext ¶
func (r *IdentityProvidersAddRequest) SendContext(ctx context.Context) (result *IdentityProvidersAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type IdentityProvidersAddResponse ¶
type IdentityProvidersAddResponse struct {
// contains filtered or unexported fields
}
IdentityProvidersAddResponse is the response for the 'add' method.
func (*IdentityProvidersAddResponse) Body ¶
func (r *IdentityProvidersAddResponse) Body() *IdentityProvider
Body returns the value of the 'body' parameter.
Description of the cluster.
func (*IdentityProvidersAddResponse) Error ¶
func (r *IdentityProvidersAddResponse) Error() *errors.Error
Error returns the response error.
func (*IdentityProvidersAddResponse) GetBody ¶
func (r *IdentityProvidersAddResponse) GetBody() (value *IdentityProvider, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the cluster.
func (*IdentityProvidersAddResponse) Header ¶
func (r *IdentityProvidersAddResponse) Header() http.Header
Header returns header of the response.
func (*IdentityProvidersAddResponse) Status ¶
func (r *IdentityProvidersAddResponse) Status() int
Status returns the response status code.
type IdentityProvidersAddServerRequest ¶
type IdentityProvidersAddServerRequest struct {
// contains filtered or unexported fields
}
IdentityProvidersAddServerRequest is the request for the 'add' method.
func (*IdentityProvidersAddServerRequest) Body ¶
func (r *IdentityProvidersAddServerRequest) Body() *IdentityProvider
Body returns the value of the 'body' parameter.
Description of the cluster.
func (*IdentityProvidersAddServerRequest) GetBody ¶
func (r *IdentityProvidersAddServerRequest) GetBody() (value *IdentityProvider, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the cluster.
type IdentityProvidersAddServerResponse ¶
type IdentityProvidersAddServerResponse struct {
// contains filtered or unexported fields
}
IdentityProvidersAddServerResponse is the response for the 'add' method.
func (*IdentityProvidersAddServerResponse) Body ¶
func (r *IdentityProvidersAddServerResponse) Body(value *IdentityProvider) *IdentityProvidersAddServerResponse
Body sets the value of the 'body' parameter.
Description of the cluster.
func (*IdentityProvidersAddServerResponse) Status ¶
func (r *IdentityProvidersAddServerResponse) Status(value int) *IdentityProvidersAddServerResponse
Status sets the status code.
type IdentityProvidersClient ¶
type IdentityProvidersClient struct {
// contains filtered or unexported fields
}
IdentityProvidersClient is the client of the 'identity_providers' resource.
Manages the collection of identity providers of a cluster.
func NewIdentityProvidersClient ¶
func NewIdentityProvidersClient(transport http.RoundTripper, path string, metric string) *IdentityProvidersClient
NewIdentityProvidersClient creates a new client for the 'identity_providers' resource using the given transport to send the requests and receive the responses.
func (*IdentityProvidersClient) Add ¶
func (c *IdentityProvidersClient) Add() *IdentityProvidersAddRequest
Add creates a request for the 'add' method.
Adds a new identity provider to the cluster.
func (*IdentityProvidersClient) IdentityProvider ¶
func (c *IdentityProvidersClient) IdentityProvider(id string) *IdentityProviderClient
IdentityProvider returns the target 'identity_provider' resource for the given identifier.
Reference to the service that manages an specific identity provider.
func (*IdentityProvidersClient) List ¶
func (c *IdentityProvidersClient) List() *IdentityProvidersListRequest
List creates a request for the 'list' method.
Retrieves the list of identity providers.
type IdentityProvidersListRequest ¶
type IdentityProvidersListRequest struct {
// contains filtered or unexported fields
}
IdentityProvidersListRequest is the request for the 'list' method.
func (*IdentityProvidersListRequest) Header ¶
func (r *IdentityProvidersListRequest) Header(name string, value interface{}) *IdentityProvidersListRequest
Header adds a request header.
func (*IdentityProvidersListRequest) Page ¶
func (r *IdentityProvidersListRequest) Page(value int) *IdentityProvidersListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*IdentityProvidersListRequest) Parameter ¶
func (r *IdentityProvidersListRequest) Parameter(name string, value interface{}) *IdentityProvidersListRequest
Parameter adds a query parameter.
func (*IdentityProvidersListRequest) Send ¶
func (r *IdentityProvidersListRequest) Send() (result *IdentityProvidersListResponse, 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 (*IdentityProvidersListRequest) SendContext ¶
func (r *IdentityProvidersListRequest) SendContext(ctx context.Context) (result *IdentityProvidersListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*IdentityProvidersListRequest) Size ¶
func (r *IdentityProvidersListRequest) Size(value int) *IdentityProvidersListRequest
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
type IdentityProvidersListResponse ¶
type IdentityProvidersListResponse struct {
// contains filtered or unexported fields
}
IdentityProvidersListResponse is the response for the 'list' method.
func (*IdentityProvidersListResponse) Error ¶
func (r *IdentityProvidersListResponse) Error() *errors.Error
Error returns the response error.
func (*IdentityProvidersListResponse) GetItems ¶
func (r *IdentityProvidersListResponse) GetItems() (value *IdentityProviderList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of identity providers.
func (*IdentityProvidersListResponse) GetPage ¶
func (r *IdentityProvidersListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*IdentityProvidersListResponse) GetSize ¶
func (r *IdentityProvidersListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*IdentityProvidersListResponse) GetTotal ¶
func (r *IdentityProvidersListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection.
func (*IdentityProvidersListResponse) Header ¶
func (r *IdentityProvidersListResponse) Header() http.Header
Header returns header of the response.
func (*IdentityProvidersListResponse) Items ¶
func (r *IdentityProvidersListResponse) Items() *IdentityProviderList
Items returns the value of the 'items' parameter.
Retrieved list of identity providers.
func (*IdentityProvidersListResponse) Page ¶
func (r *IdentityProvidersListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*IdentityProvidersListResponse) Size ¶
func (r *IdentityProvidersListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
func (*IdentityProvidersListResponse) Status ¶
func (r *IdentityProvidersListResponse) Status() int
Status returns the response status code.
func (*IdentityProvidersListResponse) Total ¶
func (r *IdentityProvidersListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection.
type IdentityProvidersListServerRequest ¶
type IdentityProvidersListServerRequest struct {
// contains filtered or unexported fields
}
IdentityProvidersListServerRequest is the request for the 'list' method.
func (*IdentityProvidersListServerRequest) GetPage ¶
func (r *IdentityProvidersListServerRequest) 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 (*IdentityProvidersListServerRequest) GetSize ¶
func (r *IdentityProvidersListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*IdentityProvidersListServerRequest) Page ¶
func (r *IdentityProvidersListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*IdentityProvidersListServerRequest) Size ¶
func (r *IdentityProvidersListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
type IdentityProvidersListServerResponse ¶
type IdentityProvidersListServerResponse struct {
// contains filtered or unexported fields
}
IdentityProvidersListServerResponse is the response for the 'list' method.
func (*IdentityProvidersListServerResponse) Items ¶
func (r *IdentityProvidersListServerResponse) Items(value *IdentityProviderList) *IdentityProvidersListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of identity providers.
func (*IdentityProvidersListServerResponse) Page ¶
func (r *IdentityProvidersListServerResponse) Page(value int) *IdentityProvidersListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*IdentityProvidersListServerResponse) Size ¶
func (r *IdentityProvidersListServerResponse) Size(value int) *IdentityProvidersListServerResponse
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
func (*IdentityProvidersListServerResponse) Status ¶
func (r *IdentityProvidersListServerResponse) Status(value int) *IdentityProvidersListServerResponse
Status sets the status code.
func (*IdentityProvidersListServerResponse) Total ¶
func (r *IdentityProvidersListServerResponse) Total(value int) *IdentityProvidersListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection.
type IdentityProvidersServer ¶
type IdentityProvidersServer interface { // Add handles a request for the 'add' method. // // Adds a new identity provider to the cluster. Add(ctx context.Context, request *IdentityProvidersAddServerRequest, response *IdentityProvidersAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of identity providers. List(ctx context.Context, request *IdentityProvidersListServerRequest, response *IdentityProvidersListServerResponse) error // IdentityProvider returns the target 'identity_provider' server for the given identifier. // // Reference to the service that manages an specific identity provider. IdentityProvider(id string) IdentityProviderServer }
IdentityProvidersServer represents the interface the manages the 'identity_providers' resource.
type Ingress ¶
type Ingress struct {
// contains filtered or unexported fields
}
Ingress represents the values of the 'ingress' type.
Representation of an ingress.
func UnmarshalIngress ¶
UnmarshalIngress reads a value of the 'ingress' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalIngressList ¶
UnmarshalIngressList reads a list of values of the 'ingress' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Ingress) Cluster ¶
Cluster returns the value of the 'cluster' attribute, or the zero value of the type if the attribute doesn't have a value.
ID used to identify the cluster that this ingress is attached to.
func (*Ingress) DNSName ¶
DNSName returns the value of the 'DNS_name' attribute, or the zero value of the type if the attribute doesn't have a value.
DNS Name of the ingress.
func (*Ingress) Default ¶
Default returns the value of the 'default' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if this is the default ingress.
func (*Ingress) GetCluster ¶
GetCluster returns the value of the 'cluster' attribute and a flag indicating if the attribute has a value.
ID used to identify the cluster that this ingress is attached to.
func (*Ingress) GetDNSName ¶
GetDNSName returns the value of the 'DNS_name' attribute and a flag indicating if the attribute has a value.
DNS Name of the ingress.
func (*Ingress) GetDefault ¶
GetDefault returns the value of the 'default' attribute and a flag indicating if the attribute has a value.
Indicates if this is the default ingress.
func (*Ingress) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Ingress) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Ingress) GetListening ¶
func (o *Ingress) GetListening() (value ListeningMethod, ok bool)
GetListening returns the value of the 'listening' attribute and a flag indicating if the attribute has a value.
Listening method of the ingress
func (*Ingress) GetRouteSelectors ¶
GetRouteSelectors returns the value of the 'route_selectors' attribute and a flag indicating if the attribute has a value.
A set of labels for the ingress.
func (*Ingress) Listening ¶
func (o *Ingress) Listening() ListeningMethod
Listening returns the value of the 'listening' attribute, or the zero value of the type if the attribute doesn't have a value.
Listening method of the ingress
func (*Ingress) RouteSelectors ¶
RouteSelectors returns the value of the 'route_selectors' attribute, or the zero value of the type if the attribute doesn't have a value.
A set of labels for the ingress.
type IngressBuilder ¶
type IngressBuilder struct {
// contains filtered or unexported fields
}
IngressBuilder contains the data and logic needed to build 'ingress' objects.
Representation of an ingress.
func NewIngress ¶
func NewIngress() *IngressBuilder
NewIngress creates a new builder of 'ingress' objects.
func (*IngressBuilder) Build ¶
func (b *IngressBuilder) Build() (object *Ingress, err error)
Build creates a 'ingress' object using the configuration stored in the builder.
func (*IngressBuilder) Cluster ¶
func (b *IngressBuilder) Cluster(value *ClusterBuilder) *IngressBuilder
Cluster sets the value of the 'cluster' attribute to the given value.
Definition of an _OpenShift_ cluster.
The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:
[source,json] ----
{ "cloud_provider": { "kind": "CloudProviderLink", "id": "123", "href": "/api/clusters_mgmt/v1/cloud_providers/123" } }
----
When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:
[source,json] ----
{ "cloud_provider": { "id": "123", } }
----
If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.
The region attribute is mandatory when a cluster is created.
The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.
func (*IngressBuilder) Copy ¶
func (b *IngressBuilder) Copy(object *Ingress) *IngressBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*IngressBuilder) DNSName ¶
func (b *IngressBuilder) DNSName(value string) *IngressBuilder
DNSName sets the value of the 'DNS_name' attribute to the given value.
func (*IngressBuilder) Default ¶
func (b *IngressBuilder) Default(value bool) *IngressBuilder
Default sets the value of the 'default' attribute to the given value.
func (*IngressBuilder) HREF ¶
func (b *IngressBuilder) HREF(value string) *IngressBuilder
HREF sets the link to the object.
func (*IngressBuilder) ID ¶
func (b *IngressBuilder) ID(value string) *IngressBuilder
ID sets the identifier of the object.
func (*IngressBuilder) Link ¶
func (b *IngressBuilder) Link(value bool) *IngressBuilder
Link sets the flag that indicates if this is a link.
func (*IngressBuilder) Listening ¶
func (b *IngressBuilder) Listening(value ListeningMethod) *IngressBuilder
Listening sets the value of the 'listening' attribute to the given value.
Cluster components listening method.
func (*IngressBuilder) RouteSelectors ¶
func (b *IngressBuilder) RouteSelectors(value map[string]string) *IngressBuilder
RouteSelectors sets the value of the 'route_selectors' attribute to the given value.
type IngressClient ¶
type IngressClient struct {
// contains filtered or unexported fields
}
IngressClient is the client of the 'ingress' resource.
Manages a specific ingress.
func NewIngressClient ¶
func NewIngressClient(transport http.RoundTripper, path string, metric string) *IngressClient
NewIngressClient creates a new client for the 'ingress' resource using the given transport to send the requests and receive the responses.
func (*IngressClient) Delete ¶
func (c *IngressClient) Delete() *IngressDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the ingress.
func (*IngressClient) Get ¶
func (c *IngressClient) Get() *IngressGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the ingress.
func (*IngressClient) Poll ¶
func (c *IngressClient) Poll() *IngressPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*IngressClient) Update ¶
func (c *IngressClient) Update() *IngressUpdateRequest
Update creates a request for the 'update' method.
Updates the ingress.
type IngressDeleteRequest ¶
type IngressDeleteRequest struct {
// contains filtered or unexported fields
}
IngressDeleteRequest is the request for the 'delete' method.
func (*IngressDeleteRequest) Header ¶
func (r *IngressDeleteRequest) Header(name string, value interface{}) *IngressDeleteRequest
Header adds a request header.
func (*IngressDeleteRequest) Parameter ¶
func (r *IngressDeleteRequest) Parameter(name string, value interface{}) *IngressDeleteRequest
Parameter adds a query parameter.
func (*IngressDeleteRequest) Send ¶
func (r *IngressDeleteRequest) Send() (result *IngressDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*IngressDeleteRequest) SendContext ¶
func (r *IngressDeleteRequest) SendContext(ctx context.Context) (result *IngressDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type IngressDeleteResponse ¶
type IngressDeleteResponse struct {
// contains filtered or unexported fields
}
IngressDeleteResponse is the response for the 'delete' method.
func (*IngressDeleteResponse) Error ¶
func (r *IngressDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*IngressDeleteResponse) Header ¶
func (r *IngressDeleteResponse) Header() http.Header
Header returns header of the response.
func (*IngressDeleteResponse) Status ¶
func (r *IngressDeleteResponse) Status() int
Status returns the response status code.
type IngressDeleteServerRequest ¶
type IngressDeleteServerRequest struct { }
IngressDeleteServerRequest is the request for the 'delete' method.
type IngressDeleteServerResponse ¶
type IngressDeleteServerResponse struct {
// contains filtered or unexported fields
}
IngressDeleteServerResponse is the response for the 'delete' method.
func (*IngressDeleteServerResponse) Status ¶
func (r *IngressDeleteServerResponse) Status(value int) *IngressDeleteServerResponse
Status sets the status code.
type IngressGetRequest ¶
type IngressGetRequest struct {
// contains filtered or unexported fields
}
IngressGetRequest is the request for the 'get' method.
func (*IngressGetRequest) Header ¶
func (r *IngressGetRequest) Header(name string, value interface{}) *IngressGetRequest
Header adds a request header.
func (*IngressGetRequest) Parameter ¶
func (r *IngressGetRequest) Parameter(name string, value interface{}) *IngressGetRequest
Parameter adds a query parameter.
func (*IngressGetRequest) Send ¶
func (r *IngressGetRequest) Send() (result *IngressGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*IngressGetRequest) SendContext ¶
func (r *IngressGetRequest) SendContext(ctx context.Context) (result *IngressGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type IngressGetResponse ¶
type IngressGetResponse struct {
// contains filtered or unexported fields
}
IngressGetResponse is the response for the 'get' method.
func (*IngressGetResponse) Body ¶
func (r *IngressGetResponse) Body() *Ingress
Body returns the value of the 'body' parameter.
func (*IngressGetResponse) Error ¶
func (r *IngressGetResponse) Error() *errors.Error
Error returns the response error.
func (*IngressGetResponse) GetBody ¶
func (r *IngressGetResponse) GetBody() (value *Ingress, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*IngressGetResponse) Header ¶
func (r *IngressGetResponse) Header() http.Header
Header returns header of the response.
func (*IngressGetResponse) Status ¶
func (r *IngressGetResponse) Status() int
Status returns the response status code.
type IngressGetServerRequest ¶
type IngressGetServerRequest struct { }
IngressGetServerRequest is the request for the 'get' method.
type IngressGetServerResponse ¶
type IngressGetServerResponse struct {
// contains filtered or unexported fields
}
IngressGetServerResponse is the response for the 'get' method.
func (*IngressGetServerResponse) Body ¶
func (r *IngressGetServerResponse) Body(value *Ingress) *IngressGetServerResponse
Body sets the value of the 'body' parameter.
func (*IngressGetServerResponse) Status ¶
func (r *IngressGetServerResponse) Status(value int) *IngressGetServerResponse
Status sets the status code.
type IngressList ¶
type IngressList struct {
// contains filtered or unexported fields
}
IngressList is a list of values of the 'ingress' type.
func (*IngressList) Each ¶
func (l *IngressList) Each(f func(item *Ingress) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*IngressList) Empty ¶
func (l *IngressList) Empty() bool
Empty returns true if the list is empty.
func (*IngressList) Get ¶
func (l *IngressList) Get(i int) *Ingress
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*IngressList) GetHREF ¶
func (l *IngressList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*IngressList) Kind ¶
func (l *IngressList) Kind() string
Kind returns the name of the type of the object.
func (*IngressList) Range ¶
func (l *IngressList) Range(f func(index int, item *Ingress) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*IngressList) Slice ¶
func (l *IngressList) Slice() []*Ingress
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type IngressListBuilder ¶
type IngressListBuilder struct {
// contains filtered or unexported fields
}
IngressListBuilder contains the data and logic needed to build 'ingress' objects.
func NewIngressList ¶
func NewIngressList() *IngressListBuilder
NewIngressList creates a new builder of 'ingress' objects.
func (*IngressListBuilder) Build ¶
func (b *IngressListBuilder) Build() (list *IngressList, err error)
Build creates a list of 'ingress' objects using the configuration stored in the builder.
func (*IngressListBuilder) Copy ¶
func (b *IngressListBuilder) Copy(list *IngressList) *IngressListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*IngressListBuilder) Items ¶
func (b *IngressListBuilder) Items(values ...*IngressBuilder) *IngressListBuilder
Items sets the items of the list.
type IngressPollRequest ¶
type IngressPollRequest struct {
// contains filtered or unexported fields
}
IngressPollRequest is the request for the Poll method.
func (*IngressPollRequest) Header ¶
func (r *IngressPollRequest) Header(name string, value interface{}) *IngressPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*IngressPollRequest) Interval ¶
func (r *IngressPollRequest) Interval(value time.Duration) *IngressPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*IngressPollRequest) Parameter ¶
func (r *IngressPollRequest) Parameter(name string, value interface{}) *IngressPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*IngressPollRequest) Predicate ¶
func (r *IngressPollRequest) Predicate(value func(*IngressGetResponse) bool) *IngressPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*IngressPollRequest) StartContext ¶
func (r *IngressPollRequest) StartContext(ctx context.Context) (response *IngressPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*IngressPollRequest) Status ¶
func (r *IngressPollRequest) Status(value int) *IngressPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type IngressPollResponse ¶
type IngressPollResponse struct {
// contains filtered or unexported fields
}
IngressPollResponse is the response for the Poll method.
func (*IngressPollResponse) Body ¶
func (r *IngressPollResponse) Body() *Ingress
Body returns the value of the 'body' parameter.
func (*IngressPollResponse) Error ¶
func (r *IngressPollResponse) Error() *errors.Error
Error returns the response error.
func (*IngressPollResponse) GetBody ¶
func (r *IngressPollResponse) GetBody() (value *Ingress, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*IngressPollResponse) Header ¶
func (r *IngressPollResponse) Header() http.Header
Header returns header of the response.
func (*IngressPollResponse) Status ¶
func (r *IngressPollResponse) Status() int
Status returns the response status code.
type IngressServer ¶
type IngressServer interface { // Delete handles a request for the 'delete' method. // // Deletes the ingress. Delete(ctx context.Context, request *IngressDeleteServerRequest, response *IngressDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the ingress. Get(ctx context.Context, request *IngressGetServerRequest, response *IngressGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the ingress. Update(ctx context.Context, request *IngressUpdateServerRequest, response *IngressUpdateServerResponse) error }
IngressServer represents the interface the manages the 'ingress' resource.
type IngressUpdateRequest ¶
type IngressUpdateRequest struct {
// contains filtered or unexported fields
}
IngressUpdateRequest is the request for the 'update' method.
func (*IngressUpdateRequest) Body ¶
func (r *IngressUpdateRequest) Body(value *Ingress) *IngressUpdateRequest
Body sets the value of the 'body' parameter.
func (*IngressUpdateRequest) Header ¶
func (r *IngressUpdateRequest) Header(name string, value interface{}) *IngressUpdateRequest
Header adds a request header.
func (*IngressUpdateRequest) Parameter ¶
func (r *IngressUpdateRequest) Parameter(name string, value interface{}) *IngressUpdateRequest
Parameter adds a query parameter.
func (*IngressUpdateRequest) Send ¶
func (r *IngressUpdateRequest) Send() (result *IngressUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*IngressUpdateRequest) SendContext ¶
func (r *IngressUpdateRequest) SendContext(ctx context.Context) (result *IngressUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type IngressUpdateResponse ¶
type IngressUpdateResponse struct {
// contains filtered or unexported fields
}
IngressUpdateResponse is the response for the 'update' method.
func (*IngressUpdateResponse) Body ¶
func (r *IngressUpdateResponse) Body() *Ingress
Body returns the value of the 'body' parameter.
func (*IngressUpdateResponse) Error ¶
func (r *IngressUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*IngressUpdateResponse) GetBody ¶
func (r *IngressUpdateResponse) GetBody() (value *Ingress, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*IngressUpdateResponse) Header ¶
func (r *IngressUpdateResponse) Header() http.Header
Header returns header of the response.
func (*IngressUpdateResponse) Status ¶
func (r *IngressUpdateResponse) Status() int
Status returns the response status code.
type IngressUpdateServerRequest ¶
type IngressUpdateServerRequest struct {
// contains filtered or unexported fields
}
IngressUpdateServerRequest is the request for the 'update' method.
func (*IngressUpdateServerRequest) Body ¶
func (r *IngressUpdateServerRequest) Body() *Ingress
Body returns the value of the 'body' parameter.
func (*IngressUpdateServerRequest) GetBody ¶
func (r *IngressUpdateServerRequest) GetBody() (value *Ingress, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type IngressUpdateServerResponse ¶
type IngressUpdateServerResponse struct {
// contains filtered or unexported fields
}
IngressUpdateServerResponse is the response for the 'update' method.
func (*IngressUpdateServerResponse) Body ¶
func (r *IngressUpdateServerResponse) Body(value *Ingress) *IngressUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*IngressUpdateServerResponse) Status ¶
func (r *IngressUpdateServerResponse) Status(value int) *IngressUpdateServerResponse
Status sets the status code.
type IngressesAddRequest ¶
type IngressesAddRequest struct {
// contains filtered or unexported fields
}
IngressesAddRequest is the request for the 'add' method.
func (*IngressesAddRequest) Body ¶
func (r *IngressesAddRequest) Body(value *Ingress) *IngressesAddRequest
Body sets the value of the 'body' parameter.
Description of the ingress
func (*IngressesAddRequest) Header ¶
func (r *IngressesAddRequest) Header(name string, value interface{}) *IngressesAddRequest
Header adds a request header.
func (*IngressesAddRequest) Parameter ¶
func (r *IngressesAddRequest) Parameter(name string, value interface{}) *IngressesAddRequest
Parameter adds a query parameter.
func (*IngressesAddRequest) Send ¶
func (r *IngressesAddRequest) Send() (result *IngressesAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*IngressesAddRequest) SendContext ¶
func (r *IngressesAddRequest) SendContext(ctx context.Context) (result *IngressesAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type IngressesAddResponse ¶
type IngressesAddResponse struct {
// contains filtered or unexported fields
}
IngressesAddResponse is the response for the 'add' method.
func (*IngressesAddResponse) Body ¶
func (r *IngressesAddResponse) Body() *Ingress
Body returns the value of the 'body' parameter.
Description of the ingress
func (*IngressesAddResponse) Error ¶
func (r *IngressesAddResponse) Error() *errors.Error
Error returns the response error.
func (*IngressesAddResponse) GetBody ¶
func (r *IngressesAddResponse) GetBody() (value *Ingress, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the ingress
func (*IngressesAddResponse) Header ¶
func (r *IngressesAddResponse) Header() http.Header
Header returns header of the response.
func (*IngressesAddResponse) Status ¶
func (r *IngressesAddResponse) Status() int
Status returns the response status code.
type IngressesAddServerRequest ¶
type IngressesAddServerRequest struct {
// contains filtered or unexported fields
}
IngressesAddServerRequest is the request for the 'add' method.
func (*IngressesAddServerRequest) Body ¶
func (r *IngressesAddServerRequest) Body() *Ingress
Body returns the value of the 'body' parameter.
Description of the ingress
func (*IngressesAddServerRequest) GetBody ¶
func (r *IngressesAddServerRequest) GetBody() (value *Ingress, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the ingress
type IngressesAddServerResponse ¶
type IngressesAddServerResponse struct {
// contains filtered or unexported fields
}
IngressesAddServerResponse is the response for the 'add' method.
func (*IngressesAddServerResponse) Body ¶
func (r *IngressesAddServerResponse) Body(value *Ingress) *IngressesAddServerResponse
Body sets the value of the 'body' parameter.
Description of the ingress
func (*IngressesAddServerResponse) Status ¶
func (r *IngressesAddServerResponse) Status(value int) *IngressesAddServerResponse
Status sets the status code.
type IngressesClient ¶
type IngressesClient struct {
// contains filtered or unexported fields
}
IngressesClient is the client of the 'ingresses' resource.
Manages the collection of ingresses of a cluster.
func NewIngressesClient ¶
func NewIngressesClient(transport http.RoundTripper, path string, metric string) *IngressesClient
NewIngressesClient creates a new client for the 'ingresses' resource using the given transport to send the requests and receive the responses.
func (*IngressesClient) Add ¶
func (c *IngressesClient) Add() *IngressesAddRequest
Add creates a request for the 'add' method.
Adds a new ingress to the cluster.
func (*IngressesClient) Ingress ¶
func (c *IngressesClient) Ingress(id string) *IngressClient
Ingress returns the target 'ingress' resource for the given identifier.
Reference to the service that manages a specific ingress.
func (*IngressesClient) List ¶
func (c *IngressesClient) List() *IngressesListRequest
List creates a request for the 'list' method.
Retrieves the list of ingresses.
func (*IngressesClient) Update ¶
func (c *IngressesClient) Update() *IngressesUpdateRequest
Update creates a request for the 'update' method.
Updates all ingresses
type IngressesListRequest ¶
type IngressesListRequest struct {
// contains filtered or unexported fields
}
IngressesListRequest is the request for the 'list' method.
func (*IngressesListRequest) Header ¶
func (r *IngressesListRequest) Header(name string, value interface{}) *IngressesListRequest
Header adds a request header.
func (*IngressesListRequest) Page ¶
func (r *IngressesListRequest) Page(value int) *IngressesListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*IngressesListRequest) Parameter ¶
func (r *IngressesListRequest) Parameter(name string, value interface{}) *IngressesListRequest
Parameter adds a query parameter.
func (*IngressesListRequest) Send ¶
func (r *IngressesListRequest) Send() (result *IngressesListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*IngressesListRequest) SendContext ¶
func (r *IngressesListRequest) SendContext(ctx context.Context) (result *IngressesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*IngressesListRequest) Size ¶
func (r *IngressesListRequest) Size(value int) *IngressesListRequest
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
type IngressesListResponse ¶
type IngressesListResponse struct {
// contains filtered or unexported fields
}
IngressesListResponse is the response for the 'list' method.
func (*IngressesListResponse) Error ¶
func (r *IngressesListResponse) Error() *errors.Error
Error returns the response error.
func (*IngressesListResponse) GetItems ¶
func (r *IngressesListResponse) GetItems() (value *IngressList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of ingresses.
func (*IngressesListResponse) GetPage ¶
func (r *IngressesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*IngressesListResponse) GetSize ¶
func (r *IngressesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*IngressesListResponse) GetTotal ¶
func (r *IngressesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection.
func (*IngressesListResponse) Header ¶
func (r *IngressesListResponse) Header() http.Header
Header returns header of the response.
func (*IngressesListResponse) Items ¶
func (r *IngressesListResponse) Items() *IngressList
Items returns the value of the 'items' parameter.
Retrieved list of ingresses.
func (*IngressesListResponse) Page ¶
func (r *IngressesListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*IngressesListResponse) Size ¶
func (r *IngressesListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
func (*IngressesListResponse) Status ¶
func (r *IngressesListResponse) Status() int
Status returns the response status code.
func (*IngressesListResponse) Total ¶
func (r *IngressesListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection.
type IngressesListServerRequest ¶
type IngressesListServerRequest struct {
// contains filtered or unexported fields
}
IngressesListServerRequest is the request for the 'list' method.
func (*IngressesListServerRequest) GetPage ¶
func (r *IngressesListServerRequest) 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 (*IngressesListServerRequest) GetSize ¶
func (r *IngressesListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*IngressesListServerRequest) Page ¶
func (r *IngressesListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*IngressesListServerRequest) Size ¶
func (r *IngressesListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
type IngressesListServerResponse ¶
type IngressesListServerResponse struct {
// contains filtered or unexported fields
}
IngressesListServerResponse is the response for the 'list' method.
func (*IngressesListServerResponse) Items ¶
func (r *IngressesListServerResponse) Items(value *IngressList) *IngressesListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of ingresses.
func (*IngressesListServerResponse) Page ¶
func (r *IngressesListServerResponse) Page(value int) *IngressesListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*IngressesListServerResponse) Size ¶
func (r *IngressesListServerResponse) Size(value int) *IngressesListServerResponse
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
func (*IngressesListServerResponse) Status ¶
func (r *IngressesListServerResponse) Status(value int) *IngressesListServerResponse
Status sets the status code.
func (*IngressesListServerResponse) Total ¶
func (r *IngressesListServerResponse) Total(value int) *IngressesListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection.
type IngressesServer ¶
type IngressesServer interface { // Add handles a request for the 'add' method. // // Adds a new ingress to the cluster. Add(ctx context.Context, request *IngressesAddServerRequest, response *IngressesAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of ingresses. List(ctx context.Context, request *IngressesListServerRequest, response *IngressesListServerResponse) error // Update handles a request for the 'update' method. // // Updates all ingresses Update(ctx context.Context, request *IngressesUpdateServerRequest, response *IngressesUpdateServerResponse) error // Ingress returns the target 'ingress' server for the given identifier. // // Reference to the service that manages a specific ingress. Ingress(id string) IngressServer }
IngressesServer represents the interface the manages the 'ingresses' resource.
type IngressesUpdateRequest ¶
type IngressesUpdateRequest struct {
// contains filtered or unexported fields
}
IngressesUpdateRequest is the request for the 'update' method.
func (*IngressesUpdateRequest) Body ¶
func (r *IngressesUpdateRequest) Body(value []*Ingress) *IngressesUpdateRequest
Body sets the value of the 'body' parameter.
func (*IngressesUpdateRequest) Header ¶
func (r *IngressesUpdateRequest) Header(name string, value interface{}) *IngressesUpdateRequest
Header adds a request header.
func (*IngressesUpdateRequest) Parameter ¶
func (r *IngressesUpdateRequest) Parameter(name string, value interface{}) *IngressesUpdateRequest
Parameter adds a query parameter.
func (*IngressesUpdateRequest) Send ¶
func (r *IngressesUpdateRequest) Send() (result *IngressesUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*IngressesUpdateRequest) SendContext ¶
func (r *IngressesUpdateRequest) SendContext(ctx context.Context) (result *IngressesUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type IngressesUpdateResponse ¶
type IngressesUpdateResponse struct {
// contains filtered or unexported fields
}
IngressesUpdateResponse is the response for the 'update' method.
func (*IngressesUpdateResponse) Body ¶
func (r *IngressesUpdateResponse) Body() []*Ingress
Body returns the value of the 'body' parameter.
func (*IngressesUpdateResponse) Error ¶
func (r *IngressesUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*IngressesUpdateResponse) GetBody ¶
func (r *IngressesUpdateResponse) GetBody() (value []*Ingress, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*IngressesUpdateResponse) Header ¶
func (r *IngressesUpdateResponse) Header() http.Header
Header returns header of the response.
func (*IngressesUpdateResponse) Status ¶
func (r *IngressesUpdateResponse) Status() int
Status returns the response status code.
type IngressesUpdateServerRequest ¶
type IngressesUpdateServerRequest struct {
// contains filtered or unexported fields
}
IngressesUpdateServerRequest is the request for the 'update' method.
func (*IngressesUpdateServerRequest) Body ¶
func (r *IngressesUpdateServerRequest) Body() []*Ingress
Body returns the value of the 'body' parameter.
func (*IngressesUpdateServerRequest) GetBody ¶
func (r *IngressesUpdateServerRequest) GetBody() (value []*Ingress, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type IngressesUpdateServerResponse ¶
type IngressesUpdateServerResponse struct {
// contains filtered or unexported fields
}
IngressesUpdateServerResponse is the response for the 'update' method.
func (*IngressesUpdateServerResponse) Body ¶
func (r *IngressesUpdateServerResponse) Body(value []*Ingress) *IngressesUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*IngressesUpdateServerResponse) Status ¶
func (r *IngressesUpdateServerResponse) Status(value int) *IngressesUpdateServerResponse
Status sets the status code.
type LDAPAttributes ¶
type LDAPAttributes struct {
// contains filtered or unexported fields
}
LDAPAttributes represents the values of the 'LDAP_attributes' type.
LDAP attributes used to configure the LDAP identity provider.
func UnmarshalLDAPAttributes ¶
func UnmarshalLDAPAttributes(source interface{}) (object *LDAPAttributes, err error)
UnmarshalLDAPAttributes reads a value of the 'LDAP_attributes' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalLDAPAttributesList ¶
func UnmarshalLDAPAttributesList(source interface{}) (items []*LDAPAttributes, err error)
UnmarshalLDAPAttributesList reads a list of values of the 'LDAP_attributes' type from the given source, which can be a slice of bytes, a string or a reader.
func (*LDAPAttributes) Email ¶
func (o *LDAPAttributes) Email() []string
Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.
List of attributes to use as the mail address.
func (*LDAPAttributes) Empty ¶
func (o *LDAPAttributes) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*LDAPAttributes) GetEmail ¶
func (o *LDAPAttributes) GetEmail() (value []string, ok bool)
GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.
List of attributes to use as the mail address.
func (*LDAPAttributes) GetID ¶
func (o *LDAPAttributes) GetID() (value []string, ok bool)
GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.
List of attributes to use as the identity.
func (*LDAPAttributes) GetName ¶
func (o *LDAPAttributes) GetName() (value []string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
List of attributes to use as the display name.
func (*LDAPAttributes) GetPreferredUsername ¶
func (o *LDAPAttributes) GetPreferredUsername() (value []string, ok bool)
GetPreferredUsername returns the value of the 'preferred_username' attribute and a flag indicating if the attribute has a value.
List of attributes to use as the preferred user name when provisioning a user.
func (*LDAPAttributes) ID ¶
func (o *LDAPAttributes) ID() []string
ID returns the value of the 'ID' attribute, or the zero value of the type if the attribute doesn't have a value.
List of attributes to use as the identity.
func (*LDAPAttributes) Name ¶
func (o *LDAPAttributes) Name() []string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
List of attributes to use as the display name.
func (*LDAPAttributes) PreferredUsername ¶
func (o *LDAPAttributes) PreferredUsername() []string
PreferredUsername returns the value of the 'preferred_username' attribute, or the zero value of the type if the attribute doesn't have a value.
List of attributes to use as the preferred user name when provisioning a user.
type LDAPAttributesBuilder ¶
type LDAPAttributesBuilder struct {
// contains filtered or unexported fields
}
LDAPAttributesBuilder contains the data and logic needed to build 'LDAP_attributes' objects.
LDAP attributes used to configure the LDAP identity provider.
func NewLDAPAttributes ¶
func NewLDAPAttributes() *LDAPAttributesBuilder
NewLDAPAttributes creates a new builder of 'LDAP_attributes' objects.
func (*LDAPAttributesBuilder) Build ¶
func (b *LDAPAttributesBuilder) Build() (object *LDAPAttributes, err error)
Build creates a 'LDAP_attributes' object using the configuration stored in the builder.
func (*LDAPAttributesBuilder) Copy ¶
func (b *LDAPAttributesBuilder) Copy(object *LDAPAttributes) *LDAPAttributesBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*LDAPAttributesBuilder) Email ¶
func (b *LDAPAttributesBuilder) Email(values ...string) *LDAPAttributesBuilder
Email sets the value of the 'email' attribute to the given values.
func (*LDAPAttributesBuilder) ID ¶
func (b *LDAPAttributesBuilder) ID(values ...string) *LDAPAttributesBuilder
ID sets the value of the 'ID' attribute to the given values.
func (*LDAPAttributesBuilder) Name ¶
func (b *LDAPAttributesBuilder) Name(values ...string) *LDAPAttributesBuilder
Name sets the value of the 'name' attribute to the given values.
func (*LDAPAttributesBuilder) PreferredUsername ¶
func (b *LDAPAttributesBuilder) PreferredUsername(values ...string) *LDAPAttributesBuilder
PreferredUsername sets the value of the 'preferred_username' attribute to the given values.
type LDAPAttributesList ¶
type LDAPAttributesList struct {
// contains filtered or unexported fields
}
LDAPAttributesList is a list of values of the 'LDAP_attributes' type.
func (*LDAPAttributesList) Each ¶
func (l *LDAPAttributesList) Each(f func(item *LDAPAttributes) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*LDAPAttributesList) Empty ¶
func (l *LDAPAttributesList) Empty() bool
Empty returns true if the list is empty.
func (*LDAPAttributesList) Get ¶
func (l *LDAPAttributesList) Get(i int) *LDAPAttributes
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*LDAPAttributesList) Len ¶
func (l *LDAPAttributesList) Len() int
Len returns the length of the list.
func (*LDAPAttributesList) Range ¶
func (l *LDAPAttributesList) Range(f func(index int, item *LDAPAttributes) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*LDAPAttributesList) Slice ¶
func (l *LDAPAttributesList) Slice() []*LDAPAttributes
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type LDAPAttributesListBuilder ¶
type LDAPAttributesListBuilder struct {
// contains filtered or unexported fields
}
LDAPAttributesListBuilder contains the data and logic needed to build 'LDAP_attributes' objects.
func NewLDAPAttributesList ¶
func NewLDAPAttributesList() *LDAPAttributesListBuilder
NewLDAPAttributesList creates a new builder of 'LDAP_attributes' objects.
func (*LDAPAttributesListBuilder) Build ¶
func (b *LDAPAttributesListBuilder) Build() (list *LDAPAttributesList, err error)
Build creates a list of 'LDAP_attributes' objects using the configuration stored in the builder.
func (*LDAPAttributesListBuilder) Copy ¶
func (b *LDAPAttributesListBuilder) Copy(list *LDAPAttributesList) *LDAPAttributesListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*LDAPAttributesListBuilder) Items ¶
func (b *LDAPAttributesListBuilder) Items(values ...*LDAPAttributesBuilder) *LDAPAttributesListBuilder
Items sets the items of the list.
type LDAPIdentityProvider ¶
type LDAPIdentityProvider struct {
// contains filtered or unexported fields
}
LDAPIdentityProvider represents the values of the 'LDAP_identity_provider' type.
Details for `ldap` identity providers.
func UnmarshalLDAPIdentityProvider ¶
func UnmarshalLDAPIdentityProvider(source interface{}) (object *LDAPIdentityProvider, err error)
UnmarshalLDAPIdentityProvider reads a value of the 'LDAP_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalLDAPIdentityProviderList ¶
func UnmarshalLDAPIdentityProviderList(source interface{}) (items []*LDAPIdentityProvider, err error)
UnmarshalLDAPIdentityProviderList reads a list of values of the 'LDAP_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.
func (*LDAPIdentityProvider) Attributes ¶
func (o *LDAPIdentityProvider) Attributes() *LDAPAttributes
Attributes returns the value of the 'attributes' attribute, or the zero value of the type if the attribute doesn't have a value.
LDAP attributes used to configure the provider.
func (*LDAPIdentityProvider) BindDN ¶
func (o *LDAPIdentityProvider) BindDN() string
BindDN returns the value of the 'bind_DN' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional distinguished name to use to bind during the search phase.
func (*LDAPIdentityProvider) BindPassword ¶
func (o *LDAPIdentityProvider) BindPassword() string
BindPassword returns the value of the 'bind_password' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional password to use to bind during the search phase.
func (*LDAPIdentityProvider) CA ¶
func (o *LDAPIdentityProvider) CA() string
CA returns the value of the 'CA' attribute, or the zero value of the type if the attribute doesn't have a value.
Certificate bundle to use to validate server certificates for the configured URL.
func (*LDAPIdentityProvider) Empty ¶
func (o *LDAPIdentityProvider) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*LDAPIdentityProvider) GetAttributes ¶
func (o *LDAPIdentityProvider) GetAttributes() (value *LDAPAttributes, ok bool)
GetAttributes returns the value of the 'attributes' attribute and a flag indicating if the attribute has a value.
LDAP attributes used to configure the provider.
func (*LDAPIdentityProvider) GetBindDN ¶
func (o *LDAPIdentityProvider) GetBindDN() (value string, ok bool)
GetBindDN returns the value of the 'bind_DN' attribute and a flag indicating if the attribute has a value.
Optional distinguished name to use to bind during the search phase.
func (*LDAPIdentityProvider) GetBindPassword ¶
func (o *LDAPIdentityProvider) GetBindPassword() (value string, ok bool)
GetBindPassword returns the value of the 'bind_password' attribute and a flag indicating if the attribute has a value.
Optional password to use to bind during the search phase.
func (*LDAPIdentityProvider) GetCA ¶
func (o *LDAPIdentityProvider) GetCA() (value string, ok bool)
GetCA returns the value of the 'CA' attribute and a flag indicating if the attribute has a value.
Certificate bundle to use to validate server certificates for the configured URL.
func (*LDAPIdentityProvider) GetInsecure ¶
func (o *LDAPIdentityProvider) GetInsecure() (value bool, ok bool)
GetInsecure returns the value of the 'insecure' attribute and a flag indicating if the attribute has a value.
When `true` no TLS connection is made to the server. When `false` `ldaps://...` URLs connect using TLS and `ldap://...` are upgraded to TLS.
func (*LDAPIdentityProvider) GetURL ¶
func (o *LDAPIdentityProvider) GetURL() (value string, ok bool)
GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.
An https://tools.ietf.org/html/rfc2255[RFC 2255] URL which specifies the LDAP host and search parameters to use.
func (*LDAPIdentityProvider) Insecure ¶
func (o *LDAPIdentityProvider) Insecure() bool
Insecure returns the value of the 'insecure' attribute, or the zero value of the type if the attribute doesn't have a value.
When `true` no TLS connection is made to the server. When `false` `ldaps://...` URLs connect using TLS and `ldap://...` are upgraded to TLS.
func (*LDAPIdentityProvider) URL ¶
func (o *LDAPIdentityProvider) URL() string
URL returns the value of the 'URL' attribute, or the zero value of the type if the attribute doesn't have a value.
An https://tools.ietf.org/html/rfc2255[RFC 2255] URL which specifies the LDAP host and search parameters to use.
type LDAPIdentityProviderBuilder ¶
type LDAPIdentityProviderBuilder struct {
// contains filtered or unexported fields
}
LDAPIdentityProviderBuilder contains the data and logic needed to build 'LDAP_identity_provider' objects.
Details for `ldap` identity providers.
func NewLDAPIdentityProvider ¶
func NewLDAPIdentityProvider() *LDAPIdentityProviderBuilder
NewLDAPIdentityProvider creates a new builder of 'LDAP_identity_provider' objects.
func (*LDAPIdentityProviderBuilder) Attributes ¶
func (b *LDAPIdentityProviderBuilder) Attributes(value *LDAPAttributesBuilder) *LDAPIdentityProviderBuilder
Attributes sets the value of the 'attributes' attribute to the given value.
LDAP attributes used to configure the LDAP identity provider.
func (*LDAPIdentityProviderBuilder) BindDN ¶
func (b *LDAPIdentityProviderBuilder) BindDN(value string) *LDAPIdentityProviderBuilder
BindDN sets the value of the 'bind_DN' attribute to the given value.
func (*LDAPIdentityProviderBuilder) BindPassword ¶
func (b *LDAPIdentityProviderBuilder) BindPassword(value string) *LDAPIdentityProviderBuilder
BindPassword sets the value of the 'bind_password' attribute to the given value.
func (*LDAPIdentityProviderBuilder) Build ¶
func (b *LDAPIdentityProviderBuilder) Build() (object *LDAPIdentityProvider, err error)
Build creates a 'LDAP_identity_provider' object using the configuration stored in the builder.
func (*LDAPIdentityProviderBuilder) CA ¶
func (b *LDAPIdentityProviderBuilder) CA(value string) *LDAPIdentityProviderBuilder
CA sets the value of the 'CA' attribute to the given value.
func (*LDAPIdentityProviderBuilder) Copy ¶
func (b *LDAPIdentityProviderBuilder) Copy(object *LDAPIdentityProvider) *LDAPIdentityProviderBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*LDAPIdentityProviderBuilder) Insecure ¶
func (b *LDAPIdentityProviderBuilder) Insecure(value bool) *LDAPIdentityProviderBuilder
Insecure sets the value of the 'insecure' attribute to the given value.
func (*LDAPIdentityProviderBuilder) URL ¶
func (b *LDAPIdentityProviderBuilder) URL(value string) *LDAPIdentityProviderBuilder
URL sets the value of the 'URL' attribute to the given value.
type LDAPIdentityProviderList ¶
type LDAPIdentityProviderList struct {
// contains filtered or unexported fields
}
LDAPIdentityProviderList is a list of values of the 'LDAP_identity_provider' type.
func (*LDAPIdentityProviderList) Each ¶
func (l *LDAPIdentityProviderList) Each(f func(item *LDAPIdentityProvider) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*LDAPIdentityProviderList) Empty ¶
func (l *LDAPIdentityProviderList) Empty() bool
Empty returns true if the list is empty.
func (*LDAPIdentityProviderList) Get ¶
func (l *LDAPIdentityProviderList) Get(i int) *LDAPIdentityProvider
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*LDAPIdentityProviderList) Len ¶
func (l *LDAPIdentityProviderList) Len() int
Len returns the length of the list.
func (*LDAPIdentityProviderList) Range ¶
func (l *LDAPIdentityProviderList) Range(f func(index int, item *LDAPIdentityProvider) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*LDAPIdentityProviderList) Slice ¶
func (l *LDAPIdentityProviderList) Slice() []*LDAPIdentityProvider
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type LDAPIdentityProviderListBuilder ¶
type LDAPIdentityProviderListBuilder struct {
// contains filtered or unexported fields
}
LDAPIdentityProviderListBuilder contains the data and logic needed to build 'LDAP_identity_provider' objects.
func NewLDAPIdentityProviderList ¶
func NewLDAPIdentityProviderList() *LDAPIdentityProviderListBuilder
NewLDAPIdentityProviderList creates a new builder of 'LDAP_identity_provider' objects.
func (*LDAPIdentityProviderListBuilder) Build ¶
func (b *LDAPIdentityProviderListBuilder) Build() (list *LDAPIdentityProviderList, err error)
Build creates a list of 'LDAP_identity_provider' objects using the configuration stored in the builder.
func (*LDAPIdentityProviderListBuilder) Copy ¶
func (b *LDAPIdentityProviderListBuilder) Copy(list *LDAPIdentityProviderList) *LDAPIdentityProviderListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*LDAPIdentityProviderListBuilder) Items ¶
func (b *LDAPIdentityProviderListBuilder) Items(values ...*LDAPIdentityProviderBuilder) *LDAPIdentityProviderListBuilder
Items sets the items of the list.
type Label ¶
type Label struct {
// contains filtered or unexported fields
}
Label represents the values of the 'label' type.
Representation of a label in clusterdeployment.
func UnmarshalLabel ¶
UnmarshalLabel reads a value of the 'label' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalLabelList ¶
UnmarshalLabelList reads a list of values of the 'label' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Label) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Label) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Label) GetKey ¶ added in v0.0.329
GetKey returns the value of the 'key' attribute and a flag indicating if the attribute has a value.
the key of the label
func (*Label) GetValue ¶
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
the value to set in the label
func (*Label) Key ¶ added in v0.0.329
Key returns the value of the 'key' attribute, or the zero value of the type if the attribute doesn't have a value.
the key of the label
type LabelBuilder ¶
type LabelBuilder struct {
// contains filtered or unexported fields
}
LabelBuilder contains the data and logic needed to build 'label' objects.
Representation of a label in clusterdeployment.
func (*LabelBuilder) Build ¶
func (b *LabelBuilder) Build() (object *Label, err error)
Build creates a 'label' object using the configuration stored in the builder.
func (*LabelBuilder) Copy ¶
func (b *LabelBuilder) Copy(object *Label) *LabelBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*LabelBuilder) HREF ¶
func (b *LabelBuilder) HREF(value string) *LabelBuilder
HREF sets the link to the object.
func (*LabelBuilder) ID ¶
func (b *LabelBuilder) ID(value string) *LabelBuilder
ID sets the identifier of the object.
func (*LabelBuilder) Key ¶ added in v0.0.329
func (b *LabelBuilder) Key(value string) *LabelBuilder
Key sets the value of the 'key' attribute to the given value.
func (*LabelBuilder) Link ¶
func (b *LabelBuilder) Link(value bool) *LabelBuilder
Link sets the flag that indicates if this is a link.
func (*LabelBuilder) Value ¶
func (b *LabelBuilder) Value(value string) *LabelBuilder
Value sets the value of the 'value' attribute to the given value.
type LabelClient ¶
type LabelClient struct {
// contains filtered or unexported fields
}
LabelClient is the client of the 'label' resource.
Manages a specific label.
func NewLabelClient ¶
func NewLabelClient(transport http.RoundTripper, path string, metric string) *LabelClient
NewLabelClient creates a new client for the 'label' resource using the given transport to send the requests and receive the responses.
func (*LabelClient) Delete ¶
func (c *LabelClient) Delete() *LabelDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the label.
func (*LabelClient) Get ¶
func (c *LabelClient) Get() *LabelGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the label.
func (*LabelClient) Poll ¶
func (c *LabelClient) Poll() *LabelPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*LabelClient) Update ¶
func (c *LabelClient) Update() *LabelUpdateRequest
Update creates a request for the 'update' method.
Update the label.
type LabelDeleteRequest ¶
type LabelDeleteRequest struct {
// contains filtered or unexported fields
}
LabelDeleteRequest is the request for the 'delete' method.
func (*LabelDeleteRequest) Header ¶
func (r *LabelDeleteRequest) Header(name string, value interface{}) *LabelDeleteRequest
Header adds a request header.
func (*LabelDeleteRequest) Parameter ¶
func (r *LabelDeleteRequest) Parameter(name string, value interface{}) *LabelDeleteRequest
Parameter adds a query parameter.
func (*LabelDeleteRequest) Send ¶
func (r *LabelDeleteRequest) Send() (result *LabelDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*LabelDeleteRequest) SendContext ¶
func (r *LabelDeleteRequest) SendContext(ctx context.Context) (result *LabelDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type LabelDeleteResponse ¶
type LabelDeleteResponse struct {
// contains filtered or unexported fields
}
LabelDeleteResponse is the response for the 'delete' method.
func (*LabelDeleteResponse) Error ¶
func (r *LabelDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*LabelDeleteResponse) Header ¶
func (r *LabelDeleteResponse) Header() http.Header
Header returns header of the response.
func (*LabelDeleteResponse) Status ¶
func (r *LabelDeleteResponse) Status() int
Status returns the response status code.
type LabelDeleteServerRequest ¶
type LabelDeleteServerRequest struct { }
LabelDeleteServerRequest is the request for the 'delete' method.
type LabelDeleteServerResponse ¶
type LabelDeleteServerResponse struct {
// contains filtered or unexported fields
}
LabelDeleteServerResponse is the response for the 'delete' method.
func (*LabelDeleteServerResponse) Status ¶
func (r *LabelDeleteServerResponse) Status(value int) *LabelDeleteServerResponse
Status sets the status code.
type LabelGetRequest ¶
type LabelGetRequest struct {
// contains filtered or unexported fields
}
LabelGetRequest is the request for the 'get' method.
func (*LabelGetRequest) Header ¶
func (r *LabelGetRequest) Header(name string, value interface{}) *LabelGetRequest
Header adds a request header.
func (*LabelGetRequest) Parameter ¶
func (r *LabelGetRequest) Parameter(name string, value interface{}) *LabelGetRequest
Parameter adds a query parameter.
func (*LabelGetRequest) Send ¶
func (r *LabelGetRequest) Send() (result *LabelGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*LabelGetRequest) SendContext ¶
func (r *LabelGetRequest) SendContext(ctx context.Context) (result *LabelGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type LabelGetResponse ¶
type LabelGetResponse struct {
// contains filtered or unexported fields
}
LabelGetResponse is the response for the 'get' method.
func (*LabelGetResponse) Body ¶
func (r *LabelGetResponse) Body() *Label
Body returns the value of the 'body' parameter.
func (*LabelGetResponse) Error ¶
func (r *LabelGetResponse) Error() *errors.Error
Error returns the response error.
func (*LabelGetResponse) GetBody ¶
func (r *LabelGetResponse) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*LabelGetResponse) Header ¶
func (r *LabelGetResponse) Header() http.Header
Header returns header of the response.
func (*LabelGetResponse) Status ¶
func (r *LabelGetResponse) Status() int
Status returns the response status code.
type LabelGetServerRequest ¶
type LabelGetServerRequest struct { }
LabelGetServerRequest is the request for the 'get' method.
type LabelGetServerResponse ¶
type LabelGetServerResponse struct {
// contains filtered or unexported fields
}
LabelGetServerResponse is the response for the 'get' method.
func (*LabelGetServerResponse) Body ¶
func (r *LabelGetServerResponse) Body(value *Label) *LabelGetServerResponse
Body sets the value of the 'body' parameter.
func (*LabelGetServerResponse) Status ¶
func (r *LabelGetServerResponse) Status(value int) *LabelGetServerResponse
Status sets the status code.
type LabelList ¶
type LabelList struct {
// contains filtered or unexported fields
}
LabelList is a list of values of the 'label' type.
func (*LabelList) Each ¶
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*LabelList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*LabelList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*LabelList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*LabelList) 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 LabelListBuilder ¶
type LabelListBuilder struct {
// contains filtered or unexported fields
}
LabelListBuilder contains the data and logic needed to build 'label' objects.
func NewLabelList ¶
func NewLabelList() *LabelListBuilder
NewLabelList creates a new builder of 'label' objects.
func (*LabelListBuilder) Build ¶
func (b *LabelListBuilder) Build() (list *LabelList, err error)
Build creates a list of 'label' objects using the configuration stored in the builder.
func (*LabelListBuilder) Copy ¶
func (b *LabelListBuilder) Copy(list *LabelList) *LabelListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*LabelListBuilder) Items ¶
func (b *LabelListBuilder) Items(values ...*LabelBuilder) *LabelListBuilder
Items sets the items of the list.
type LabelPollRequest ¶
type LabelPollRequest struct {
// contains filtered or unexported fields
}
LabelPollRequest is the request for the Poll method.
func (*LabelPollRequest) Header ¶
func (r *LabelPollRequest) Header(name string, value interface{}) *LabelPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*LabelPollRequest) Interval ¶
func (r *LabelPollRequest) Interval(value time.Duration) *LabelPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*LabelPollRequest) Parameter ¶
func (r *LabelPollRequest) Parameter(name string, value interface{}) *LabelPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*LabelPollRequest) Predicate ¶
func (r *LabelPollRequest) Predicate(value func(*LabelGetResponse) bool) *LabelPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*LabelPollRequest) StartContext ¶
func (r *LabelPollRequest) StartContext(ctx context.Context) (response *LabelPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*LabelPollRequest) Status ¶
func (r *LabelPollRequest) Status(value int) *LabelPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type LabelPollResponse ¶
type LabelPollResponse struct {
// contains filtered or unexported fields
}
LabelPollResponse is the response for the Poll method.
func (*LabelPollResponse) Body ¶
func (r *LabelPollResponse) Body() *Label
Body returns the value of the 'body' parameter.
func (*LabelPollResponse) Error ¶
func (r *LabelPollResponse) Error() *errors.Error
Error returns the response error.
func (*LabelPollResponse) GetBody ¶
func (r *LabelPollResponse) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*LabelPollResponse) Header ¶
func (r *LabelPollResponse) Header() http.Header
Header returns header of the response.
func (*LabelPollResponse) Status ¶
func (r *LabelPollResponse) Status() int
Status returns the response status code.
type LabelServer ¶
type LabelServer interface { // Delete handles a request for the 'delete' method. // // Deletes the label. Delete(ctx context.Context, request *LabelDeleteServerRequest, response *LabelDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the label. Get(ctx context.Context, request *LabelGetServerRequest, response *LabelGetServerResponse) error // Update handles a request for the 'update' method. // // Update the label. Update(ctx context.Context, request *LabelUpdateServerRequest, response *LabelUpdateServerResponse) error }
LabelServer represents the interface the manages the 'label' resource.
type LabelUpdateRequest ¶
type LabelUpdateRequest struct {
// contains filtered or unexported fields
}
LabelUpdateRequest is the request for the 'update' method.
func (*LabelUpdateRequest) Body ¶
func (r *LabelUpdateRequest) Body(value *Label) *LabelUpdateRequest
Body sets the value of the 'body' parameter.
func (*LabelUpdateRequest) Header ¶
func (r *LabelUpdateRequest) Header(name string, value interface{}) *LabelUpdateRequest
Header adds a request header.
func (*LabelUpdateRequest) Parameter ¶
func (r *LabelUpdateRequest) Parameter(name string, value interface{}) *LabelUpdateRequest
Parameter adds a query parameter.
func (*LabelUpdateRequest) Send ¶
func (r *LabelUpdateRequest) Send() (result *LabelUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*LabelUpdateRequest) SendContext ¶
func (r *LabelUpdateRequest) SendContext(ctx context.Context) (result *LabelUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type LabelUpdateResponse ¶
type LabelUpdateResponse struct {
// contains filtered or unexported fields
}
LabelUpdateResponse is the response for the 'update' method.
func (*LabelUpdateResponse) Body ¶
func (r *LabelUpdateResponse) Body() *Label
Body returns the value of the 'body' parameter.
func (*LabelUpdateResponse) Error ¶
func (r *LabelUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*LabelUpdateResponse) GetBody ¶
func (r *LabelUpdateResponse) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*LabelUpdateResponse) Header ¶
func (r *LabelUpdateResponse) Header() http.Header
Header returns header of the response.
func (*LabelUpdateResponse) Status ¶
func (r *LabelUpdateResponse) Status() int
Status returns the response status code.
type LabelUpdateServerRequest ¶
type LabelUpdateServerRequest struct {
// contains filtered or unexported fields
}
LabelUpdateServerRequest is the request for the 'update' method.
func (*LabelUpdateServerRequest) Body ¶
func (r *LabelUpdateServerRequest) Body() *Label
Body returns the value of the 'body' parameter.
func (*LabelUpdateServerRequest) GetBody ¶
func (r *LabelUpdateServerRequest) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type LabelUpdateServerResponse ¶
type LabelUpdateServerResponse struct {
// contains filtered or unexported fields
}
LabelUpdateServerResponse is the response for the 'update' method.
func (*LabelUpdateServerResponse) Body ¶
func (r *LabelUpdateServerResponse) Body(value *Label) *LabelUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*LabelUpdateServerResponse) Status ¶
func (r *LabelUpdateServerResponse) Status(value int) *LabelUpdateServerResponse
Status sets the status code.
type LabelsAddRequest ¶
type LabelsAddRequest struct {
// contains filtered or unexported fields
}
LabelsAddRequest is the request for the 'add' method.
func (*LabelsAddRequest) Body ¶
func (r *LabelsAddRequest) Body(value *Label) *LabelsAddRequest
Body sets the value of the 'body' parameter.
Description of the label.
func (*LabelsAddRequest) Header ¶
func (r *LabelsAddRequest) Header(name string, value interface{}) *LabelsAddRequest
Header adds a request header.
func (*LabelsAddRequest) Parameter ¶
func (r *LabelsAddRequest) Parameter(name string, value interface{}) *LabelsAddRequest
Parameter adds a query parameter.
func (*LabelsAddRequest) Send ¶
func (r *LabelsAddRequest) Send() (result *LabelsAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*LabelsAddRequest) SendContext ¶
func (r *LabelsAddRequest) SendContext(ctx context.Context) (result *LabelsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type LabelsAddResponse ¶
type LabelsAddResponse struct {
// contains filtered or unexported fields
}
LabelsAddResponse is the response for the 'add' method.
func (*LabelsAddResponse) Body ¶
func (r *LabelsAddResponse) Body() *Label
Body returns the value of the 'body' parameter.
Description of the label.
func (*LabelsAddResponse) Error ¶
func (r *LabelsAddResponse) Error() *errors.Error
Error returns the response error.
func (*LabelsAddResponse) GetBody ¶
func (r *LabelsAddResponse) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the label.
func (*LabelsAddResponse) Header ¶
func (r *LabelsAddResponse) Header() http.Header
Header returns header of the response.
func (*LabelsAddResponse) Status ¶
func (r *LabelsAddResponse) Status() int
Status returns the response status code.
type LabelsAddServerRequest ¶
type LabelsAddServerRequest struct {
// contains filtered or unexported fields
}
LabelsAddServerRequest is the request for the 'add' method.
func (*LabelsAddServerRequest) Body ¶
func (r *LabelsAddServerRequest) Body() *Label
Body returns the value of the 'body' parameter.
Description of the label.
func (*LabelsAddServerRequest) GetBody ¶
func (r *LabelsAddServerRequest) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the label.
type LabelsAddServerResponse ¶
type LabelsAddServerResponse struct {
// contains filtered or unexported fields
}
LabelsAddServerResponse is the response for the 'add' method.
func (*LabelsAddServerResponse) Body ¶
func (r *LabelsAddServerResponse) Body(value *Label) *LabelsAddServerResponse
Body sets the value of the 'body' parameter.
Description of the label.
func (*LabelsAddServerResponse) Status ¶
func (r *LabelsAddServerResponse) Status(value int) *LabelsAddServerResponse
Status sets the status code.
type LabelsClient ¶
type LabelsClient struct {
// contains filtered or unexported fields
}
LabelsClient is the client of the 'labels' resource.
Manages the collection of labels of a cluster.
func NewLabelsClient ¶
func NewLabelsClient(transport http.RoundTripper, path string, metric string) *LabelsClient
NewLabelsClient creates a new client for the 'labels' resource using the given transport to send the requests and receive the responses.
func (*LabelsClient) Add ¶
func (c *LabelsClient) Add() *LabelsAddRequest
Add creates a request for the 'add' method.
Adds a new label to the cluster.
func (*LabelsClient) Label ¶
func (c *LabelsClient) Label(id string) *LabelClient
Label returns the target 'label' resource for the given identifier.
Reference to the service that manages an specific label.
func (*LabelsClient) List ¶
func (c *LabelsClient) List() *LabelsListRequest
List creates a request for the 'list' method.
Retrieves the list of labels.
type LabelsListRequest ¶
type LabelsListRequest struct {
// contains filtered or unexported fields
}
LabelsListRequest is the request for the 'list' method.
func (*LabelsListRequest) Header ¶
func (r *LabelsListRequest) Header(name string, value interface{}) *LabelsListRequest
Header adds a request header.
func (*LabelsListRequest) Page ¶
func (r *LabelsListRequest) Page(value int) *LabelsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListRequest) Parameter ¶
func (r *LabelsListRequest) Parameter(name string, value interface{}) *LabelsListRequest
Parameter adds a query parameter.
func (*LabelsListRequest) Send ¶
func (r *LabelsListRequest) Send() (result *LabelsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*LabelsListRequest) SendContext ¶
func (r *LabelsListRequest) SendContext(ctx context.Context) (result *LabelsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*LabelsListRequest) Size ¶
func (r *LabelsListRequest) Size(value int) *LabelsListRequest
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
type LabelsListResponse ¶
type LabelsListResponse struct {
// contains filtered or unexported fields
}
LabelsListResponse is the response for the 'list' method.
func (*LabelsListResponse) Error ¶
func (r *LabelsListResponse) Error() *errors.Error
Error returns the response error.
func (*LabelsListResponse) GetItems ¶
func (r *LabelsListResponse) GetItems() (value *LabelList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of labels.
func (*LabelsListResponse) GetPage ¶
func (r *LabelsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListResponse) GetSize ¶
func (r *LabelsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*LabelsListResponse) GetTotal ¶
func (r *LabelsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection.
func (*LabelsListResponse) Header ¶
func (r *LabelsListResponse) Header() http.Header
Header returns header of the response.
func (*LabelsListResponse) Items ¶
func (r *LabelsListResponse) Items() *LabelList
Items returns the value of the 'items' parameter.
Retrieved list of labels.
func (*LabelsListResponse) Page ¶
func (r *LabelsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListResponse) Size ¶
func (r *LabelsListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
func (*LabelsListResponse) Status ¶
func (r *LabelsListResponse) Status() int
Status returns the response status code.
func (*LabelsListResponse) Total ¶
func (r *LabelsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection.
type LabelsListServerRequest ¶
type LabelsListServerRequest struct {
// contains filtered or unexported fields
}
LabelsListServerRequest is the request for the 'list' method.
func (*LabelsListServerRequest) GetPage ¶
func (r *LabelsListServerRequest) 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 (*LabelsListServerRequest) GetSize ¶
func (r *LabelsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*LabelsListServerRequest) Page ¶
func (r *LabelsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListServerRequest) Size ¶
func (r *LabelsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
type LabelsListServerResponse ¶
type LabelsListServerResponse struct {
// contains filtered or unexported fields
}
LabelsListServerResponse is the response for the 'list' method.
func (*LabelsListServerResponse) Items ¶
func (r *LabelsListServerResponse) Items(value *LabelList) *LabelsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of labels.
func (*LabelsListServerResponse) Page ¶
func (r *LabelsListServerResponse) Page(value int) *LabelsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListServerResponse) Size ¶
func (r *LabelsListServerResponse) Size(value int) *LabelsListServerResponse
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
func (*LabelsListServerResponse) Status ¶
func (r *LabelsListServerResponse) Status(value int) *LabelsListServerResponse
Status sets the status code.
func (*LabelsListServerResponse) Total ¶
func (r *LabelsListServerResponse) Total(value int) *LabelsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection.
type LabelsServer ¶
type LabelsServer interface { // Add handles a request for the 'add' method. // // Adds a new label to the cluster. Add(ctx context.Context, request *LabelsAddServerRequest, response *LabelsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of labels. List(ctx context.Context, request *LabelsListServerRequest, response *LabelsListServerResponse) error // Label returns the target 'label' server for the given identifier. // // Reference to the service that manages an specific label. Label(id string) LabelServer }
LabelsServer represents the interface the manages the 'labels' resource.
type ListeningMethod ¶
type ListeningMethod string
ListeningMethod represents the values of the 'listening_method' enumerated type.
const ( // Uses both external and internal traffic. ListeningMethodExternal ListeningMethod = "external" // Uses only internal traffic. ListeningMethodInternal ListeningMethod = "internal" )
func UnmarshalListeningMethodList ¶
func UnmarshalListeningMethodList(source interface{}) (items []ListeningMethod, err error)
UnmarshalListeningMethodList reads a list of values of the 'listening_method' type from the given source, which can be a slice of bytes, a string or a reader.
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log represents the values of the 'log' type.
Log of the cluster.
func UnmarshalLog ¶
UnmarshalLog reads a value of the 'log' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalLogList ¶
UnmarshalLogList reads a list of values of the 'log' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Log) Content ¶
Content returns the value of the 'content' attribute, or the zero value of the type if the attribute doesn't have a value.
Content of the log.
func (*Log) GetContent ¶
GetContent returns the value of the 'content' attribute and a flag indicating if the attribute has a value.
Content of the log.
func (*Log) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
type LogBuilder ¶
type LogBuilder struct {
// contains filtered or unexported fields
}
LogBuilder contains the data and logic needed to build 'log' objects.
Log of the cluster.
func (*LogBuilder) Build ¶
func (b *LogBuilder) Build() (object *Log, err error)
Build creates a 'log' object using the configuration stored in the builder.
func (*LogBuilder) Content ¶
func (b *LogBuilder) Content(value string) *LogBuilder
Content sets the value of the 'content' attribute to the given value.
func (*LogBuilder) Copy ¶
func (b *LogBuilder) Copy(object *Log) *LogBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*LogBuilder) HREF ¶
func (b *LogBuilder) HREF(value string) *LogBuilder
HREF sets the link to the object.
func (*LogBuilder) ID ¶
func (b *LogBuilder) ID(value string) *LogBuilder
ID sets the identifier of the object.
func (*LogBuilder) Link ¶
func (b *LogBuilder) Link(value bool) *LogBuilder
Link sets the flag that indicates if this is a link.
type LogClient ¶
type LogClient struct {
// contains filtered or unexported fields
}
LogClient is the client of the 'log' resource.
Manages a specific log.
func NewLogClient ¶
func NewLogClient(transport http.RoundTripper, path string, metric string) *LogClient
NewLogClient creates a new client for the 'log' resource using the given transport to send the requests and receive the responses.
func (*LogClient) Get ¶
func (c *LogClient) Get() *LogGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the log.
func (*LogClient) Poll ¶
func (c *LogClient) Poll() *LogPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type LogGetRequest ¶
type LogGetRequest struct {
// contains filtered or unexported fields
}
LogGetRequest is the request for the 'get' method.
func (*LogGetRequest) Header ¶
func (r *LogGetRequest) Header(name string, value interface{}) *LogGetRequest
Header adds a request header.
func (*LogGetRequest) Offset ¶
func (r *LogGetRequest) Offset(value int) *LogGetRequest
Offset sets the value of the 'offset' parameter.
Line offset to start logs from. if 0 retreive entire log. If offset > #lines return an empty log.
func (*LogGetRequest) Parameter ¶
func (r *LogGetRequest) Parameter(name string, value interface{}) *LogGetRequest
Parameter adds a query parameter.
func (*LogGetRequest) Send ¶
func (r *LogGetRequest) Send() (result *LogGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*LogGetRequest) SendContext ¶
func (r *LogGetRequest) SendContext(ctx context.Context) (result *LogGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*LogGetRequest) Tail ¶
func (r *LogGetRequest) Tail(value int) *LogGetRequest
Tail sets the value of the 'tail' parameter.
Returns the number of tail lines from the end of the log. If there are no line breaks or the number of lines < tail return the entire log. Either 'tail' or 'offset' can be set. Not both.
type LogGetResponse ¶
type LogGetResponse struct {
// contains filtered or unexported fields
}
LogGetResponse is the response for the 'get' method.
func (*LogGetResponse) Body ¶
func (r *LogGetResponse) Body() *Log
Body returns the value of the 'body' parameter.
Retreived log.
func (*LogGetResponse) Error ¶
func (r *LogGetResponse) Error() *errors.Error
Error returns the response error.
func (*LogGetResponse) GetBody ¶
func (r *LogGetResponse) GetBody() (value *Log, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Retreived log.
func (*LogGetResponse) Header ¶
func (r *LogGetResponse) Header() http.Header
Header returns header of the response.
func (*LogGetResponse) Status ¶
func (r *LogGetResponse) Status() int
Status returns the response status code.
type LogGetServerRequest ¶
type LogGetServerRequest struct {
// contains filtered or unexported fields
}
LogGetServerRequest is the request for the 'get' method.
func (*LogGetServerRequest) GetOffset ¶
func (r *LogGetServerRequest) GetOffset() (value int, ok bool)
GetOffset returns the value of the 'offset' parameter and a flag indicating if the parameter has a value.
Line offset to start logs from. if 0 retreive entire log. If offset > #lines return an empty log.
func (*LogGetServerRequest) GetTail ¶
func (r *LogGetServerRequest) GetTail() (value int, ok bool)
GetTail returns the value of the 'tail' parameter and a flag indicating if the parameter has a value.
Returns the number of tail lines from the end of the log. If there are no line breaks or the number of lines < tail return the entire log. Either 'tail' or 'offset' can be set. Not both.
func (*LogGetServerRequest) Offset ¶
func (r *LogGetServerRequest) Offset() int
Offset returns the value of the 'offset' parameter.
Line offset to start logs from. if 0 retreive entire log. If offset > #lines return an empty log.
func (*LogGetServerRequest) Tail ¶
func (r *LogGetServerRequest) Tail() int
Tail returns the value of the 'tail' parameter.
Returns the number of tail lines from the end of the log. If there are no line breaks or the number of lines < tail return the entire log. Either 'tail' or 'offset' can be set. Not both.
type LogGetServerResponse ¶
type LogGetServerResponse struct {
// contains filtered or unexported fields
}
LogGetServerResponse is the response for the 'get' method.
func (*LogGetServerResponse) Body ¶
func (r *LogGetServerResponse) Body(value *Log) *LogGetServerResponse
Body sets the value of the 'body' parameter.
Retreived log.
func (*LogGetServerResponse) Status ¶
func (r *LogGetServerResponse) Status(value int) *LogGetServerResponse
Status sets the status code.
type LogList ¶
type LogList struct {
// contains filtered or unexported fields
}
LogList is a list of values of the 'log' type.
func (*LogList) Each ¶
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*LogList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*LogList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*LogList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*LogList) 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 LogListBuilder ¶
type LogListBuilder struct {
// contains filtered or unexported fields
}
LogListBuilder contains the data and logic needed to build 'log' objects.
func NewLogList ¶
func NewLogList() *LogListBuilder
NewLogList creates a new builder of 'log' objects.
func (*LogListBuilder) Build ¶
func (b *LogListBuilder) Build() (list *LogList, err error)
Build creates a list of 'log' objects using the configuration stored in the builder.
func (*LogListBuilder) Copy ¶
func (b *LogListBuilder) Copy(list *LogList) *LogListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*LogListBuilder) Items ¶
func (b *LogListBuilder) Items(values ...*LogBuilder) *LogListBuilder
Items sets the items of the list.
type LogPollRequest ¶
type LogPollRequest struct {
// contains filtered or unexported fields
}
LogPollRequest is the request for the Poll method.
func (*LogPollRequest) Header ¶
func (r *LogPollRequest) Header(name string, value interface{}) *LogPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*LogPollRequest) Interval ¶
func (r *LogPollRequest) Interval(value time.Duration) *LogPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*LogPollRequest) Offset ¶
func (r *LogPollRequest) Offset(value int) *LogPollRequest
Offset sets the value of the 'offset' parameter for all the requests that will be used to retrieve the object.
Line offset to start logs from. if 0 retreive entire log. If offset > #lines return an empty log.
func (*LogPollRequest) Parameter ¶
func (r *LogPollRequest) Parameter(name string, value interface{}) *LogPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*LogPollRequest) Predicate ¶
func (r *LogPollRequest) Predicate(value func(*LogGetResponse) bool) *LogPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*LogPollRequest) StartContext ¶
func (r *LogPollRequest) StartContext(ctx context.Context) (response *LogPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*LogPollRequest) Status ¶
func (r *LogPollRequest) Status(value int) *LogPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
func (*LogPollRequest) Tail ¶
func (r *LogPollRequest) Tail(value int) *LogPollRequest
Tail sets the value of the 'tail' parameter for all the requests that will be used to retrieve the object.
Returns the number of tail lines from the end of the log. If there are no line breaks or the number of lines < tail return the entire log. Either 'tail' or 'offset' can be set. Not both.
type LogPollResponse ¶
type LogPollResponse struct {
// contains filtered or unexported fields
}
LogPollResponse is the response for the Poll method.
func (*LogPollResponse) Body ¶
func (r *LogPollResponse) Body() *Log
Body returns the value of the 'body' parameter.
Retreived log.
func (*LogPollResponse) Error ¶
func (r *LogPollResponse) Error() *errors.Error
Error returns the response error.
func (*LogPollResponse) GetBody ¶
func (r *LogPollResponse) GetBody() (value *Log, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Retreived log.
func (*LogPollResponse) Header ¶
func (r *LogPollResponse) Header() http.Header
Header returns header of the response.
func (*LogPollResponse) Status ¶
func (r *LogPollResponse) Status() int
Status returns the response status code.
type LogServer ¶
type LogServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the log. Get(ctx context.Context, request *LogGetServerRequest, response *LogGetServerResponse) error }
LogServer represents the interface the manages the 'log' resource.
type LogsClient ¶
type LogsClient struct {
// contains filtered or unexported fields
}
LogsClient is the client of the 'logs' resource.
Manages a collection of log links.
func NewLogsClient ¶
func NewLogsClient(transport http.RoundTripper, path string, metric string) *LogsClient
NewLogsClient creates a new client for the 'logs' resource using the given transport to send the requests and receive the responses.
func (*LogsClient) Install ¶
func (c *LogsClient) Install() *LogClient
Install returns the target 'log' resource.
func (*LogsClient) List ¶
func (c *LogsClient) List() *LogsListRequest
List creates a request for the 'list' method.
Retrieves the list of log links.
func (*LogsClient) Uninstall ¶
func (c *LogsClient) Uninstall() *LogClient
Uninstall returns the target 'log' resource.
type LogsListRequest ¶
type LogsListRequest struct {
// contains filtered or unexported fields
}
LogsListRequest is the request for the 'list' method.
func (*LogsListRequest) Header ¶
func (r *LogsListRequest) Header(name string, value interface{}) *LogsListRequest
Header adds a request header.
func (*LogsListRequest) Page ¶
func (r *LogsListRequest) Page(value int) *LogsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LogsListRequest) Parameter ¶
func (r *LogsListRequest) Parameter(name string, value interface{}) *LogsListRequest
Parameter adds a query parameter.
func (*LogsListRequest) Send ¶
func (r *LogsListRequest) Send() (result *LogsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*LogsListRequest) SendContext ¶
func (r *LogsListRequest) SendContext(ctx context.Context) (result *LogsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*LogsListRequest) Size ¶
func (r *LogsListRequest) Size(value int) *LogsListRequest
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
type LogsListResponse ¶
type LogsListResponse struct {
// contains filtered or unexported fields
}
LogsListResponse is the response for the 'list' method.
func (*LogsListResponse) Error ¶
func (r *LogsListResponse) Error() *errors.Error
Error returns the response error.
func (*LogsListResponse) GetItems ¶
func (r *LogsListResponse) GetItems() (value *LogList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of log links.
func (*LogsListResponse) GetPage ¶
func (r *LogsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*LogsListResponse) GetSize ¶
func (r *LogsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*LogsListResponse) GetTotal ¶
func (r *LogsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection.
func (*LogsListResponse) Header ¶
func (r *LogsListResponse) Header() http.Header
Header returns header of the response.
func (*LogsListResponse) Items ¶
func (r *LogsListResponse) Items() *LogList
Items returns the value of the 'items' parameter.
Retrieved list of log links.
func (*LogsListResponse) Page ¶
func (r *LogsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LogsListResponse) Size ¶
func (r *LogsListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
func (*LogsListResponse) Status ¶
func (r *LogsListResponse) Status() int
Status returns the response status code.
func (*LogsListResponse) Total ¶
func (r *LogsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection.
type LogsListServerRequest ¶
type LogsListServerRequest struct {
// contains filtered or unexported fields
}
LogsListServerRequest is the request for the 'list' method.
func (*LogsListServerRequest) GetPage ¶
func (r *LogsListServerRequest) 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 (*LogsListServerRequest) GetSize ¶
func (r *LogsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*LogsListServerRequest) Page ¶
func (r *LogsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LogsListServerRequest) Size ¶
func (r *LogsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
type LogsListServerResponse ¶
type LogsListServerResponse struct {
// contains filtered or unexported fields
}
LogsListServerResponse is the response for the 'list' method.
func (*LogsListServerResponse) Items ¶
func (r *LogsListServerResponse) Items(value *LogList) *LogsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of log links.
func (*LogsListServerResponse) Page ¶
func (r *LogsListServerResponse) Page(value int) *LogsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LogsListServerResponse) Size ¶
func (r *LogsListServerResponse) Size(value int) *LogsListServerResponse
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
func (*LogsListServerResponse) Status ¶
func (r *LogsListServerResponse) Status(value int) *LogsListServerResponse
Status sets the status code.
func (*LogsListServerResponse) Total ¶
func (r *LogsListServerResponse) Total(value int) *LogsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection.
type LogsServer ¶
type LogsServer interface { // List handles a request for the 'list' method. // // Retrieves the list of log links. List(ctx context.Context, request *LogsListServerRequest, response *LogsListServerResponse) error // Install returns the target 'log' resource. // // Install() LogServer // Uninstall returns the target 'log' resource. // // Uninstall() LogServer }
LogsServer represents the interface the manages the 'logs' resource.
type MachinePool ¶ added in v0.0.329
type MachinePool struct {
// contains filtered or unexported fields
}
MachinePool represents the values of the 'machine_pool' type.
Representation of a machine pool in a cluster.
func UnmarshalMachinePool ¶ added in v0.0.329
func UnmarshalMachinePool(source interface{}) (object *MachinePool, err error)
UnmarshalMachinePool reads a value of the 'machine_pool' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalMachinePoolList ¶ added in v0.0.329
func UnmarshalMachinePoolList(source interface{}) (items []*MachinePool, err error)
UnmarshalMachinePoolList reads a list of values of the 'machine_pool' type from the given source, which can be a slice of bytes, a string or a reader.
func (*MachinePool) Autoscaling ¶ added in v0.0.329
func (o *MachinePool) Autoscaling() *MachinePoolAutoscaling
Autoscaling returns the value of the 'autoscaling' attribute, or the zero value of the type if the attribute doesn't have a value.
Details for auto-scaling the machine pool. Replicas and autoscaling cannot be used together.
func (*MachinePool) AvailabilityZones ¶ added in v0.0.329
func (o *MachinePool) AvailabilityZones() []string
AvailabilityZones returns the value of the 'availability_zones' attribute, or the zero value of the type if the attribute doesn't have a value.
The availability zones upon which the nodes are created.
func (*MachinePool) Cluster ¶ added in v0.0.329
func (o *MachinePool) Cluster() *Cluster
Cluster returns the value of the 'cluster' attribute, or the zero value of the type if the attribute doesn't have a value.
ID used to identify the cluster that this machinepool is attached to.
func (*MachinePool) Empty ¶ added in v0.0.329
func (o *MachinePool) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*MachinePool) GetAutoscaling ¶ added in v0.0.329
func (o *MachinePool) GetAutoscaling() (value *MachinePoolAutoscaling, ok bool)
GetAutoscaling returns the value of the 'autoscaling' attribute and a flag indicating if the attribute has a value.
Details for auto-scaling the machine pool. Replicas and autoscaling cannot be used together.
func (*MachinePool) GetAvailabilityZones ¶ added in v0.0.329
func (o *MachinePool) GetAvailabilityZones() (value []string, ok bool)
GetAvailabilityZones returns the value of the 'availability_zones' attribute and a flag indicating if the attribute has a value.
The availability zones upon which the nodes are created.
func (*MachinePool) GetCluster ¶ added in v0.0.329
func (o *MachinePool) GetCluster() (value *Cluster, ok bool)
GetCluster returns the value of the 'cluster' attribute and a flag indicating if the attribute has a value.
ID used to identify the cluster that this machinepool is attached to.
func (*MachinePool) GetHREF ¶ added in v0.0.329
func (o *MachinePool) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*MachinePool) GetID ¶ added in v0.0.329
func (o *MachinePool) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*MachinePool) GetInstanceType ¶ added in v0.0.329
func (o *MachinePool) GetInstanceType() (value string, ok bool)
GetInstanceType returns the value of the 'instance_type' attribute and a flag indicating if the attribute has a value.
The instance type of Nodes to create.
func (*MachinePool) GetLabels ¶ added in v0.0.329
func (o *MachinePool) GetLabels() (value map[string]string, ok bool)
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
The labels set on the Nodes created.
func (*MachinePool) GetReplicas ¶ added in v0.0.329
func (o *MachinePool) GetReplicas() (value int, ok bool)
GetReplicas returns the value of the 'replicas' attribute and a flag indicating if the attribute has a value.
The number of Machines (and Nodes) to create. Replicas and autoscaling cannot be used together.
func (*MachinePool) GetTaints ¶ added in v0.0.329
func (o *MachinePool) GetTaints() (value []*Taint, ok bool)
GetTaints returns the value of the 'taints' attribute and a flag indicating if the attribute has a value.
The taints set on the Nodes created.
func (*MachinePool) HREF ¶ added in v0.0.329
func (o *MachinePool) HREF() string
HREF returns the link to the object.
func (*MachinePool) ID ¶ added in v0.0.329
func (o *MachinePool) ID() string
ID returns the identifier of the object.
func (*MachinePool) InstanceType ¶ added in v0.0.329
func (o *MachinePool) InstanceType() string
InstanceType returns the value of the 'instance_type' attribute, or the zero value of the type if the attribute doesn't have a value.
The instance type of Nodes to create.
func (*MachinePool) Kind ¶ added in v0.0.329
func (o *MachinePool) Kind() string
Kind returns the name of the type of the object.
func (*MachinePool) Labels ¶ added in v0.0.329
func (o *MachinePool) Labels() map[string]string
Labels returns the value of the 'labels' attribute, or the zero value of the type if the attribute doesn't have a value.
The labels set on the Nodes created.
func (*MachinePool) Link ¶ added in v0.0.329
func (o *MachinePool) Link() bool
Link returns true iif this is a link.
func (*MachinePool) Replicas ¶ added in v0.0.329
func (o *MachinePool) Replicas() int
Replicas returns the value of the 'replicas' attribute, or the zero value of the type if the attribute doesn't have a value.
The number of Machines (and Nodes) to create. Replicas and autoscaling cannot be used together.
func (*MachinePool) Taints ¶ added in v0.0.329
func (o *MachinePool) Taints() []*Taint
Taints returns the value of the 'taints' attribute, or the zero value of the type if the attribute doesn't have a value.
The taints set on the Nodes created.
type MachinePoolAutoscaling ¶ added in v0.0.329
type MachinePoolAutoscaling struct {
// contains filtered or unexported fields
}
MachinePoolAutoscaling represents the values of the 'machine_pool_autoscaling' type.
Representation of a autoscaling in a machine pool.
func UnmarshalMachinePoolAutoscaling ¶ added in v0.0.329
func UnmarshalMachinePoolAutoscaling(source interface{}) (object *MachinePoolAutoscaling, err error)
UnmarshalMachinePoolAutoscaling reads a value of the 'machine_pool_autoscaling' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalMachinePoolAutoscalingList ¶ added in v0.0.329
func UnmarshalMachinePoolAutoscalingList(source interface{}) (items []*MachinePoolAutoscaling, err error)
UnmarshalMachinePoolAutoscalingList reads a list of values of the 'machine_pool_autoscaling' type from the given source, which can be a slice of bytes, a string or a reader.
func (*MachinePoolAutoscaling) Empty ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*MachinePoolAutoscaling) GetHREF ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*MachinePoolAutoscaling) GetID ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*MachinePoolAutoscaling) GetMaxReplicas ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) GetMaxReplicas() (value int, ok bool)
GetMaxReplicas returns the value of the 'max_replicas' attribute and a flag indicating if the attribute has a value.
The maximum number of replicas for the machine pool.
func (*MachinePoolAutoscaling) GetMinReplicas ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) GetMinReplicas() (value int, ok bool)
GetMinReplicas returns the value of the 'min_replicas' attribute and a flag indicating if the attribute has a value.
The minimum number of replicas for the machine pool.
func (*MachinePoolAutoscaling) HREF ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) HREF() string
HREF returns the link to the object.
func (*MachinePoolAutoscaling) ID ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) ID() string
ID returns the identifier of the object.
func (*MachinePoolAutoscaling) Kind ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) Kind() string
Kind returns the name of the type of the object.
func (*MachinePoolAutoscaling) Link ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) Link() bool
Link returns true iif this is a link.
func (*MachinePoolAutoscaling) MaxReplicas ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) MaxReplicas() int
MaxReplicas returns the value of the 'max_replicas' attribute, or the zero value of the type if the attribute doesn't have a value.
The maximum number of replicas for the machine pool.
func (*MachinePoolAutoscaling) MinReplicas ¶ added in v0.0.329
func (o *MachinePoolAutoscaling) MinReplicas() int
MinReplicas returns the value of the 'min_replicas' attribute, or the zero value of the type if the attribute doesn't have a value.
The minimum number of replicas for the machine pool.
type MachinePoolAutoscalingBuilder ¶ added in v0.0.329
type MachinePoolAutoscalingBuilder struct {
// contains filtered or unexported fields
}
MachinePoolAutoscalingBuilder contains the data and logic needed to build 'machine_pool_autoscaling' objects.
Representation of a autoscaling in a machine pool.
func NewMachinePoolAutoscaling ¶ added in v0.0.329
func NewMachinePoolAutoscaling() *MachinePoolAutoscalingBuilder
NewMachinePoolAutoscaling creates a new builder of 'machine_pool_autoscaling' objects.
func (*MachinePoolAutoscalingBuilder) Build ¶ added in v0.0.329
func (b *MachinePoolAutoscalingBuilder) Build() (object *MachinePoolAutoscaling, err error)
Build creates a 'machine_pool_autoscaling' object using the configuration stored in the builder.
func (*MachinePoolAutoscalingBuilder) Copy ¶ added in v0.0.329
func (b *MachinePoolAutoscalingBuilder) Copy(object *MachinePoolAutoscaling) *MachinePoolAutoscalingBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*MachinePoolAutoscalingBuilder) HREF ¶ added in v0.0.329
func (b *MachinePoolAutoscalingBuilder) HREF(value string) *MachinePoolAutoscalingBuilder
HREF sets the link to the object.
func (*MachinePoolAutoscalingBuilder) ID ¶ added in v0.0.329
func (b *MachinePoolAutoscalingBuilder) ID(value string) *MachinePoolAutoscalingBuilder
ID sets the identifier of the object.
func (*MachinePoolAutoscalingBuilder) Link ¶ added in v0.0.329
func (b *MachinePoolAutoscalingBuilder) Link(value bool) *MachinePoolAutoscalingBuilder
Link sets the flag that indicates if this is a link.
func (*MachinePoolAutoscalingBuilder) MaxReplicas ¶ added in v0.0.329
func (b *MachinePoolAutoscalingBuilder) MaxReplicas(value int) *MachinePoolAutoscalingBuilder
MaxReplicas sets the value of the 'max_replicas' attribute to the given value.
func (*MachinePoolAutoscalingBuilder) MinReplicas ¶ added in v0.0.329
func (b *MachinePoolAutoscalingBuilder) MinReplicas(value int) *MachinePoolAutoscalingBuilder
MinReplicas sets the value of the 'min_replicas' attribute to the given value.
type MachinePoolAutoscalingList ¶ added in v0.0.329
type MachinePoolAutoscalingList struct {
// contains filtered or unexported fields
}
MachinePoolAutoscalingList is a list of values of the 'machine_pool_autoscaling' type.
func (*MachinePoolAutoscalingList) Each ¶ added in v0.0.329
func (l *MachinePoolAutoscalingList) Each(f func(item *MachinePoolAutoscaling) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*MachinePoolAutoscalingList) Empty ¶ added in v0.0.329
func (l *MachinePoolAutoscalingList) Empty() bool
Empty returns true if the list is empty.
func (*MachinePoolAutoscalingList) Get ¶ added in v0.0.329
func (l *MachinePoolAutoscalingList) Get(i int) *MachinePoolAutoscaling
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*MachinePoolAutoscalingList) GetHREF ¶ added in v0.0.329
func (l *MachinePoolAutoscalingList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*MachinePoolAutoscalingList) HREF ¶ added in v0.0.329
func (l *MachinePoolAutoscalingList) HREF() string
HREF returns the link to the list.
func (*MachinePoolAutoscalingList) Kind ¶ added in v0.0.329
func (l *MachinePoolAutoscalingList) Kind() string
Kind returns the name of the type of the object.
func (*MachinePoolAutoscalingList) Len ¶ added in v0.0.329
func (l *MachinePoolAutoscalingList) Len() int
Len returns the length of the list.
func (*MachinePoolAutoscalingList) Link ¶ added in v0.0.329
func (l *MachinePoolAutoscalingList) Link() bool
Link returns true iif this is a link.
func (*MachinePoolAutoscalingList) Range ¶ added in v0.0.329
func (l *MachinePoolAutoscalingList) Range(f func(index int, item *MachinePoolAutoscaling) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*MachinePoolAutoscalingList) Slice ¶ added in v0.0.329
func (l *MachinePoolAutoscalingList) Slice() []*MachinePoolAutoscaling
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type MachinePoolAutoscalingListBuilder ¶ added in v0.0.329
type MachinePoolAutoscalingListBuilder struct {
// contains filtered or unexported fields
}
MachinePoolAutoscalingListBuilder contains the data and logic needed to build 'machine_pool_autoscaling' objects.
func NewMachinePoolAutoscalingList ¶ added in v0.0.329
func NewMachinePoolAutoscalingList() *MachinePoolAutoscalingListBuilder
NewMachinePoolAutoscalingList creates a new builder of 'machine_pool_autoscaling' objects.
func (*MachinePoolAutoscalingListBuilder) Build ¶ added in v0.0.329
func (b *MachinePoolAutoscalingListBuilder) Build() (list *MachinePoolAutoscalingList, err error)
Build creates a list of 'machine_pool_autoscaling' objects using the configuration stored in the builder.
func (*MachinePoolAutoscalingListBuilder) Copy ¶ added in v0.0.329
func (b *MachinePoolAutoscalingListBuilder) Copy(list *MachinePoolAutoscalingList) *MachinePoolAutoscalingListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*MachinePoolAutoscalingListBuilder) Items ¶ added in v0.0.329
func (b *MachinePoolAutoscalingListBuilder) Items(values ...*MachinePoolAutoscalingBuilder) *MachinePoolAutoscalingListBuilder
Items sets the items of the list.
type MachinePoolBuilder ¶ added in v0.0.329
type MachinePoolBuilder struct {
// contains filtered or unexported fields
}
MachinePoolBuilder contains the data and logic needed to build 'machine_pool' objects.
Representation of a machine pool in a cluster.
func NewMachinePool ¶ added in v0.0.329
func NewMachinePool() *MachinePoolBuilder
NewMachinePool creates a new builder of 'machine_pool' objects.
func (*MachinePoolBuilder) Autoscaling ¶ added in v0.0.329
func (b *MachinePoolBuilder) Autoscaling(value *MachinePoolAutoscalingBuilder) *MachinePoolBuilder
Autoscaling sets the value of the 'autoscaling' attribute to the given value.
Representation of a autoscaling in a machine pool.
func (*MachinePoolBuilder) AvailabilityZones ¶ added in v0.0.329
func (b *MachinePoolBuilder) AvailabilityZones(values ...string) *MachinePoolBuilder
AvailabilityZones sets the value of the 'availability_zones' attribute to the given values.
func (*MachinePoolBuilder) Build ¶ added in v0.0.329
func (b *MachinePoolBuilder) Build() (object *MachinePool, err error)
Build creates a 'machine_pool' object using the configuration stored in the builder.
func (*MachinePoolBuilder) Cluster ¶ added in v0.0.329
func (b *MachinePoolBuilder) Cluster(value *ClusterBuilder) *MachinePoolBuilder
Cluster sets the value of the 'cluster' attribute to the given value.
Definition of an _OpenShift_ cluster.
The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:
[source,json] ----
{ "cloud_provider": { "kind": "CloudProviderLink", "id": "123", "href": "/api/clusters_mgmt/v1/cloud_providers/123" } }
----
When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:
[source,json] ----
{ "cloud_provider": { "id": "123", } }
----
If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.
The region attribute is mandatory when a cluster is created.
The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.
func (*MachinePoolBuilder) Copy ¶ added in v0.0.329
func (b *MachinePoolBuilder) Copy(object *MachinePool) *MachinePoolBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*MachinePoolBuilder) HREF ¶ added in v0.0.329
func (b *MachinePoolBuilder) HREF(value string) *MachinePoolBuilder
HREF sets the link to the object.
func (*MachinePoolBuilder) ID ¶ added in v0.0.329
func (b *MachinePoolBuilder) ID(value string) *MachinePoolBuilder
ID sets the identifier of the object.
func (*MachinePoolBuilder) InstanceType ¶ added in v0.0.329
func (b *MachinePoolBuilder) InstanceType(value string) *MachinePoolBuilder
InstanceType sets the value of the 'instance_type' attribute to the given value.
func (*MachinePoolBuilder) Labels ¶ added in v0.0.329
func (b *MachinePoolBuilder) Labels(value map[string]string) *MachinePoolBuilder
Labels sets the value of the 'labels' attribute to the given value.
func (*MachinePoolBuilder) Link ¶ added in v0.0.329
func (b *MachinePoolBuilder) Link(value bool) *MachinePoolBuilder
Link sets the flag that indicates if this is a link.
func (*MachinePoolBuilder) Replicas ¶ added in v0.0.329
func (b *MachinePoolBuilder) Replicas(value int) *MachinePoolBuilder
Replicas sets the value of the 'replicas' attribute to the given value.
func (*MachinePoolBuilder) Taints ¶ added in v0.0.329
func (b *MachinePoolBuilder) Taints(values ...*TaintBuilder) *MachinePoolBuilder
Taints sets the value of the 'taints' attribute to the given values.
type MachinePoolClient ¶ added in v0.0.329
type MachinePoolClient struct {
// contains filtered or unexported fields
}
MachinePoolClient is the client of the 'machine_pool' resource.
Manages a specific ingress.
func NewMachinePoolClient ¶ added in v0.0.329
func NewMachinePoolClient(transport http.RoundTripper, path string, metric string) *MachinePoolClient
NewMachinePoolClient creates a new client for the 'machine_pool' resource using the given transport to send the requests and receive the responses.
func (*MachinePoolClient) Delete ¶ added in v0.0.329
func (c *MachinePoolClient) Delete() *MachinePoolDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the machine pool.
func (*MachinePoolClient) Get ¶ added in v0.0.329
func (c *MachinePoolClient) Get() *MachinePoolGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the machine pool.
func (*MachinePoolClient) Poll ¶ added in v0.0.329
func (c *MachinePoolClient) Poll() *MachinePoolPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*MachinePoolClient) Update ¶ added in v0.0.329
func (c *MachinePoolClient) Update() *MachinePoolUpdateRequest
Update creates a request for the 'update' method.
Updates the machine pool.
type MachinePoolDeleteRequest ¶ added in v0.0.329
type MachinePoolDeleteRequest struct {
// contains filtered or unexported fields
}
MachinePoolDeleteRequest is the request for the 'delete' method.
func (*MachinePoolDeleteRequest) Header ¶ added in v0.0.329
func (r *MachinePoolDeleteRequest) Header(name string, value interface{}) *MachinePoolDeleteRequest
Header adds a request header.
func (*MachinePoolDeleteRequest) Parameter ¶ added in v0.0.329
func (r *MachinePoolDeleteRequest) Parameter(name string, value interface{}) *MachinePoolDeleteRequest
Parameter adds a query parameter.
func (*MachinePoolDeleteRequest) Send ¶ added in v0.0.329
func (r *MachinePoolDeleteRequest) Send() (result *MachinePoolDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*MachinePoolDeleteRequest) SendContext ¶ added in v0.0.329
func (r *MachinePoolDeleteRequest) SendContext(ctx context.Context) (result *MachinePoolDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type MachinePoolDeleteResponse ¶ added in v0.0.329
type MachinePoolDeleteResponse struct {
// contains filtered or unexported fields
}
MachinePoolDeleteResponse is the response for the 'delete' method.
func (*MachinePoolDeleteResponse) Error ¶ added in v0.0.329
func (r *MachinePoolDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*MachinePoolDeleteResponse) Header ¶ added in v0.0.329
func (r *MachinePoolDeleteResponse) Header() http.Header
Header returns header of the response.
func (*MachinePoolDeleteResponse) Status ¶ added in v0.0.329
func (r *MachinePoolDeleteResponse) Status() int
Status returns the response status code.
type MachinePoolDeleteServerRequest ¶ added in v0.1.137
type MachinePoolDeleteServerRequest struct { }
MachinePoolDeleteServerRequest is the request for the 'delete' method.
type MachinePoolDeleteServerResponse ¶ added in v0.1.137
type MachinePoolDeleteServerResponse struct {
// contains filtered or unexported fields
}
MachinePoolDeleteServerResponse is the response for the 'delete' method.
func (*MachinePoolDeleteServerResponse) Status ¶ added in v0.1.137
func (r *MachinePoolDeleteServerResponse) Status(value int) *MachinePoolDeleteServerResponse
Status sets the status code.
type MachinePoolGetRequest ¶ added in v0.0.329
type MachinePoolGetRequest struct {
// contains filtered or unexported fields
}
MachinePoolGetRequest is the request for the 'get' method.
func (*MachinePoolGetRequest) Header ¶ added in v0.0.329
func (r *MachinePoolGetRequest) Header(name string, value interface{}) *MachinePoolGetRequest
Header adds a request header.
func (*MachinePoolGetRequest) Parameter ¶ added in v0.0.329
func (r *MachinePoolGetRequest) Parameter(name string, value interface{}) *MachinePoolGetRequest
Parameter adds a query parameter.
func (*MachinePoolGetRequest) Send ¶ added in v0.0.329
func (r *MachinePoolGetRequest) Send() (result *MachinePoolGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*MachinePoolGetRequest) SendContext ¶ added in v0.0.329
func (r *MachinePoolGetRequest) SendContext(ctx context.Context) (result *MachinePoolGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type MachinePoolGetResponse ¶ added in v0.0.329
type MachinePoolGetResponse struct {
// contains filtered or unexported fields
}
MachinePoolGetResponse is the response for the 'get' method.
func (*MachinePoolGetResponse) Body ¶ added in v0.0.329
func (r *MachinePoolGetResponse) Body() *MachinePool
Body returns the value of the 'body' parameter.
func (*MachinePoolGetResponse) Error ¶ added in v0.0.329
func (r *MachinePoolGetResponse) Error() *errors.Error
Error returns the response error.
func (*MachinePoolGetResponse) GetBody ¶ added in v0.0.329
func (r *MachinePoolGetResponse) GetBody() (value *MachinePool, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*MachinePoolGetResponse) Header ¶ added in v0.0.329
func (r *MachinePoolGetResponse) Header() http.Header
Header returns header of the response.
func (*MachinePoolGetResponse) Status ¶ added in v0.0.329
func (r *MachinePoolGetResponse) Status() int
Status returns the response status code.
type MachinePoolGetServerRequest ¶ added in v0.1.137
type MachinePoolGetServerRequest struct { }
MachinePoolGetServerRequest is the request for the 'get' method.
type MachinePoolGetServerResponse ¶ added in v0.1.137
type MachinePoolGetServerResponse struct {
// contains filtered or unexported fields
}
MachinePoolGetServerResponse is the response for the 'get' method.
func (*MachinePoolGetServerResponse) Body ¶ added in v0.1.137
func (r *MachinePoolGetServerResponse) Body(value *MachinePool) *MachinePoolGetServerResponse
Body sets the value of the 'body' parameter.
func (*MachinePoolGetServerResponse) Status ¶ added in v0.1.137
func (r *MachinePoolGetServerResponse) Status(value int) *MachinePoolGetServerResponse
Status sets the status code.
type MachinePoolList ¶ added in v0.0.329
type MachinePoolList struct {
// contains filtered or unexported fields
}
MachinePoolList is a list of values of the 'machine_pool' type.
func (*MachinePoolList) Each ¶ added in v0.0.329
func (l *MachinePoolList) Each(f func(item *MachinePool) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*MachinePoolList) Empty ¶ added in v0.0.329
func (l *MachinePoolList) Empty() bool
Empty returns true if the list is empty.
func (*MachinePoolList) Get ¶ added in v0.0.329
func (l *MachinePoolList) Get(i int) *MachinePool
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*MachinePoolList) GetHREF ¶ added in v0.0.329
func (l *MachinePoolList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*MachinePoolList) HREF ¶ added in v0.0.329
func (l *MachinePoolList) HREF() string
HREF returns the link to the list.
func (*MachinePoolList) Kind ¶ added in v0.0.329
func (l *MachinePoolList) Kind() string
Kind returns the name of the type of the object.
func (*MachinePoolList) Len ¶ added in v0.0.329
func (l *MachinePoolList) Len() int
Len returns the length of the list.
func (*MachinePoolList) Link ¶ added in v0.0.329
func (l *MachinePoolList) Link() bool
Link returns true iif this is a link.
func (*MachinePoolList) Range ¶ added in v0.0.329
func (l *MachinePoolList) Range(f func(index int, item *MachinePool) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*MachinePoolList) Slice ¶ added in v0.0.329
func (l *MachinePoolList) Slice() []*MachinePool
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type MachinePoolListBuilder ¶ added in v0.0.329
type MachinePoolListBuilder struct {
// contains filtered or unexported fields
}
MachinePoolListBuilder contains the data and logic needed to build 'machine_pool' objects.
func NewMachinePoolList ¶ added in v0.0.329
func NewMachinePoolList() *MachinePoolListBuilder
NewMachinePoolList creates a new builder of 'machine_pool' objects.
func (*MachinePoolListBuilder) Build ¶ added in v0.0.329
func (b *MachinePoolListBuilder) Build() (list *MachinePoolList, err error)
Build creates a list of 'machine_pool' objects using the configuration stored in the builder.
func (*MachinePoolListBuilder) Copy ¶ added in v0.0.329
func (b *MachinePoolListBuilder) Copy(list *MachinePoolList) *MachinePoolListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*MachinePoolListBuilder) Items ¶ added in v0.0.329
func (b *MachinePoolListBuilder) Items(values ...*MachinePoolBuilder) *MachinePoolListBuilder
Items sets the items of the list.
type MachinePoolPollRequest ¶ added in v0.0.329
type MachinePoolPollRequest struct {
// contains filtered or unexported fields
}
MachinePoolPollRequest is the request for the Poll method.
func (*MachinePoolPollRequest) Header ¶ added in v0.0.329
func (r *MachinePoolPollRequest) Header(name string, value interface{}) *MachinePoolPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*MachinePoolPollRequest) Interval ¶ added in v0.0.329
func (r *MachinePoolPollRequest) Interval(value time.Duration) *MachinePoolPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*MachinePoolPollRequest) Parameter ¶ added in v0.0.329
func (r *MachinePoolPollRequest) Parameter(name string, value interface{}) *MachinePoolPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*MachinePoolPollRequest) Predicate ¶ added in v0.0.329
func (r *MachinePoolPollRequest) Predicate(value func(*MachinePoolGetResponse) bool) *MachinePoolPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*MachinePoolPollRequest) StartContext ¶ added in v0.0.329
func (r *MachinePoolPollRequest) StartContext(ctx context.Context) (response *MachinePoolPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*MachinePoolPollRequest) Status ¶ added in v0.0.329
func (r *MachinePoolPollRequest) Status(value int) *MachinePoolPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type MachinePoolPollResponse ¶ added in v0.0.329
type MachinePoolPollResponse struct {
// contains filtered or unexported fields
}
MachinePoolPollResponse is the response for the Poll method.
func (*MachinePoolPollResponse) Body ¶ added in v0.0.329
func (r *MachinePoolPollResponse) Body() *MachinePool
Body returns the value of the 'body' parameter.
func (*MachinePoolPollResponse) Error ¶ added in v0.0.329
func (r *MachinePoolPollResponse) Error() *errors.Error
Error returns the response error.
func (*MachinePoolPollResponse) GetBody ¶ added in v0.0.329
func (r *MachinePoolPollResponse) GetBody() (value *MachinePool, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*MachinePoolPollResponse) Header ¶ added in v0.0.329
func (r *MachinePoolPollResponse) Header() http.Header
Header returns header of the response.
func (*MachinePoolPollResponse) Status ¶ added in v0.0.329
func (r *MachinePoolPollResponse) Status() int
Status returns the response status code.
type MachinePoolServer ¶ added in v0.1.137
type MachinePoolServer interface { // Delete handles a request for the 'delete' method. // // Deletes the machine pool. Delete(ctx context.Context, request *MachinePoolDeleteServerRequest, response *MachinePoolDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the machine pool. Get(ctx context.Context, request *MachinePoolGetServerRequest, response *MachinePoolGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the machine pool. Update(ctx context.Context, request *MachinePoolUpdateServerRequest, response *MachinePoolUpdateServerResponse) error }
MachinePoolServer represents the interface the manages the 'machine_pool' resource.
type MachinePoolUpdateRequest ¶ added in v0.0.329
type MachinePoolUpdateRequest struct {
// contains filtered or unexported fields
}
MachinePoolUpdateRequest is the request for the 'update' method.
func (*MachinePoolUpdateRequest) Body ¶ added in v0.0.329
func (r *MachinePoolUpdateRequest) Body(value *MachinePool) *MachinePoolUpdateRequest
Body sets the value of the 'body' parameter.
func (*MachinePoolUpdateRequest) Header ¶ added in v0.0.329
func (r *MachinePoolUpdateRequest) Header(name string, value interface{}) *MachinePoolUpdateRequest
Header adds a request header.
func (*MachinePoolUpdateRequest) Parameter ¶ added in v0.0.329
func (r *MachinePoolUpdateRequest) Parameter(name string, value interface{}) *MachinePoolUpdateRequest
Parameter adds a query parameter.
func (*MachinePoolUpdateRequest) Send ¶ added in v0.0.329
func (r *MachinePoolUpdateRequest) Send() (result *MachinePoolUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*MachinePoolUpdateRequest) SendContext ¶ added in v0.0.329
func (r *MachinePoolUpdateRequest) SendContext(ctx context.Context) (result *MachinePoolUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type MachinePoolUpdateResponse ¶ added in v0.0.329
type MachinePoolUpdateResponse struct {
// contains filtered or unexported fields
}
MachinePoolUpdateResponse is the response for the 'update' method.
func (*MachinePoolUpdateResponse) Body ¶ added in v0.0.329
func (r *MachinePoolUpdateResponse) Body() *MachinePool
Body returns the value of the 'body' parameter.
func (*MachinePoolUpdateResponse) Error ¶ added in v0.0.329
func (r *MachinePoolUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*MachinePoolUpdateResponse) GetBody ¶ added in v0.0.329
func (r *MachinePoolUpdateResponse) GetBody() (value *MachinePool, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*MachinePoolUpdateResponse) Header ¶ added in v0.0.329
func (r *MachinePoolUpdateResponse) Header() http.Header
Header returns header of the response.
func (*MachinePoolUpdateResponse) Status ¶ added in v0.0.329
func (r *MachinePoolUpdateResponse) Status() int
Status returns the response status code.
type MachinePoolUpdateServerRequest ¶ added in v0.1.137
type MachinePoolUpdateServerRequest struct {
// contains filtered or unexported fields
}
MachinePoolUpdateServerRequest is the request for the 'update' method.
func (*MachinePoolUpdateServerRequest) Body ¶ added in v0.1.137
func (r *MachinePoolUpdateServerRequest) Body() *MachinePool
Body returns the value of the 'body' parameter.
func (*MachinePoolUpdateServerRequest) GetBody ¶ added in v0.1.137
func (r *MachinePoolUpdateServerRequest) GetBody() (value *MachinePool, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type MachinePoolUpdateServerResponse ¶ added in v0.1.137
type MachinePoolUpdateServerResponse struct {
// contains filtered or unexported fields
}
MachinePoolUpdateServerResponse is the response for the 'update' method.
func (*MachinePoolUpdateServerResponse) Body ¶ added in v0.1.137
func (r *MachinePoolUpdateServerResponse) Body(value *MachinePool) *MachinePoolUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*MachinePoolUpdateServerResponse) Status ¶ added in v0.1.137
func (r *MachinePoolUpdateServerResponse) Status(value int) *MachinePoolUpdateServerResponse
Status sets the status code.
type MachinePoolsAddRequest ¶ added in v0.0.329
type MachinePoolsAddRequest struct {
// contains filtered or unexported fields
}
MachinePoolsAddRequest is the request for the 'add' method.
func (*MachinePoolsAddRequest) Body ¶ added in v0.0.329
func (r *MachinePoolsAddRequest) Body(value *MachinePool) *MachinePoolsAddRequest
Body sets the value of the 'body' parameter.
Description of the machine pool
func (*MachinePoolsAddRequest) Header ¶ added in v0.0.329
func (r *MachinePoolsAddRequest) Header(name string, value interface{}) *MachinePoolsAddRequest
Header adds a request header.
func (*MachinePoolsAddRequest) Parameter ¶ added in v0.0.329
func (r *MachinePoolsAddRequest) Parameter(name string, value interface{}) *MachinePoolsAddRequest
Parameter adds a query parameter.
func (*MachinePoolsAddRequest) Send ¶ added in v0.0.329
func (r *MachinePoolsAddRequest) Send() (result *MachinePoolsAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*MachinePoolsAddRequest) SendContext ¶ added in v0.0.329
func (r *MachinePoolsAddRequest) SendContext(ctx context.Context) (result *MachinePoolsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type MachinePoolsAddResponse ¶ added in v0.0.329
type MachinePoolsAddResponse struct {
// contains filtered or unexported fields
}
MachinePoolsAddResponse is the response for the 'add' method.
func (*MachinePoolsAddResponse) Body ¶ added in v0.0.329
func (r *MachinePoolsAddResponse) Body() *MachinePool
Body returns the value of the 'body' parameter.
Description of the machine pool
func (*MachinePoolsAddResponse) Error ¶ added in v0.0.329
func (r *MachinePoolsAddResponse) Error() *errors.Error
Error returns the response error.
func (*MachinePoolsAddResponse) GetBody ¶ added in v0.0.329
func (r *MachinePoolsAddResponse) GetBody() (value *MachinePool, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the machine pool
func (*MachinePoolsAddResponse) Header ¶ added in v0.0.329
func (r *MachinePoolsAddResponse) Header() http.Header
Header returns header of the response.
func (*MachinePoolsAddResponse) Status ¶ added in v0.0.329
func (r *MachinePoolsAddResponse) Status() int
Status returns the response status code.
type MachinePoolsAddServerRequest ¶ added in v0.1.138
type MachinePoolsAddServerRequest struct {
// contains filtered or unexported fields
}
MachinePoolsAddServerRequest is the request for the 'add' method.
func (*MachinePoolsAddServerRequest) Body ¶ added in v0.1.138
func (r *MachinePoolsAddServerRequest) Body() *MachinePool
Body returns the value of the 'body' parameter.
Description of the machine pool
func (*MachinePoolsAddServerRequest) GetBody ¶ added in v0.1.138
func (r *MachinePoolsAddServerRequest) GetBody() (value *MachinePool, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the machine pool
type MachinePoolsAddServerResponse ¶ added in v0.1.138
type MachinePoolsAddServerResponse struct {
// contains filtered or unexported fields
}
MachinePoolsAddServerResponse is the response for the 'add' method.
func (*MachinePoolsAddServerResponse) Body ¶ added in v0.1.138
func (r *MachinePoolsAddServerResponse) Body(value *MachinePool) *MachinePoolsAddServerResponse
Body sets the value of the 'body' parameter.
Description of the machine pool
func (*MachinePoolsAddServerResponse) Status ¶ added in v0.1.138
func (r *MachinePoolsAddServerResponse) Status(value int) *MachinePoolsAddServerResponse
Status sets the status code.
type MachinePoolsClient ¶ added in v0.0.329
type MachinePoolsClient struct {
// contains filtered or unexported fields
}
MachinePoolsClient is the client of the 'machine_pools' resource.
Manages the collection of machine pools of a cluster.
func NewMachinePoolsClient ¶ added in v0.0.329
func NewMachinePoolsClient(transport http.RoundTripper, path string, metric string) *MachinePoolsClient
NewMachinePoolsClient creates a new client for the 'machine_pools' resource using the given transport to send the requests and receive the responses.
func (*MachinePoolsClient) Add ¶ added in v0.0.329
func (c *MachinePoolsClient) Add() *MachinePoolsAddRequest
Add creates a request for the 'add' method.
Adds a new machine pool to the cluster.
func (*MachinePoolsClient) List ¶ added in v0.0.329
func (c *MachinePoolsClient) List() *MachinePoolsListRequest
List creates a request for the 'list' method.
Retrieves the list of machine pools.
func (*MachinePoolsClient) MachinePool ¶ added in v0.0.329
func (c *MachinePoolsClient) MachinePool(id string) *MachinePoolClient
MachinePool returns the target 'machine_pool' resource for the given identifier.
Reference to the service that manages a specific machine pool.
type MachinePoolsListRequest ¶ added in v0.0.329
type MachinePoolsListRequest struct {
// contains filtered or unexported fields
}
MachinePoolsListRequest is the request for the 'list' method.
func (*MachinePoolsListRequest) Header ¶ added in v0.0.329
func (r *MachinePoolsListRequest) Header(name string, value interface{}) *MachinePoolsListRequest
Header adds a request header.
func (*MachinePoolsListRequest) Page ¶ added in v0.0.329
func (r *MachinePoolsListRequest) Page(value int) *MachinePoolsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*MachinePoolsListRequest) Parameter ¶ added in v0.0.329
func (r *MachinePoolsListRequest) Parameter(name string, value interface{}) *MachinePoolsListRequest
Parameter adds a query parameter.
func (*MachinePoolsListRequest) Send ¶ added in v0.0.329
func (r *MachinePoolsListRequest) Send() (result *MachinePoolsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*MachinePoolsListRequest) SendContext ¶ added in v0.0.329
func (r *MachinePoolsListRequest) SendContext(ctx context.Context) (result *MachinePoolsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*MachinePoolsListRequest) Size ¶ added in v0.0.329
func (r *MachinePoolsListRequest) Size(value int) *MachinePoolsListRequest
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
type MachinePoolsListResponse ¶ added in v0.0.329
type MachinePoolsListResponse struct {
// contains filtered or unexported fields
}
MachinePoolsListResponse is the response for the 'list' method.
func (*MachinePoolsListResponse) Error ¶ added in v0.0.329
func (r *MachinePoolsListResponse) Error() *errors.Error
Error returns the response error.
func (*MachinePoolsListResponse) GetItems ¶ added in v0.0.329
func (r *MachinePoolsListResponse) GetItems() (value *MachinePoolList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of machine pools.
func (*MachinePoolsListResponse) GetPage ¶ added in v0.0.329
func (r *MachinePoolsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*MachinePoolsListResponse) GetSize ¶ added in v0.0.329
func (r *MachinePoolsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*MachinePoolsListResponse) GetTotal ¶ added in v0.0.329
func (r *MachinePoolsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection.
func (*MachinePoolsListResponse) Header ¶ added in v0.0.329
func (r *MachinePoolsListResponse) Header() http.Header
Header returns header of the response.
func (*MachinePoolsListResponse) Items ¶ added in v0.0.329
func (r *MachinePoolsListResponse) Items() *MachinePoolList
Items returns the value of the 'items' parameter.
Retrieved list of machine pools.
func (*MachinePoolsListResponse) Page ¶ added in v0.0.329
func (r *MachinePoolsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*MachinePoolsListResponse) Size ¶ added in v0.0.329
func (r *MachinePoolsListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
func (*MachinePoolsListResponse) Status ¶ added in v0.0.329
func (r *MachinePoolsListResponse) Status() int
Status returns the response status code.
func (*MachinePoolsListResponse) Total ¶ added in v0.0.329
func (r *MachinePoolsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection.
type MachinePoolsListServerRequest ¶ added in v0.1.138
type MachinePoolsListServerRequest struct {
// contains filtered or unexported fields
}
MachinePoolsListServerRequest is the request for the 'list' method.
func (*MachinePoolsListServerRequest) GetPage ¶ added in v0.1.138
func (r *MachinePoolsListServerRequest) 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 (*MachinePoolsListServerRequest) GetSize ¶ added in v0.1.138
func (r *MachinePoolsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*MachinePoolsListServerRequest) Page ¶ added in v0.1.138
func (r *MachinePoolsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*MachinePoolsListServerRequest) Size ¶ added in v0.1.138
func (r *MachinePoolsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
type MachinePoolsListServerResponse ¶ added in v0.1.138
type MachinePoolsListServerResponse struct {
// contains filtered or unexported fields
}
MachinePoolsListServerResponse is the response for the 'list' method.
func (*MachinePoolsListServerResponse) Items ¶ added in v0.1.138
func (r *MachinePoolsListServerResponse) Items(value *MachinePoolList) *MachinePoolsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of machine pools.
func (*MachinePoolsListServerResponse) Page ¶ added in v0.1.138
func (r *MachinePoolsListServerResponse) Page(value int) *MachinePoolsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*MachinePoolsListServerResponse) Size ¶ added in v0.1.138
func (r *MachinePoolsListServerResponse) Size(value int) *MachinePoolsListServerResponse
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
func (*MachinePoolsListServerResponse) Status ¶ added in v0.1.138
func (r *MachinePoolsListServerResponse) Status(value int) *MachinePoolsListServerResponse
Status sets the status code.
func (*MachinePoolsListServerResponse) Total ¶ added in v0.1.138
func (r *MachinePoolsListServerResponse) Total(value int) *MachinePoolsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection.
type MachinePoolsServer ¶ added in v0.1.138
type MachinePoolsServer interface { // Add handles a request for the 'add' method. // // Adds a new machine pool to the cluster. Add(ctx context.Context, request *MachinePoolsAddServerRequest, response *MachinePoolsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of machine pools. List(ctx context.Context, request *MachinePoolsListServerRequest, response *MachinePoolsListServerResponse) error // MachinePool returns the target 'machine_pool' server for the given identifier. // // Reference to the service that manages a specific machine pool. MachinePool(id string) MachinePoolServer }
MachinePoolsServer represents the interface the manages the 'machine_pools' resource.
type MachineType ¶
type MachineType struct {
// contains filtered or unexported fields
}
MachineType represents the values of the 'machine_type' type.
Machine type.
func UnmarshalMachineType ¶
func UnmarshalMachineType(source interface{}) (object *MachineType, err error)
UnmarshalMachineType reads a value of the 'machine_type' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalMachineTypeList ¶
func UnmarshalMachineTypeList(source interface{}) (items []*MachineType, err error)
UnmarshalMachineTypeList reads a list of values of the 'machine_type' type from the given source, which can be a slice of bytes, a string or a reader.
func (*MachineType) CPU ¶
func (o *MachineType) CPU() *Value
CPU returns the value of the 'CPU' attribute, or the zero value of the type if the attribute doesn't have a value.
The amount of cpu's of the machine type.
func (*MachineType) Category ¶
func (o *MachineType) Category() MachineTypeCategory
Category returns the value of the 'category' attribute, or the zero value of the type if the attribute doesn't have a value.
The category which the machine type is suitable for.
func (*MachineType) CloudProvider ¶
func (o *MachineType) CloudProvider() *CloudProvider
CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the cloud provider that the machine type belongs to.
func (*MachineType) Empty ¶
func (o *MachineType) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*MachineType) GetCPU ¶
func (o *MachineType) GetCPU() (value *Value, ok bool)
GetCPU returns the value of the 'CPU' attribute and a flag indicating if the attribute has a value.
The amount of cpu's of the machine type.
func (*MachineType) GetCategory ¶
func (o *MachineType) GetCategory() (value MachineTypeCategory, ok bool)
GetCategory returns the value of the 'category' attribute and a flag indicating if the attribute has a value.
The category which the machine type is suitable for.
func (*MachineType) GetCloudProvider ¶
func (o *MachineType) GetCloudProvider() (value *CloudProvider, ok bool)
GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.
Link to the cloud provider that the machine type belongs to.
func (*MachineType) GetHREF ¶
func (o *MachineType) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*MachineType) GetID ¶
func (o *MachineType) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*MachineType) GetMemory ¶
func (o *MachineType) GetMemory() (value *Value, ok bool)
GetMemory returns the value of the 'memory' attribute and a flag indicating if the attribute has a value.
The amount of memory of the machine type.
func (*MachineType) GetName ¶
func (o *MachineType) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Human friendly identifier of the machine type, for example `r5.xlarge - Memory Optimized`.
func (*MachineType) GetSize ¶
func (o *MachineType) GetSize() (value MachineTypeSize, ok bool)
GetSize returns the value of the 'size' attribute and a flag indicating if the attribute has a value.
The size of the machine type.
func (*MachineType) HREF ¶
func (o *MachineType) HREF() string
HREF returns the link to the object.
func (*MachineType) ID ¶
func (o *MachineType) ID() string
ID returns the identifier of the object.
func (*MachineType) Kind ¶
func (o *MachineType) Kind() string
Kind returns the name of the type of the object.
func (*MachineType) Memory ¶
func (o *MachineType) Memory() *Value
Memory returns the value of the 'memory' attribute, or the zero value of the type if the attribute doesn't have a value.
The amount of memory of the machine type.
func (*MachineType) Name ¶
func (o *MachineType) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Human friendly identifier of the machine type, for example `r5.xlarge - Memory Optimized`.
func (*MachineType) Size ¶
func (o *MachineType) Size() MachineTypeSize
Size returns the value of the 'size' attribute, or the zero value of the type if the attribute doesn't have a value.
The size of the machine type.
type MachineTypeBuilder ¶
type MachineTypeBuilder struct {
// contains filtered or unexported fields
}
MachineTypeBuilder contains the data and logic needed to build 'machine_type' objects.
Machine type.
func NewMachineType ¶
func NewMachineType() *MachineTypeBuilder
NewMachineType creates a new builder of 'machine_type' objects.
func (*MachineTypeBuilder) Build ¶
func (b *MachineTypeBuilder) Build() (object *MachineType, err error)
Build creates a 'machine_type' object using the configuration stored in the builder.
func (*MachineTypeBuilder) CPU ¶
func (b *MachineTypeBuilder) CPU(value *ValueBuilder) *MachineTypeBuilder
CPU sets the value of the 'CPU' attribute to the given value.
Numeric value and the unit used to measure it.
Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:
- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes
- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes
func (*MachineTypeBuilder) Category ¶
func (b *MachineTypeBuilder) Category(value MachineTypeCategory) *MachineTypeBuilder
Category sets the value of the 'category' attribute to the given value.
Machine type category.
func (*MachineTypeBuilder) CloudProvider ¶
func (b *MachineTypeBuilder) CloudProvider(value *CloudProviderBuilder) *MachineTypeBuilder
CloudProvider sets the value of the 'cloud_provider' attribute to the given value.
Cloud provider.
func (*MachineTypeBuilder) Copy ¶
func (b *MachineTypeBuilder) Copy(object *MachineType) *MachineTypeBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*MachineTypeBuilder) HREF ¶
func (b *MachineTypeBuilder) HREF(value string) *MachineTypeBuilder
HREF sets the link to the object.
func (*MachineTypeBuilder) ID ¶
func (b *MachineTypeBuilder) ID(value string) *MachineTypeBuilder
ID sets the identifier of the object.
func (*MachineTypeBuilder) Link ¶
func (b *MachineTypeBuilder) Link(value bool) *MachineTypeBuilder
Link sets the flag that indicates if this is a link.
func (*MachineTypeBuilder) Memory ¶
func (b *MachineTypeBuilder) Memory(value *ValueBuilder) *MachineTypeBuilder
Memory sets the value of the 'memory' attribute to the given value.
Numeric value and the unit used to measure it.
Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:
- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes
- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes
func (*MachineTypeBuilder) Name ¶
func (b *MachineTypeBuilder) Name(value string) *MachineTypeBuilder
Name sets the value of the 'name' attribute to the given value.
func (*MachineTypeBuilder) Size ¶
func (b *MachineTypeBuilder) Size(value MachineTypeSize) *MachineTypeBuilder
Size sets the value of the 'size' attribute to the given value.
Machine type size.
type MachineTypeCategory ¶
type MachineTypeCategory string
MachineTypeCategory represents the values of the 'machine_type_category' enumerated type.
const ( // Compute Optimized machine type. MachineTypeCategoryComputeOptimized MachineTypeCategory = "compute_optimized" // General Purpose machine type. MachineTypeCategoryGeneralPurpose MachineTypeCategory = "general_purpose" // Memory Optimized machine type. MachineTypeCategoryMemoryOptimized MachineTypeCategory = "memory_optimized" )
func UnmarshalMachineTypeCategoryList ¶
func UnmarshalMachineTypeCategoryList(source interface{}) (items []MachineTypeCategory, err error)
UnmarshalMachineTypeCategoryList reads a list of values of the 'machine_type_category' type from the given source, which can be a slice of bytes, a string or a reader.
type MachineTypeClient ¶
type MachineTypeClient struct {
// contains filtered or unexported fields
}
MachineTypeClient is the client of the 'machine_type' resource.
Manages a specific machine type.
func NewMachineTypeClient ¶
func NewMachineTypeClient(transport http.RoundTripper, path string, metric string) *MachineTypeClient
NewMachineTypeClient creates a new client for the 'machine_type' resource using the given transport to send the requests and receive the responses.
func (*MachineTypeClient) Get ¶
func (c *MachineTypeClient) Get() *MachineTypeGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the machine type.
func (*MachineTypeClient) Poll ¶
func (c *MachineTypeClient) Poll() *MachineTypePollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type MachineTypeGetRequest ¶
type MachineTypeGetRequest struct {
// contains filtered or unexported fields
}
MachineTypeGetRequest is the request for the 'get' method.
func (*MachineTypeGetRequest) Header ¶
func (r *MachineTypeGetRequest) Header(name string, value interface{}) *MachineTypeGetRequest
Header adds a request header.
func (*MachineTypeGetRequest) Parameter ¶
func (r *MachineTypeGetRequest) Parameter(name string, value interface{}) *MachineTypeGetRequest
Parameter adds a query parameter.
func (*MachineTypeGetRequest) Send ¶
func (r *MachineTypeGetRequest) Send() (result *MachineTypeGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*MachineTypeGetRequest) SendContext ¶
func (r *MachineTypeGetRequest) SendContext(ctx context.Context) (result *MachineTypeGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type MachineTypeGetResponse ¶
type MachineTypeGetResponse struct {
// contains filtered or unexported fields
}
MachineTypeGetResponse is the response for the 'get' method.
func (*MachineTypeGetResponse) Body ¶
func (r *MachineTypeGetResponse) Body() *MachineType
Body returns the value of the 'body' parameter.
func (*MachineTypeGetResponse) Error ¶
func (r *MachineTypeGetResponse) Error() *errors.Error
Error returns the response error.
func (*MachineTypeGetResponse) GetBody ¶
func (r *MachineTypeGetResponse) GetBody() (value *MachineType, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*MachineTypeGetResponse) Header ¶
func (r *MachineTypeGetResponse) Header() http.Header
Header returns header of the response.
func (*MachineTypeGetResponse) Status ¶
func (r *MachineTypeGetResponse) Status() int
Status returns the response status code.
type MachineTypeGetServerRequest ¶
type MachineTypeGetServerRequest struct { }
MachineTypeGetServerRequest is the request for the 'get' method.
type MachineTypeGetServerResponse ¶
type MachineTypeGetServerResponse struct {
// contains filtered or unexported fields
}
MachineTypeGetServerResponse is the response for the 'get' method.
func (*MachineTypeGetServerResponse) Body ¶
func (r *MachineTypeGetServerResponse) Body(value *MachineType) *MachineTypeGetServerResponse
Body sets the value of the 'body' parameter.
func (*MachineTypeGetServerResponse) Status ¶
func (r *MachineTypeGetServerResponse) Status(value int) *MachineTypeGetServerResponse
Status sets the status code.
type MachineTypeList ¶
type MachineTypeList struct {
// contains filtered or unexported fields
}
MachineTypeList is a list of values of the 'machine_type' type.
func (*MachineTypeList) Each ¶
func (l *MachineTypeList) Each(f func(item *MachineType) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*MachineTypeList) Empty ¶
func (l *MachineTypeList) Empty() bool
Empty returns true if the list is empty.
func (*MachineTypeList) Get ¶
func (l *MachineTypeList) Get(i int) *MachineType
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*MachineTypeList) GetHREF ¶
func (l *MachineTypeList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*MachineTypeList) HREF ¶
func (l *MachineTypeList) HREF() string
HREF returns the link to the list.
func (*MachineTypeList) Kind ¶
func (l *MachineTypeList) Kind() string
Kind returns the name of the type of the object.
func (*MachineTypeList) Len ¶
func (l *MachineTypeList) Len() int
Len returns the length of the list.
func (*MachineTypeList) Link ¶
func (l *MachineTypeList) Link() bool
Link returns true iif this is a link.
func (*MachineTypeList) Range ¶
func (l *MachineTypeList) Range(f func(index int, item *MachineType) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*MachineTypeList) Slice ¶
func (l *MachineTypeList) Slice() []*MachineType
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type MachineTypeListBuilder ¶
type MachineTypeListBuilder struct {
// contains filtered or unexported fields
}
MachineTypeListBuilder contains the data and logic needed to build 'machine_type' objects.
func NewMachineTypeList ¶
func NewMachineTypeList() *MachineTypeListBuilder
NewMachineTypeList creates a new builder of 'machine_type' objects.
func (*MachineTypeListBuilder) Build ¶
func (b *MachineTypeListBuilder) Build() (list *MachineTypeList, err error)
Build creates a list of 'machine_type' objects using the configuration stored in the builder.
func (*MachineTypeListBuilder) Copy ¶
func (b *MachineTypeListBuilder) Copy(list *MachineTypeList) *MachineTypeListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*MachineTypeListBuilder) Items ¶
func (b *MachineTypeListBuilder) Items(values ...*MachineTypeBuilder) *MachineTypeListBuilder
Items sets the items of the list.
type MachineTypePollRequest ¶
type MachineTypePollRequest struct {
// contains filtered or unexported fields
}
MachineTypePollRequest is the request for the Poll method.
func (*MachineTypePollRequest) Header ¶
func (r *MachineTypePollRequest) Header(name string, value interface{}) *MachineTypePollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*MachineTypePollRequest) Interval ¶
func (r *MachineTypePollRequest) Interval(value time.Duration) *MachineTypePollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*MachineTypePollRequest) Parameter ¶
func (r *MachineTypePollRequest) Parameter(name string, value interface{}) *MachineTypePollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*MachineTypePollRequest) Predicate ¶
func (r *MachineTypePollRequest) Predicate(value func(*MachineTypeGetResponse) bool) *MachineTypePollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*MachineTypePollRequest) StartContext ¶
func (r *MachineTypePollRequest) StartContext(ctx context.Context) (response *MachineTypePollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*MachineTypePollRequest) Status ¶
func (r *MachineTypePollRequest) Status(value int) *MachineTypePollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type MachineTypePollResponse ¶
type MachineTypePollResponse struct {
// contains filtered or unexported fields
}
MachineTypePollResponse is the response for the Poll method.
func (*MachineTypePollResponse) Body ¶
func (r *MachineTypePollResponse) Body() *MachineType
Body returns the value of the 'body' parameter.
func (*MachineTypePollResponse) Error ¶
func (r *MachineTypePollResponse) Error() *errors.Error
Error returns the response error.
func (*MachineTypePollResponse) GetBody ¶
func (r *MachineTypePollResponse) GetBody() (value *MachineType, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*MachineTypePollResponse) Header ¶
func (r *MachineTypePollResponse) Header() http.Header
Header returns header of the response.
func (*MachineTypePollResponse) Status ¶
func (r *MachineTypePollResponse) Status() int
Status returns the response status code.
type MachineTypeServer ¶
type MachineTypeServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the machine type. Get(ctx context.Context, request *MachineTypeGetServerRequest, response *MachineTypeGetServerResponse) error }
MachineTypeServer represents the interface the manages the 'machine_type' resource.
type MachineTypeSize ¶
type MachineTypeSize string
MachineTypeSize represents the values of the 'machine_type_size' enumerated type.
const ( // Large machine type (e.g. c5.4xlarge, custom-16-65536) MachineTypeSizeLarge MachineTypeSize = "large" // Medium machine type (e.g. r5.2xlarge, custom-8-32768) MachineTypeSizeMedium MachineTypeSize = "medium" // Small machine type (e.g. m5.xlarge, custom-4-16384) MachineTypeSizeSmall MachineTypeSize = "small" )
func UnmarshalMachineTypeSizeList ¶
func UnmarshalMachineTypeSizeList(source interface{}) (items []MachineTypeSize, err error)
UnmarshalMachineTypeSizeList reads a list of values of the 'machine_type_size' type from the given source, which can be a slice of bytes, a string or a reader.
type MachineTypesClient ¶
type MachineTypesClient struct {
// contains filtered or unexported fields
}
MachineTypesClient is the client of the 'machine_types' resource.
Manages machine types.
func NewMachineTypesClient ¶
func NewMachineTypesClient(transport http.RoundTripper, path string, metric string) *MachineTypesClient
NewMachineTypesClient creates a new client for the 'machine_types' resource using the given transport to send the requests and receive the responses.
func (*MachineTypesClient) List ¶
func (c *MachineTypesClient) List() *MachineTypesListRequest
List creates a request for the 'list' method.
Retrieves the list of machine types.
type MachineTypesListRequest ¶
type MachineTypesListRequest struct {
// contains filtered or unexported fields
}
MachineTypesListRequest is the request for the 'list' method.
func (*MachineTypesListRequest) Header ¶
func (r *MachineTypesListRequest) Header(name string, value interface{}) *MachineTypesListRequest
Header adds a request header.
func (*MachineTypesListRequest) Order ¶
func (r *MachineTypesListRequest) Order(value string) *MachineTypesListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the machine type instead of the names of the columns of a table. For example, in order to sort the machine types descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*MachineTypesListRequest) Page ¶
func (r *MachineTypesListRequest) Page(value int) *MachineTypesListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*MachineTypesListRequest) Parameter ¶
func (r *MachineTypesListRequest) Parameter(name string, value interface{}) *MachineTypesListRequest
Parameter adds a query parameter.
func (*MachineTypesListRequest) Search ¶
func (r *MachineTypesListRequest) Search(value string) *MachineTypesListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the machine type instead of the names of the columns of a table. For example, in order to retrieve all the machine types with a name starting with `A` the value should be:
[source,sql] ---- name like 'A%' ----
If the parameter isn't provided, or if the value is empty, then all the machine types that the user has permission to see will be returned.
func (*MachineTypesListRequest) Send ¶
func (r *MachineTypesListRequest) Send() (result *MachineTypesListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*MachineTypesListRequest) SendContext ¶
func (r *MachineTypesListRequest) SendContext(ctx context.Context) (result *MachineTypesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*MachineTypesListRequest) Size ¶
func (r *MachineTypesListRequest) Size(value int) *MachineTypesListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type MachineTypesListResponse ¶
type MachineTypesListResponse struct {
// contains filtered or unexported fields
}
MachineTypesListResponse is the response for the 'list' method.
func (*MachineTypesListResponse) Error ¶
func (r *MachineTypesListResponse) Error() *errors.Error
Error returns the response error.
func (*MachineTypesListResponse) GetItems ¶
func (r *MachineTypesListResponse) GetItems() (value *MachineTypeList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of cloud providers.
func (*MachineTypesListResponse) GetPage ¶
func (r *MachineTypesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*MachineTypesListResponse) GetSize ¶
func (r *MachineTypesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*MachineTypesListResponse) GetTotal ¶
func (r *MachineTypesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*MachineTypesListResponse) Header ¶
func (r *MachineTypesListResponse) Header() http.Header
Header returns header of the response.
func (*MachineTypesListResponse) Items ¶
func (r *MachineTypesListResponse) Items() *MachineTypeList
Items returns the value of the 'items' parameter.
Retrieved list of cloud providers.
func (*MachineTypesListResponse) Page ¶
func (r *MachineTypesListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*MachineTypesListResponse) Size ¶
func (r *MachineTypesListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*MachineTypesListResponse) Status ¶
func (r *MachineTypesListResponse) Status() int
Status returns the response status code.
func (*MachineTypesListResponse) Total ¶
func (r *MachineTypesListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type MachineTypesListServerRequest ¶
type MachineTypesListServerRequest struct {
// contains filtered or unexported fields
}
MachineTypesListServerRequest is the request for the 'list' method.
func (*MachineTypesListServerRequest) GetOrder ¶
func (r *MachineTypesListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the machine type instead of the names of the columns of a table. For example, in order to sort the machine types descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*MachineTypesListServerRequest) GetPage ¶
func (r *MachineTypesListServerRequest) 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 (*MachineTypesListServerRequest) GetSearch ¶
func (r *MachineTypesListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the machine type instead of the names of the columns of a table. For example, in order to retrieve all the machine types with a name starting with `A` the value should be:
[source,sql] ---- name like 'A%' ----
If the parameter isn't provided, or if the value is empty, then all the machine types that the user has permission to see will be returned.
func (*MachineTypesListServerRequest) GetSize ¶
func (r *MachineTypesListServerRequest) 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 (*MachineTypesListServerRequest) Order ¶
func (r *MachineTypesListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the machine type instead of the names of the columns of a table. For example, in order to sort the machine types descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*MachineTypesListServerRequest) Page ¶
func (r *MachineTypesListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*MachineTypesListServerRequest) Search ¶
func (r *MachineTypesListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the machine type instead of the names of the columns of a table. For example, in order to retrieve all the machine types with a name starting with `A` the value should be:
[source,sql] ---- name like 'A%' ----
If the parameter isn't provided, or if the value is empty, then all the machine types that the user has permission to see will be returned.
func (*MachineTypesListServerRequest) Size ¶
func (r *MachineTypesListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type MachineTypesListServerResponse ¶
type MachineTypesListServerResponse struct {
// contains filtered or unexported fields
}
MachineTypesListServerResponse is the response for the 'list' method.
func (*MachineTypesListServerResponse) Items ¶
func (r *MachineTypesListServerResponse) Items(value *MachineTypeList) *MachineTypesListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of cloud providers.
func (*MachineTypesListServerResponse) Page ¶
func (r *MachineTypesListServerResponse) Page(value int) *MachineTypesListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*MachineTypesListServerResponse) Size ¶
func (r *MachineTypesListServerResponse) Size(value int) *MachineTypesListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*MachineTypesListServerResponse) Status ¶
func (r *MachineTypesListServerResponse) Status(value int) *MachineTypesListServerResponse
Status sets the status code.
func (*MachineTypesListServerResponse) Total ¶
func (r *MachineTypesListServerResponse) Total(value int) *MachineTypesListServerResponse
Total sets 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 MachineTypesServer ¶
type MachineTypesServer interface { // List handles a request for the 'list' method. // // Retrieves the list of machine types. List(ctx context.Context, request *MachineTypesListServerRequest, response *MachineTypesListServerResponse) error }
MachineTypesServer represents the interface the manages the 'machine_types' resource.
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
Metadata contains the version metadata.
func UnmarshalMetadata ¶
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 ¶
GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.
func (*Metadata) ServerVersion ¶
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 Metric ¶
type Metric struct {
// contains filtered or unexported fields
}
Metric represents the values of the 'metric' type.
Metric included in a dashboard.
func UnmarshalMetric ¶
UnmarshalMetric reads a value of the 'metric' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalMetricList ¶
UnmarshalMetricList reads a list of values of the 'metric' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Metric) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the metric.
func (*Metric) GetVector ¶
GetVector returns the value of the 'vector' attribute and a flag indicating if the attribute has a value.
Samples of the metric.
type MetricBuilder ¶
type MetricBuilder struct {
// contains filtered or unexported fields
}
MetricBuilder contains the data and logic needed to build 'metric' objects.
Metric included in a dashboard.
func NewMetric ¶
func NewMetric() *MetricBuilder
NewMetric creates a new builder of 'metric' objects.
func (*MetricBuilder) Build ¶
func (b *MetricBuilder) Build() (object *Metric, err error)
Build creates a 'metric' object using the configuration stored in the builder.
func (*MetricBuilder) Copy ¶
func (b *MetricBuilder) Copy(object *Metric) *MetricBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*MetricBuilder) Name ¶
func (b *MetricBuilder) Name(value string) *MetricBuilder
Name sets the value of the 'name' attribute to the given value.
func (*MetricBuilder) Vector ¶
func (b *MetricBuilder) Vector(values ...*SampleBuilder) *MetricBuilder
Vector sets the value of the 'vector' attribute to the given values.
type MetricList ¶
type MetricList struct {
// contains filtered or unexported fields
}
MetricList is a list of values of the 'metric' type.
func (*MetricList) Each ¶
func (l *MetricList) Each(f func(item *Metric) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*MetricList) Empty ¶
func (l *MetricList) Empty() bool
Empty returns true if the list is empty.
func (*MetricList) Get ¶
func (l *MetricList) Get(i int) *Metric
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*MetricList) Range ¶
func (l *MetricList) Range(f func(index int, item *Metric) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*MetricList) Slice ¶
func (l *MetricList) Slice() []*Metric
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type MetricListBuilder ¶
type MetricListBuilder struct {
// contains filtered or unexported fields
}
MetricListBuilder contains the data and logic needed to build 'metric' objects.
func NewMetricList ¶
func NewMetricList() *MetricListBuilder
NewMetricList creates a new builder of 'metric' objects.
func (*MetricListBuilder) Build ¶
func (b *MetricListBuilder) Build() (list *MetricList, err error)
Build creates a list of 'metric' objects using the configuration stored in the builder.
func (*MetricListBuilder) Copy ¶
func (b *MetricListBuilder) Copy(list *MetricList) *MetricListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*MetricListBuilder) Items ¶
func (b *MetricListBuilder) Items(values ...*MetricBuilder) *MetricListBuilder
Items sets the items of the list.
type MetricQueriesClient ¶
type MetricQueriesClient struct {
// contains filtered or unexported fields
}
MetricQueriesClient is the client of the 'metric_queries' resource.
Manages telemetry queries for a cluster.
func NewMetricQueriesClient ¶
func NewMetricQueriesClient(transport http.RoundTripper, path string, metric string) *MetricQueriesClient
NewMetricQueriesClient creates a new client for the 'metric_queries' resource using the given transport to send the requests and receive the responses.
func (*MetricQueriesClient) Alerts ¶
func (c *MetricQueriesClient) Alerts() *AlertsMetricQueryClient
Alerts returns the target 'alerts_metric_query' resource.
Reference to the resource that retrieves the firing alerts in the cluster.
func (*MetricQueriesClient) CPUTotalByNodeRolesOS ¶
func (c *MetricQueriesClient) CPUTotalByNodeRolesOS() *CPUTotalByNodeRolesOSMetricQueryClient
CPUTotalByNodeRolesOS returns the target 'CPU_total_by_node_roles_OS_metric_query' resource.
Reference to the resource that retrieves the total cpu capacity in the cluster by node role and operating system.
func (*MetricQueriesClient) ClusterOperators ¶
func (c *MetricQueriesClient) ClusterOperators() *ClusterOperatorsMetricQueryClient
ClusterOperators returns the target 'cluster_operators_metric_query' resource.
Reference to the resource that retrieves the cluster operator status metrics.
func (*MetricQueriesClient) Nodes ¶
func (c *MetricQueriesClient) Nodes() *NodesMetricQueryClient
Nodes returns the target 'nodes_metric_query' resource.
Reference to the resource that retrieves the nodes in the cluster.
func (*MetricQueriesClient) SocketTotalByNodeRolesOS ¶
func (c *MetricQueriesClient) SocketTotalByNodeRolesOS() *SocketTotalByNodeRolesOSMetricQueryClient
SocketTotalByNodeRolesOS returns the target 'socket_total_by_node_roles_OS_metric_query' resource.
Reference to the resource that retrieves the total socket capacity in the cluster by node role and operating system.
type MetricQueriesServer ¶
type MetricQueriesServer interface { // CPUTotalByNodeRolesOS returns the target 'CPU_total_by_node_roles_OS_metric_query' resource. // // Reference to the resource that retrieves the total cpu // capacity in the cluster by node role and operating system. CPUTotalByNodeRolesOS() CPUTotalByNodeRolesOSMetricQueryServer // Alerts returns the target 'alerts_metric_query' resource. // // Reference to the resource that retrieves the firing alerts in the cluster. Alerts() AlertsMetricQueryServer // ClusterOperators returns the target 'cluster_operators_metric_query' resource. // // Reference to the resource that retrieves the cluster operator status metrics. ClusterOperators() ClusterOperatorsMetricQueryServer // Nodes returns the target 'nodes_metric_query' resource. // // Reference to the resource that retrieves the nodes in the cluster. Nodes() NodesMetricQueryServer // SocketTotalByNodeRolesOS returns the target 'socket_total_by_node_roles_OS_metric_query' resource. // // Reference to the resource that retrieves the total socket // capacity in the cluster by node role and operating system. SocketTotalByNodeRolesOS() SocketTotalByNodeRolesOSMetricQueryServer }
MetricQueriesServer represents the interface the manages the 'metric_queries' resource.
type Network ¶
type Network struct {
// contains filtered or unexported fields
}
Network represents the values of the 'network' type.
Network configuration of a cluster.
func UnmarshalNetwork ¶
UnmarshalNetwork reads a value of the 'network' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalNetworkList ¶
UnmarshalNetworkList reads a list of values of the 'network' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Network) GetHostPrefix ¶
GetHostPrefix returns the value of the 'host_prefix' attribute and a flag indicating if the attribute has a value.
Network host prefix which is defaulted to `23` if not specified.
func (*Network) GetMachineCIDR ¶
GetMachineCIDR returns the value of the 'machine_CIDR' attribute and a flag indicating if the attribute has a value.
IP address block from which to assign machine IP addresses, for example `10.0.0.0/16`.
func (*Network) GetPodCIDR ¶
GetPodCIDR returns the value of the 'pod_CIDR' attribute and a flag indicating if the attribute has a value.
IP address block from which to assign pod IP addresses, for example `10.128.0.0/14`.
func (*Network) GetServiceCIDR ¶
GetServiceCIDR returns the value of the 'service_CIDR' attribute and a flag indicating if the attribute has a value.
IP address block from which to assign service IP addresses, for example `172.30.0.0/16`.
func (*Network) HostPrefix ¶
HostPrefix returns the value of the 'host_prefix' attribute, or the zero value of the type if the attribute doesn't have a value.
Network host prefix which is defaulted to `23` if not specified.
func (*Network) MachineCIDR ¶
MachineCIDR returns the value of the 'machine_CIDR' attribute, or the zero value of the type if the attribute doesn't have a value.
IP address block from which to assign machine IP addresses, for example `10.0.0.0/16`.
func (*Network) PodCIDR ¶
PodCIDR returns the value of the 'pod_CIDR' attribute, or the zero value of the type if the attribute doesn't have a value.
IP address block from which to assign pod IP addresses, for example `10.128.0.0/14`.
func (*Network) ServiceCIDR ¶
ServiceCIDR returns the value of the 'service_CIDR' attribute, or the zero value of the type if the attribute doesn't have a value.
IP address block from which to assign service IP addresses, for example `172.30.0.0/16`.
type NetworkBuilder ¶
type NetworkBuilder struct {
// contains filtered or unexported fields
}
NetworkBuilder contains the data and logic needed to build 'network' objects.
Network configuration of a cluster.
func NewNetwork ¶
func NewNetwork() *NetworkBuilder
NewNetwork creates a new builder of 'network' objects.
func (*NetworkBuilder) Build ¶
func (b *NetworkBuilder) Build() (object *Network, err error)
Build creates a 'network' object using the configuration stored in the builder.
func (*NetworkBuilder) Copy ¶
func (b *NetworkBuilder) Copy(object *Network) *NetworkBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*NetworkBuilder) HostPrefix ¶
func (b *NetworkBuilder) HostPrefix(value int) *NetworkBuilder
HostPrefix sets the value of the 'host_prefix' attribute to the given value.
func (*NetworkBuilder) MachineCIDR ¶
func (b *NetworkBuilder) MachineCIDR(value string) *NetworkBuilder
MachineCIDR sets the value of the 'machine_CIDR' attribute to the given value.
func (*NetworkBuilder) PodCIDR ¶
func (b *NetworkBuilder) PodCIDR(value string) *NetworkBuilder
PodCIDR sets the value of the 'pod_CIDR' attribute to the given value.
func (*NetworkBuilder) ServiceCIDR ¶
func (b *NetworkBuilder) ServiceCIDR(value string) *NetworkBuilder
ServiceCIDR sets the value of the 'service_CIDR' attribute to the given value.
type NetworkList ¶
type NetworkList struct {
// contains filtered or unexported fields
}
NetworkList is a list of values of the 'network' type.
func (*NetworkList) Each ¶
func (l *NetworkList) Each(f func(item *Network) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*NetworkList) Empty ¶
func (l *NetworkList) Empty() bool
Empty returns true if the list is empty.
func (*NetworkList) Get ¶
func (l *NetworkList) Get(i int) *Network
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*NetworkList) Range ¶
func (l *NetworkList) Range(f func(index int, item *Network) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*NetworkList) Slice ¶
func (l *NetworkList) Slice() []*Network
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type NetworkListBuilder ¶
type NetworkListBuilder struct {
// contains filtered or unexported fields
}
NetworkListBuilder contains the data and logic needed to build 'network' objects.
func NewNetworkList ¶
func NewNetworkList() *NetworkListBuilder
NewNetworkList creates a new builder of 'network' objects.
func (*NetworkListBuilder) Build ¶
func (b *NetworkListBuilder) Build() (list *NetworkList, err error)
Build creates a list of 'network' objects using the configuration stored in the builder.
func (*NetworkListBuilder) Copy ¶
func (b *NetworkListBuilder) Copy(list *NetworkList) *NetworkListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*NetworkListBuilder) Items ¶
func (b *NetworkListBuilder) Items(values ...*NetworkBuilder) *NetworkListBuilder
Items sets the items of the list.
type NodeInfo ¶
type NodeInfo struct {
// contains filtered or unexported fields
}
NodeInfo represents the values of the 'node_info' type.
Provides information about a node from specific type in the cluster.
func UnmarshalNodeInfo ¶
UnmarshalNodeInfo reads a value of the 'node_info' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalNodeInfoList ¶
UnmarshalNodeInfoList reads a list of values of the 'node_info' type from the given source, which can be a slice of bytes, a string or a reader.
func (*NodeInfo) Amount ¶
Amount returns the value of the 'amount' attribute, or the zero value of the type if the attribute doesn't have a value.
The amount of the nodes from this type.
func (*NodeInfo) GetAmount ¶
GetAmount returns the value of the 'amount' attribute and a flag indicating if the attribute has a value.
The amount of the nodes from this type.
type NodeInfoBuilder ¶
type NodeInfoBuilder struct {
// contains filtered or unexported fields
}
NodeInfoBuilder contains the data and logic needed to build 'node_info' objects.
Provides information about a node from specific type in the cluster.
func NewNodeInfo ¶
func NewNodeInfo() *NodeInfoBuilder
NewNodeInfo creates a new builder of 'node_info' objects.
func (*NodeInfoBuilder) Amount ¶
func (b *NodeInfoBuilder) Amount(value int) *NodeInfoBuilder
Amount sets the value of the 'amount' attribute to the given value.
func (*NodeInfoBuilder) Build ¶
func (b *NodeInfoBuilder) Build() (object *NodeInfo, err error)
Build creates a 'node_info' object using the configuration stored in the builder.
func (*NodeInfoBuilder) Copy ¶
func (b *NodeInfoBuilder) Copy(object *NodeInfo) *NodeInfoBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*NodeInfoBuilder) Type ¶
func (b *NodeInfoBuilder) Type(value NodeType) *NodeInfoBuilder
Type sets the value of the 'type' attribute to the given value.
Type of node received via telemetry.
type NodeInfoList ¶
type NodeInfoList struct {
// contains filtered or unexported fields
}
NodeInfoList is a list of values of the 'node_info' type.
func (*NodeInfoList) Each ¶
func (l *NodeInfoList) Each(f func(item *NodeInfo) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*NodeInfoList) Empty ¶
func (l *NodeInfoList) Empty() bool
Empty returns true if the list is empty.
func (*NodeInfoList) Get ¶
func (l *NodeInfoList) Get(i int) *NodeInfo
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*NodeInfoList) Range ¶
func (l *NodeInfoList) Range(f func(index int, item *NodeInfo) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*NodeInfoList) Slice ¶
func (l *NodeInfoList) Slice() []*NodeInfo
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type NodeInfoListBuilder ¶
type NodeInfoListBuilder struct {
// contains filtered or unexported fields
}
NodeInfoListBuilder contains the data and logic needed to build 'node_info' objects.
func NewNodeInfoList ¶
func NewNodeInfoList() *NodeInfoListBuilder
NewNodeInfoList creates a new builder of 'node_info' objects.
func (*NodeInfoListBuilder) Build ¶
func (b *NodeInfoListBuilder) Build() (list *NodeInfoList, err error)
Build creates a list of 'node_info' objects using the configuration stored in the builder.
func (*NodeInfoListBuilder) Copy ¶
func (b *NodeInfoListBuilder) Copy(list *NodeInfoList) *NodeInfoListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*NodeInfoListBuilder) Items ¶
func (b *NodeInfoListBuilder) Items(values ...*NodeInfoBuilder) *NodeInfoListBuilder
Items sets the items of the list.
type NodeType ¶
type NodeType string
NodeType represents the values of the 'node_type' enumerated type.
func UnmarshalNodeTypeList ¶
UnmarshalNodeTypeList reads a list of values of the 'node_type' type from the given source, which can be a slice of bytes, a string or a reader.
type NodesInfo ¶
type NodesInfo struct {
// contains filtered or unexported fields
}
NodesInfo represents the values of the 'nodes_info' type.
Provides information about the nodes in the cluster.
func UnmarshalNodesInfo ¶
UnmarshalNodesInfo reads a value of the 'nodes_info' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalNodesInfoList ¶
UnmarshalNodesInfoList reads a list of values of the 'nodes_info' type from the given source, which can be a slice of bytes, a string or a reader.
func (*NodesInfo) Empty ¶
Empty returns true if the object is empty, i.e. no attribute has a value.
type NodesInfoBuilder ¶
type NodesInfoBuilder struct {
// contains filtered or unexported fields
}
NodesInfoBuilder contains the data and logic needed to build 'nodes_info' objects.
Provides information about the nodes in the cluster.
func NewNodesInfo ¶
func NewNodesInfo() *NodesInfoBuilder
NewNodesInfo creates a new builder of 'nodes_info' objects.
func (*NodesInfoBuilder) Build ¶
func (b *NodesInfoBuilder) Build() (object *NodesInfo, err error)
Build creates a 'nodes_info' object using the configuration stored in the builder.
func (*NodesInfoBuilder) Copy ¶
func (b *NodesInfoBuilder) Copy(object *NodesInfo) *NodesInfoBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*NodesInfoBuilder) Nodes ¶
func (b *NodesInfoBuilder) Nodes(values ...*NodeInfoBuilder) *NodesInfoBuilder
Nodes sets the value of the 'nodes' attribute to the given values.
type NodesInfoList ¶
type NodesInfoList struct {
// contains filtered or unexported fields
}
NodesInfoList is a list of values of the 'nodes_info' type.
func (*NodesInfoList) Each ¶
func (l *NodesInfoList) Each(f func(item *NodesInfo) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*NodesInfoList) Empty ¶
func (l *NodesInfoList) Empty() bool
Empty returns true if the list is empty.
func (*NodesInfoList) Get ¶
func (l *NodesInfoList) Get(i int) *NodesInfo
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*NodesInfoList) Range ¶
func (l *NodesInfoList) Range(f func(index int, item *NodesInfo) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*NodesInfoList) Slice ¶
func (l *NodesInfoList) Slice() []*NodesInfo
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type NodesInfoListBuilder ¶
type NodesInfoListBuilder struct {
// contains filtered or unexported fields
}
NodesInfoListBuilder contains the data and logic needed to build 'nodes_info' objects.
func NewNodesInfoList ¶
func NewNodesInfoList() *NodesInfoListBuilder
NewNodesInfoList creates a new builder of 'nodes_info' objects.
func (*NodesInfoListBuilder) Build ¶
func (b *NodesInfoListBuilder) Build() (list *NodesInfoList, err error)
Build creates a list of 'nodes_info' objects using the configuration stored in the builder.
func (*NodesInfoListBuilder) Copy ¶
func (b *NodesInfoListBuilder) Copy(list *NodesInfoList) *NodesInfoListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*NodesInfoListBuilder) Items ¶
func (b *NodesInfoListBuilder) Items(values ...*NodesInfoBuilder) *NodesInfoListBuilder
Items sets the items of the list.
type NodesMetricQueryClient ¶
type NodesMetricQueryClient struct {
// contains filtered or unexported fields
}
NodesMetricQueryClient is the client of the 'nodes_metric_query' resource.
Provides information about the nodes in the cluster.
func NewNodesMetricQueryClient ¶
func NewNodesMetricQueryClient(transport http.RoundTripper, path string, metric string) *NodesMetricQueryClient
NewNodesMetricQueryClient creates a new client for the 'nodes_metric_query' resource using the given transport to send the requests and receive the responses.
func (*NodesMetricQueryClient) Get ¶
func (c *NodesMetricQueryClient) Get() *NodesMetricQueryGetRequest
Get creates a request for the 'get' method.
func (*NodesMetricQueryClient) Poll ¶
func (c *NodesMetricQueryClient) Poll() *NodesMetricQueryPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type NodesMetricQueryGetRequest ¶
type NodesMetricQueryGetRequest struct {
// contains filtered or unexported fields
}
NodesMetricQueryGetRequest is the request for the 'get' method.
func (*NodesMetricQueryGetRequest) Header ¶
func (r *NodesMetricQueryGetRequest) Header(name string, value interface{}) *NodesMetricQueryGetRequest
Header adds a request header.
func (*NodesMetricQueryGetRequest) Parameter ¶
func (r *NodesMetricQueryGetRequest) Parameter(name string, value interface{}) *NodesMetricQueryGetRequest
Parameter adds a query parameter.
func (*NodesMetricQueryGetRequest) Send ¶
func (r *NodesMetricQueryGetRequest) Send() (result *NodesMetricQueryGetResponse, 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 (*NodesMetricQueryGetRequest) SendContext ¶
func (r *NodesMetricQueryGetRequest) SendContext(ctx context.Context) (result *NodesMetricQueryGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type NodesMetricQueryGetResponse ¶
type NodesMetricQueryGetResponse struct {
// contains filtered or unexported fields
}
NodesMetricQueryGetResponse is the response for the 'get' method.
func (*NodesMetricQueryGetResponse) Body ¶
func (r *NodesMetricQueryGetResponse) Body() *NodesInfo
Body returns the value of the 'body' parameter.
func (*NodesMetricQueryGetResponse) Error ¶
func (r *NodesMetricQueryGetResponse) Error() *errors.Error
Error returns the response error.
func (*NodesMetricQueryGetResponse) GetBody ¶
func (r *NodesMetricQueryGetResponse) GetBody() (value *NodesInfo, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*NodesMetricQueryGetResponse) Header ¶
func (r *NodesMetricQueryGetResponse) Header() http.Header
Header returns header of the response.
func (*NodesMetricQueryGetResponse) Status ¶
func (r *NodesMetricQueryGetResponse) Status() int
Status returns the response status code.
type NodesMetricQueryGetServerRequest ¶
type NodesMetricQueryGetServerRequest struct { }
NodesMetricQueryGetServerRequest is the request for the 'get' method.
type NodesMetricQueryGetServerResponse ¶
type NodesMetricQueryGetServerResponse struct {
// contains filtered or unexported fields
}
NodesMetricQueryGetServerResponse is the response for the 'get' method.
func (*NodesMetricQueryGetServerResponse) Body ¶
func (r *NodesMetricQueryGetServerResponse) Body(value *NodesInfo) *NodesMetricQueryGetServerResponse
Body sets the value of the 'body' parameter.
func (*NodesMetricQueryGetServerResponse) Status ¶
func (r *NodesMetricQueryGetServerResponse) Status(value int) *NodesMetricQueryGetServerResponse
Status sets the status code.
type NodesMetricQueryPollRequest ¶
type NodesMetricQueryPollRequest struct {
// contains filtered or unexported fields
}
NodesMetricQueryPollRequest is the request for the Poll method.
func (*NodesMetricQueryPollRequest) Header ¶
func (r *NodesMetricQueryPollRequest) Header(name string, value interface{}) *NodesMetricQueryPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*NodesMetricQueryPollRequest) Interval ¶
func (r *NodesMetricQueryPollRequest) Interval(value time.Duration) *NodesMetricQueryPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*NodesMetricQueryPollRequest) Parameter ¶
func (r *NodesMetricQueryPollRequest) Parameter(name string, value interface{}) *NodesMetricQueryPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*NodesMetricQueryPollRequest) Predicate ¶
func (r *NodesMetricQueryPollRequest) Predicate(value func(*NodesMetricQueryGetResponse) bool) *NodesMetricQueryPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*NodesMetricQueryPollRequest) StartContext ¶
func (r *NodesMetricQueryPollRequest) StartContext(ctx context.Context) (response *NodesMetricQueryPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*NodesMetricQueryPollRequest) Status ¶
func (r *NodesMetricQueryPollRequest) Status(value int) *NodesMetricQueryPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type NodesMetricQueryPollResponse ¶
type NodesMetricQueryPollResponse struct {
// contains filtered or unexported fields
}
NodesMetricQueryPollResponse is the response for the Poll method.
func (*NodesMetricQueryPollResponse) Body ¶
func (r *NodesMetricQueryPollResponse) Body() *NodesInfo
Body returns the value of the 'body' parameter.
func (*NodesMetricQueryPollResponse) Error ¶
func (r *NodesMetricQueryPollResponse) Error() *errors.Error
Error returns the response error.
func (*NodesMetricQueryPollResponse) GetBody ¶
func (r *NodesMetricQueryPollResponse) GetBody() (value *NodesInfo, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*NodesMetricQueryPollResponse) Header ¶
func (r *NodesMetricQueryPollResponse) Header() http.Header
Header returns header of the response.
func (*NodesMetricQueryPollResponse) Status ¶
func (r *NodesMetricQueryPollResponse) Status() int
Status returns the response status code.
type NodesMetricQueryServer ¶
type NodesMetricQueryServer interface { // Get handles a request for the 'get' method. // // Get(ctx context.Context, request *NodesMetricQueryGetServerRequest, response *NodesMetricQueryGetServerResponse) error }
NodesMetricQueryServer represents the interface the manages the 'nodes_metric_query' resource.
type OpenIDClaims ¶
type OpenIDClaims struct {
// contains filtered or unexported fields
}
OpenIDClaims represents the values of the 'open_ID_claims' type.
_OpenID_ identity provider claims.
func UnmarshalOpenIDClaims ¶
func UnmarshalOpenIDClaims(source interface{}) (object *OpenIDClaims, err error)
UnmarshalOpenIDClaims reads a value of the 'open_ID_claims' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalOpenIDClaimsList ¶
func UnmarshalOpenIDClaimsList(source interface{}) (items []*OpenIDClaims, err error)
UnmarshalOpenIDClaimsList reads a list of values of the 'open_ID_claims' type from the given source, which can be a slice of bytes, a string or a reader.
func (*OpenIDClaims) Email ¶
func (o *OpenIDClaims) Email() []string
Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.
List of claims to use as the mail address.
func (*OpenIDClaims) Empty ¶
func (o *OpenIDClaims) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*OpenIDClaims) GetEmail ¶
func (o *OpenIDClaims) GetEmail() (value []string, ok bool)
GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.
List of claims to use as the mail address.
func (*OpenIDClaims) GetName ¶
func (o *OpenIDClaims) GetName() (value []string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
List of claims to use as the display name.
func (*OpenIDClaims) GetPreferredUsername ¶
func (o *OpenIDClaims) GetPreferredUsername() (value []string, ok bool)
GetPreferredUsername returns the value of the 'preferred_username' attribute and a flag indicating if the attribute has a value.
List of claims to use as the preferred user name when provisioning a user.
func (*OpenIDClaims) Name ¶
func (o *OpenIDClaims) Name() []string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
List of claims to use as the display name.
func (*OpenIDClaims) PreferredUsername ¶
func (o *OpenIDClaims) PreferredUsername() []string
PreferredUsername returns the value of the 'preferred_username' attribute, or the zero value of the type if the attribute doesn't have a value.
List of claims to use as the preferred user name when provisioning a user.
type OpenIDClaimsBuilder ¶
type OpenIDClaimsBuilder struct {
// contains filtered or unexported fields
}
OpenIDClaimsBuilder contains the data and logic needed to build 'open_ID_claims' objects.
_OpenID_ identity provider claims.
func NewOpenIDClaims ¶
func NewOpenIDClaims() *OpenIDClaimsBuilder
NewOpenIDClaims creates a new builder of 'open_ID_claims' objects.
func (*OpenIDClaimsBuilder) Build ¶
func (b *OpenIDClaimsBuilder) Build() (object *OpenIDClaims, err error)
Build creates a 'open_ID_claims' object using the configuration stored in the builder.
func (*OpenIDClaimsBuilder) Copy ¶
func (b *OpenIDClaimsBuilder) Copy(object *OpenIDClaims) *OpenIDClaimsBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*OpenIDClaimsBuilder) Email ¶
func (b *OpenIDClaimsBuilder) Email(values ...string) *OpenIDClaimsBuilder
Email sets the value of the 'email' attribute to the given values.
func (*OpenIDClaimsBuilder) Name ¶
func (b *OpenIDClaimsBuilder) Name(values ...string) *OpenIDClaimsBuilder
Name sets the value of the 'name' attribute to the given values.
func (*OpenIDClaimsBuilder) PreferredUsername ¶
func (b *OpenIDClaimsBuilder) PreferredUsername(values ...string) *OpenIDClaimsBuilder
PreferredUsername sets the value of the 'preferred_username' attribute to the given values.
type OpenIDClaimsList ¶
type OpenIDClaimsList struct {
// contains filtered or unexported fields
}
OpenIDClaimsList is a list of values of the 'open_ID_claims' type.
func (*OpenIDClaimsList) Each ¶
func (l *OpenIDClaimsList) Each(f func(item *OpenIDClaims) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*OpenIDClaimsList) Empty ¶
func (l *OpenIDClaimsList) Empty() bool
Empty returns true if the list is empty.
func (*OpenIDClaimsList) Get ¶
func (l *OpenIDClaimsList) Get(i int) *OpenIDClaims
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*OpenIDClaimsList) Len ¶
func (l *OpenIDClaimsList) Len() int
Len returns the length of the list.
func (*OpenIDClaimsList) Range ¶
func (l *OpenIDClaimsList) Range(f func(index int, item *OpenIDClaims) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*OpenIDClaimsList) Slice ¶
func (l *OpenIDClaimsList) Slice() []*OpenIDClaims
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type OpenIDClaimsListBuilder ¶
type OpenIDClaimsListBuilder struct {
// contains filtered or unexported fields
}
OpenIDClaimsListBuilder contains the data and logic needed to build 'open_ID_claims' objects.
func NewOpenIDClaimsList ¶
func NewOpenIDClaimsList() *OpenIDClaimsListBuilder
NewOpenIDClaimsList creates a new builder of 'open_ID_claims' objects.
func (*OpenIDClaimsListBuilder) Build ¶
func (b *OpenIDClaimsListBuilder) Build() (list *OpenIDClaimsList, err error)
Build creates a list of 'open_ID_claims' objects using the configuration stored in the builder.
func (*OpenIDClaimsListBuilder) Copy ¶
func (b *OpenIDClaimsListBuilder) Copy(list *OpenIDClaimsList) *OpenIDClaimsListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*OpenIDClaimsListBuilder) Items ¶
func (b *OpenIDClaimsListBuilder) Items(values ...*OpenIDClaimsBuilder) *OpenIDClaimsListBuilder
Items sets the items of the list.
type OpenIDIdentityProvider ¶
type OpenIDIdentityProvider struct {
// contains filtered or unexported fields
}
OpenIDIdentityProvider represents the values of the 'open_ID_identity_provider' type.
Details for `openid` identity providers.
func UnmarshalOpenIDIdentityProvider ¶
func UnmarshalOpenIDIdentityProvider(source interface{}) (object *OpenIDIdentityProvider, err error)
UnmarshalOpenIDIdentityProvider reads a value of the 'open_ID_identity_provider' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalOpenIDIdentityProviderList ¶
func UnmarshalOpenIDIdentityProviderList(source interface{}) (items []*OpenIDIdentityProvider, err error)
UnmarshalOpenIDIdentityProviderList reads a list of values of the 'open_ID_identity_provider' type from the given source, which can be a slice of bytes, a string or a reader.
func (*OpenIDIdentityProvider) CA ¶
func (o *OpenIDIdentityProvider) CA() string
CA returns the value of the 'CA' attribute, or the zero value of the type if the attribute doesn't have a value.
Certificate bunde to use to validate server certificates for the configured URL.
func (*OpenIDIdentityProvider) Claims ¶
func (o *OpenIDIdentityProvider) Claims() *OpenIDClaims
Claims returns the value of the 'claims' attribute, or the zero value of the type if the attribute doesn't have a value.
Claims used to configure the provider.
func (*OpenIDIdentityProvider) ClientID ¶
func (o *OpenIDIdentityProvider) ClientID() string
ClientID returns the value of the 'client_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Identifier of a client registered with the _OpenID_ provider.
func (*OpenIDIdentityProvider) ClientSecret ¶
func (o *OpenIDIdentityProvider) ClientSecret() string
ClientSecret returns the value of the 'client_secret' attribute, or the zero value of the type if the attribute doesn't have a value.
Client secret.
func (*OpenIDIdentityProvider) Empty ¶
func (o *OpenIDIdentityProvider) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*OpenIDIdentityProvider) ExtraAuthorizeParameters ¶
func (o *OpenIDIdentityProvider) ExtraAuthorizeParameters() map[string]string
ExtraAuthorizeParameters returns the value of the 'extra_authorize_parameters' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional map of extra parameters to add to the authorization token request.
func (*OpenIDIdentityProvider) ExtraScopes ¶
func (o *OpenIDIdentityProvider) ExtraScopes() []string
ExtraScopes returns the value of the 'extra_scopes' attribute, or the zero value of the type if the attribute doesn't have a value.
Optional list of scopes to request, in addition to the `openid` scope, during the authorization token request.
func (*OpenIDIdentityProvider) GetCA ¶
func (o *OpenIDIdentityProvider) GetCA() (value string, ok bool)
GetCA returns the value of the 'CA' attribute and a flag indicating if the attribute has a value.
Certificate bunde to use to validate server certificates for the configured URL.
func (*OpenIDIdentityProvider) GetClaims ¶
func (o *OpenIDIdentityProvider) GetClaims() (value *OpenIDClaims, ok bool)
GetClaims returns the value of the 'claims' attribute and a flag indicating if the attribute has a value.
Claims used to configure the provider.
func (*OpenIDIdentityProvider) GetClientID ¶
func (o *OpenIDIdentityProvider) GetClientID() (value string, ok bool)
GetClientID returns the value of the 'client_ID' attribute and a flag indicating if the attribute has a value.
Identifier of a client registered with the _OpenID_ provider.
func (*OpenIDIdentityProvider) GetClientSecret ¶
func (o *OpenIDIdentityProvider) GetClientSecret() (value string, ok bool)
GetClientSecret returns the value of the 'client_secret' attribute and a flag indicating if the attribute has a value.
Client secret.
func (*OpenIDIdentityProvider) GetExtraAuthorizeParameters ¶
func (o *OpenIDIdentityProvider) GetExtraAuthorizeParameters() (value map[string]string, ok bool)
GetExtraAuthorizeParameters returns the value of the 'extra_authorize_parameters' attribute and a flag indicating if the attribute has a value.
Optional map of extra parameters to add to the authorization token request.
func (*OpenIDIdentityProvider) GetExtraScopes ¶
func (o *OpenIDIdentityProvider) GetExtraScopes() (value []string, ok bool)
GetExtraScopes returns the value of the 'extra_scopes' attribute and a flag indicating if the attribute has a value.
Optional list of scopes to request, in addition to the `openid` scope, during the authorization token request.
func (*OpenIDIdentityProvider) GetIssuer ¶
func (o *OpenIDIdentityProvider) GetIssuer() (value string, ok bool)
GetIssuer returns the value of the 'issuer' attribute and a flag indicating if the attribute has a value.
The URL that the OpenID Provider asserts as the Issuer Identifier
func (*OpenIDIdentityProvider) Issuer ¶
func (o *OpenIDIdentityProvider) Issuer() string
Issuer returns the value of the 'issuer' attribute, or the zero value of the type if the attribute doesn't have a value.
The URL that the OpenID Provider asserts as the Issuer Identifier
type OpenIDIdentityProviderBuilder ¶
type OpenIDIdentityProviderBuilder struct {
// contains filtered or unexported fields
}
OpenIDIdentityProviderBuilder contains the data and logic needed to build 'open_ID_identity_provider' objects.
Details for `openid` identity providers.
func NewOpenIDIdentityProvider ¶
func NewOpenIDIdentityProvider() *OpenIDIdentityProviderBuilder
NewOpenIDIdentityProvider creates a new builder of 'open_ID_identity_provider' objects.
func (*OpenIDIdentityProviderBuilder) Build ¶
func (b *OpenIDIdentityProviderBuilder) Build() (object *OpenIDIdentityProvider, err error)
Build creates a 'open_ID_identity_provider' object using the configuration stored in the builder.
func (*OpenIDIdentityProviderBuilder) CA ¶
func (b *OpenIDIdentityProviderBuilder) CA(value string) *OpenIDIdentityProviderBuilder
CA sets the value of the 'CA' attribute to the given value.
func (*OpenIDIdentityProviderBuilder) Claims ¶
func (b *OpenIDIdentityProviderBuilder) Claims(value *OpenIDClaimsBuilder) *OpenIDIdentityProviderBuilder
Claims sets the value of the 'claims' attribute to the given value.
_OpenID_ identity provider claims.
func (*OpenIDIdentityProviderBuilder) ClientID ¶
func (b *OpenIDIdentityProviderBuilder) ClientID(value string) *OpenIDIdentityProviderBuilder
ClientID sets the value of the 'client_ID' attribute to the given value.
func (*OpenIDIdentityProviderBuilder) ClientSecret ¶
func (b *OpenIDIdentityProviderBuilder) ClientSecret(value string) *OpenIDIdentityProviderBuilder
ClientSecret sets the value of the 'client_secret' attribute to the given value.
func (*OpenIDIdentityProviderBuilder) Copy ¶
func (b *OpenIDIdentityProviderBuilder) Copy(object *OpenIDIdentityProvider) *OpenIDIdentityProviderBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*OpenIDIdentityProviderBuilder) ExtraAuthorizeParameters ¶
func (b *OpenIDIdentityProviderBuilder) ExtraAuthorizeParameters(value map[string]string) *OpenIDIdentityProviderBuilder
ExtraAuthorizeParameters sets the value of the 'extra_authorize_parameters' attribute to the given value.
func (*OpenIDIdentityProviderBuilder) ExtraScopes ¶
func (b *OpenIDIdentityProviderBuilder) ExtraScopes(values ...string) *OpenIDIdentityProviderBuilder
ExtraScopes sets the value of the 'extra_scopes' attribute to the given values.
func (*OpenIDIdentityProviderBuilder) Issuer ¶
func (b *OpenIDIdentityProviderBuilder) Issuer(value string) *OpenIDIdentityProviderBuilder
Issuer sets the value of the 'issuer' attribute to the given value.
type OpenIDIdentityProviderList ¶
type OpenIDIdentityProviderList struct {
// contains filtered or unexported fields
}
OpenIDIdentityProviderList is a list of values of the 'open_ID_identity_provider' type.
func (*OpenIDIdentityProviderList) Each ¶
func (l *OpenIDIdentityProviderList) Each(f func(item *OpenIDIdentityProvider) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*OpenIDIdentityProviderList) Empty ¶
func (l *OpenIDIdentityProviderList) Empty() bool
Empty returns true if the list is empty.
func (*OpenIDIdentityProviderList) Get ¶
func (l *OpenIDIdentityProviderList) Get(i int) *OpenIDIdentityProvider
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*OpenIDIdentityProviderList) Len ¶
func (l *OpenIDIdentityProviderList) Len() int
Len returns the length of the list.
func (*OpenIDIdentityProviderList) Range ¶
func (l *OpenIDIdentityProviderList) Range(f func(index int, item *OpenIDIdentityProvider) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*OpenIDIdentityProviderList) Slice ¶
func (l *OpenIDIdentityProviderList) Slice() []*OpenIDIdentityProvider
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type OpenIDIdentityProviderListBuilder ¶
type OpenIDIdentityProviderListBuilder struct {
// contains filtered or unexported fields
}
OpenIDIdentityProviderListBuilder contains the data and logic needed to build 'open_ID_identity_provider' objects.
func NewOpenIDIdentityProviderList ¶
func NewOpenIDIdentityProviderList() *OpenIDIdentityProviderListBuilder
NewOpenIDIdentityProviderList creates a new builder of 'open_ID_identity_provider' objects.
func (*OpenIDIdentityProviderListBuilder) Build ¶
func (b *OpenIDIdentityProviderListBuilder) Build() (list *OpenIDIdentityProviderList, err error)
Build creates a list of 'open_ID_identity_provider' objects using the configuration stored in the builder.
func (*OpenIDIdentityProviderListBuilder) Copy ¶
func (b *OpenIDIdentityProviderListBuilder) Copy(list *OpenIDIdentityProviderList) *OpenIDIdentityProviderListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*OpenIDIdentityProviderListBuilder) Items ¶
func (b *OpenIDIdentityProviderListBuilder) Items(values ...*OpenIDIdentityProviderBuilder) *OpenIDIdentityProviderListBuilder
Items sets the items of the list.
type Product ¶
type Product struct {
// contains filtered or unexported fields
}
Product represents the values of the 'product' type.
Representation of an product that can be selected as a cluster type.
func UnmarshalProduct ¶
UnmarshalProduct reads a value of the 'product' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalProductList ¶
UnmarshalProductList reads a list of values of the 'product' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Product) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Product) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Product) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the product.
type ProductBuilder ¶
type ProductBuilder struct {
// contains filtered or unexported fields
}
ProductBuilder contains the data and logic needed to build 'product' objects.
Representation of an product that can be selected as a cluster type.
func NewProduct ¶
func NewProduct() *ProductBuilder
NewProduct creates a new builder of 'product' objects.
func (*ProductBuilder) Build ¶
func (b *ProductBuilder) Build() (object *Product, err error)
Build creates a 'product' object using the configuration stored in the builder.
func (*ProductBuilder) Copy ¶
func (b *ProductBuilder) Copy(object *Product) *ProductBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ProductBuilder) HREF ¶
func (b *ProductBuilder) HREF(value string) *ProductBuilder
HREF sets the link to the object.
func (*ProductBuilder) ID ¶
func (b *ProductBuilder) ID(value string) *ProductBuilder
ID sets the identifier of the object.
func (*ProductBuilder) Link ¶
func (b *ProductBuilder) Link(value bool) *ProductBuilder
Link sets the flag that indicates if this is a link.
func (*ProductBuilder) Name ¶
func (b *ProductBuilder) Name(value string) *ProductBuilder
Name sets the value of the 'name' attribute to the given value.
type ProductClient ¶
type ProductClient struct {
// contains filtered or unexported fields
}
ProductClient is the client of the 'product' resource.
Manages a specific product.
func NewProductClient ¶
func NewProductClient(transport http.RoundTripper, path string, metric string) *ProductClient
NewProductClient creates a new client for the 'product' resource using the given transport to send the requests and receive the responses.
func (*ProductClient) Get ¶
func (c *ProductClient) Get() *ProductGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the product.
func (*ProductClient) Poll ¶
func (c *ProductClient) Poll() *ProductPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type ProductGetRequest ¶
type ProductGetRequest struct {
// contains filtered or unexported fields
}
ProductGetRequest is the request for the 'get' method.
func (*ProductGetRequest) Header ¶
func (r *ProductGetRequest) Header(name string, value interface{}) *ProductGetRequest
Header adds a request header.
func (*ProductGetRequest) Parameter ¶
func (r *ProductGetRequest) Parameter(name string, value interface{}) *ProductGetRequest
Parameter adds a query parameter.
func (*ProductGetRequest) Send ¶
func (r *ProductGetRequest) Send() (result *ProductGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ProductGetRequest) SendContext ¶
func (r *ProductGetRequest) SendContext(ctx context.Context) (result *ProductGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ProductGetResponse ¶
type ProductGetResponse struct {
// contains filtered or unexported fields
}
ProductGetResponse is the response for the 'get' method.
func (*ProductGetResponse) Body ¶
func (r *ProductGetResponse) Body() *Product
Body returns the value of the 'body' parameter.
func (*ProductGetResponse) Error ¶
func (r *ProductGetResponse) Error() *errors.Error
Error returns the response error.
func (*ProductGetResponse) GetBody ¶
func (r *ProductGetResponse) GetBody() (value *Product, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ProductGetResponse) Header ¶
func (r *ProductGetResponse) Header() http.Header
Header returns header of the response.
func (*ProductGetResponse) Status ¶
func (r *ProductGetResponse) Status() int
Status returns the response status code.
type ProductGetServerRequest ¶
type ProductGetServerRequest struct { }
ProductGetServerRequest is the request for the 'get' method.
type ProductGetServerResponse ¶
type ProductGetServerResponse struct {
// contains filtered or unexported fields
}
ProductGetServerResponse is the response for the 'get' method.
func (*ProductGetServerResponse) Body ¶
func (r *ProductGetServerResponse) Body(value *Product) *ProductGetServerResponse
Body sets the value of the 'body' parameter.
func (*ProductGetServerResponse) Status ¶
func (r *ProductGetServerResponse) Status(value int) *ProductGetServerResponse
Status sets the status code.
type ProductList ¶
type ProductList struct {
// contains filtered or unexported fields
}
ProductList is a list of values of the 'product' type.
func (*ProductList) Each ¶
func (l *ProductList) Each(f func(item *Product) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ProductList) Empty ¶
func (l *ProductList) Empty() bool
Empty returns true if the list is empty.
func (*ProductList) Get ¶
func (l *ProductList) Get(i int) *Product
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ProductList) GetHREF ¶
func (l *ProductList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ProductList) Kind ¶
func (l *ProductList) Kind() string
Kind returns the name of the type of the object.
func (*ProductList) Range ¶
func (l *ProductList) Range(f func(index int, item *Product) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ProductList) Slice ¶
func (l *ProductList) Slice() []*Product
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ProductListBuilder ¶
type ProductListBuilder struct {
// contains filtered or unexported fields
}
ProductListBuilder contains the data and logic needed to build 'product' objects.
func NewProductList ¶
func NewProductList() *ProductListBuilder
NewProductList creates a new builder of 'product' objects.
func (*ProductListBuilder) Build ¶
func (b *ProductListBuilder) Build() (list *ProductList, err error)
Build creates a list of 'product' objects using the configuration stored in the builder.
func (*ProductListBuilder) Copy ¶
func (b *ProductListBuilder) Copy(list *ProductList) *ProductListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ProductListBuilder) Items ¶
func (b *ProductListBuilder) Items(values ...*ProductBuilder) *ProductListBuilder
Items sets the items of the list.
type ProductPollRequest ¶
type ProductPollRequest struct {
// contains filtered or unexported fields
}
ProductPollRequest is the request for the Poll method.
func (*ProductPollRequest) Header ¶
func (r *ProductPollRequest) Header(name string, value interface{}) *ProductPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ProductPollRequest) Interval ¶
func (r *ProductPollRequest) Interval(value time.Duration) *ProductPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ProductPollRequest) Parameter ¶
func (r *ProductPollRequest) Parameter(name string, value interface{}) *ProductPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ProductPollRequest) Predicate ¶
func (r *ProductPollRequest) Predicate(value func(*ProductGetResponse) bool) *ProductPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ProductPollRequest) StartContext ¶
func (r *ProductPollRequest) StartContext(ctx context.Context) (response *ProductPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ProductPollRequest) Status ¶
func (r *ProductPollRequest) Status(value int) *ProductPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ProductPollResponse ¶
type ProductPollResponse struct {
// contains filtered or unexported fields
}
ProductPollResponse is the response for the Poll method.
func (*ProductPollResponse) Body ¶
func (r *ProductPollResponse) Body() *Product
Body returns the value of the 'body' parameter.
func (*ProductPollResponse) Error ¶
func (r *ProductPollResponse) Error() *errors.Error
Error returns the response error.
func (*ProductPollResponse) GetBody ¶
func (r *ProductPollResponse) GetBody() (value *Product, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ProductPollResponse) Header ¶
func (r *ProductPollResponse) Header() http.Header
Header returns header of the response.
func (*ProductPollResponse) Status ¶
func (r *ProductPollResponse) Status() int
Status returns the response status code.
type ProductServer ¶
type ProductServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the product. Get(ctx context.Context, request *ProductGetServerRequest, response *ProductGetServerResponse) error }
ProductServer represents the interface the manages the 'product' resource.
type ProductsClient ¶
type ProductsClient struct {
// contains filtered or unexported fields
}
ProductsClient is the client of the 'products' resource.
Manages the collection of products.
func NewProductsClient ¶
func NewProductsClient(transport http.RoundTripper, path string, metric string) *ProductsClient
NewProductsClient creates a new client for the 'products' resource using the given transport to send the requests and receive the responses.
func (*ProductsClient) List ¶
func (c *ProductsClient) List() *ProductsListRequest
List creates a request for the 'list' method.
Retrieves the list of products.
func (*ProductsClient) Product ¶
func (c *ProductsClient) Product(id string) *ProductClient
Product returns the target 'product' resource for the given identifier.
Returns a reference to the service that manages a specific product.
type ProductsListRequest ¶
type ProductsListRequest struct {
// contains filtered or unexported fields
}
ProductsListRequest is the request for the 'list' method.
func (*ProductsListRequest) Header ¶
func (r *ProductsListRequest) Header(name string, value interface{}) *ProductsListRequest
Header adds a request header.
func (*ProductsListRequest) Order ¶
func (r *ProductsListRequest) Order(value string) *ProductsListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to sort the products descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*ProductsListRequest) Page ¶
func (r *ProductsListRequest) Page(value int) *ProductsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ProductsListRequest) Parameter ¶
func (r *ProductsListRequest) Parameter(name string, value interface{}) *ProductsListRequest
Parameter adds a query parameter.
func (*ProductsListRequest) Search ¶
func (r *ProductsListRequest) Search(value string) *ProductsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to retrieve all the products with a name starting with `my` the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the products that the user has permission to see will be returned.
func (*ProductsListRequest) Send ¶
func (r *ProductsListRequest) Send() (result *ProductsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ProductsListRequest) SendContext ¶
func (r *ProductsListRequest) SendContext(ctx context.Context) (result *ProductsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ProductsListRequest) Size ¶
func (r *ProductsListRequest) Size(value int) *ProductsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ProductsListResponse ¶
type ProductsListResponse struct {
// contains filtered or unexported fields
}
ProductsListResponse is the response for the 'list' method.
func (*ProductsListResponse) Error ¶
func (r *ProductsListResponse) Error() *errors.Error
Error returns the response error.
func (*ProductsListResponse) GetItems ¶
func (r *ProductsListResponse) GetItems() (value *ProductList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of products.
func (*ProductsListResponse) GetPage ¶
func (r *ProductsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*ProductsListResponse) GetSize ¶
func (r *ProductsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*ProductsListResponse) GetTotal ¶
func (r *ProductsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*ProductsListResponse) Header ¶
func (r *ProductsListResponse) Header() http.Header
Header returns header of the response.
func (*ProductsListResponse) Items ¶
func (r *ProductsListResponse) Items() *ProductList
Items returns the value of the 'items' parameter.
Retrieved list of products.
func (*ProductsListResponse) Page ¶
func (r *ProductsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ProductsListResponse) Size ¶
func (r *ProductsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ProductsListResponse) Status ¶
func (r *ProductsListResponse) Status() int
Status returns the response status code.
func (*ProductsListResponse) Total ¶
func (r *ProductsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type ProductsListServerRequest ¶
type ProductsListServerRequest struct {
// contains filtered or unexported fields
}
ProductsListServerRequest is the request for the 'list' method.
func (*ProductsListServerRequest) GetOrder ¶
func (r *ProductsListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to sort the products descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*ProductsListServerRequest) GetPage ¶
func (r *ProductsListServerRequest) 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 (*ProductsListServerRequest) GetSearch ¶
func (r *ProductsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to retrieve all the products with a name starting with `my` the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the products that the user has permission to see will be returned.
func (*ProductsListServerRequest) GetSize ¶
func (r *ProductsListServerRequest) 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 (*ProductsListServerRequest) Order ¶
func (r *ProductsListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to sort the products descending by name the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*ProductsListServerRequest) Page ¶
func (r *ProductsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ProductsListServerRequest) Search ¶
func (r *ProductsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the product instead of the names of the columns of a table. For example, in order to retrieve all the products with a name starting with `my` the value should be:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the products that the user has permission to see will be returned.
func (*ProductsListServerRequest) Size ¶
func (r *ProductsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ProductsListServerResponse ¶
type ProductsListServerResponse struct {
// contains filtered or unexported fields
}
ProductsListServerResponse is the response for the 'list' method.
func (*ProductsListServerResponse) Items ¶
func (r *ProductsListServerResponse) Items(value *ProductList) *ProductsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of products.
func (*ProductsListServerResponse) Page ¶
func (r *ProductsListServerResponse) Page(value int) *ProductsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ProductsListServerResponse) Size ¶
func (r *ProductsListServerResponse) Size(value int) *ProductsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ProductsListServerResponse) Status ¶
func (r *ProductsListServerResponse) Status(value int) *ProductsListServerResponse
Status sets the status code.
func (*ProductsListServerResponse) Total ¶
func (r *ProductsListServerResponse) Total(value int) *ProductsListServerResponse
Total sets 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 ProductsServer ¶
type ProductsServer interface { // List handles a request for the 'list' method. // // Retrieves the list of products. List(ctx context.Context, request *ProductsListServerRequest, response *ProductsListServerResponse) error // Product returns the target 'product' server for the given identifier. // // Returns a reference to the service that manages a specific product. Product(id string) ProductServer }
ProductsServer represents the interface the manages the 'products' resource.
type ProvisionShard ¶
type ProvisionShard struct {
// contains filtered or unexported fields
}
ProvisionShard represents the values of the 'provision_shard' type.
Contains the properties of the provision shard, including AWS and GCP related configurations
func UnmarshalProvisionShard ¶
func UnmarshalProvisionShard(source interface{}) (object *ProvisionShard, err error)
UnmarshalProvisionShard reads a value of the 'provision_shard' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalProvisionShardList ¶
func UnmarshalProvisionShardList(source interface{}) (items []*ProvisionShard, err error)
UnmarshalProvisionShardList reads a list of values of the 'provision_shard' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ProvisionShard) AWSAccountOperatorConfig ¶
func (o *ProvisionShard) AWSAccountOperatorConfig() *ServerConfig
AWSAccountOperatorConfig returns the value of the 'AWS_account_operator_config' attribute, or the zero value of the type if the attribute doesn't have a value.
Contains the configuration for the AWS account operator
func (*ProvisionShard) AWSBaseDomain ¶
func (o *ProvisionShard) AWSBaseDomain() string
AWSBaseDomain returns the value of the 'AWS_base_domain' attribute, or the zero value of the type if the attribute doesn't have a value.
Contains the AWS base domain
func (*ProvisionShard) Empty ¶
func (o *ProvisionShard) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ProvisionShard) GCPBaseDomain ¶
func (o *ProvisionShard) GCPBaseDomain() string
GCPBaseDomain returns the value of the 'GCP_base_domain' attribute, or the zero value of the type if the attribute doesn't have a value.
Contains the GCP base domain
func (*ProvisionShard) GCPProjectOperator ¶
func (o *ProvisionShard) GCPProjectOperator() *ServerConfig
GCPProjectOperator returns the value of the 'GCP_project_operator' attribute, or the zero value of the type if the attribute doesn't have a value.
Contains the configuration for the GCP project operator
func (*ProvisionShard) GetAWSAccountOperatorConfig ¶
func (o *ProvisionShard) GetAWSAccountOperatorConfig() (value *ServerConfig, ok bool)
GetAWSAccountOperatorConfig returns the value of the 'AWS_account_operator_config' attribute and a flag indicating if the attribute has a value.
Contains the configuration for the AWS account operator
func (*ProvisionShard) GetAWSBaseDomain ¶
func (o *ProvisionShard) GetAWSBaseDomain() (value string, ok bool)
GetAWSBaseDomain returns the value of the 'AWS_base_domain' attribute and a flag indicating if the attribute has a value.
Contains the AWS base domain
func (*ProvisionShard) GetGCPBaseDomain ¶
func (o *ProvisionShard) GetGCPBaseDomain() (value string, ok bool)
GetGCPBaseDomain returns the value of the 'GCP_base_domain' attribute and a flag indicating if the attribute has a value.
Contains the GCP base domain
func (*ProvisionShard) GetGCPProjectOperator ¶
func (o *ProvisionShard) GetGCPProjectOperator() (value *ServerConfig, ok bool)
GetGCPProjectOperator returns the value of the 'GCP_project_operator' attribute and a flag indicating if the attribute has a value.
Contains the configuration for the GCP project operator
func (*ProvisionShard) GetHREF ¶
func (o *ProvisionShard) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ProvisionShard) GetHiveConfig ¶
func (o *ProvisionShard) GetHiveConfig() (value *ServerConfig, ok bool)
GetHiveConfig returns the value of the 'hive_config' attribute and a flag indicating if the attribute has a value.
Contains the configuration for Hive
func (*ProvisionShard) GetID ¶
func (o *ProvisionShard) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ProvisionShard) HREF ¶
func (o *ProvisionShard) HREF() string
HREF returns the link to the object.
func (*ProvisionShard) HiveConfig ¶
func (o *ProvisionShard) HiveConfig() *ServerConfig
HiveConfig returns the value of the 'hive_config' attribute, or the zero value of the type if the attribute doesn't have a value.
Contains the configuration for Hive
func (*ProvisionShard) ID ¶
func (o *ProvisionShard) ID() string
ID returns the identifier of the object.
func (*ProvisionShard) Kind ¶
func (o *ProvisionShard) Kind() string
Kind returns the name of the type of the object.
func (*ProvisionShard) Link ¶
func (o *ProvisionShard) Link() bool
Link returns true iif this is a link.
type ProvisionShardBuilder ¶
type ProvisionShardBuilder struct {
// contains filtered or unexported fields
}
ProvisionShardBuilder contains the data and logic needed to build 'provision_shard' objects.
Contains the properties of the provision shard, including AWS and GCP related configurations
func NewProvisionShard ¶
func NewProvisionShard() *ProvisionShardBuilder
NewProvisionShard creates a new builder of 'provision_shard' objects.
func (*ProvisionShardBuilder) AWSAccountOperatorConfig ¶
func (b *ProvisionShardBuilder) AWSAccountOperatorConfig(value *ServerConfigBuilder) *ProvisionShardBuilder
AWSAccountOperatorConfig sets the value of the 'AWS_account_operator_config' attribute to the given value.
Representation of a server config
func (*ProvisionShardBuilder) AWSBaseDomain ¶
func (b *ProvisionShardBuilder) AWSBaseDomain(value string) *ProvisionShardBuilder
AWSBaseDomain sets the value of the 'AWS_base_domain' attribute to the given value.
func (*ProvisionShardBuilder) Build ¶
func (b *ProvisionShardBuilder) Build() (object *ProvisionShard, err error)
Build creates a 'provision_shard' object using the configuration stored in the builder.
func (*ProvisionShardBuilder) Copy ¶
func (b *ProvisionShardBuilder) Copy(object *ProvisionShard) *ProvisionShardBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ProvisionShardBuilder) GCPBaseDomain ¶
func (b *ProvisionShardBuilder) GCPBaseDomain(value string) *ProvisionShardBuilder
GCPBaseDomain sets the value of the 'GCP_base_domain' attribute to the given value.
func (*ProvisionShardBuilder) GCPProjectOperator ¶
func (b *ProvisionShardBuilder) GCPProjectOperator(value *ServerConfigBuilder) *ProvisionShardBuilder
GCPProjectOperator sets the value of the 'GCP_project_operator' attribute to the given value.
Representation of a server config
func (*ProvisionShardBuilder) HREF ¶
func (b *ProvisionShardBuilder) HREF(value string) *ProvisionShardBuilder
HREF sets the link to the object.
func (*ProvisionShardBuilder) HiveConfig ¶
func (b *ProvisionShardBuilder) HiveConfig(value *ServerConfigBuilder) *ProvisionShardBuilder
HiveConfig sets the value of the 'hive_config' attribute to the given value.
Representation of a server config
func (*ProvisionShardBuilder) ID ¶
func (b *ProvisionShardBuilder) ID(value string) *ProvisionShardBuilder
ID sets the identifier of the object.
func (*ProvisionShardBuilder) Link ¶
func (b *ProvisionShardBuilder) Link(value bool) *ProvisionShardBuilder
Link sets the flag that indicates if this is a link.
type ProvisionShardClient ¶
type ProvisionShardClient struct {
// contains filtered or unexported fields
}
ProvisionShardClient is the client of the 'provision_shard' resource.
Manages provision shard.
func NewProvisionShardClient ¶
func NewProvisionShardClient(transport http.RoundTripper, path string, metric string) *ProvisionShardClient
NewProvisionShardClient creates a new client for the 'provision_shard' resource using the given transport to send the requests and receive the responses.
func (*ProvisionShardClient) Get ¶
func (c *ProvisionShardClient) Get() *ProvisionShardGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the provision shard.
func (*ProvisionShardClient) Poll ¶
func (c *ProvisionShardClient) Poll() *ProvisionShardPollRequest
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 ProvisionShardGetRequest ¶
type ProvisionShardGetRequest struct {
// contains filtered or unexported fields
}
ProvisionShardGetRequest is the request for the 'get' method.
func (*ProvisionShardGetRequest) Header ¶
func (r *ProvisionShardGetRequest) Header(name string, value interface{}) *ProvisionShardGetRequest
Header adds a request header.
func (*ProvisionShardGetRequest) Parameter ¶
func (r *ProvisionShardGetRequest) Parameter(name string, value interface{}) *ProvisionShardGetRequest
Parameter adds a query parameter.
func (*ProvisionShardGetRequest) Send ¶
func (r *ProvisionShardGetRequest) Send() (result *ProvisionShardGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ProvisionShardGetRequest) SendContext ¶
func (r *ProvisionShardGetRequest) SendContext(ctx context.Context) (result *ProvisionShardGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ProvisionShardGetResponse ¶
type ProvisionShardGetResponse struct {
// contains filtered or unexported fields
}
ProvisionShardGetResponse is the response for the 'get' method.
func (*ProvisionShardGetResponse) Body ¶
func (r *ProvisionShardGetResponse) Body() *ProvisionShard
Body returns the value of the 'body' parameter.
func (*ProvisionShardGetResponse) Error ¶
func (r *ProvisionShardGetResponse) Error() *errors.Error
Error returns the response error.
func (*ProvisionShardGetResponse) GetBody ¶
func (r *ProvisionShardGetResponse) GetBody() (value *ProvisionShard, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ProvisionShardGetResponse) Header ¶
func (r *ProvisionShardGetResponse) Header() http.Header
Header returns header of the response.
func (*ProvisionShardGetResponse) Status ¶
func (r *ProvisionShardGetResponse) Status() int
Status returns the response status code.
type ProvisionShardGetServerRequest ¶
type ProvisionShardGetServerRequest struct { }
ProvisionShardGetServerRequest is the request for the 'get' method.
type ProvisionShardGetServerResponse ¶
type ProvisionShardGetServerResponse struct {
// contains filtered or unexported fields
}
ProvisionShardGetServerResponse is the response for the 'get' method.
func (*ProvisionShardGetServerResponse) Body ¶
func (r *ProvisionShardGetServerResponse) Body(value *ProvisionShard) *ProvisionShardGetServerResponse
Body sets the value of the 'body' parameter.
func (*ProvisionShardGetServerResponse) Status ¶
func (r *ProvisionShardGetServerResponse) Status(value int) *ProvisionShardGetServerResponse
Status sets the status code.
type ProvisionShardList ¶
type ProvisionShardList struct {
// contains filtered or unexported fields
}
ProvisionShardList is a list of values of the 'provision_shard' type.
func (*ProvisionShardList) Each ¶
func (l *ProvisionShardList) Each(f func(item *ProvisionShard) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ProvisionShardList) Empty ¶
func (l *ProvisionShardList) Empty() bool
Empty returns true if the list is empty.
func (*ProvisionShardList) Get ¶
func (l *ProvisionShardList) Get(i int) *ProvisionShard
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ProvisionShardList) GetHREF ¶
func (l *ProvisionShardList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ProvisionShardList) HREF ¶
func (l *ProvisionShardList) HREF() string
HREF returns the link to the list.
func (*ProvisionShardList) Kind ¶
func (l *ProvisionShardList) Kind() string
Kind returns the name of the type of the object.
func (*ProvisionShardList) Len ¶
func (l *ProvisionShardList) Len() int
Len returns the length of the list.
func (*ProvisionShardList) Link ¶
func (l *ProvisionShardList) Link() bool
Link returns true iif this is a link.
func (*ProvisionShardList) Range ¶
func (l *ProvisionShardList) Range(f func(index int, item *ProvisionShard) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ProvisionShardList) Slice ¶
func (l *ProvisionShardList) Slice() []*ProvisionShard
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ProvisionShardListBuilder ¶
type ProvisionShardListBuilder struct {
// contains filtered or unexported fields
}
ProvisionShardListBuilder contains the data and logic needed to build 'provision_shard' objects.
func NewProvisionShardList ¶
func NewProvisionShardList() *ProvisionShardListBuilder
NewProvisionShardList creates a new builder of 'provision_shard' objects.
func (*ProvisionShardListBuilder) Build ¶
func (b *ProvisionShardListBuilder) Build() (list *ProvisionShardList, err error)
Build creates a list of 'provision_shard' objects using the configuration stored in the builder.
func (*ProvisionShardListBuilder) Copy ¶
func (b *ProvisionShardListBuilder) Copy(list *ProvisionShardList) *ProvisionShardListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ProvisionShardListBuilder) Items ¶
func (b *ProvisionShardListBuilder) Items(values ...*ProvisionShardBuilder) *ProvisionShardListBuilder
Items sets the items of the list.
type ProvisionShardPollRequest ¶
type ProvisionShardPollRequest struct {
// contains filtered or unexported fields
}
ProvisionShardPollRequest is the request for the Poll method.
func (*ProvisionShardPollRequest) Header ¶
func (r *ProvisionShardPollRequest) Header(name string, value interface{}) *ProvisionShardPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ProvisionShardPollRequest) Interval ¶
func (r *ProvisionShardPollRequest) Interval(value time.Duration) *ProvisionShardPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ProvisionShardPollRequest) Parameter ¶
func (r *ProvisionShardPollRequest) Parameter(name string, value interface{}) *ProvisionShardPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ProvisionShardPollRequest) Predicate ¶
func (r *ProvisionShardPollRequest) Predicate(value func(*ProvisionShardGetResponse) bool) *ProvisionShardPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ProvisionShardPollRequest) StartContext ¶
func (r *ProvisionShardPollRequest) StartContext(ctx context.Context) (response *ProvisionShardPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ProvisionShardPollRequest) Status ¶
func (r *ProvisionShardPollRequest) Status(value int) *ProvisionShardPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ProvisionShardPollResponse ¶
type ProvisionShardPollResponse struct {
// contains filtered or unexported fields
}
ProvisionShardPollResponse is the response for the Poll method.
func (*ProvisionShardPollResponse) Body ¶
func (r *ProvisionShardPollResponse) Body() *ProvisionShard
Body returns the value of the 'body' parameter.
func (*ProvisionShardPollResponse) Error ¶
func (r *ProvisionShardPollResponse) Error() *errors.Error
Error returns the response error.
func (*ProvisionShardPollResponse) GetBody ¶
func (r *ProvisionShardPollResponse) GetBody() (value *ProvisionShard, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ProvisionShardPollResponse) Header ¶
func (r *ProvisionShardPollResponse) Header() http.Header
Header returns header of the response.
func (*ProvisionShardPollResponse) Status ¶
func (r *ProvisionShardPollResponse) Status() int
Status returns the response status code.
type ProvisionShardServer ¶
type ProvisionShardServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the provision shard. Get(ctx context.Context, request *ProvisionShardGetServerRequest, response *ProvisionShardGetServerResponse) error }
ProvisionShardServer represents the interface the manages the 'provision_shard' resource.
type ProvisionShardsClient ¶
type ProvisionShardsClient struct {
// contains filtered or unexported fields
}
ProvisionShardsClient is the client of the 'provision_shards' resource.
Manages the collection of provision shards.
func NewProvisionShardsClient ¶
func NewProvisionShardsClient(transport http.RoundTripper, path string, metric string) *ProvisionShardsClient
NewProvisionShardsClient creates a new client for the 'provision_shards' resource using the given transport to send the requests and receive the responses.
func (*ProvisionShardsClient) List ¶
func (c *ProvisionShardsClient) List() *ProvisionShardsListRequest
List creates a request for the 'list' method.
func (*ProvisionShardsClient) ProvisionShard ¶
func (c *ProvisionShardsClient) ProvisionShard(id string) *ProvisionShardClient
ProvisionShard returns the target 'provision_shard' resource for the given identifier.
Reference to the resource that manages a specific provision shard.
type ProvisionShardsListRequest ¶
type ProvisionShardsListRequest struct {
// contains filtered or unexported fields
}
ProvisionShardsListRequest is the request for the 'list' method.
func (*ProvisionShardsListRequest) Header ¶
func (r *ProvisionShardsListRequest) Header(name string, value interface{}) *ProvisionShardsListRequest
Header adds a request header.
func (*ProvisionShardsListRequest) Page ¶
func (r *ProvisionShardsListRequest) Page(value int) *ProvisionShardsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ProvisionShardsListRequest) Parameter ¶
func (r *ProvisionShardsListRequest) Parameter(name string, value interface{}) *ProvisionShardsListRequest
Parameter adds a query parameter.
func (*ProvisionShardsListRequest) Send ¶
func (r *ProvisionShardsListRequest) Send() (result *ProvisionShardsListResponse, 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 (*ProvisionShardsListRequest) SendContext ¶
func (r *ProvisionShardsListRequest) SendContext(ctx context.Context) (result *ProvisionShardsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ProvisionShardsListRequest) Size ¶
func (r *ProvisionShardsListRequest) Size(value int) *ProvisionShardsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ProvisionShardsListResponse ¶
type ProvisionShardsListResponse struct {
// contains filtered or unexported fields
}
ProvisionShardsListResponse is the response for the 'list' method.
func (*ProvisionShardsListResponse) Error ¶
func (r *ProvisionShardsListResponse) Error() *errors.Error
Error returns the response error.
func (*ProvisionShardsListResponse) GetItems ¶
func (r *ProvisionShardsListResponse) GetItems() (value *ProvisionShardList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved a list of provision shards.
func (*ProvisionShardsListResponse) GetPage ¶
func (r *ProvisionShardsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*ProvisionShardsListResponse) GetSize ¶
func (r *ProvisionShardsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*ProvisionShardsListResponse) GetTotal ¶
func (r *ProvisionShardsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection.
func (*ProvisionShardsListResponse) Header ¶
func (r *ProvisionShardsListResponse) Header() http.Header
Header returns header of the response.
func (*ProvisionShardsListResponse) Items ¶
func (r *ProvisionShardsListResponse) Items() *ProvisionShardList
Items returns the value of the 'items' parameter.
Retrieved a list of provision shards.
func (*ProvisionShardsListResponse) Page ¶
func (r *ProvisionShardsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ProvisionShardsListResponse) Size ¶
func (r *ProvisionShardsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ProvisionShardsListResponse) Status ¶
func (r *ProvisionShardsListResponse) Status() int
Status returns the response status code.
func (*ProvisionShardsListResponse) Total ¶
func (r *ProvisionShardsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection.
type ProvisionShardsListServerRequest ¶
type ProvisionShardsListServerRequest struct {
// contains filtered or unexported fields
}
ProvisionShardsListServerRequest is the request for the 'list' method.
func (*ProvisionShardsListServerRequest) GetPage ¶
func (r *ProvisionShardsListServerRequest) 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 (*ProvisionShardsListServerRequest) GetSize ¶
func (r *ProvisionShardsListServerRequest) 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 (*ProvisionShardsListServerRequest) Page ¶
func (r *ProvisionShardsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ProvisionShardsListServerRequest) Size ¶
func (r *ProvisionShardsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ProvisionShardsListServerResponse ¶
type ProvisionShardsListServerResponse struct {
// contains filtered or unexported fields
}
ProvisionShardsListServerResponse is the response for the 'list' method.
func (*ProvisionShardsListServerResponse) Items ¶
func (r *ProvisionShardsListServerResponse) Items(value *ProvisionShardList) *ProvisionShardsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved a list of provision shards.
func (*ProvisionShardsListServerResponse) Page ¶
func (r *ProvisionShardsListServerResponse) Page(value int) *ProvisionShardsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ProvisionShardsListServerResponse) Size ¶
func (r *ProvisionShardsListServerResponse) Size(value int) *ProvisionShardsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ProvisionShardsListServerResponse) Status ¶
func (r *ProvisionShardsListServerResponse) Status(value int) *ProvisionShardsListServerResponse
Status sets the status code.
func (*ProvisionShardsListServerResponse) Total ¶
func (r *ProvisionShardsListServerResponse) Total(value int) *ProvisionShardsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection.
type ProvisionShardsServer ¶
type ProvisionShardsServer interface { // List handles a request for the 'list' method. // // List(ctx context.Context, request *ProvisionShardsListServerRequest, response *ProvisionShardsListServerResponse) error // ProvisionShard returns the target 'provision_shard' server for the given identifier. // // Reference to the resource that manages a specific provision shard. ProvisionShard(id string) ProvisionShardServer }
ProvisionShardsServer represents the interface the manages the 'provision_shards' resource.
type SSHCredentials ¶
type SSHCredentials struct {
// contains filtered or unexported fields
}
SSHCredentials represents the values of the 'SSH_credentials' type.
SSH key pair of a cluster.
func UnmarshalSSHCredentials ¶
func UnmarshalSSHCredentials(source interface{}) (object *SSHCredentials, err error)
UnmarshalSSHCredentials reads a value of the 'SSH_credentials' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSSHCredentialsList ¶
func UnmarshalSSHCredentialsList(source interface{}) (items []*SSHCredentials, err error)
UnmarshalSSHCredentialsList reads a list of values of the 'SSH_credentials' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SSHCredentials) Empty ¶
func (o *SSHCredentials) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SSHCredentials) GetPrivateKey ¶
func (o *SSHCredentials) GetPrivateKey() (value string, ok bool)
GetPrivateKey returns the value of the 'private_key' attribute and a flag indicating if the attribute has a value.
SSH private key of the cluster.
func (*SSHCredentials) GetPublicKey ¶
func (o *SSHCredentials) GetPublicKey() (value string, ok bool)
GetPublicKey returns the value of the 'public_key' attribute and a flag indicating if the attribute has a value.
SSH public key of the cluster.
func (*SSHCredentials) PrivateKey ¶
func (o *SSHCredentials) PrivateKey() string
PrivateKey returns the value of the 'private_key' attribute, or the zero value of the type if the attribute doesn't have a value.
SSH private key of the cluster.
func (*SSHCredentials) PublicKey ¶
func (o *SSHCredentials) PublicKey() string
PublicKey returns the value of the 'public_key' attribute, or the zero value of the type if the attribute doesn't have a value.
SSH public key of the cluster.
type SSHCredentialsBuilder ¶
type SSHCredentialsBuilder struct {
// contains filtered or unexported fields
}
SSHCredentialsBuilder contains the data and logic needed to build 'SSH_credentials' objects.
SSH key pair of a cluster.
func NewSSHCredentials ¶
func NewSSHCredentials() *SSHCredentialsBuilder
NewSSHCredentials creates a new builder of 'SSH_credentials' objects.
func (*SSHCredentialsBuilder) Build ¶
func (b *SSHCredentialsBuilder) Build() (object *SSHCredentials, err error)
Build creates a 'SSH_credentials' object using the configuration stored in the builder.
func (*SSHCredentialsBuilder) Copy ¶
func (b *SSHCredentialsBuilder) Copy(object *SSHCredentials) *SSHCredentialsBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SSHCredentialsBuilder) PrivateKey ¶
func (b *SSHCredentialsBuilder) PrivateKey(value string) *SSHCredentialsBuilder
PrivateKey sets the value of the 'private_key' attribute to the given value.
func (*SSHCredentialsBuilder) PublicKey ¶
func (b *SSHCredentialsBuilder) PublicKey(value string) *SSHCredentialsBuilder
PublicKey sets the value of the 'public_key' attribute to the given value.
type SSHCredentialsList ¶
type SSHCredentialsList struct {
// contains filtered or unexported fields
}
SSHCredentialsList is a list of values of the 'SSH_credentials' type.
func (*SSHCredentialsList) Each ¶
func (l *SSHCredentialsList) Each(f func(item *SSHCredentials) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SSHCredentialsList) Empty ¶
func (l *SSHCredentialsList) Empty() bool
Empty returns true if the list is empty.
func (*SSHCredentialsList) Get ¶
func (l *SSHCredentialsList) Get(i int) *SSHCredentials
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SSHCredentialsList) Len ¶
func (l *SSHCredentialsList) Len() int
Len returns the length of the list.
func (*SSHCredentialsList) Range ¶
func (l *SSHCredentialsList) Range(f func(index int, item *SSHCredentials) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SSHCredentialsList) Slice ¶
func (l *SSHCredentialsList) Slice() []*SSHCredentials
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SSHCredentialsListBuilder ¶
type SSHCredentialsListBuilder struct {
// contains filtered or unexported fields
}
SSHCredentialsListBuilder contains the data and logic needed to build 'SSH_credentials' objects.
func NewSSHCredentialsList ¶
func NewSSHCredentialsList() *SSHCredentialsListBuilder
NewSSHCredentialsList creates a new builder of 'SSH_credentials' objects.
func (*SSHCredentialsListBuilder) Build ¶
func (b *SSHCredentialsListBuilder) Build() (list *SSHCredentialsList, err error)
Build creates a list of 'SSH_credentials' objects using the configuration stored in the builder.
func (*SSHCredentialsListBuilder) Copy ¶
func (b *SSHCredentialsListBuilder) Copy(list *SSHCredentialsList) *SSHCredentialsListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SSHCredentialsListBuilder) Items ¶
func (b *SSHCredentialsListBuilder) Items(values ...*SSHCredentialsBuilder) *SSHCredentialsListBuilder
Items sets the items of the list.
type Sample ¶
type Sample struct {
// contains filtered or unexported fields
}
Sample represents the values of the 'sample' type.
Sample of a metric.
func UnmarshalSample ¶
UnmarshalSample reads a value of the 'sample' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSampleList ¶
UnmarshalSampleList reads a list of values of the 'sample' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Sample) GetTime ¶
GetTime returns the value of the 'time' attribute and a flag indicating if the attribute has a value.
Time when the sample was obtained.
func (*Sample) GetValue ¶
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
Numeric value of the sample.
type SampleBuilder ¶
type SampleBuilder struct {
// contains filtered or unexported fields
}
SampleBuilder contains the data and logic needed to build 'sample' objects.
Sample of a metric.
func NewSample ¶
func NewSample() *SampleBuilder
NewSample creates a new builder of 'sample' objects.
func (*SampleBuilder) Build ¶
func (b *SampleBuilder) Build() (object *Sample, err error)
Build creates a 'sample' object using the configuration stored in the builder.
func (*SampleBuilder) Copy ¶
func (b *SampleBuilder) Copy(object *Sample) *SampleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SampleBuilder) Time ¶
func (b *SampleBuilder) Time(value time.Time) *SampleBuilder
Time sets the value of the 'time' attribute to the given value.
func (*SampleBuilder) Value ¶
func (b *SampleBuilder) Value(value float64) *SampleBuilder
Value sets the value of the 'value' attribute to the given value.
type SampleList ¶
type SampleList struct {
// contains filtered or unexported fields
}
SampleList is a list of values of the 'sample' type.
func (*SampleList) Each ¶
func (l *SampleList) Each(f func(item *Sample) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SampleList) Empty ¶
func (l *SampleList) Empty() bool
Empty returns true if the list is empty.
func (*SampleList) Get ¶
func (l *SampleList) Get(i int) *Sample
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SampleList) Range ¶
func (l *SampleList) Range(f func(index int, item *Sample) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SampleList) Slice ¶
func (l *SampleList) Slice() []*Sample
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SampleListBuilder ¶
type SampleListBuilder struct {
// contains filtered or unexported fields
}
SampleListBuilder contains the data and logic needed to build 'sample' objects.
func NewSampleList ¶
func NewSampleList() *SampleListBuilder
NewSampleList creates a new builder of 'sample' objects.
func (*SampleListBuilder) Build ¶
func (b *SampleListBuilder) Build() (list *SampleList, err error)
Build creates a list of 'sample' objects using the configuration stored in the builder.
func (*SampleListBuilder) Copy ¶
func (b *SampleListBuilder) Copy(list *SampleList) *SampleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SampleListBuilder) Items ¶
func (b *SampleListBuilder) Items(values ...*SampleBuilder) *SampleListBuilder
Items sets the items of the list.
type Server ¶
type Server interface { // AWSInfrastructureAccessRoles returns the target 'AWS_infrastructure_access_roles' resource. // // Reference to the resource that manages the collection of AWS // infrastructure access roles. AWSInfrastructureAccessRoles() AWSInfrastructureAccessRolesServer // Addons returns the target 'add_ons' resource. // // Reference to the resource that manages the collection of add-ons. Addons() AddOnsServer // CloudProviders returns the target 'cloud_providers' resource. // // Reference to the resource that manages the collection of cloud providers. CloudProviders() CloudProvidersServer // Clusters returns the target 'clusters' resource. // // Reference to the resource that manages the collection of clusters. Clusters() ClustersServer // Dashboards returns the target 'dashboards' resource. // // Reference to the resource that manages the collection of dashboards. Dashboards() DashboardsServer // Flavours returns the target 'flavours' resource. // // Reference to the service that manages the collection of flavours. Flavours() FlavoursServer // MachineTypes returns the target 'machine_types' resource. // // Reference to the resource that manage the collection of machine types. MachineTypes() MachineTypesServer // Products returns the target 'products' resource. // // Reference to the resource that manages the collection of products. Products() ProductsServer // ProvisionShards returns the target 'provision_shards' resource. // // Reference to the resource that manages the collection of provision shards. ProvisionShards() ProvisionShardsServer // Versions returns the target 'versions' resource. // // Reference to the resource that manage the collection of versions. Versions() VersionsServer }
Server represents the interface the manages the 'root' resource.
type ServerConfig ¶
type ServerConfig struct {
// contains filtered or unexported fields
}
ServerConfig represents the values of the 'server_config' type.
Representation of a server config
func UnmarshalServerConfig ¶
func UnmarshalServerConfig(source interface{}) (object *ServerConfig, err error)
UnmarshalServerConfig reads a value of the 'server_config' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalServerConfigList ¶
func UnmarshalServerConfigList(source interface{}) (items []*ServerConfig, err error)
UnmarshalServerConfigList reads a list of values of the 'server_config' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ServerConfig) Empty ¶
func (o *ServerConfig) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ServerConfig) GetHREF ¶
func (o *ServerConfig) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ServerConfig) GetID ¶
func (o *ServerConfig) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ServerConfig) GetServer ¶
func (o *ServerConfig) GetServer() (value string, ok bool)
GetServer returns the value of the 'server' attribute and a flag indicating if the attribute has a value.
The URL of the server
func (*ServerConfig) HREF ¶
func (o *ServerConfig) HREF() string
HREF returns the link to the object.
func (*ServerConfig) ID ¶
func (o *ServerConfig) ID() string
ID returns the identifier of the object.
func (*ServerConfig) Kind ¶
func (o *ServerConfig) Kind() string
Kind returns the name of the type of the object.
func (*ServerConfig) Link ¶
func (o *ServerConfig) Link() bool
Link returns true iif this is a link.
func (*ServerConfig) Server ¶
func (o *ServerConfig) Server() string
Server returns the value of the 'server' attribute, or the zero value of the type if the attribute doesn't have a value.
The URL of the server
type ServerConfigBuilder ¶
type ServerConfigBuilder struct {
// contains filtered or unexported fields
}
ServerConfigBuilder contains the data and logic needed to build 'server_config' objects.
Representation of a server config
func NewServerConfig ¶
func NewServerConfig() *ServerConfigBuilder
NewServerConfig creates a new builder of 'server_config' objects.
func (*ServerConfigBuilder) Build ¶
func (b *ServerConfigBuilder) Build() (object *ServerConfig, err error)
Build creates a 'server_config' object using the configuration stored in the builder.
func (*ServerConfigBuilder) Copy ¶
func (b *ServerConfigBuilder) Copy(object *ServerConfig) *ServerConfigBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ServerConfigBuilder) HREF ¶
func (b *ServerConfigBuilder) HREF(value string) *ServerConfigBuilder
HREF sets the link to the object.
func (*ServerConfigBuilder) ID ¶
func (b *ServerConfigBuilder) ID(value string) *ServerConfigBuilder
ID sets the identifier of the object.
func (*ServerConfigBuilder) Link ¶
func (b *ServerConfigBuilder) Link(value bool) *ServerConfigBuilder
Link sets the flag that indicates if this is a link.
func (*ServerConfigBuilder) Server ¶
func (b *ServerConfigBuilder) Server(value string) *ServerConfigBuilder
Server sets the value of the 'server' attribute to the given value.
type ServerConfigList ¶
type ServerConfigList struct {
// contains filtered or unexported fields
}
ServerConfigList is a list of values of the 'server_config' type.
func (*ServerConfigList) Each ¶
func (l *ServerConfigList) Each(f func(item *ServerConfig) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ServerConfigList) Empty ¶
func (l *ServerConfigList) Empty() bool
Empty returns true if the list is empty.
func (*ServerConfigList) Get ¶
func (l *ServerConfigList) Get(i int) *ServerConfig
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ServerConfigList) GetHREF ¶
func (l *ServerConfigList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ServerConfigList) HREF ¶
func (l *ServerConfigList) HREF() string
HREF returns the link to the list.
func (*ServerConfigList) Kind ¶
func (l *ServerConfigList) Kind() string
Kind returns the name of the type of the object.
func (*ServerConfigList) Len ¶
func (l *ServerConfigList) Len() int
Len returns the length of the list.
func (*ServerConfigList) Link ¶
func (l *ServerConfigList) Link() bool
Link returns true iif this is a link.
func (*ServerConfigList) Range ¶
func (l *ServerConfigList) Range(f func(index int, item *ServerConfig) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ServerConfigList) Slice ¶
func (l *ServerConfigList) Slice() []*ServerConfig
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ServerConfigListBuilder ¶
type ServerConfigListBuilder struct {
// contains filtered or unexported fields
}
ServerConfigListBuilder contains the data and logic needed to build 'server_config' objects.
func NewServerConfigList ¶
func NewServerConfigList() *ServerConfigListBuilder
NewServerConfigList creates a new builder of 'server_config' objects.
func (*ServerConfigListBuilder) Build ¶
func (b *ServerConfigListBuilder) Build() (list *ServerConfigList, err error)
Build creates a list of 'server_config' objects using the configuration stored in the builder.
func (*ServerConfigListBuilder) Copy ¶
func (b *ServerConfigListBuilder) Copy(list *ServerConfigList) *ServerConfigListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ServerConfigListBuilder) Items ¶
func (b *ServerConfigListBuilder) Items(values ...*ServerConfigBuilder) *ServerConfigListBuilder
Items sets the items of the list.
type SocketTotalByNodeRolesOSMetricQueryClient ¶
type SocketTotalByNodeRolesOSMetricQueryClient struct {
// contains filtered or unexported fields
}
SocketTotalByNodeRolesOSMetricQueryClient is the client of the 'socket_total_by_node_roles_OS_metric_query' resource.
Total socket capacity in the cluster by node role and operating system.
func NewSocketTotalByNodeRolesOSMetricQueryClient ¶
func NewSocketTotalByNodeRolesOSMetricQueryClient(transport http.RoundTripper, path string, metric string) *SocketTotalByNodeRolesOSMetricQueryClient
NewSocketTotalByNodeRolesOSMetricQueryClient creates a new client for the 'socket_total_by_node_roles_OS_metric_query' resource using the given transport to send the requests and receive the responses.
func (*SocketTotalByNodeRolesOSMetricQueryClient) Get ¶
func (c *SocketTotalByNodeRolesOSMetricQueryClient) Get() *SocketTotalByNodeRolesOSMetricQueryGetRequest
Get creates a request for the 'get' method.
Retrieves the metrics.
func (*SocketTotalByNodeRolesOSMetricQueryClient) Poll ¶
func (c *SocketTotalByNodeRolesOSMetricQueryClient) Poll() *SocketTotalByNodeRolesOSMetricQueryPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type SocketTotalByNodeRolesOSMetricQueryGetRequest ¶
type SocketTotalByNodeRolesOSMetricQueryGetRequest struct {
// contains filtered or unexported fields
}
SocketTotalByNodeRolesOSMetricQueryGetRequest is the request for the 'get' method.
func (*SocketTotalByNodeRolesOSMetricQueryGetRequest) Header ¶
func (r *SocketTotalByNodeRolesOSMetricQueryGetRequest) Header(name string, value interface{}) *SocketTotalByNodeRolesOSMetricQueryGetRequest
Header adds a request header.
func (*SocketTotalByNodeRolesOSMetricQueryGetRequest) Parameter ¶
func (r *SocketTotalByNodeRolesOSMetricQueryGetRequest) Parameter(name string, value interface{}) *SocketTotalByNodeRolesOSMetricQueryGetRequest
Parameter adds a query parameter.
func (*SocketTotalByNodeRolesOSMetricQueryGetRequest) Send ¶
func (r *SocketTotalByNodeRolesOSMetricQueryGetRequest) Send() (result *SocketTotalByNodeRolesOSMetricQueryGetResponse, 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 (*SocketTotalByNodeRolesOSMetricQueryGetRequest) SendContext ¶
func (r *SocketTotalByNodeRolesOSMetricQueryGetRequest) SendContext(ctx context.Context) (result *SocketTotalByNodeRolesOSMetricQueryGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SocketTotalByNodeRolesOSMetricQueryGetResponse ¶
type SocketTotalByNodeRolesOSMetricQueryGetResponse struct {
// contains filtered or unexported fields
}
SocketTotalByNodeRolesOSMetricQueryGetResponse is the response for the 'get' method.
func (*SocketTotalByNodeRolesOSMetricQueryGetResponse) Body ¶
Body returns the value of the 'body' parameter.
func (*SocketTotalByNodeRolesOSMetricQueryGetResponse) Error ¶
func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) Error() *errors.Error
Error returns the response error.
func (*SocketTotalByNodeRolesOSMetricQueryGetResponse) GetBody ¶
func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) GetBody() (value *SocketTotalsNodeRoleOSMetricNode, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SocketTotalByNodeRolesOSMetricQueryGetResponse) Header ¶
func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) Header() http.Header
Header returns header of the response.
func (*SocketTotalByNodeRolesOSMetricQueryGetResponse) Status ¶
func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) Status() int
Status returns the response status code.
type SocketTotalByNodeRolesOSMetricQueryGetServerRequest ¶
type SocketTotalByNodeRolesOSMetricQueryGetServerRequest struct { }
SocketTotalByNodeRolesOSMetricQueryGetServerRequest is the request for the 'get' method.
type SocketTotalByNodeRolesOSMetricQueryGetServerResponse ¶
type SocketTotalByNodeRolesOSMetricQueryGetServerResponse struct {
// contains filtered or unexported fields
}
SocketTotalByNodeRolesOSMetricQueryGetServerResponse is the response for the 'get' method.
func (*SocketTotalByNodeRolesOSMetricQueryGetServerResponse) Body ¶
func (r *SocketTotalByNodeRolesOSMetricQueryGetServerResponse) Body(value *SocketTotalsNodeRoleOSMetricNode) *SocketTotalByNodeRolesOSMetricQueryGetServerResponse
Body sets the value of the 'body' parameter.
func (*SocketTotalByNodeRolesOSMetricQueryGetServerResponse) Status ¶
func (r *SocketTotalByNodeRolesOSMetricQueryGetServerResponse) Status(value int) *SocketTotalByNodeRolesOSMetricQueryGetServerResponse
Status sets the status code.
type SocketTotalByNodeRolesOSMetricQueryPollRequest ¶
type SocketTotalByNodeRolesOSMetricQueryPollRequest struct {
// contains filtered or unexported fields
}
SocketTotalByNodeRolesOSMetricQueryPollRequest is the request for the Poll method.
func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) Header ¶
func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) Header(name string, value interface{}) *SocketTotalByNodeRolesOSMetricQueryPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) Interval ¶
func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) Interval(value time.Duration) *SocketTotalByNodeRolesOSMetricQueryPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) Parameter ¶
func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) Parameter(name string, value interface{}) *SocketTotalByNodeRolesOSMetricQueryPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) Predicate ¶
func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) Predicate(value func(*SocketTotalByNodeRolesOSMetricQueryGetResponse) bool) *SocketTotalByNodeRolesOSMetricQueryPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*SocketTotalByNodeRolesOSMetricQueryPollRequest) StartContext ¶
func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) StartContext(ctx context.Context) (response *SocketTotalByNodeRolesOSMetricQueryPollResponse, 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 (*SocketTotalByNodeRolesOSMetricQueryPollRequest) Status ¶
func (r *SocketTotalByNodeRolesOSMetricQueryPollRequest) Status(value int) *SocketTotalByNodeRolesOSMetricQueryPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type SocketTotalByNodeRolesOSMetricQueryPollResponse ¶
type SocketTotalByNodeRolesOSMetricQueryPollResponse struct {
// contains filtered or unexported fields
}
SocketTotalByNodeRolesOSMetricQueryPollResponse is the response for the Poll method.
func (*SocketTotalByNodeRolesOSMetricQueryPollResponse) Body ¶
Body returns the value of the 'body' parameter.
func (*SocketTotalByNodeRolesOSMetricQueryPollResponse) Error ¶
func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) Error() *errors.Error
Error returns the response error.
func (*SocketTotalByNodeRolesOSMetricQueryPollResponse) GetBody ¶
func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) GetBody() (value *SocketTotalsNodeRoleOSMetricNode, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SocketTotalByNodeRolesOSMetricQueryPollResponse) Header ¶
func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) Header() http.Header
Header returns header of the response.
func (*SocketTotalByNodeRolesOSMetricQueryPollResponse) Status ¶
func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) Status() int
Status returns the response status code.
type SocketTotalByNodeRolesOSMetricQueryServer ¶
type SocketTotalByNodeRolesOSMetricQueryServer interface { // Get handles a request for the 'get' method. // // Retrieves the metrics. Get(ctx context.Context, request *SocketTotalByNodeRolesOSMetricQueryGetServerRequest, response *SocketTotalByNodeRolesOSMetricQueryGetServerResponse) error }
SocketTotalByNodeRolesOSMetricQueryServer represents the interface the manages the 'socket_total_by_node_roles_OS_metric_query' resource.
type SocketTotalNodeRoleOSMetricNode ¶
type SocketTotalNodeRoleOSMetricNode struct {
// contains filtered or unexported fields
}
SocketTotalNodeRoleOSMetricNode represents the values of the 'socket_total_node_role_OS_metric_node' type.
Representation of information from telemetry about a the socket capacity by node role and OS.
func UnmarshalSocketTotalNodeRoleOSMetricNode ¶
func UnmarshalSocketTotalNodeRoleOSMetricNode(source interface{}) (object *SocketTotalNodeRoleOSMetricNode, err error)
UnmarshalSocketTotalNodeRoleOSMetricNode reads a value of the 'socket_total_node_role_OS_metric_node' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSocketTotalNodeRoleOSMetricNodeList ¶
func UnmarshalSocketTotalNodeRoleOSMetricNodeList(source interface{}) (items []*SocketTotalNodeRoleOSMetricNode, err error)
UnmarshalSocketTotalNodeRoleOSMetricNodeList reads a list of values of the 'socket_total_node_role_OS_metric_node' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SocketTotalNodeRoleOSMetricNode) Empty ¶
func (o *SocketTotalNodeRoleOSMetricNode) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SocketTotalNodeRoleOSMetricNode) GetNodeRoles ¶
func (o *SocketTotalNodeRoleOSMetricNode) GetNodeRoles() (value []string, ok bool)
GetNodeRoles returns the value of the 'node_roles' attribute and a flag indicating if the attribute has a value.
Representation of the node role for a cluster.
func (*SocketTotalNodeRoleOSMetricNode) GetOperatingSystem ¶
func (o *SocketTotalNodeRoleOSMetricNode) GetOperatingSystem() (value string, ok bool)
GetOperatingSystem returns the value of the 'operating_system' attribute and a flag indicating if the attribute has a value.
The operating system.
func (*SocketTotalNodeRoleOSMetricNode) GetSocketTotal ¶
func (o *SocketTotalNodeRoleOSMetricNode) GetSocketTotal() (value float64, ok bool)
GetSocketTotal returns the value of the 'socket_total' attribute and a flag indicating if the attribute has a value.
The total socket capacity of nodes with this set of roles and operating system.
func (*SocketTotalNodeRoleOSMetricNode) GetTime ¶
func (o *SocketTotalNodeRoleOSMetricNode) GetTime() (value time.Time, ok bool)
GetTime returns the value of the 'time' attribute and a flag indicating if the attribute has a value.
func (*SocketTotalNodeRoleOSMetricNode) NodeRoles ¶
func (o *SocketTotalNodeRoleOSMetricNode) NodeRoles() []string
NodeRoles returns the value of the 'node_roles' attribute, or the zero value of the type if the attribute doesn't have a value.
Representation of the node role for a cluster.
func (*SocketTotalNodeRoleOSMetricNode) OperatingSystem ¶
func (o *SocketTotalNodeRoleOSMetricNode) OperatingSystem() string
OperatingSystem returns the value of the 'operating_system' attribute, or the zero value of the type if the attribute doesn't have a value.
The operating system.
func (*SocketTotalNodeRoleOSMetricNode) SocketTotal ¶
func (o *SocketTotalNodeRoleOSMetricNode) SocketTotal() float64
SocketTotal returns the value of the 'socket_total' attribute, or the zero value of the type if the attribute doesn't have a value.
The total socket capacity of nodes with this set of roles and operating system.
func (*SocketTotalNodeRoleOSMetricNode) Time ¶
func (o *SocketTotalNodeRoleOSMetricNode) Time() time.Time
Time returns the value of the 'time' attribute, or the zero value of the type if the attribute doesn't have a value.
type SocketTotalNodeRoleOSMetricNodeBuilder ¶
type SocketTotalNodeRoleOSMetricNodeBuilder struct {
// contains filtered or unexported fields
}
SocketTotalNodeRoleOSMetricNodeBuilder contains the data and logic needed to build 'socket_total_node_role_OS_metric_node' objects.
Representation of information from telemetry about a the socket capacity by node role and OS.
func NewSocketTotalNodeRoleOSMetricNode ¶
func NewSocketTotalNodeRoleOSMetricNode() *SocketTotalNodeRoleOSMetricNodeBuilder
NewSocketTotalNodeRoleOSMetricNode creates a new builder of 'socket_total_node_role_OS_metric_node' objects.
func (*SocketTotalNodeRoleOSMetricNodeBuilder) Build ¶
func (b *SocketTotalNodeRoleOSMetricNodeBuilder) Build() (object *SocketTotalNodeRoleOSMetricNode, err error)
Build creates a 'socket_total_node_role_OS_metric_node' object using the configuration stored in the builder.
func (*SocketTotalNodeRoleOSMetricNodeBuilder) Copy ¶
func (b *SocketTotalNodeRoleOSMetricNodeBuilder) Copy(object *SocketTotalNodeRoleOSMetricNode) *SocketTotalNodeRoleOSMetricNodeBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SocketTotalNodeRoleOSMetricNodeBuilder) NodeRoles ¶
func (b *SocketTotalNodeRoleOSMetricNodeBuilder) NodeRoles(values ...string) *SocketTotalNodeRoleOSMetricNodeBuilder
NodeRoles sets the value of the 'node_roles' attribute to the given values.
func (*SocketTotalNodeRoleOSMetricNodeBuilder) OperatingSystem ¶
func (b *SocketTotalNodeRoleOSMetricNodeBuilder) OperatingSystem(value string) *SocketTotalNodeRoleOSMetricNodeBuilder
OperatingSystem sets the value of the 'operating_system' attribute to the given value.
func (*SocketTotalNodeRoleOSMetricNodeBuilder) SocketTotal ¶
func (b *SocketTotalNodeRoleOSMetricNodeBuilder) SocketTotal(value float64) *SocketTotalNodeRoleOSMetricNodeBuilder
SocketTotal sets the value of the 'socket_total' attribute to the given value.
func (*SocketTotalNodeRoleOSMetricNodeBuilder) Time ¶
func (b *SocketTotalNodeRoleOSMetricNodeBuilder) Time(value time.Time) *SocketTotalNodeRoleOSMetricNodeBuilder
Time sets the value of the 'time' attribute to the given value.
type SocketTotalNodeRoleOSMetricNodeList ¶
type SocketTotalNodeRoleOSMetricNodeList struct {
// contains filtered or unexported fields
}
SocketTotalNodeRoleOSMetricNodeList is a list of values of the 'socket_total_node_role_OS_metric_node' type.
func (*SocketTotalNodeRoleOSMetricNodeList) Each ¶
func (l *SocketTotalNodeRoleOSMetricNodeList) Each(f func(item *SocketTotalNodeRoleOSMetricNode) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SocketTotalNodeRoleOSMetricNodeList) Empty ¶
func (l *SocketTotalNodeRoleOSMetricNodeList) Empty() bool
Empty returns true if the list is empty.
func (*SocketTotalNodeRoleOSMetricNodeList) Get ¶
func (l *SocketTotalNodeRoleOSMetricNodeList) Get(i int) *SocketTotalNodeRoleOSMetricNode
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SocketTotalNodeRoleOSMetricNodeList) Len ¶
func (l *SocketTotalNodeRoleOSMetricNodeList) Len() int
Len returns the length of the list.
func (*SocketTotalNodeRoleOSMetricNodeList) Range ¶
func (l *SocketTotalNodeRoleOSMetricNodeList) Range(f func(index int, item *SocketTotalNodeRoleOSMetricNode) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SocketTotalNodeRoleOSMetricNodeList) Slice ¶
func (l *SocketTotalNodeRoleOSMetricNodeList) Slice() []*SocketTotalNodeRoleOSMetricNode
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SocketTotalNodeRoleOSMetricNodeListBuilder ¶
type SocketTotalNodeRoleOSMetricNodeListBuilder struct {
// contains filtered or unexported fields
}
SocketTotalNodeRoleOSMetricNodeListBuilder contains the data and logic needed to build 'socket_total_node_role_OS_metric_node' objects.
func NewSocketTotalNodeRoleOSMetricNodeList ¶
func NewSocketTotalNodeRoleOSMetricNodeList() *SocketTotalNodeRoleOSMetricNodeListBuilder
NewSocketTotalNodeRoleOSMetricNodeList creates a new builder of 'socket_total_node_role_OS_metric_node' objects.
func (*SocketTotalNodeRoleOSMetricNodeListBuilder) Build ¶
func (b *SocketTotalNodeRoleOSMetricNodeListBuilder) Build() (list *SocketTotalNodeRoleOSMetricNodeList, err error)
Build creates a list of 'socket_total_node_role_OS_metric_node' objects using the configuration stored in the builder.
func (*SocketTotalNodeRoleOSMetricNodeListBuilder) Copy ¶
func (b *SocketTotalNodeRoleOSMetricNodeListBuilder) Copy(list *SocketTotalNodeRoleOSMetricNodeList) *SocketTotalNodeRoleOSMetricNodeListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SocketTotalNodeRoleOSMetricNodeListBuilder) Items ¶
func (b *SocketTotalNodeRoleOSMetricNodeListBuilder) Items(values ...*SocketTotalNodeRoleOSMetricNodeBuilder) *SocketTotalNodeRoleOSMetricNodeListBuilder
Items sets the items of the list.
type SocketTotalsNodeRoleOSMetricNode ¶
type SocketTotalsNodeRoleOSMetricNode struct {
// contains filtered or unexported fields
}
SocketTotalsNodeRoleOSMetricNode represents the values of the 'socket_totals_node_role_OS_metric_node' type.
Representation of information from telemetry about the socket capacity by node role and OS of a cluster.
func UnmarshalSocketTotalsNodeRoleOSMetricNode ¶
func UnmarshalSocketTotalsNodeRoleOSMetricNode(source interface{}) (object *SocketTotalsNodeRoleOSMetricNode, err error)
UnmarshalSocketTotalsNodeRoleOSMetricNode reads a value of the 'socket_totals_node_role_OS_metric_node' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSocketTotalsNodeRoleOSMetricNodeList ¶
func UnmarshalSocketTotalsNodeRoleOSMetricNodeList(source interface{}) (items []*SocketTotalsNodeRoleOSMetricNode, err error)
UnmarshalSocketTotalsNodeRoleOSMetricNodeList reads a list of values of the 'socket_totals_node_role_OS_metric_node' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SocketTotalsNodeRoleOSMetricNode) Empty ¶
func (o *SocketTotalsNodeRoleOSMetricNode) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SocketTotalsNodeRoleOSMetricNode) GetSocketTotals ¶
func (o *SocketTotalsNodeRoleOSMetricNode) GetSocketTotals() (value []*SocketTotalNodeRoleOSMetricNode, ok bool)
GetSocketTotals returns the value of the 'socket_totals' attribute and a flag indicating if the attribute has a value.
func (*SocketTotalsNodeRoleOSMetricNode) SocketTotals ¶
func (o *SocketTotalsNodeRoleOSMetricNode) SocketTotals() []*SocketTotalNodeRoleOSMetricNode
SocketTotals returns the value of the 'socket_totals' attribute, or the zero value of the type if the attribute doesn't have a value.
type SocketTotalsNodeRoleOSMetricNodeBuilder ¶
type SocketTotalsNodeRoleOSMetricNodeBuilder struct {
// contains filtered or unexported fields
}
SocketTotalsNodeRoleOSMetricNodeBuilder contains the data and logic needed to build 'socket_totals_node_role_OS_metric_node' objects.
Representation of information from telemetry about the socket capacity by node role and OS of a cluster.
func NewSocketTotalsNodeRoleOSMetricNode ¶
func NewSocketTotalsNodeRoleOSMetricNode() *SocketTotalsNodeRoleOSMetricNodeBuilder
NewSocketTotalsNodeRoleOSMetricNode creates a new builder of 'socket_totals_node_role_OS_metric_node' objects.
func (*SocketTotalsNodeRoleOSMetricNodeBuilder) Build ¶
func (b *SocketTotalsNodeRoleOSMetricNodeBuilder) Build() (object *SocketTotalsNodeRoleOSMetricNode, err error)
Build creates a 'socket_totals_node_role_OS_metric_node' object using the configuration stored in the builder.
func (*SocketTotalsNodeRoleOSMetricNodeBuilder) Copy ¶
func (b *SocketTotalsNodeRoleOSMetricNodeBuilder) Copy(object *SocketTotalsNodeRoleOSMetricNode) *SocketTotalsNodeRoleOSMetricNodeBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SocketTotalsNodeRoleOSMetricNodeBuilder) SocketTotals ¶
func (b *SocketTotalsNodeRoleOSMetricNodeBuilder) SocketTotals(values ...*SocketTotalNodeRoleOSMetricNodeBuilder) *SocketTotalsNodeRoleOSMetricNodeBuilder
SocketTotals sets the value of the 'socket_totals' attribute to the given values.
type SocketTotalsNodeRoleOSMetricNodeList ¶
type SocketTotalsNodeRoleOSMetricNodeList struct {
// contains filtered or unexported fields
}
SocketTotalsNodeRoleOSMetricNodeList is a list of values of the 'socket_totals_node_role_OS_metric_node' type.
func (*SocketTotalsNodeRoleOSMetricNodeList) Each ¶
func (l *SocketTotalsNodeRoleOSMetricNodeList) Each(f func(item *SocketTotalsNodeRoleOSMetricNode) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SocketTotalsNodeRoleOSMetricNodeList) Empty ¶
func (l *SocketTotalsNodeRoleOSMetricNodeList) Empty() bool
Empty returns true if the list is empty.
func (*SocketTotalsNodeRoleOSMetricNodeList) Get ¶
func (l *SocketTotalsNodeRoleOSMetricNodeList) Get(i int) *SocketTotalsNodeRoleOSMetricNode
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SocketTotalsNodeRoleOSMetricNodeList) Len ¶
func (l *SocketTotalsNodeRoleOSMetricNodeList) Len() int
Len returns the length of the list.
func (*SocketTotalsNodeRoleOSMetricNodeList) Range ¶
func (l *SocketTotalsNodeRoleOSMetricNodeList) Range(f func(index int, item *SocketTotalsNodeRoleOSMetricNode) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SocketTotalsNodeRoleOSMetricNodeList) Slice ¶
func (l *SocketTotalsNodeRoleOSMetricNodeList) Slice() []*SocketTotalsNodeRoleOSMetricNode
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SocketTotalsNodeRoleOSMetricNodeListBuilder ¶
type SocketTotalsNodeRoleOSMetricNodeListBuilder struct {
// contains filtered or unexported fields
}
SocketTotalsNodeRoleOSMetricNodeListBuilder contains the data and logic needed to build 'socket_totals_node_role_OS_metric_node' objects.
func NewSocketTotalsNodeRoleOSMetricNodeList ¶
func NewSocketTotalsNodeRoleOSMetricNodeList() *SocketTotalsNodeRoleOSMetricNodeListBuilder
NewSocketTotalsNodeRoleOSMetricNodeList creates a new builder of 'socket_totals_node_role_OS_metric_node' objects.
func (*SocketTotalsNodeRoleOSMetricNodeListBuilder) Build ¶
func (b *SocketTotalsNodeRoleOSMetricNodeListBuilder) Build() (list *SocketTotalsNodeRoleOSMetricNodeList, err error)
Build creates a list of 'socket_totals_node_role_OS_metric_node' objects using the configuration stored in the builder.
func (*SocketTotalsNodeRoleOSMetricNodeListBuilder) Copy ¶
func (b *SocketTotalsNodeRoleOSMetricNodeListBuilder) Copy(list *SocketTotalsNodeRoleOSMetricNodeList) *SocketTotalsNodeRoleOSMetricNodeListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SocketTotalsNodeRoleOSMetricNodeListBuilder) Items ¶
func (b *SocketTotalsNodeRoleOSMetricNodeListBuilder) Items(values ...*SocketTotalsNodeRoleOSMetricNodeBuilder) *SocketTotalsNodeRoleOSMetricNodeListBuilder
Items sets the items of the list.
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
Subscription represents the values of the 'subscription' type.
Definition of a subscription.
func UnmarshalSubscription ¶
func UnmarshalSubscription(source interface{}) (object *Subscription, err error)
UnmarshalSubscription reads a value of the 'subscription' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSubscriptionList ¶
func UnmarshalSubscriptionList(source interface{}) (items []*Subscription, err error)
UnmarshalSubscriptionList reads a list of values of the 'subscription' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Subscription) Empty ¶
func (o *Subscription) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Subscription) GetHREF ¶
func (o *Subscription) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Subscription) GetID ¶
func (o *Subscription) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Subscription) HREF ¶
func (o *Subscription) HREF() string
HREF returns the link to the object.
func (*Subscription) ID ¶
func (o *Subscription) ID() string
ID returns the identifier of the object.
func (*Subscription) Kind ¶
func (o *Subscription) Kind() string
Kind returns the name of the type of the object.
func (*Subscription) Link ¶
func (o *Subscription) Link() bool
Link returns true iif this is a link.
type SubscriptionBuilder ¶
type SubscriptionBuilder struct {
// contains filtered or unexported fields
}
SubscriptionBuilder contains the data and logic needed to build 'subscription' objects.
Definition of a subscription.
func NewSubscription ¶
func NewSubscription() *SubscriptionBuilder
NewSubscription creates a new builder of 'subscription' objects.
func (*SubscriptionBuilder) Build ¶
func (b *SubscriptionBuilder) Build() (object *Subscription, err error)
Build creates a 'subscription' object using the configuration stored in the builder.
func (*SubscriptionBuilder) Copy ¶
func (b *SubscriptionBuilder) Copy(object *Subscription) *SubscriptionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SubscriptionBuilder) HREF ¶
func (b *SubscriptionBuilder) HREF(value string) *SubscriptionBuilder
HREF sets the link to the object.
func (*SubscriptionBuilder) ID ¶
func (b *SubscriptionBuilder) ID(value string) *SubscriptionBuilder
ID sets the identifier of the object.
func (*SubscriptionBuilder) Link ¶
func (b *SubscriptionBuilder) Link(value bool) *SubscriptionBuilder
Link sets the flag that indicates if this is a link.
type SubscriptionList ¶
type SubscriptionList struct {
// contains filtered or unexported fields
}
SubscriptionList is a list of values of the 'subscription' type.
func (*SubscriptionList) Each ¶
func (l *SubscriptionList) Each(f func(item *Subscription) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SubscriptionList) Empty ¶
func (l *SubscriptionList) Empty() bool
Empty returns true if the list is empty.
func (*SubscriptionList) Get ¶
func (l *SubscriptionList) Get(i int) *Subscription
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SubscriptionList) GetHREF ¶
func (l *SubscriptionList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SubscriptionList) HREF ¶
func (l *SubscriptionList) HREF() string
HREF returns the link to the list.
func (*SubscriptionList) Kind ¶
func (l *SubscriptionList) Kind() string
Kind returns the name of the type of the object.
func (*SubscriptionList) Len ¶
func (l *SubscriptionList) Len() int
Len returns the length of the list.
func (*SubscriptionList) Link ¶
func (l *SubscriptionList) Link() bool
Link returns true iif this is a link.
func (*SubscriptionList) Range ¶
func (l *SubscriptionList) Range(f func(index int, item *Subscription) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SubscriptionList) Slice ¶
func (l *SubscriptionList) Slice() []*Subscription
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SubscriptionListBuilder ¶
type SubscriptionListBuilder struct {
// contains filtered or unexported fields
}
SubscriptionListBuilder contains the data and logic needed to build 'subscription' objects.
func NewSubscriptionList ¶
func NewSubscriptionList() *SubscriptionListBuilder
NewSubscriptionList creates a new builder of 'subscription' objects.
func (*SubscriptionListBuilder) Build ¶
func (b *SubscriptionListBuilder) Build() (list *SubscriptionList, err error)
Build creates a list of 'subscription' objects using the configuration stored in the builder.
func (*SubscriptionListBuilder) Copy ¶
func (b *SubscriptionListBuilder) Copy(list *SubscriptionList) *SubscriptionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SubscriptionListBuilder) Items ¶
func (b *SubscriptionListBuilder) Items(values ...*SubscriptionBuilder) *SubscriptionListBuilder
Items sets the items of the list.
type Syncset ¶
type Syncset struct {
// contains filtered or unexported fields
}
Syncset represents the values of the 'syncset' type.
Representation of a syncset.
func UnmarshalSyncset ¶
UnmarshalSyncset reads a value of the 'syncset' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSyncsetList ¶
UnmarshalSyncsetList reads a list of values of the 'syncset' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Syncset) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Syncset) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Syncset) GetResources ¶
GetResources returns the value of the 'resources' attribute and a flag indicating if the attribute has a value.
List of k8s objects to configure for the cluster.
type SyncsetBuilder ¶
type SyncsetBuilder struct {
// contains filtered or unexported fields
}
SyncsetBuilder contains the data and logic needed to build 'syncset' objects.
Representation of a syncset.
func NewSyncset ¶
func NewSyncset() *SyncsetBuilder
NewSyncset creates a new builder of 'syncset' objects.
func (*SyncsetBuilder) Build ¶
func (b *SyncsetBuilder) Build() (object *Syncset, err error)
Build creates a 'syncset' object using the configuration stored in the builder.
func (*SyncsetBuilder) Copy ¶
func (b *SyncsetBuilder) Copy(object *Syncset) *SyncsetBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SyncsetBuilder) HREF ¶
func (b *SyncsetBuilder) HREF(value string) *SyncsetBuilder
HREF sets the link to the object.
func (*SyncsetBuilder) ID ¶
func (b *SyncsetBuilder) ID(value string) *SyncsetBuilder
ID sets the identifier of the object.
func (*SyncsetBuilder) Link ¶
func (b *SyncsetBuilder) Link(value bool) *SyncsetBuilder
Link sets the flag that indicates if this is a link.
func (*SyncsetBuilder) Resources ¶
func (b *SyncsetBuilder) Resources(values ...interface{}) *SyncsetBuilder
Resources sets the value of the 'resources' attribute to the given values.
type SyncsetClient ¶
type SyncsetClient struct {
// contains filtered or unexported fields
}
SyncsetClient is the client of the 'syncset' resource.
Manages a specific syncset.
func NewSyncsetClient ¶
func NewSyncsetClient(transport http.RoundTripper, path string, metric string) *SyncsetClient
NewSyncsetClient creates a new client for the 'syncset' resource using the given transport to send the requests and receive the responses.
func (*SyncsetClient) Delete ¶
func (c *SyncsetClient) Delete() *SyncsetDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the syncset.
func (*SyncsetClient) Get ¶
func (c *SyncsetClient) Get() *SyncsetGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the syncset.
func (*SyncsetClient) Poll ¶
func (c *SyncsetClient) Poll() *SyncsetPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*SyncsetClient) Update ¶
func (c *SyncsetClient) Update() *SyncsetUpdateRequest
Update creates a request for the 'update' method.
Update the syncset.
type SyncsetDeleteRequest ¶
type SyncsetDeleteRequest struct {
// contains filtered or unexported fields
}
SyncsetDeleteRequest is the request for the 'delete' method.
func (*SyncsetDeleteRequest) Header ¶
func (r *SyncsetDeleteRequest) Header(name string, value interface{}) *SyncsetDeleteRequest
Header adds a request header.
func (*SyncsetDeleteRequest) Parameter ¶
func (r *SyncsetDeleteRequest) Parameter(name string, value interface{}) *SyncsetDeleteRequest
Parameter adds a query parameter.
func (*SyncsetDeleteRequest) Send ¶
func (r *SyncsetDeleteRequest) Send() (result *SyncsetDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*SyncsetDeleteRequest) SendContext ¶
func (r *SyncsetDeleteRequest) SendContext(ctx context.Context) (result *SyncsetDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SyncsetDeleteResponse ¶
type SyncsetDeleteResponse struct {
// contains filtered or unexported fields
}
SyncsetDeleteResponse is the response for the 'delete' method.
func (*SyncsetDeleteResponse) Error ¶
func (r *SyncsetDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*SyncsetDeleteResponse) Header ¶
func (r *SyncsetDeleteResponse) Header() http.Header
Header returns header of the response.
func (*SyncsetDeleteResponse) Status ¶
func (r *SyncsetDeleteResponse) Status() int
Status returns the response status code.
type SyncsetDeleteServerRequest ¶
type SyncsetDeleteServerRequest struct { }
SyncsetDeleteServerRequest is the request for the 'delete' method.
type SyncsetDeleteServerResponse ¶
type SyncsetDeleteServerResponse struct {
// contains filtered or unexported fields
}
SyncsetDeleteServerResponse is the response for the 'delete' method.
func (*SyncsetDeleteServerResponse) Status ¶
func (r *SyncsetDeleteServerResponse) Status(value int) *SyncsetDeleteServerResponse
Status sets the status code.
type SyncsetGetRequest ¶
type SyncsetGetRequest struct {
// contains filtered or unexported fields
}
SyncsetGetRequest is the request for the 'get' method.
func (*SyncsetGetRequest) Header ¶
func (r *SyncsetGetRequest) Header(name string, value interface{}) *SyncsetGetRequest
Header adds a request header.
func (*SyncsetGetRequest) Parameter ¶
func (r *SyncsetGetRequest) Parameter(name string, value interface{}) *SyncsetGetRequest
Parameter adds a query parameter.
func (*SyncsetGetRequest) Send ¶
func (r *SyncsetGetRequest) Send() (result *SyncsetGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*SyncsetGetRequest) SendContext ¶
func (r *SyncsetGetRequest) SendContext(ctx context.Context) (result *SyncsetGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SyncsetGetResponse ¶
type SyncsetGetResponse struct {
// contains filtered or unexported fields
}
SyncsetGetResponse is the response for the 'get' method.
func (*SyncsetGetResponse) Body ¶
func (r *SyncsetGetResponse) Body() *Syncset
Body returns the value of the 'body' parameter.
func (*SyncsetGetResponse) Error ¶
func (r *SyncsetGetResponse) Error() *errors.Error
Error returns the response error.
func (*SyncsetGetResponse) GetBody ¶
func (r *SyncsetGetResponse) GetBody() (value *Syncset, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SyncsetGetResponse) Header ¶
func (r *SyncsetGetResponse) Header() http.Header
Header returns header of the response.
func (*SyncsetGetResponse) Status ¶
func (r *SyncsetGetResponse) Status() int
Status returns the response status code.
type SyncsetGetServerRequest ¶
type SyncsetGetServerRequest struct { }
SyncsetGetServerRequest is the request for the 'get' method.
type SyncsetGetServerResponse ¶
type SyncsetGetServerResponse struct {
// contains filtered or unexported fields
}
SyncsetGetServerResponse is the response for the 'get' method.
func (*SyncsetGetServerResponse) Body ¶
func (r *SyncsetGetServerResponse) Body(value *Syncset) *SyncsetGetServerResponse
Body sets the value of the 'body' parameter.
func (*SyncsetGetServerResponse) Status ¶
func (r *SyncsetGetServerResponse) Status(value int) *SyncsetGetServerResponse
Status sets the status code.
type SyncsetList ¶
type SyncsetList struct {
// contains filtered or unexported fields
}
SyncsetList is a list of values of the 'syncset' type.
func (*SyncsetList) Each ¶
func (l *SyncsetList) Each(f func(item *Syncset) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SyncsetList) Empty ¶
func (l *SyncsetList) Empty() bool
Empty returns true if the list is empty.
func (*SyncsetList) Get ¶
func (l *SyncsetList) Get(i int) *Syncset
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SyncsetList) GetHREF ¶
func (l *SyncsetList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SyncsetList) Kind ¶
func (l *SyncsetList) Kind() string
Kind returns the name of the type of the object.
func (*SyncsetList) Range ¶
func (l *SyncsetList) Range(f func(index int, item *Syncset) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*SyncsetList) Slice ¶
func (l *SyncsetList) Slice() []*Syncset
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type SyncsetListBuilder ¶
type SyncsetListBuilder struct {
// contains filtered or unexported fields
}
SyncsetListBuilder contains the data and logic needed to build 'syncset' objects.
func NewSyncsetList ¶
func NewSyncsetList() *SyncsetListBuilder
NewSyncsetList creates a new builder of 'syncset' objects.
func (*SyncsetListBuilder) Build ¶
func (b *SyncsetListBuilder) Build() (list *SyncsetList, err error)
Build creates a list of 'syncset' objects using the configuration stored in the builder.
func (*SyncsetListBuilder) Copy ¶
func (b *SyncsetListBuilder) Copy(list *SyncsetList) *SyncsetListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SyncsetListBuilder) Items ¶
func (b *SyncsetListBuilder) Items(values ...*SyncsetBuilder) *SyncsetListBuilder
Items sets the items of the list.
type SyncsetPollRequest ¶
type SyncsetPollRequest struct {
// contains filtered or unexported fields
}
SyncsetPollRequest is the request for the Poll method.
func (*SyncsetPollRequest) Header ¶
func (r *SyncsetPollRequest) Header(name string, value interface{}) *SyncsetPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*SyncsetPollRequest) Interval ¶
func (r *SyncsetPollRequest) Interval(value time.Duration) *SyncsetPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*SyncsetPollRequest) Parameter ¶
func (r *SyncsetPollRequest) Parameter(name string, value interface{}) *SyncsetPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*SyncsetPollRequest) Predicate ¶
func (r *SyncsetPollRequest) Predicate(value func(*SyncsetGetResponse) bool) *SyncsetPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*SyncsetPollRequest) StartContext ¶
func (r *SyncsetPollRequest) StartContext(ctx context.Context) (response *SyncsetPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*SyncsetPollRequest) Status ¶
func (r *SyncsetPollRequest) Status(value int) *SyncsetPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type SyncsetPollResponse ¶
type SyncsetPollResponse struct {
// contains filtered or unexported fields
}
SyncsetPollResponse is the response for the Poll method.
func (*SyncsetPollResponse) Body ¶
func (r *SyncsetPollResponse) Body() *Syncset
Body returns the value of the 'body' parameter.
func (*SyncsetPollResponse) Error ¶
func (r *SyncsetPollResponse) Error() *errors.Error
Error returns the response error.
func (*SyncsetPollResponse) GetBody ¶
func (r *SyncsetPollResponse) GetBody() (value *Syncset, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SyncsetPollResponse) Header ¶
func (r *SyncsetPollResponse) Header() http.Header
Header returns header of the response.
func (*SyncsetPollResponse) Status ¶
func (r *SyncsetPollResponse) Status() int
Status returns the response status code.
type SyncsetServer ¶
type SyncsetServer interface { // Delete handles a request for the 'delete' method. // // Deletes the syncset. Delete(ctx context.Context, request *SyncsetDeleteServerRequest, response *SyncsetDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the syncset. Get(ctx context.Context, request *SyncsetGetServerRequest, response *SyncsetGetServerResponse) error // Update handles a request for the 'update' method. // // Update the syncset. Update(ctx context.Context, request *SyncsetUpdateServerRequest, response *SyncsetUpdateServerResponse) error }
SyncsetServer represents the interface the manages the 'syncset' resource.
type SyncsetUpdateRequest ¶
type SyncsetUpdateRequest struct {
// contains filtered or unexported fields
}
SyncsetUpdateRequest is the request for the 'update' method.
func (*SyncsetUpdateRequest) Body ¶
func (r *SyncsetUpdateRequest) Body(value *Syncset) *SyncsetUpdateRequest
Body sets the value of the 'body' parameter.
func (*SyncsetUpdateRequest) Header ¶
func (r *SyncsetUpdateRequest) Header(name string, value interface{}) *SyncsetUpdateRequest
Header adds a request header.
func (*SyncsetUpdateRequest) Parameter ¶
func (r *SyncsetUpdateRequest) Parameter(name string, value interface{}) *SyncsetUpdateRequest
Parameter adds a query parameter.
func (*SyncsetUpdateRequest) Send ¶
func (r *SyncsetUpdateRequest) Send() (result *SyncsetUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*SyncsetUpdateRequest) SendContext ¶
func (r *SyncsetUpdateRequest) SendContext(ctx context.Context) (result *SyncsetUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SyncsetUpdateResponse ¶
type SyncsetUpdateResponse struct {
// contains filtered or unexported fields
}
SyncsetUpdateResponse is the response for the 'update' method.
func (*SyncsetUpdateResponse) Body ¶
func (r *SyncsetUpdateResponse) Body() *Syncset
Body returns the value of the 'body' parameter.
func (*SyncsetUpdateResponse) Error ¶
func (r *SyncsetUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*SyncsetUpdateResponse) GetBody ¶
func (r *SyncsetUpdateResponse) GetBody() (value *Syncset, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SyncsetUpdateResponse) Header ¶
func (r *SyncsetUpdateResponse) Header() http.Header
Header returns header of the response.
func (*SyncsetUpdateResponse) Status ¶
func (r *SyncsetUpdateResponse) Status() int
Status returns the response status code.
type SyncsetUpdateServerRequest ¶
type SyncsetUpdateServerRequest struct {
// contains filtered or unexported fields
}
SyncsetUpdateServerRequest is the request for the 'update' method.
func (*SyncsetUpdateServerRequest) Body ¶
func (r *SyncsetUpdateServerRequest) Body() *Syncset
Body returns the value of the 'body' parameter.
func (*SyncsetUpdateServerRequest) GetBody ¶
func (r *SyncsetUpdateServerRequest) GetBody() (value *Syncset, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type SyncsetUpdateServerResponse ¶
type SyncsetUpdateServerResponse struct {
// contains filtered or unexported fields
}
SyncsetUpdateServerResponse is the response for the 'update' method.
func (*SyncsetUpdateServerResponse) Body ¶
func (r *SyncsetUpdateServerResponse) Body(value *Syncset) *SyncsetUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*SyncsetUpdateServerResponse) Status ¶
func (r *SyncsetUpdateServerResponse) Status(value int) *SyncsetUpdateServerResponse
Status sets the status code.
type SyncsetsAddRequest ¶
type SyncsetsAddRequest struct {
// contains filtered or unexported fields
}
SyncsetsAddRequest is the request for the 'add' method.
func (*SyncsetsAddRequest) Body ¶
func (r *SyncsetsAddRequest) Body(value *Syncset) *SyncsetsAddRequest
Body sets the value of the 'body' parameter.
Description of the syncset.
func (*SyncsetsAddRequest) Header ¶
func (r *SyncsetsAddRequest) Header(name string, value interface{}) *SyncsetsAddRequest
Header adds a request header.
func (*SyncsetsAddRequest) Parameter ¶
func (r *SyncsetsAddRequest) Parameter(name string, value interface{}) *SyncsetsAddRequest
Parameter adds a query parameter.
func (*SyncsetsAddRequest) Send ¶
func (r *SyncsetsAddRequest) Send() (result *SyncsetsAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*SyncsetsAddRequest) SendContext ¶
func (r *SyncsetsAddRequest) SendContext(ctx context.Context) (result *SyncsetsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SyncsetsAddResponse ¶
type SyncsetsAddResponse struct {
// contains filtered or unexported fields
}
SyncsetsAddResponse is the response for the 'add' method.
func (*SyncsetsAddResponse) Body ¶
func (r *SyncsetsAddResponse) Body() *Syncset
Body returns the value of the 'body' parameter.
Description of the syncset.
func (*SyncsetsAddResponse) Error ¶
func (r *SyncsetsAddResponse) Error() *errors.Error
Error returns the response error.
func (*SyncsetsAddResponse) GetBody ¶
func (r *SyncsetsAddResponse) GetBody() (value *Syncset, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the syncset.
func (*SyncsetsAddResponse) Header ¶
func (r *SyncsetsAddResponse) Header() http.Header
Header returns header of the response.
func (*SyncsetsAddResponse) Status ¶
func (r *SyncsetsAddResponse) Status() int
Status returns the response status code.
type SyncsetsAddServerRequest ¶
type SyncsetsAddServerRequest struct {
// contains filtered or unexported fields
}
SyncsetsAddServerRequest is the request for the 'add' method.
func (*SyncsetsAddServerRequest) Body ¶
func (r *SyncsetsAddServerRequest) Body() *Syncset
Body returns the value of the 'body' parameter.
Description of the syncset.
func (*SyncsetsAddServerRequest) GetBody ¶
func (r *SyncsetsAddServerRequest) GetBody() (value *Syncset, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the syncset.
type SyncsetsAddServerResponse ¶
type SyncsetsAddServerResponse struct {
// contains filtered or unexported fields
}
SyncsetsAddServerResponse is the response for the 'add' method.
func (*SyncsetsAddServerResponse) Body ¶
func (r *SyncsetsAddServerResponse) Body(value *Syncset) *SyncsetsAddServerResponse
Body sets the value of the 'body' parameter.
Description of the syncset.
func (*SyncsetsAddServerResponse) Status ¶
func (r *SyncsetsAddServerResponse) Status(value int) *SyncsetsAddServerResponse
Status sets the status code.
type SyncsetsClient ¶
type SyncsetsClient struct {
// contains filtered or unexported fields
}
SyncsetsClient is the client of the 'syncsets' resource.
Manages the collection of syncsets of a cluster.
func NewSyncsetsClient ¶
func NewSyncsetsClient(transport http.RoundTripper, path string, metric string) *SyncsetsClient
NewSyncsetsClient creates a new client for the 'syncsets' resource using the given transport to send the requests and receive the responses.
func (*SyncsetsClient) Add ¶
func (c *SyncsetsClient) Add() *SyncsetsAddRequest
Add creates a request for the 'add' method.
Adds a new syncset to the cluster.
func (*SyncsetsClient) List ¶
func (c *SyncsetsClient) List() *SyncsetsListRequest
List creates a request for the 'list' method.
Retrieves the list of syncsets.
func (*SyncsetsClient) Syncset ¶
func (c *SyncsetsClient) Syncset(id string) *SyncsetClient
Syncset returns the target 'syncset' resource for the given identifier.
Reference to the service that manages an specific syncset.
type SyncsetsListRequest ¶
type SyncsetsListRequest struct {
// contains filtered or unexported fields
}
SyncsetsListRequest is the request for the 'list' method.
func (*SyncsetsListRequest) Header ¶
func (r *SyncsetsListRequest) Header(name string, value interface{}) *SyncsetsListRequest
Header adds a request header.
func (*SyncsetsListRequest) Page ¶
func (r *SyncsetsListRequest) Page(value int) *SyncsetsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SyncsetsListRequest) Parameter ¶
func (r *SyncsetsListRequest) Parameter(name string, value interface{}) *SyncsetsListRequest
Parameter adds a query parameter.
func (*SyncsetsListRequest) Send ¶
func (r *SyncsetsListRequest) Send() (result *SyncsetsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*SyncsetsListRequest) SendContext ¶
func (r *SyncsetsListRequest) SendContext(ctx context.Context) (result *SyncsetsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*SyncsetsListRequest) Size ¶
func (r *SyncsetsListRequest) Size(value int) *SyncsetsListRequest
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
type SyncsetsListResponse ¶
type SyncsetsListResponse struct {
// contains filtered or unexported fields
}
SyncsetsListResponse is the response for the 'list' method.
func (*SyncsetsListResponse) Error ¶
func (r *SyncsetsListResponse) Error() *errors.Error
Error returns the response error.
func (*SyncsetsListResponse) GetItems ¶
func (r *SyncsetsListResponse) GetItems() (value *SyncsetList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of syncsets.
func (*SyncsetsListResponse) GetPage ¶
func (r *SyncsetsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*SyncsetsListResponse) GetSize ¶
func (r *SyncsetsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*SyncsetsListResponse) GetTotal ¶
func (r *SyncsetsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection.
func (*SyncsetsListResponse) Header ¶
func (r *SyncsetsListResponse) Header() http.Header
Header returns header of the response.
func (*SyncsetsListResponse) Items ¶
func (r *SyncsetsListResponse) Items() *SyncsetList
Items returns the value of the 'items' parameter.
Retrieved list of syncsets.
func (*SyncsetsListResponse) Page ¶
func (r *SyncsetsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SyncsetsListResponse) Size ¶
func (r *SyncsetsListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
func (*SyncsetsListResponse) Status ¶
func (r *SyncsetsListResponse) Status() int
Status returns the response status code.
func (*SyncsetsListResponse) Total ¶
func (r *SyncsetsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection.
type SyncsetsListServerRequest ¶
type SyncsetsListServerRequest struct {
// contains filtered or unexported fields
}
SyncsetsListServerRequest is the request for the 'list' method.
func (*SyncsetsListServerRequest) GetPage ¶
func (r *SyncsetsListServerRequest) 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 (*SyncsetsListServerRequest) GetSize ¶
func (r *SyncsetsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*SyncsetsListServerRequest) Page ¶
func (r *SyncsetsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SyncsetsListServerRequest) Size ¶
func (r *SyncsetsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
type SyncsetsListServerResponse ¶
type SyncsetsListServerResponse struct {
// contains filtered or unexported fields
}
SyncsetsListServerResponse is the response for the 'list' method.
func (*SyncsetsListServerResponse) Items ¶
func (r *SyncsetsListServerResponse) Items(value *SyncsetList) *SyncsetsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of syncsets.
func (*SyncsetsListServerResponse) Page ¶
func (r *SyncsetsListServerResponse) Page(value int) *SyncsetsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SyncsetsListServerResponse) Size ¶
func (r *SyncsetsListServerResponse) Size(value int) *SyncsetsListServerResponse
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
func (*SyncsetsListServerResponse) Status ¶
func (r *SyncsetsListServerResponse) Status(value int) *SyncsetsListServerResponse
Status sets the status code.
func (*SyncsetsListServerResponse) Total ¶
func (r *SyncsetsListServerResponse) Total(value int) *SyncsetsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection.
type SyncsetsServer ¶
type SyncsetsServer interface { // Add handles a request for the 'add' method. // // Adds a new syncset to the cluster. Add(ctx context.Context, request *SyncsetsAddServerRequest, response *SyncsetsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of syncsets. List(ctx context.Context, request *SyncsetsListServerRequest, response *SyncsetsListServerResponse) error // Syncset returns the target 'syncset' server for the given identifier. // // Reference to the service that manages an specific syncset. Syncset(id string) SyncsetServer }
SyncsetsServer represents the interface the manages the 'syncsets' resource.
type Taint ¶ added in v0.0.329
type Taint struct {
// contains filtered or unexported fields
}
Taint represents the values of the 'taint' type.
Representation of a Taint set on a MachinePool in a cluster.
func UnmarshalTaint ¶ added in v0.0.329
UnmarshalTaint reads a value of the 'taint' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalTaintList ¶ added in v0.0.329
UnmarshalTaintList reads a list of values of the 'taint' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Taint) Effect ¶ added in v0.0.329
Effect returns the value of the 'effect' attribute, or the zero value of the type if the attribute doesn't have a value.
The effect on the node for the pods matching the taint, i.e: NoSchedule, NoExecute, PreferNoSchedule.
func (*Taint) Empty ¶ added in v0.0.329
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Taint) GetEffect ¶ added in v0.0.329
GetEffect returns the value of the 'effect' attribute and a flag indicating if the attribute has a value.
The effect on the node for the pods matching the taint, i.e: NoSchedule, NoExecute, PreferNoSchedule.
func (*Taint) GetKey ¶ added in v0.0.329
GetKey returns the value of the 'key' attribute and a flag indicating if the attribute has a value.
The key for the taint
func (*Taint) GetValue ¶ added in v0.0.329
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
The value for the taint.
type TaintBuilder ¶ added in v0.0.329
type TaintBuilder struct {
// contains filtered or unexported fields
}
TaintBuilder contains the data and logic needed to build 'taint' objects.
Representation of a Taint set on a MachinePool in a cluster.
func NewTaint ¶ added in v0.0.329
func NewTaint() *TaintBuilder
NewTaint creates a new builder of 'taint' objects.
func (*TaintBuilder) Build ¶ added in v0.0.329
func (b *TaintBuilder) Build() (object *Taint, err error)
Build creates a 'taint' object using the configuration stored in the builder.
func (*TaintBuilder) Copy ¶ added in v0.0.329
func (b *TaintBuilder) Copy(object *Taint) *TaintBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*TaintBuilder) Effect ¶ added in v0.0.329
func (b *TaintBuilder) Effect(value string) *TaintBuilder
Effect sets the value of the 'effect' attribute to the given value.
func (*TaintBuilder) Key ¶ added in v0.0.329
func (b *TaintBuilder) Key(value string) *TaintBuilder
Key sets the value of the 'key' attribute to the given value.
func (*TaintBuilder) Value ¶ added in v0.0.329
func (b *TaintBuilder) Value(value string) *TaintBuilder
Value sets the value of the 'value' attribute to the given value.
type TaintList ¶ added in v0.0.329
type TaintList struct {
// contains filtered or unexported fields
}
TaintList is a list of values of the 'taint' type.
func (*TaintList) Each ¶ added in v0.0.329
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TaintList) Get ¶ added in v0.0.329
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*TaintList) Range ¶ added in v0.0.329
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*TaintList) Slice ¶ added in v0.0.329
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type TaintListBuilder ¶ added in v0.0.329
type TaintListBuilder struct {
// contains filtered or unexported fields
}
TaintListBuilder contains the data and logic needed to build 'taint' objects.
func NewTaintList ¶ added in v0.0.329
func NewTaintList() *TaintListBuilder
NewTaintList creates a new builder of 'taint' objects.
func (*TaintListBuilder) Build ¶ added in v0.0.329
func (b *TaintListBuilder) Build() (list *TaintList, err error)
Build creates a list of 'taint' objects using the configuration stored in the builder.
func (*TaintListBuilder) Copy ¶ added in v0.0.329
func (b *TaintListBuilder) Copy(list *TaintList) *TaintListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*TaintListBuilder) Items ¶ added in v0.0.329
func (b *TaintListBuilder) Items(values ...*TaintBuilder) *TaintListBuilder
Items sets the items of the list.
type UpgradePoliciesAddRequest ¶ added in v0.0.329
type UpgradePoliciesAddRequest struct {
// contains filtered or unexported fields
}
UpgradePoliciesAddRequest is the request for the 'add' method.
func (*UpgradePoliciesAddRequest) Body ¶ added in v0.0.329
func (r *UpgradePoliciesAddRequest) Body(value *UpgradePolicy) *UpgradePoliciesAddRequest
Body sets the value of the 'body' parameter.
Description of the upgrade policy.
func (*UpgradePoliciesAddRequest) Header ¶ added in v0.0.329
func (r *UpgradePoliciesAddRequest) Header(name string, value interface{}) *UpgradePoliciesAddRequest
Header adds a request header.
func (*UpgradePoliciesAddRequest) Parameter ¶ added in v0.0.329
func (r *UpgradePoliciesAddRequest) Parameter(name string, value interface{}) *UpgradePoliciesAddRequest
Parameter adds a query parameter.
func (*UpgradePoliciesAddRequest) Send ¶ added in v0.0.329
func (r *UpgradePoliciesAddRequest) Send() (result *UpgradePoliciesAddResponse, 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 (*UpgradePoliciesAddRequest) SendContext ¶ added in v0.0.329
func (r *UpgradePoliciesAddRequest) SendContext(ctx context.Context) (result *UpgradePoliciesAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type UpgradePoliciesAddResponse ¶ added in v0.0.329
type UpgradePoliciesAddResponse struct {
// contains filtered or unexported fields
}
UpgradePoliciesAddResponse is the response for the 'add' method.
func (*UpgradePoliciesAddResponse) Body ¶ added in v0.0.329
func (r *UpgradePoliciesAddResponse) Body() *UpgradePolicy
Body returns the value of the 'body' parameter.
Description of the upgrade policy.
func (*UpgradePoliciesAddResponse) Error ¶ added in v0.0.329
func (r *UpgradePoliciesAddResponse) Error() *errors.Error
Error returns the response error.
func (*UpgradePoliciesAddResponse) GetBody ¶ added in v0.0.329
func (r *UpgradePoliciesAddResponse) GetBody() (value *UpgradePolicy, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the upgrade policy.
func (*UpgradePoliciesAddResponse) Header ¶ added in v0.0.329
func (r *UpgradePoliciesAddResponse) Header() http.Header
Header returns header of the response.
func (*UpgradePoliciesAddResponse) Status ¶ added in v0.0.329
func (r *UpgradePoliciesAddResponse) Status() int
Status returns the response status code.
type UpgradePoliciesAddServerRequest ¶ added in v0.1.128
type UpgradePoliciesAddServerRequest struct {
// contains filtered or unexported fields
}
UpgradePoliciesAddServerRequest is the request for the 'add' method.
func (*UpgradePoliciesAddServerRequest) Body ¶ added in v0.1.128
func (r *UpgradePoliciesAddServerRequest) Body() *UpgradePolicy
Body returns the value of the 'body' parameter.
Description of the upgrade policy.
func (*UpgradePoliciesAddServerRequest) GetBody ¶ added in v0.1.128
func (r *UpgradePoliciesAddServerRequest) GetBody() (value *UpgradePolicy, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the upgrade policy.
type UpgradePoliciesAddServerResponse ¶ added in v0.1.128
type UpgradePoliciesAddServerResponse struct {
// contains filtered or unexported fields
}
UpgradePoliciesAddServerResponse is the response for the 'add' method.
func (*UpgradePoliciesAddServerResponse) Body ¶ added in v0.1.128
func (r *UpgradePoliciesAddServerResponse) Body(value *UpgradePolicy) *UpgradePoliciesAddServerResponse
Body sets the value of the 'body' parameter.
Description of the upgrade policy.
func (*UpgradePoliciesAddServerResponse) Status ¶ added in v0.1.128
func (r *UpgradePoliciesAddServerResponse) Status(value int) *UpgradePoliciesAddServerResponse
Status sets the status code.
type UpgradePoliciesClient ¶ added in v0.0.329
type UpgradePoliciesClient struct {
// contains filtered or unexported fields
}
UpgradePoliciesClient is the client of the 'upgrade_policies' resource.
Manages the collection of upgrade policies of a cluster.
func NewUpgradePoliciesClient ¶ added in v0.0.329
func NewUpgradePoliciesClient(transport http.RoundTripper, path string, metric string) *UpgradePoliciesClient
NewUpgradePoliciesClient creates a new client for the 'upgrade_policies' resource using the given transport to send the requests and receive the responses.
func (*UpgradePoliciesClient) Add ¶ added in v0.0.329
func (c *UpgradePoliciesClient) Add() *UpgradePoliciesAddRequest
Add creates a request for the 'add' method.
Adds a new upgrade policy to the cluster.
func (*UpgradePoliciesClient) List ¶ added in v0.0.329
func (c *UpgradePoliciesClient) List() *UpgradePoliciesListRequest
List creates a request for the 'list' method.
Retrieves the list of upgrade policies.
func (*UpgradePoliciesClient) UpgradePolicy ¶ added in v0.0.329
func (c *UpgradePoliciesClient) UpgradePolicy(id string) *UpgradePolicyClient
UpgradePolicy returns the target 'upgrade_policy' resource for the given identifier.
Reference to the service that manages an specific upgrade policy.
type UpgradePoliciesListRequest ¶ added in v0.0.329
type UpgradePoliciesListRequest struct {
// contains filtered or unexported fields
}
UpgradePoliciesListRequest is the request for the 'list' method.
func (*UpgradePoliciesListRequest) Header ¶ added in v0.0.329
func (r *UpgradePoliciesListRequest) Header(name string, value interface{}) *UpgradePoliciesListRequest
Header adds a request header.
func (*UpgradePoliciesListRequest) Page ¶ added in v0.0.329
func (r *UpgradePoliciesListRequest) Page(value int) *UpgradePoliciesListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*UpgradePoliciesListRequest) Parameter ¶ added in v0.0.329
func (r *UpgradePoliciesListRequest) Parameter(name string, value interface{}) *UpgradePoliciesListRequest
Parameter adds a query parameter.
func (*UpgradePoliciesListRequest) Send ¶ added in v0.0.329
func (r *UpgradePoliciesListRequest) Send() (result *UpgradePoliciesListResponse, 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 (*UpgradePoliciesListRequest) SendContext ¶ added in v0.0.329
func (r *UpgradePoliciesListRequest) SendContext(ctx context.Context) (result *UpgradePoliciesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*UpgradePoliciesListRequest) Size ¶ added in v0.0.329
func (r *UpgradePoliciesListRequest) Size(value int) *UpgradePoliciesListRequest
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
type UpgradePoliciesListResponse ¶ added in v0.0.329
type UpgradePoliciesListResponse struct {
// contains filtered or unexported fields
}
UpgradePoliciesListResponse is the response for the 'list' method.
func (*UpgradePoliciesListResponse) Error ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) Error() *errors.Error
Error returns the response error.
func (*UpgradePoliciesListResponse) GetItems ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) GetItems() (value *UpgradePolicyList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of upgrade policy.
func (*UpgradePoliciesListResponse) GetPage ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*UpgradePoliciesListResponse) GetSize ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*UpgradePoliciesListResponse) GetTotal ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection.
func (*UpgradePoliciesListResponse) Header ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) Header() http.Header
Header returns header of the response.
func (*UpgradePoliciesListResponse) Items ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) Items() *UpgradePolicyList
Items returns the value of the 'items' parameter.
Retrieved list of upgrade policy.
func (*UpgradePoliciesListResponse) Page ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*UpgradePoliciesListResponse) Size ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
func (*UpgradePoliciesListResponse) Status ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) Status() int
Status returns the response status code.
func (*UpgradePoliciesListResponse) Total ¶ added in v0.0.329
func (r *UpgradePoliciesListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection.
type UpgradePoliciesListServerRequest ¶ added in v0.1.128
type UpgradePoliciesListServerRequest struct {
// contains filtered or unexported fields
}
UpgradePoliciesListServerRequest is the request for the 'list' method.
func (*UpgradePoliciesListServerRequest) GetPage ¶ added in v0.1.128
func (r *UpgradePoliciesListServerRequest) 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 (*UpgradePoliciesListServerRequest) GetSize ¶ added in v0.1.128
func (r *UpgradePoliciesListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*UpgradePoliciesListServerRequest) Page ¶ added in v0.1.128
func (r *UpgradePoliciesListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*UpgradePoliciesListServerRequest) Size ¶ added in v0.1.128
func (r *UpgradePoliciesListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
type UpgradePoliciesListServerResponse ¶ added in v0.1.128
type UpgradePoliciesListServerResponse struct {
// contains filtered or unexported fields
}
UpgradePoliciesListServerResponse is the response for the 'list' method.
func (*UpgradePoliciesListServerResponse) Items ¶ added in v0.1.128
func (r *UpgradePoliciesListServerResponse) Items(value *UpgradePolicyList) *UpgradePoliciesListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of upgrade policy.
func (*UpgradePoliciesListServerResponse) Page ¶ added in v0.1.128
func (r *UpgradePoliciesListServerResponse) Page(value int) *UpgradePoliciesListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*UpgradePoliciesListServerResponse) Size ¶ added in v0.1.128
func (r *UpgradePoliciesListServerResponse) Size(value int) *UpgradePoliciesListServerResponse
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
func (*UpgradePoliciesListServerResponse) Status ¶ added in v0.1.128
func (r *UpgradePoliciesListServerResponse) Status(value int) *UpgradePoliciesListServerResponse
Status sets the status code.
func (*UpgradePoliciesListServerResponse) Total ¶ added in v0.1.128
func (r *UpgradePoliciesListServerResponse) Total(value int) *UpgradePoliciesListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection.
type UpgradePoliciesServer ¶ added in v0.1.128
type UpgradePoliciesServer interface { // Add handles a request for the 'add' method. // // Adds a new upgrade policy to the cluster. Add(ctx context.Context, request *UpgradePoliciesAddServerRequest, response *UpgradePoliciesAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of upgrade policies. List(ctx context.Context, request *UpgradePoliciesListServerRequest, response *UpgradePoliciesListServerResponse) error // UpgradePolicy returns the target 'upgrade_policy' server for the given identifier. // // Reference to the service that manages an specific upgrade policy. UpgradePolicy(id string) UpgradePolicyServer }
UpgradePoliciesServer represents the interface the manages the 'upgrade_policies' resource.
type UpgradePolicy ¶ added in v0.0.329
type UpgradePolicy struct {
// contains filtered or unexported fields
}
UpgradePolicy represents the values of the 'upgrade_policy' type.
Representation of an upgrade policy that can be set for a cluster.
func UnmarshalUpgradePolicy ¶ added in v0.0.329
func UnmarshalUpgradePolicy(source interface{}) (object *UpgradePolicy, err error)
UnmarshalUpgradePolicy reads a value of the 'upgrade_policy' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalUpgradePolicyList ¶ added in v0.0.329
func UnmarshalUpgradePolicyList(source interface{}) (items []*UpgradePolicy, err error)
UnmarshalUpgradePolicyList reads a list of values of the 'upgrade_policy' type from the given source, which can be a slice of bytes, a string or a reader.
func (*UpgradePolicy) ClusterID ¶ added in v0.0.329
func (o *UpgradePolicy) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Cluster ID this upgrade policy is defined for.
func (*UpgradePolicy) Empty ¶ added in v0.0.329
func (o *UpgradePolicy) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*UpgradePolicy) GetClusterID ¶ added in v0.0.329
func (o *UpgradePolicy) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Cluster ID this upgrade policy is defined for.
func (*UpgradePolicy) GetHREF ¶ added in v0.0.329
func (o *UpgradePolicy) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*UpgradePolicy) GetID ¶ added in v0.0.329
func (o *UpgradePolicy) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*UpgradePolicy) GetNextRun ¶ added in v0.0.329
func (o *UpgradePolicy) GetNextRun() (value time.Time, ok bool)
GetNextRun returns the value of the 'next_run' attribute and a flag indicating if the attribute has a value.
Next time the upgrade should run.
func (*UpgradePolicy) GetSchedule ¶ added in v0.0.329
func (o *UpgradePolicy) GetSchedule() (value string, ok bool)
GetSchedule returns the value of the 'schedule' attribute and a flag indicating if the attribute has a value.
Schedule cron expression that defines automatic upgrade scheduling.
func (*UpgradePolicy) GetScheduleType ¶ added in v0.0.329
func (o *UpgradePolicy) GetScheduleType() (value string, ok bool)
GetScheduleType returns the value of the 'schedule_type' attribute and a flag indicating if the attribute has a value.
Schedule type can be either "manual" (single execution) or "automatic" (re-occurring).
func (*UpgradePolicy) GetUpgradeType ¶ added in v0.0.329
func (o *UpgradePolicy) GetUpgradeType() (value string, ok bool)
GetUpgradeType returns the value of the 'upgrade_type' attribute and a flag indicating if the attribute has a value.
Upgrade type specify the type of the upgrade. Can be "OSD" or "CVE".
func (*UpgradePolicy) GetVersion ¶ added in v0.0.329
func (o *UpgradePolicy) GetVersion() (value string, ok bool)
GetVersion returns the value of the 'version' attribute and a flag indicating if the attribute has a value.
Version is the desired upgrade version.
func (*UpgradePolicy) HREF ¶ added in v0.0.329
func (o *UpgradePolicy) HREF() string
HREF returns the link to the object.
func (*UpgradePolicy) ID ¶ added in v0.0.329
func (o *UpgradePolicy) ID() string
ID returns the identifier of the object.
func (*UpgradePolicy) Kind ¶ added in v0.0.329
func (o *UpgradePolicy) Kind() string
Kind returns the name of the type of the object.
func (*UpgradePolicy) Link ¶ added in v0.0.329
func (o *UpgradePolicy) Link() bool
Link returns true iif this is a link.
func (*UpgradePolicy) NextRun ¶ added in v0.0.329
func (o *UpgradePolicy) NextRun() time.Time
NextRun returns the value of the 'next_run' attribute, or the zero value of the type if the attribute doesn't have a value.
Next time the upgrade should run.
func (*UpgradePolicy) Schedule ¶ added in v0.0.329
func (o *UpgradePolicy) Schedule() string
Schedule returns the value of the 'schedule' attribute, or the zero value of the type if the attribute doesn't have a value.
Schedule cron expression that defines automatic upgrade scheduling.
func (*UpgradePolicy) ScheduleType ¶ added in v0.0.329
func (o *UpgradePolicy) ScheduleType() string
ScheduleType returns the value of the 'schedule_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Schedule type can be either "manual" (single execution) or "automatic" (re-occurring).
func (*UpgradePolicy) UpgradeType ¶ added in v0.0.329
func (o *UpgradePolicy) UpgradeType() string
UpgradeType returns the value of the 'upgrade_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Upgrade type specify the type of the upgrade. Can be "OSD" or "CVE".
func (*UpgradePolicy) Version ¶ added in v0.0.329
func (o *UpgradePolicy) Version() string
Version returns the value of the 'version' attribute, or the zero value of the type if the attribute doesn't have a value.
Version is the desired upgrade version.
type UpgradePolicyBuilder ¶ added in v0.0.329
type UpgradePolicyBuilder struct {
// contains filtered or unexported fields
}
UpgradePolicyBuilder contains the data and logic needed to build 'upgrade_policy' objects.
Representation of an upgrade policy that can be set for a cluster.
func NewUpgradePolicy ¶ added in v0.0.329
func NewUpgradePolicy() *UpgradePolicyBuilder
NewUpgradePolicy creates a new builder of 'upgrade_policy' objects.
func (*UpgradePolicyBuilder) Build ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) Build() (object *UpgradePolicy, err error)
Build creates a 'upgrade_policy' object using the configuration stored in the builder.
func (*UpgradePolicyBuilder) ClusterID ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) ClusterID(value string) *UpgradePolicyBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*UpgradePolicyBuilder) Copy ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) Copy(object *UpgradePolicy) *UpgradePolicyBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*UpgradePolicyBuilder) HREF ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) HREF(value string) *UpgradePolicyBuilder
HREF sets the link to the object.
func (*UpgradePolicyBuilder) ID ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) ID(value string) *UpgradePolicyBuilder
ID sets the identifier of the object.
func (*UpgradePolicyBuilder) Link ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) Link(value bool) *UpgradePolicyBuilder
Link sets the flag that indicates if this is a link.
func (*UpgradePolicyBuilder) NextRun ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) NextRun(value time.Time) *UpgradePolicyBuilder
NextRun sets the value of the 'next_run' attribute to the given value.
func (*UpgradePolicyBuilder) Schedule ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) Schedule(value string) *UpgradePolicyBuilder
Schedule sets the value of the 'schedule' attribute to the given value.
func (*UpgradePolicyBuilder) ScheduleType ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) ScheduleType(value string) *UpgradePolicyBuilder
ScheduleType sets the value of the 'schedule_type' attribute to the given value.
func (*UpgradePolicyBuilder) UpgradeType ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) UpgradeType(value string) *UpgradePolicyBuilder
UpgradeType sets the value of the 'upgrade_type' attribute to the given value.
func (*UpgradePolicyBuilder) Version ¶ added in v0.0.329
func (b *UpgradePolicyBuilder) Version(value string) *UpgradePolicyBuilder
Version sets the value of the 'version' attribute to the given value.
type UpgradePolicyClient ¶ added in v0.0.329
type UpgradePolicyClient struct {
// contains filtered or unexported fields
}
UpgradePolicyClient is the client of the 'upgrade_policy' resource.
Manages a specific upgrade policy.
func NewUpgradePolicyClient ¶ added in v0.0.329
func NewUpgradePolicyClient(transport http.RoundTripper, path string, metric string) *UpgradePolicyClient
NewUpgradePolicyClient creates a new client for the 'upgrade_policy' resource using the given transport to send the requests and receive the responses.
func (*UpgradePolicyClient) Delete ¶ added in v0.0.329
func (c *UpgradePolicyClient) Delete() *UpgradePolicyDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the upgrade policy.
func (*UpgradePolicyClient) Get ¶ added in v0.0.329
func (c *UpgradePolicyClient) Get() *UpgradePolicyGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the upgrade policy.
func (*UpgradePolicyClient) Poll ¶ added in v0.0.329
func (c *UpgradePolicyClient) Poll() *UpgradePolicyPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*UpgradePolicyClient) State ¶ added in v0.0.329
func (c *UpgradePolicyClient) State() *UpgradePolicyStateClient
State returns the target 'upgrade_policy_state' resource.
Reference to the state of the upgrade policy.
func (*UpgradePolicyClient) Update ¶ added in v0.0.329
func (c *UpgradePolicyClient) Update() *UpgradePolicyUpdateRequest
Update creates a request for the 'update' method.
Update the upgrade policy.
type UpgradePolicyDeleteRequest ¶ added in v0.0.329
type UpgradePolicyDeleteRequest struct {
// contains filtered or unexported fields
}
UpgradePolicyDeleteRequest is the request for the 'delete' method.
func (*UpgradePolicyDeleteRequest) Header ¶ added in v0.0.329
func (r *UpgradePolicyDeleteRequest) Header(name string, value interface{}) *UpgradePolicyDeleteRequest
Header adds a request header.
func (*UpgradePolicyDeleteRequest) Parameter ¶ added in v0.0.329
func (r *UpgradePolicyDeleteRequest) Parameter(name string, value interface{}) *UpgradePolicyDeleteRequest
Parameter adds a query parameter.
func (*UpgradePolicyDeleteRequest) Send ¶ added in v0.0.329
func (r *UpgradePolicyDeleteRequest) Send() (result *UpgradePolicyDeleteResponse, 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 (*UpgradePolicyDeleteRequest) SendContext ¶ added in v0.0.329
func (r *UpgradePolicyDeleteRequest) SendContext(ctx context.Context) (result *UpgradePolicyDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type UpgradePolicyDeleteResponse ¶ added in v0.0.329
type UpgradePolicyDeleteResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyDeleteResponse is the response for the 'delete' method.
func (*UpgradePolicyDeleteResponse) Error ¶ added in v0.0.329
func (r *UpgradePolicyDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*UpgradePolicyDeleteResponse) Header ¶ added in v0.0.329
func (r *UpgradePolicyDeleteResponse) Header() http.Header
Header returns header of the response.
func (*UpgradePolicyDeleteResponse) Status ¶ added in v0.0.329
func (r *UpgradePolicyDeleteResponse) Status() int
Status returns the response status code.
type UpgradePolicyDeleteServerRequest ¶ added in v0.1.128
type UpgradePolicyDeleteServerRequest struct { }
UpgradePolicyDeleteServerRequest is the request for the 'delete' method.
type UpgradePolicyDeleteServerResponse ¶ added in v0.1.128
type UpgradePolicyDeleteServerResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyDeleteServerResponse is the response for the 'delete' method.
func (*UpgradePolicyDeleteServerResponse) Status ¶ added in v0.1.128
func (r *UpgradePolicyDeleteServerResponse) Status(value int) *UpgradePolicyDeleteServerResponse
Status sets the status code.
type UpgradePolicyGetRequest ¶ added in v0.0.329
type UpgradePolicyGetRequest struct {
// contains filtered or unexported fields
}
UpgradePolicyGetRequest is the request for the 'get' method.
func (*UpgradePolicyGetRequest) Header ¶ added in v0.0.329
func (r *UpgradePolicyGetRequest) Header(name string, value interface{}) *UpgradePolicyGetRequest
Header adds a request header.
func (*UpgradePolicyGetRequest) Parameter ¶ added in v0.0.329
func (r *UpgradePolicyGetRequest) Parameter(name string, value interface{}) *UpgradePolicyGetRequest
Parameter adds a query parameter.
func (*UpgradePolicyGetRequest) Send ¶ added in v0.0.329
func (r *UpgradePolicyGetRequest) Send() (result *UpgradePolicyGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*UpgradePolicyGetRequest) SendContext ¶ added in v0.0.329
func (r *UpgradePolicyGetRequest) SendContext(ctx context.Context) (result *UpgradePolicyGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type UpgradePolicyGetResponse ¶ added in v0.0.329
type UpgradePolicyGetResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyGetResponse is the response for the 'get' method.
func (*UpgradePolicyGetResponse) Body ¶ added in v0.0.329
func (r *UpgradePolicyGetResponse) Body() *UpgradePolicy
Body returns the value of the 'body' parameter.
func (*UpgradePolicyGetResponse) Error ¶ added in v0.0.329
func (r *UpgradePolicyGetResponse) Error() *errors.Error
Error returns the response error.
func (*UpgradePolicyGetResponse) GetBody ¶ added in v0.0.329
func (r *UpgradePolicyGetResponse) GetBody() (value *UpgradePolicy, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*UpgradePolicyGetResponse) Header ¶ added in v0.0.329
func (r *UpgradePolicyGetResponse) Header() http.Header
Header returns header of the response.
func (*UpgradePolicyGetResponse) Status ¶ added in v0.0.329
func (r *UpgradePolicyGetResponse) Status() int
Status returns the response status code.
type UpgradePolicyGetServerRequest ¶ added in v0.1.128
type UpgradePolicyGetServerRequest struct { }
UpgradePolicyGetServerRequest is the request for the 'get' method.
type UpgradePolicyGetServerResponse ¶ added in v0.1.128
type UpgradePolicyGetServerResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyGetServerResponse is the response for the 'get' method.
func (*UpgradePolicyGetServerResponse) Body ¶ added in v0.1.128
func (r *UpgradePolicyGetServerResponse) Body(value *UpgradePolicy) *UpgradePolicyGetServerResponse
Body sets the value of the 'body' parameter.
func (*UpgradePolicyGetServerResponse) Status ¶ added in v0.1.128
func (r *UpgradePolicyGetServerResponse) Status(value int) *UpgradePolicyGetServerResponse
Status sets the status code.
type UpgradePolicyList ¶ added in v0.0.329
type UpgradePolicyList struct {
// contains filtered or unexported fields
}
UpgradePolicyList is a list of values of the 'upgrade_policy' type.
func (*UpgradePolicyList) Each ¶ added in v0.0.329
func (l *UpgradePolicyList) Each(f func(item *UpgradePolicy) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*UpgradePolicyList) Empty ¶ added in v0.0.329
func (l *UpgradePolicyList) Empty() bool
Empty returns true if the list is empty.
func (*UpgradePolicyList) Get ¶ added in v0.0.329
func (l *UpgradePolicyList) Get(i int) *UpgradePolicy
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*UpgradePolicyList) GetHREF ¶ added in v0.0.329
func (l *UpgradePolicyList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*UpgradePolicyList) HREF ¶ added in v0.0.329
func (l *UpgradePolicyList) HREF() string
HREF returns the link to the list.
func (*UpgradePolicyList) Kind ¶ added in v0.0.329
func (l *UpgradePolicyList) Kind() string
Kind returns the name of the type of the object.
func (*UpgradePolicyList) Len ¶ added in v0.0.329
func (l *UpgradePolicyList) Len() int
Len returns the length of the list.
func (*UpgradePolicyList) Link ¶ added in v0.0.329
func (l *UpgradePolicyList) Link() bool
Link returns true iif this is a link.
func (*UpgradePolicyList) Range ¶ added in v0.0.329
func (l *UpgradePolicyList) Range(f func(index int, item *UpgradePolicy) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*UpgradePolicyList) Slice ¶ added in v0.0.329
func (l *UpgradePolicyList) Slice() []*UpgradePolicy
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type UpgradePolicyListBuilder ¶ added in v0.0.329
type UpgradePolicyListBuilder struct {
// contains filtered or unexported fields
}
UpgradePolicyListBuilder contains the data and logic needed to build 'upgrade_policy' objects.
func NewUpgradePolicyList ¶ added in v0.0.329
func NewUpgradePolicyList() *UpgradePolicyListBuilder
NewUpgradePolicyList creates a new builder of 'upgrade_policy' objects.
func (*UpgradePolicyListBuilder) Build ¶ added in v0.0.329
func (b *UpgradePolicyListBuilder) Build() (list *UpgradePolicyList, err error)
Build creates a list of 'upgrade_policy' objects using the configuration stored in the builder.
func (*UpgradePolicyListBuilder) Copy ¶ added in v0.0.329
func (b *UpgradePolicyListBuilder) Copy(list *UpgradePolicyList) *UpgradePolicyListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*UpgradePolicyListBuilder) Items ¶ added in v0.0.329
func (b *UpgradePolicyListBuilder) Items(values ...*UpgradePolicyBuilder) *UpgradePolicyListBuilder
Items sets the items of the list.
type UpgradePolicyPollRequest ¶ added in v0.0.329
type UpgradePolicyPollRequest struct {
// contains filtered or unexported fields
}
UpgradePolicyPollRequest is the request for the Poll method.
func (*UpgradePolicyPollRequest) Header ¶ added in v0.0.329
func (r *UpgradePolicyPollRequest) Header(name string, value interface{}) *UpgradePolicyPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*UpgradePolicyPollRequest) Interval ¶ added in v0.0.329
func (r *UpgradePolicyPollRequest) Interval(value time.Duration) *UpgradePolicyPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*UpgradePolicyPollRequest) Parameter ¶ added in v0.0.329
func (r *UpgradePolicyPollRequest) Parameter(name string, value interface{}) *UpgradePolicyPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*UpgradePolicyPollRequest) Predicate ¶ added in v0.0.329
func (r *UpgradePolicyPollRequest) Predicate(value func(*UpgradePolicyGetResponse) bool) *UpgradePolicyPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*UpgradePolicyPollRequest) StartContext ¶ added in v0.0.329
func (r *UpgradePolicyPollRequest) StartContext(ctx context.Context) (response *UpgradePolicyPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*UpgradePolicyPollRequest) Status ¶ added in v0.0.329
func (r *UpgradePolicyPollRequest) Status(value int) *UpgradePolicyPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type UpgradePolicyPollResponse ¶ added in v0.0.329
type UpgradePolicyPollResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyPollResponse is the response for the Poll method.
func (*UpgradePolicyPollResponse) Body ¶ added in v0.0.329
func (r *UpgradePolicyPollResponse) Body() *UpgradePolicy
Body returns the value of the 'body' parameter.
func (*UpgradePolicyPollResponse) Error ¶ added in v0.0.329
func (r *UpgradePolicyPollResponse) Error() *errors.Error
Error returns the response error.
func (*UpgradePolicyPollResponse) GetBody ¶ added in v0.0.329
func (r *UpgradePolicyPollResponse) GetBody() (value *UpgradePolicy, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*UpgradePolicyPollResponse) Header ¶ added in v0.0.329
func (r *UpgradePolicyPollResponse) Header() http.Header
Header returns header of the response.
func (*UpgradePolicyPollResponse) Status ¶ added in v0.0.329
func (r *UpgradePolicyPollResponse) Status() int
Status returns the response status code.
type UpgradePolicyServer ¶ added in v0.1.128
type UpgradePolicyServer interface { // Delete handles a request for the 'delete' method. // // Deletes the upgrade policy. Delete(ctx context.Context, request *UpgradePolicyDeleteServerRequest, response *UpgradePolicyDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the upgrade policy. Get(ctx context.Context, request *UpgradePolicyGetServerRequest, response *UpgradePolicyGetServerResponse) error // Update handles a request for the 'update' method. // // Update the upgrade policy. Update(ctx context.Context, request *UpgradePolicyUpdateServerRequest, response *UpgradePolicyUpdateServerResponse) error // State returns the target 'upgrade_policy_state' resource. // // Reference to the state of the upgrade policy. State() UpgradePolicyStateServer }
UpgradePolicyServer represents the interface the manages the 'upgrade_policy' resource.
type UpgradePolicyState ¶ added in v0.0.329
type UpgradePolicyState struct {
// contains filtered or unexported fields
}
UpgradePolicyState represents the values of the 'upgrade_policy_state' type.
Representation of an upgrade policy state that that is set for a cluster.
func UnmarshalUpgradePolicyState ¶ added in v0.0.329
func UnmarshalUpgradePolicyState(source interface{}) (object *UpgradePolicyState, err error)
UnmarshalUpgradePolicyState reads a value of the 'upgrade_policy_state' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalUpgradePolicyStateList ¶ added in v0.0.329
func UnmarshalUpgradePolicyStateList(source interface{}) (items []*UpgradePolicyState, err error)
UnmarshalUpgradePolicyStateList reads a list of values of the 'upgrade_policy_state' type from the given source, which can be a slice of bytes, a string or a reader.
func (*UpgradePolicyState) Description ¶ added in v0.0.329
func (o *UpgradePolicyState) Description() string
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
Description of the state.
func (*UpgradePolicyState) Empty ¶ added in v0.0.329
func (o *UpgradePolicyState) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*UpgradePolicyState) GetDescription ¶ added in v0.0.329
func (o *UpgradePolicyState) GetDescription() (value string, ok bool)
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
Description of the state.
func (*UpgradePolicyState) GetHREF ¶ added in v0.0.329
func (o *UpgradePolicyState) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*UpgradePolicyState) GetID ¶ added in v0.0.329
func (o *UpgradePolicyState) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*UpgradePolicyState) GetValue ¶ added in v0.0.329
func (o *UpgradePolicyState) GetValue() (value string, ok bool)
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
State value, can be 'pending', 'started', 'delayed', 'failed' or 'completed'.
func (*UpgradePolicyState) HREF ¶ added in v0.0.329
func (o *UpgradePolicyState) HREF() string
HREF returns the link to the object.
func (*UpgradePolicyState) ID ¶ added in v0.0.329
func (o *UpgradePolicyState) ID() string
ID returns the identifier of the object.
func (*UpgradePolicyState) Kind ¶ added in v0.0.329
func (o *UpgradePolicyState) Kind() string
Kind returns the name of the type of the object.
func (*UpgradePolicyState) Link ¶ added in v0.0.329
func (o *UpgradePolicyState) Link() bool
Link returns true iif this is a link.
func (*UpgradePolicyState) Value ¶ added in v0.0.329
func (o *UpgradePolicyState) 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.
State value, can be 'pending', 'started', 'delayed', 'failed' or 'completed'.
type UpgradePolicyStateBuilder ¶ added in v0.0.329
type UpgradePolicyStateBuilder struct {
// contains filtered or unexported fields
}
UpgradePolicyStateBuilder contains the data and logic needed to build 'upgrade_policy_state' objects.
Representation of an upgrade policy state that that is set for a cluster.
func NewUpgradePolicyState ¶ added in v0.0.329
func NewUpgradePolicyState() *UpgradePolicyStateBuilder
NewUpgradePolicyState creates a new builder of 'upgrade_policy_state' objects.
func (*UpgradePolicyStateBuilder) Build ¶ added in v0.0.329
func (b *UpgradePolicyStateBuilder) Build() (object *UpgradePolicyState, err error)
Build creates a 'upgrade_policy_state' object using the configuration stored in the builder.
func (*UpgradePolicyStateBuilder) Copy ¶ added in v0.0.329
func (b *UpgradePolicyStateBuilder) Copy(object *UpgradePolicyState) *UpgradePolicyStateBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*UpgradePolicyStateBuilder) Description ¶ added in v0.0.329
func (b *UpgradePolicyStateBuilder) Description(value string) *UpgradePolicyStateBuilder
Description sets the value of the 'description' attribute to the given value.
func (*UpgradePolicyStateBuilder) HREF ¶ added in v0.0.329
func (b *UpgradePolicyStateBuilder) HREF(value string) *UpgradePolicyStateBuilder
HREF sets the link to the object.
func (*UpgradePolicyStateBuilder) ID ¶ added in v0.0.329
func (b *UpgradePolicyStateBuilder) ID(value string) *UpgradePolicyStateBuilder
ID sets the identifier of the object.
func (*UpgradePolicyStateBuilder) Link ¶ added in v0.0.329
func (b *UpgradePolicyStateBuilder) Link(value bool) *UpgradePolicyStateBuilder
Link sets the flag that indicates if this is a link.
func (*UpgradePolicyStateBuilder) Value ¶ added in v0.0.329
func (b *UpgradePolicyStateBuilder) Value(value string) *UpgradePolicyStateBuilder
Value sets the value of the 'value' attribute to the given value.
type UpgradePolicyStateClient ¶ added in v0.0.329
type UpgradePolicyStateClient struct {
// contains filtered or unexported fields
}
UpgradePolicyStateClient is the client of the 'upgrade_policy_state' resource.
Manages a specific upgrade policy state.
func NewUpgradePolicyStateClient ¶ added in v0.0.329
func NewUpgradePolicyStateClient(transport http.RoundTripper, path string, metric string) *UpgradePolicyStateClient
NewUpgradePolicyStateClient creates a new client for the 'upgrade_policy_state' resource using the given transport to send the requests and receive the responses.
func (*UpgradePolicyStateClient) Get ¶ added in v0.0.329
func (c *UpgradePolicyStateClient) Get() *UpgradePolicyStateGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the upgrade policy state.
func (*UpgradePolicyStateClient) Poll ¶ added in v0.0.329
func (c *UpgradePolicyStateClient) Poll() *UpgradePolicyStatePollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*UpgradePolicyStateClient) Update ¶ added in v0.0.329
func (c *UpgradePolicyStateClient) Update() *UpgradePolicyStateUpdateRequest
Update creates a request for the 'update' method.
Update the upgrade policy state.
type UpgradePolicyStateGetRequest ¶ added in v0.0.329
type UpgradePolicyStateGetRequest struct {
// contains filtered or unexported fields
}
UpgradePolicyStateGetRequest is the request for the 'get' method.
func (*UpgradePolicyStateGetRequest) Header ¶ added in v0.0.329
func (r *UpgradePolicyStateGetRequest) Header(name string, value interface{}) *UpgradePolicyStateGetRequest
Header adds a request header.
func (*UpgradePolicyStateGetRequest) Parameter ¶ added in v0.0.329
func (r *UpgradePolicyStateGetRequest) Parameter(name string, value interface{}) *UpgradePolicyStateGetRequest
Parameter adds a query parameter.
func (*UpgradePolicyStateGetRequest) Send ¶ added in v0.0.329
func (r *UpgradePolicyStateGetRequest) Send() (result *UpgradePolicyStateGetResponse, 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 (*UpgradePolicyStateGetRequest) SendContext ¶ added in v0.0.329
func (r *UpgradePolicyStateGetRequest) SendContext(ctx context.Context) (result *UpgradePolicyStateGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type UpgradePolicyStateGetResponse ¶ added in v0.0.329
type UpgradePolicyStateGetResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyStateGetResponse is the response for the 'get' method.
func (*UpgradePolicyStateGetResponse) Body ¶ added in v0.0.329
func (r *UpgradePolicyStateGetResponse) Body() *UpgradePolicyState
Body returns the value of the 'body' parameter.
func (*UpgradePolicyStateGetResponse) Error ¶ added in v0.0.329
func (r *UpgradePolicyStateGetResponse) Error() *errors.Error
Error returns the response error.
func (*UpgradePolicyStateGetResponse) GetBody ¶ added in v0.0.329
func (r *UpgradePolicyStateGetResponse) GetBody() (value *UpgradePolicyState, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*UpgradePolicyStateGetResponse) Header ¶ added in v0.0.329
func (r *UpgradePolicyStateGetResponse) Header() http.Header
Header returns header of the response.
func (*UpgradePolicyStateGetResponse) Status ¶ added in v0.0.329
func (r *UpgradePolicyStateGetResponse) Status() int
Status returns the response status code.
type UpgradePolicyStateGetServerRequest ¶ added in v0.1.134
type UpgradePolicyStateGetServerRequest struct { }
UpgradePolicyStateGetServerRequest is the request for the 'get' method.
type UpgradePolicyStateGetServerResponse ¶ added in v0.1.134
type UpgradePolicyStateGetServerResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyStateGetServerResponse is the response for the 'get' method.
func (*UpgradePolicyStateGetServerResponse) Body ¶ added in v0.1.134
func (r *UpgradePolicyStateGetServerResponse) Body(value *UpgradePolicyState) *UpgradePolicyStateGetServerResponse
Body sets the value of the 'body' parameter.
func (*UpgradePolicyStateGetServerResponse) Status ¶ added in v0.1.134
func (r *UpgradePolicyStateGetServerResponse) Status(value int) *UpgradePolicyStateGetServerResponse
Status sets the status code.
type UpgradePolicyStateList ¶ added in v0.0.329
type UpgradePolicyStateList struct {
// contains filtered or unexported fields
}
UpgradePolicyStateList is a list of values of the 'upgrade_policy_state' type.
func (*UpgradePolicyStateList) Each ¶ added in v0.0.329
func (l *UpgradePolicyStateList) Each(f func(item *UpgradePolicyState) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*UpgradePolicyStateList) Empty ¶ added in v0.0.329
func (l *UpgradePolicyStateList) Empty() bool
Empty returns true if the list is empty.
func (*UpgradePolicyStateList) Get ¶ added in v0.0.329
func (l *UpgradePolicyStateList) Get(i int) *UpgradePolicyState
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*UpgradePolicyStateList) GetHREF ¶ added in v0.0.329
func (l *UpgradePolicyStateList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*UpgradePolicyStateList) HREF ¶ added in v0.0.329
func (l *UpgradePolicyStateList) HREF() string
HREF returns the link to the list.
func (*UpgradePolicyStateList) Kind ¶ added in v0.0.329
func (l *UpgradePolicyStateList) Kind() string
Kind returns the name of the type of the object.
func (*UpgradePolicyStateList) Len ¶ added in v0.0.329
func (l *UpgradePolicyStateList) Len() int
Len returns the length of the list.
func (*UpgradePolicyStateList) Link ¶ added in v0.0.329
func (l *UpgradePolicyStateList) Link() bool
Link returns true iif this is a link.
func (*UpgradePolicyStateList) Range ¶ added in v0.0.329
func (l *UpgradePolicyStateList) Range(f func(index int, item *UpgradePolicyState) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*UpgradePolicyStateList) Slice ¶ added in v0.0.329
func (l *UpgradePolicyStateList) Slice() []*UpgradePolicyState
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type UpgradePolicyStateListBuilder ¶ added in v0.0.329
type UpgradePolicyStateListBuilder struct {
// contains filtered or unexported fields
}
UpgradePolicyStateListBuilder contains the data and logic needed to build 'upgrade_policy_state' objects.
func NewUpgradePolicyStateList ¶ added in v0.0.329
func NewUpgradePolicyStateList() *UpgradePolicyStateListBuilder
NewUpgradePolicyStateList creates a new builder of 'upgrade_policy_state' objects.
func (*UpgradePolicyStateListBuilder) Build ¶ added in v0.0.329
func (b *UpgradePolicyStateListBuilder) Build() (list *UpgradePolicyStateList, err error)
Build creates a list of 'upgrade_policy_state' objects using the configuration stored in the builder.
func (*UpgradePolicyStateListBuilder) Copy ¶ added in v0.0.329
func (b *UpgradePolicyStateListBuilder) Copy(list *UpgradePolicyStateList) *UpgradePolicyStateListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*UpgradePolicyStateListBuilder) Items ¶ added in v0.0.329
func (b *UpgradePolicyStateListBuilder) Items(values ...*UpgradePolicyStateBuilder) *UpgradePolicyStateListBuilder
Items sets the items of the list.
type UpgradePolicyStatePollRequest ¶ added in v0.0.329
type UpgradePolicyStatePollRequest struct {
// contains filtered or unexported fields
}
UpgradePolicyStatePollRequest is the request for the Poll method.
func (*UpgradePolicyStatePollRequest) Header ¶ added in v0.0.329
func (r *UpgradePolicyStatePollRequest) Header(name string, value interface{}) *UpgradePolicyStatePollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*UpgradePolicyStatePollRequest) Interval ¶ added in v0.0.329
func (r *UpgradePolicyStatePollRequest) Interval(value time.Duration) *UpgradePolicyStatePollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*UpgradePolicyStatePollRequest) Parameter ¶ added in v0.0.329
func (r *UpgradePolicyStatePollRequest) Parameter(name string, value interface{}) *UpgradePolicyStatePollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*UpgradePolicyStatePollRequest) Predicate ¶ added in v0.0.329
func (r *UpgradePolicyStatePollRequest) Predicate(value func(*UpgradePolicyStateGetResponse) bool) *UpgradePolicyStatePollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*UpgradePolicyStatePollRequest) StartContext ¶ added in v0.0.329
func (r *UpgradePolicyStatePollRequest) StartContext(ctx context.Context) (response *UpgradePolicyStatePollResponse, 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 (*UpgradePolicyStatePollRequest) Status ¶ added in v0.0.329
func (r *UpgradePolicyStatePollRequest) Status(value int) *UpgradePolicyStatePollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type UpgradePolicyStatePollResponse ¶ added in v0.0.329
type UpgradePolicyStatePollResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyStatePollResponse is the response for the Poll method.
func (*UpgradePolicyStatePollResponse) Body ¶ added in v0.0.329
func (r *UpgradePolicyStatePollResponse) Body() *UpgradePolicyState
Body returns the value of the 'body' parameter.
func (*UpgradePolicyStatePollResponse) Error ¶ added in v0.0.329
func (r *UpgradePolicyStatePollResponse) Error() *errors.Error
Error returns the response error.
func (*UpgradePolicyStatePollResponse) GetBody ¶ added in v0.0.329
func (r *UpgradePolicyStatePollResponse) GetBody() (value *UpgradePolicyState, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*UpgradePolicyStatePollResponse) Header ¶ added in v0.0.329
func (r *UpgradePolicyStatePollResponse) Header() http.Header
Header returns header of the response.
func (*UpgradePolicyStatePollResponse) Status ¶ added in v0.0.329
func (r *UpgradePolicyStatePollResponse) Status() int
Status returns the response status code.
type UpgradePolicyStateServer ¶ added in v0.1.134
type UpgradePolicyStateServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the upgrade policy state. Get(ctx context.Context, request *UpgradePolicyStateGetServerRequest, response *UpgradePolicyStateGetServerResponse) error // Update handles a request for the 'update' method. // // Update the upgrade policy state. Update(ctx context.Context, request *UpgradePolicyStateUpdateServerRequest, response *UpgradePolicyStateUpdateServerResponse) error }
UpgradePolicyStateServer represents the interface the manages the 'upgrade_policy_state' resource.
type UpgradePolicyStateUpdateRequest ¶ added in v0.0.329
type UpgradePolicyStateUpdateRequest struct {
// contains filtered or unexported fields
}
UpgradePolicyStateUpdateRequest is the request for the 'update' method.
func (*UpgradePolicyStateUpdateRequest) Body ¶ added in v0.0.329
func (r *UpgradePolicyStateUpdateRequest) Body(value *UpgradePolicyState) *UpgradePolicyStateUpdateRequest
Body sets the value of the 'body' parameter.
func (*UpgradePolicyStateUpdateRequest) Header ¶ added in v0.0.329
func (r *UpgradePolicyStateUpdateRequest) Header(name string, value interface{}) *UpgradePolicyStateUpdateRequest
Header adds a request header.
func (*UpgradePolicyStateUpdateRequest) Parameter ¶ added in v0.0.329
func (r *UpgradePolicyStateUpdateRequest) Parameter(name string, value interface{}) *UpgradePolicyStateUpdateRequest
Parameter adds a query parameter.
func (*UpgradePolicyStateUpdateRequest) Send ¶ added in v0.0.329
func (r *UpgradePolicyStateUpdateRequest) Send() (result *UpgradePolicyStateUpdateResponse, 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 (*UpgradePolicyStateUpdateRequest) SendContext ¶ added in v0.0.329
func (r *UpgradePolicyStateUpdateRequest) SendContext(ctx context.Context) (result *UpgradePolicyStateUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type UpgradePolicyStateUpdateResponse ¶ added in v0.0.329
type UpgradePolicyStateUpdateResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyStateUpdateResponse is the response for the 'update' method.
func (*UpgradePolicyStateUpdateResponse) Body ¶ added in v0.0.329
func (r *UpgradePolicyStateUpdateResponse) Body() *UpgradePolicyState
Body returns the value of the 'body' parameter.
func (*UpgradePolicyStateUpdateResponse) Error ¶ added in v0.0.329
func (r *UpgradePolicyStateUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*UpgradePolicyStateUpdateResponse) GetBody ¶ added in v0.0.329
func (r *UpgradePolicyStateUpdateResponse) GetBody() (value *UpgradePolicyState, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*UpgradePolicyStateUpdateResponse) Header ¶ added in v0.0.329
func (r *UpgradePolicyStateUpdateResponse) Header() http.Header
Header returns header of the response.
func (*UpgradePolicyStateUpdateResponse) Status ¶ added in v0.0.329
func (r *UpgradePolicyStateUpdateResponse) Status() int
Status returns the response status code.
type UpgradePolicyStateUpdateServerRequest ¶ added in v0.1.134
type UpgradePolicyStateUpdateServerRequest struct {
// contains filtered or unexported fields
}
UpgradePolicyStateUpdateServerRequest is the request for the 'update' method.
func (*UpgradePolicyStateUpdateServerRequest) Body ¶ added in v0.1.134
func (r *UpgradePolicyStateUpdateServerRequest) Body() *UpgradePolicyState
Body returns the value of the 'body' parameter.
func (*UpgradePolicyStateUpdateServerRequest) GetBody ¶ added in v0.1.134
func (r *UpgradePolicyStateUpdateServerRequest) GetBody() (value *UpgradePolicyState, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type UpgradePolicyStateUpdateServerResponse ¶ added in v0.1.134
type UpgradePolicyStateUpdateServerResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyStateUpdateServerResponse is the response for the 'update' method.
func (*UpgradePolicyStateUpdateServerResponse) Body ¶ added in v0.1.134
func (r *UpgradePolicyStateUpdateServerResponse) Body(value *UpgradePolicyState) *UpgradePolicyStateUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*UpgradePolicyStateUpdateServerResponse) Status ¶ added in v0.1.134
func (r *UpgradePolicyStateUpdateServerResponse) Status(value int) *UpgradePolicyStateUpdateServerResponse
Status sets the status code.
type UpgradePolicyUpdateRequest ¶ added in v0.0.329
type UpgradePolicyUpdateRequest struct {
// contains filtered or unexported fields
}
UpgradePolicyUpdateRequest is the request for the 'update' method.
func (*UpgradePolicyUpdateRequest) Body ¶ added in v0.0.329
func (r *UpgradePolicyUpdateRequest) Body(value *UpgradePolicy) *UpgradePolicyUpdateRequest
Body sets the value of the 'body' parameter.
func (*UpgradePolicyUpdateRequest) Header ¶ added in v0.0.329
func (r *UpgradePolicyUpdateRequest) Header(name string, value interface{}) *UpgradePolicyUpdateRequest
Header adds a request header.
func (*UpgradePolicyUpdateRequest) Parameter ¶ added in v0.0.329
func (r *UpgradePolicyUpdateRequest) Parameter(name string, value interface{}) *UpgradePolicyUpdateRequest
Parameter adds a query parameter.
func (*UpgradePolicyUpdateRequest) Send ¶ added in v0.0.329
func (r *UpgradePolicyUpdateRequest) Send() (result *UpgradePolicyUpdateResponse, 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 (*UpgradePolicyUpdateRequest) SendContext ¶ added in v0.0.329
func (r *UpgradePolicyUpdateRequest) SendContext(ctx context.Context) (result *UpgradePolicyUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type UpgradePolicyUpdateResponse ¶ added in v0.0.329
type UpgradePolicyUpdateResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyUpdateResponse is the response for the 'update' method.
func (*UpgradePolicyUpdateResponse) Body ¶ added in v0.0.329
func (r *UpgradePolicyUpdateResponse) Body() *UpgradePolicy
Body returns the value of the 'body' parameter.
func (*UpgradePolicyUpdateResponse) Error ¶ added in v0.0.329
func (r *UpgradePolicyUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*UpgradePolicyUpdateResponse) GetBody ¶ added in v0.0.329
func (r *UpgradePolicyUpdateResponse) GetBody() (value *UpgradePolicy, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*UpgradePolicyUpdateResponse) Header ¶ added in v0.0.329
func (r *UpgradePolicyUpdateResponse) Header() http.Header
Header returns header of the response.
func (*UpgradePolicyUpdateResponse) Status ¶ added in v0.0.329
func (r *UpgradePolicyUpdateResponse) Status() int
Status returns the response status code.
type UpgradePolicyUpdateServerRequest ¶ added in v0.1.128
type UpgradePolicyUpdateServerRequest struct {
// contains filtered or unexported fields
}
UpgradePolicyUpdateServerRequest is the request for the 'update' method.
func (*UpgradePolicyUpdateServerRequest) Body ¶ added in v0.1.128
func (r *UpgradePolicyUpdateServerRequest) Body() *UpgradePolicy
Body returns the value of the 'body' parameter.
func (*UpgradePolicyUpdateServerRequest) GetBody ¶ added in v0.1.128
func (r *UpgradePolicyUpdateServerRequest) GetBody() (value *UpgradePolicy, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type UpgradePolicyUpdateServerResponse ¶ added in v0.1.128
type UpgradePolicyUpdateServerResponse struct {
// contains filtered or unexported fields
}
UpgradePolicyUpdateServerResponse is the response for the 'update' method.
func (*UpgradePolicyUpdateServerResponse) Body ¶ added in v0.1.128
func (r *UpgradePolicyUpdateServerResponse) Body(value *UpgradePolicy) *UpgradePolicyUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*UpgradePolicyUpdateServerResponse) Status ¶ added in v0.1.128
func (r *UpgradePolicyUpdateServerResponse) Status(value int) *UpgradePolicyUpdateServerResponse
Status sets the status code.
type User ¶
type User struct {
// contains filtered or unexported fields
}
User represents the values of the 'user' type.
Representation of a user.
func UnmarshalUser ¶
UnmarshalUser reads a value of the 'user' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalUserList ¶
UnmarshalUserList reads a list of values of the 'user' type from the given source, which can be a slice of bytes, a string or a reader.
func (*User) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
type UserBuilder ¶
type UserBuilder struct {
// contains filtered or unexported fields
}
UserBuilder contains the data and logic needed to build 'user' objects.
Representation of a user.
func (*UserBuilder) Build ¶
func (b *UserBuilder) Build() (object *User, err error)
Build creates a 'user' object using the configuration stored in the builder.
func (*UserBuilder) Copy ¶
func (b *UserBuilder) Copy(object *User) *UserBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*UserBuilder) HREF ¶
func (b *UserBuilder) HREF(value string) *UserBuilder
HREF sets the link to the object.
func (*UserBuilder) ID ¶
func (b *UserBuilder) ID(value string) *UserBuilder
ID sets the identifier of the object.
func (*UserBuilder) Link ¶
func (b *UserBuilder) Link(value bool) *UserBuilder
Link sets the flag that indicates if this is a link.
type UserClient ¶
type UserClient struct {
// contains filtered or unexported fields
}
UserClient is the client of the 'user' resource.
Manages a specific user.
func NewUserClient ¶
func NewUserClient(transport http.RoundTripper, path string, metric string) *UserClient
NewUserClient creates a new client for the 'user' resource using the given transport to send the requests and receive the responses.
func (*UserClient) Delete ¶
func (c *UserClient) Delete() *UserDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the user.
func (*UserClient) Get ¶
func (c *UserClient) Get() *UserGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the user.
func (*UserClient) Poll ¶
func (c *UserClient) Poll() *UserPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type UserDeleteRequest ¶
type UserDeleteRequest struct {
// contains filtered or unexported fields
}
UserDeleteRequest is the request for the 'delete' method.
func (*UserDeleteRequest) Header ¶
func (r *UserDeleteRequest) Header(name string, value interface{}) *UserDeleteRequest
Header adds a request header.
func (*UserDeleteRequest) Parameter ¶
func (r *UserDeleteRequest) Parameter(name string, value interface{}) *UserDeleteRequest
Parameter adds a query parameter.
func (*UserDeleteRequest) Send ¶
func (r *UserDeleteRequest) Send() (result *UserDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*UserDeleteRequest) SendContext ¶
func (r *UserDeleteRequest) SendContext(ctx context.Context) (result *UserDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type UserDeleteResponse ¶
type UserDeleteResponse struct {
// contains filtered or unexported fields
}
UserDeleteResponse is the response for the 'delete' method.
func (*UserDeleteResponse) Error ¶
func (r *UserDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*UserDeleteResponse) Header ¶
func (r *UserDeleteResponse) Header() http.Header
Header returns header of the response.
func (*UserDeleteResponse) Status ¶
func (r *UserDeleteResponse) Status() int
Status returns the response status code.
type UserDeleteServerRequest ¶
type UserDeleteServerRequest struct { }
UserDeleteServerRequest is the request for the 'delete' method.
type UserDeleteServerResponse ¶
type UserDeleteServerResponse struct {
// contains filtered or unexported fields
}
UserDeleteServerResponse is the response for the 'delete' method.
func (*UserDeleteServerResponse) Status ¶
func (r *UserDeleteServerResponse) Status(value int) *UserDeleteServerResponse
Status sets the status code.
type UserGetRequest ¶
type UserGetRequest struct {
// contains filtered or unexported fields
}
UserGetRequest is the request for the 'get' method.
func (*UserGetRequest) Header ¶
func (r *UserGetRequest) Header(name string, value interface{}) *UserGetRequest
Header adds a request header.
func (*UserGetRequest) Parameter ¶
func (r *UserGetRequest) Parameter(name string, value interface{}) *UserGetRequest
Parameter adds a query parameter.
func (*UserGetRequest) Send ¶
func (r *UserGetRequest) Send() (result *UserGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*UserGetRequest) SendContext ¶
func (r *UserGetRequest) SendContext(ctx context.Context) (result *UserGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type UserGetResponse ¶
type UserGetResponse struct {
// contains filtered or unexported fields
}
UserGetResponse is the response for the 'get' method.
func (*UserGetResponse) Body ¶
func (r *UserGetResponse) Body() *User
Body returns the value of the 'body' parameter.
func (*UserGetResponse) Error ¶
func (r *UserGetResponse) Error() *errors.Error
Error returns the response error.
func (*UserGetResponse) GetBody ¶
func (r *UserGetResponse) GetBody() (value *User, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*UserGetResponse) Header ¶
func (r *UserGetResponse) Header() http.Header
Header returns header of the response.
func (*UserGetResponse) Status ¶
func (r *UserGetResponse) Status() int
Status returns the response status code.
type UserGetServerRequest ¶
type UserGetServerRequest struct { }
UserGetServerRequest is the request for the 'get' method.
type UserGetServerResponse ¶
type UserGetServerResponse struct {
// contains filtered or unexported fields
}
UserGetServerResponse is the response for the 'get' method.
func (*UserGetServerResponse) Body ¶
func (r *UserGetServerResponse) Body(value *User) *UserGetServerResponse
Body sets the value of the 'body' parameter.
func (*UserGetServerResponse) Status ¶
func (r *UserGetServerResponse) Status(value int) *UserGetServerResponse
Status sets the status code.
type UserList ¶
type UserList struct {
// contains filtered or unexported fields
}
UserList is a list of values of the 'user' type.
func (*UserList) Each ¶
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*UserList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*UserList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*UserList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*UserList) 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 UserListBuilder ¶
type UserListBuilder struct {
// contains filtered or unexported fields
}
UserListBuilder contains the data and logic needed to build 'user' objects.
func NewUserList ¶
func NewUserList() *UserListBuilder
NewUserList creates a new builder of 'user' objects.
func (*UserListBuilder) Build ¶
func (b *UserListBuilder) Build() (list *UserList, err error)
Build creates a list of 'user' objects using the configuration stored in the builder.
func (*UserListBuilder) Copy ¶
func (b *UserListBuilder) Copy(list *UserList) *UserListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*UserListBuilder) Items ¶
func (b *UserListBuilder) Items(values ...*UserBuilder) *UserListBuilder
Items sets the items of the list.
type UserPollRequest ¶
type UserPollRequest struct {
// contains filtered or unexported fields
}
UserPollRequest is the request for the Poll method.
func (*UserPollRequest) Header ¶
func (r *UserPollRequest) Header(name string, value interface{}) *UserPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*UserPollRequest) Interval ¶
func (r *UserPollRequest) Interval(value time.Duration) *UserPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*UserPollRequest) Parameter ¶
func (r *UserPollRequest) Parameter(name string, value interface{}) *UserPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*UserPollRequest) Predicate ¶
func (r *UserPollRequest) Predicate(value func(*UserGetResponse) bool) *UserPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*UserPollRequest) StartContext ¶
func (r *UserPollRequest) StartContext(ctx context.Context) (response *UserPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*UserPollRequest) Status ¶
func (r *UserPollRequest) Status(value int) *UserPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type UserPollResponse ¶
type UserPollResponse struct {
// contains filtered or unexported fields
}
UserPollResponse is the response for the Poll method.
func (*UserPollResponse) Body ¶
func (r *UserPollResponse) Body() *User
Body returns the value of the 'body' parameter.
func (*UserPollResponse) Error ¶
func (r *UserPollResponse) Error() *errors.Error
Error returns the response error.
func (*UserPollResponse) GetBody ¶
func (r *UserPollResponse) GetBody() (value *User, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*UserPollResponse) Header ¶
func (r *UserPollResponse) Header() http.Header
Header returns header of the response.
func (*UserPollResponse) Status ¶
func (r *UserPollResponse) Status() int
Status returns the response status code.
type UserServer ¶
type UserServer interface { // Delete handles a request for the 'delete' method. // // Deletes the user. Delete(ctx context.Context, request *UserDeleteServerRequest, response *UserDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the user. Get(ctx context.Context, request *UserGetServerRequest, response *UserGetServerResponse) error }
UserServer represents the interface the manages the 'user' resource.
type UsersAddRequest ¶
type UsersAddRequest struct {
// contains filtered or unexported fields
}
UsersAddRequest is the request for the 'add' method.
func (*UsersAddRequest) Body ¶
func (r *UsersAddRequest) Body(value *User) *UsersAddRequest
Body sets the value of the 'body' parameter.
Description of the user.
func (*UsersAddRequest) Header ¶
func (r *UsersAddRequest) Header(name string, value interface{}) *UsersAddRequest
Header adds a request header.
func (*UsersAddRequest) Parameter ¶
func (r *UsersAddRequest) Parameter(name string, value interface{}) *UsersAddRequest
Parameter adds a query parameter.
func (*UsersAddRequest) Send ¶
func (r *UsersAddRequest) Send() (result *UsersAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*UsersAddRequest) SendContext ¶
func (r *UsersAddRequest) SendContext(ctx context.Context) (result *UsersAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type UsersAddResponse ¶
type UsersAddResponse struct {
// contains filtered or unexported fields
}
UsersAddResponse is the response for the 'add' method.
func (*UsersAddResponse) Body ¶
func (r *UsersAddResponse) Body() *User
Body returns the value of the 'body' parameter.
Description of the user.
func (*UsersAddResponse) Error ¶
func (r *UsersAddResponse) Error() *errors.Error
Error returns the response error.
func (*UsersAddResponse) GetBody ¶
func (r *UsersAddResponse) GetBody() (value *User, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the user.
func (*UsersAddResponse) Header ¶
func (r *UsersAddResponse) Header() http.Header
Header returns header of the response.
func (*UsersAddResponse) Status ¶
func (r *UsersAddResponse) Status() int
Status returns the response status code.
type UsersAddServerRequest ¶
type UsersAddServerRequest struct {
// contains filtered or unexported fields
}
UsersAddServerRequest is the request for the 'add' method.
func (*UsersAddServerRequest) Body ¶
func (r *UsersAddServerRequest) Body() *User
Body returns the value of the 'body' parameter.
Description of the user.
func (*UsersAddServerRequest) GetBody ¶
func (r *UsersAddServerRequest) GetBody() (value *User, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the user.
type UsersAddServerResponse ¶
type UsersAddServerResponse struct {
// contains filtered or unexported fields
}
UsersAddServerResponse is the response for the 'add' method.
func (*UsersAddServerResponse) Body ¶
func (r *UsersAddServerResponse) Body(value *User) *UsersAddServerResponse
Body sets the value of the 'body' parameter.
Description of the user.
func (*UsersAddServerResponse) Status ¶
func (r *UsersAddServerResponse) Status(value int) *UsersAddServerResponse
Status sets the status code.
type UsersClient ¶
type UsersClient struct {
// contains filtered or unexported fields
}
UsersClient is the client of the 'users' resource.
Manages the collection of users of a group.
func NewUsersClient ¶
func NewUsersClient(transport http.RoundTripper, path string, metric string) *UsersClient
NewUsersClient creates a new client for the 'users' resource using the given transport to send the requests and receive the responses.
func (*UsersClient) Add ¶
func (c *UsersClient) Add() *UsersAddRequest
Add creates a request for the 'add' method.
Adds a new user to the group.
func (*UsersClient) List ¶
func (c *UsersClient) List() *UsersListRequest
List creates a request for the 'list' method.
Retrieves the list of users.
func (*UsersClient) User ¶
func (c *UsersClient) User(id string) *UserClient
User returns the target 'user' resource for the given identifier.
Reference to the service that manages an specific user.
type UsersListRequest ¶
type UsersListRequest struct {
// contains filtered or unexported fields
}
UsersListRequest is the request for the 'list' method.
func (*UsersListRequest) Header ¶
func (r *UsersListRequest) Header(name string, value interface{}) *UsersListRequest
Header adds a request header.
func (*UsersListRequest) Page ¶
func (r *UsersListRequest) Page(value int) *UsersListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*UsersListRequest) Parameter ¶
func (r *UsersListRequest) Parameter(name string, value interface{}) *UsersListRequest
Parameter adds a query parameter.
func (*UsersListRequest) Send ¶
func (r *UsersListRequest) Send() (result *UsersListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*UsersListRequest) SendContext ¶
func (r *UsersListRequest) SendContext(ctx context.Context) (result *UsersListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*UsersListRequest) Size ¶
func (r *UsersListRequest) Size(value int) *UsersListRequest
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
type UsersListResponse ¶
type UsersListResponse struct {
// contains filtered or unexported fields
}
UsersListResponse is the response for the 'list' method.
func (*UsersListResponse) Error ¶
func (r *UsersListResponse) Error() *errors.Error
Error returns the response error.
func (*UsersListResponse) GetItems ¶
func (r *UsersListResponse) GetItems() (value *UserList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of users.
func (*UsersListResponse) GetPage ¶
func (r *UsersListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*UsersListResponse) GetSize ¶
func (r *UsersListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*UsersListResponse) GetTotal ¶
func (r *UsersListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection.
func (*UsersListResponse) Header ¶
func (r *UsersListResponse) Header() http.Header
Header returns header of the response.
func (*UsersListResponse) Items ¶
func (r *UsersListResponse) Items() *UserList
Items returns the value of the 'items' parameter.
Retrieved list of users.
func (*UsersListResponse) Page ¶
func (r *UsersListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*UsersListResponse) Size ¶
func (r *UsersListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
func (*UsersListResponse) Status ¶
func (r *UsersListResponse) Status() int
Status returns the response status code.
func (*UsersListResponse) Total ¶
func (r *UsersListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection.
type UsersListServerRequest ¶
type UsersListServerRequest struct {
// contains filtered or unexported fields
}
UsersListServerRequest is the request for the 'list' method.
func (*UsersListServerRequest) GetPage ¶
func (r *UsersListServerRequest) 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 (*UsersListServerRequest) GetSize ¶
func (r *UsersListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items contained in the returned page.
func (*UsersListServerRequest) Page ¶
func (r *UsersListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*UsersListServerRequest) Size ¶
func (r *UsersListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items contained in the returned page.
type UsersListServerResponse ¶
type UsersListServerResponse struct {
// contains filtered or unexported fields
}
UsersListServerResponse is the response for the 'list' method.
func (*UsersListServerResponse) Items ¶
func (r *UsersListServerResponse) Items(value *UserList) *UsersListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of users.
func (*UsersListServerResponse) Page ¶
func (r *UsersListServerResponse) Page(value int) *UsersListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*UsersListServerResponse) Size ¶
func (r *UsersListServerResponse) Size(value int) *UsersListServerResponse
Size sets the value of the 'size' parameter.
Number of items contained in the returned page.
func (*UsersListServerResponse) Status ¶
func (r *UsersListServerResponse) Status(value int) *UsersListServerResponse
Status sets the status code.
func (*UsersListServerResponse) Total ¶
func (r *UsersListServerResponse) Total(value int) *UsersListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection.
type UsersServer ¶
type UsersServer interface { // Add handles a request for the 'add' method. // // Adds a new user to the group. Add(ctx context.Context, request *UsersAddServerRequest, response *UsersAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of users. List(ctx context.Context, request *UsersListServerRequest, response *UsersListServerResponse) error // User returns the target 'user' server for the given identifier. // // Reference to the service that manages an specific user. User(id string) UserServer }
UsersServer represents the interface the manages the 'users' resource.
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value represents the values of the 'value' type.
Numeric value and the unit used to measure it.
Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:
- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes
- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes
func UnmarshalValue ¶
UnmarshalValue reads a value of the 'value' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalValueList ¶
UnmarshalValueList reads a list of values of the 'value' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Value) GetUnit ¶
GetUnit returns the value of the 'unit' attribute and a flag indicating if the attribute has a value.
Name of the unit used to measure the value.
func (*Value) GetValue ¶
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
Numeric value.
type ValueBuilder ¶
type ValueBuilder struct {
// contains filtered or unexported fields
}
ValueBuilder contains the data and logic needed to build 'value' objects.
Numeric value and the unit used to measure it.
Units are not mandatory, and they're not specified for some resources. For resources that use bytes, the accepted units are:
- 1 B = 1 byte - 1 KB = 10^3 bytes - 1 MB = 10^6 bytes - 1 GB = 10^9 bytes - 1 TB = 10^12 bytes - 1 PB = 10^15 bytes
- 1 B = 1 byte - 1 KiB = 2^10 bytes - 1 MiB = 2^20 bytes - 1 GiB = 2^30 bytes - 1 TiB = 2^40 bytes - 1 PiB = 2^50 bytes
func (*ValueBuilder) Build ¶
func (b *ValueBuilder) Build() (object *Value, err error)
Build creates a 'value' object using the configuration stored in the builder.
func (*ValueBuilder) Copy ¶
func (b *ValueBuilder) Copy(object *Value) *ValueBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ValueBuilder) Unit ¶
func (b *ValueBuilder) Unit(value string) *ValueBuilder
Unit sets the value of the 'unit' attribute to the given value.
func (*ValueBuilder) Value ¶
func (b *ValueBuilder) Value(value float64) *ValueBuilder
Value sets the value of the 'value' attribute to the given value.
type ValueList ¶
type ValueList struct {
// contains filtered or unexported fields
}
ValueList is a list of values of the 'value' type.
func (*ValueList) Each ¶
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ValueList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ValueList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ValueList) 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 ValueListBuilder ¶
type ValueListBuilder struct {
// contains filtered or unexported fields
}
ValueListBuilder contains the data and logic needed to build 'value' objects.
func NewValueList ¶
func NewValueList() *ValueListBuilder
NewValueList creates a new builder of 'value' objects.
func (*ValueListBuilder) Build ¶
func (b *ValueListBuilder) Build() (list *ValueList, err error)
Build creates a list of 'value' objects using the configuration stored in the builder.
func (*ValueListBuilder) Copy ¶
func (b *ValueListBuilder) Copy(list *ValueList) *ValueListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ValueListBuilder) Items ¶
func (b *ValueListBuilder) Items(values ...*ValueBuilder) *ValueListBuilder
Items sets the items of the list.
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
Version represents the values of the 'version' type.
Representation of an _OpenShift_ version.
func UnmarshalVersion ¶
UnmarshalVersion reads a value of the 'version' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalVersionList ¶
UnmarshalVersionList reads a list of values of the 'version' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Version) AvailableUpgrades ¶ added in v0.0.329
AvailableUpgrades returns the value of the 'available_upgrades' attribute, or the zero value of the type if the attribute doesn't have a value.
AvailableUpgrades is the list of versions this version can be upgraded to.
func (*Version) ChannelGroup ¶
ChannelGroup returns the value of the 'channel_group' attribute, or the zero value of the type if the attribute doesn't have a value.
ChannelGroup is the name of the group where this image belongs. ChannelGroup is a mechanism to partition the images to different groups, each image belongs to only a single group.
func (*Version) Default ¶
Default returns the value of the 'default' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if this should be selected as the default version when a cluster is created without specifying explicitly the version.
func (*Version) Enabled ¶
Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates if this version can be used to create clusters.
func (*Version) GetAvailableUpgrades ¶ added in v0.0.329
GetAvailableUpgrades returns the value of the 'available_upgrades' attribute and a flag indicating if the attribute has a value.
AvailableUpgrades is the list of versions this version can be upgraded to.
func (*Version) GetChannelGroup ¶
GetChannelGroup returns the value of the 'channel_group' attribute and a flag indicating if the attribute has a value.
ChannelGroup is the name of the group where this image belongs. ChannelGroup is a mechanism to partition the images to different groups, each image belongs to only a single group.
func (*Version) GetDefault ¶
GetDefault returns the value of the 'default' attribute and a flag indicating if the attribute has a value.
Indicates if this should be selected as the default version when a cluster is created without specifying explicitly the version.
func (*Version) GetEnabled ¶
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
Indicates if this version can be used to create clusters.
func (*Version) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Version) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Version) GetROSAEnabled ¶ added in v0.0.329
GetROSAEnabled returns the value of the 'ROSA_enabled' attribute and a flag indicating if the attribute has a value.
ROSAEnabled indicates whether this version can be used to create ROSA clusters.
func (*Version) GetRawID ¶ added in v0.0.329
GetRawID returns the value of the 'raw_ID' attribute and a flag indicating if the attribute has a value.
RawID is the id of the version - without channel group and prefix.
func (*Version) ROSAEnabled ¶ added in v0.0.329
ROSAEnabled returns the value of the 'ROSA_enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
ROSAEnabled indicates whether this version can be used to create ROSA clusters.
type VersionBuilder ¶
type VersionBuilder struct {
// contains filtered or unexported fields
}
VersionBuilder contains the data and logic needed to build 'version' objects.
Representation of an _OpenShift_ version.
func NewVersion ¶
func NewVersion() *VersionBuilder
NewVersion creates a new builder of 'version' objects.
func (*VersionBuilder) AvailableUpgrades ¶ added in v0.0.329
func (b *VersionBuilder) AvailableUpgrades(values ...string) *VersionBuilder
AvailableUpgrades sets the value of the 'available_upgrades' attribute to the given values.
func (*VersionBuilder) Build ¶
func (b *VersionBuilder) Build() (object *Version, err error)
Build creates a 'version' object using the configuration stored in the builder.
func (*VersionBuilder) ChannelGroup ¶
func (b *VersionBuilder) ChannelGroup(value string) *VersionBuilder
ChannelGroup sets the value of the 'channel_group' attribute to the given value.
func (*VersionBuilder) Copy ¶
func (b *VersionBuilder) Copy(object *Version) *VersionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*VersionBuilder) Default ¶
func (b *VersionBuilder) Default(value bool) *VersionBuilder
Default sets the value of the 'default' attribute to the given value.
func (*VersionBuilder) Enabled ¶
func (b *VersionBuilder) Enabled(value bool) *VersionBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
func (*VersionBuilder) HREF ¶
func (b *VersionBuilder) HREF(value string) *VersionBuilder
HREF sets the link to the object.
func (*VersionBuilder) ID ¶
func (b *VersionBuilder) ID(value string) *VersionBuilder
ID sets the identifier of the object.
func (*VersionBuilder) Link ¶
func (b *VersionBuilder) Link(value bool) *VersionBuilder
Link sets the flag that indicates if this is a link.
func (*VersionBuilder) ROSAEnabled ¶ added in v0.0.329
func (b *VersionBuilder) ROSAEnabled(value bool) *VersionBuilder
ROSAEnabled sets the value of the 'ROSA_enabled' attribute to the given value.
func (*VersionBuilder) RawID ¶ added in v0.0.329
func (b *VersionBuilder) RawID(value string) *VersionBuilder
RawID sets the value of the 'raw_ID' attribute to the given value.
type VersionClient ¶
type VersionClient struct {
// contains filtered or unexported fields
}
VersionClient is the client of the 'version' resource.
Manages a specific version.
func NewVersionClient ¶
func NewVersionClient(transport http.RoundTripper, path string, metric string) *VersionClient
NewVersionClient creates a new client for the 'version' resource using the given transport to send the requests and receive the responses.
func (*VersionClient) Get ¶
func (c *VersionClient) Get() *VersionGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the version.
func (*VersionClient) Poll ¶
func (c *VersionClient) Poll() *VersionPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type VersionGetRequest ¶
type VersionGetRequest struct {
// contains filtered or unexported fields
}
VersionGetRequest is the request for the 'get' method.
func (*VersionGetRequest) Header ¶
func (r *VersionGetRequest) Header(name string, value interface{}) *VersionGetRequest
Header adds a request header.
func (*VersionGetRequest) Parameter ¶
func (r *VersionGetRequest) Parameter(name string, value interface{}) *VersionGetRequest
Parameter adds a query parameter.
func (*VersionGetRequest) Send ¶
func (r *VersionGetRequest) Send() (result *VersionGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*VersionGetRequest) SendContext ¶
func (r *VersionGetRequest) SendContext(ctx context.Context) (result *VersionGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type VersionGetResponse ¶
type VersionGetResponse struct {
// contains filtered or unexported fields
}
VersionGetResponse is the response for the 'get' method.
func (*VersionGetResponse) Body ¶
func (r *VersionGetResponse) Body() *Version
Body returns the value of the 'body' parameter.
func (*VersionGetResponse) Error ¶
func (r *VersionGetResponse) Error() *errors.Error
Error returns the response error.
func (*VersionGetResponse) GetBody ¶
func (r *VersionGetResponse) GetBody() (value *Version, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*VersionGetResponse) Header ¶
func (r *VersionGetResponse) Header() http.Header
Header returns header of the response.
func (*VersionGetResponse) Status ¶
func (r *VersionGetResponse) Status() int
Status returns the response status code.
type VersionGetServerRequest ¶
type VersionGetServerRequest struct { }
VersionGetServerRequest is the request for the 'get' method.
type VersionGetServerResponse ¶
type VersionGetServerResponse struct {
// contains filtered or unexported fields
}
VersionGetServerResponse is the response for the 'get' method.
func (*VersionGetServerResponse) Body ¶
func (r *VersionGetServerResponse) Body(value *Version) *VersionGetServerResponse
Body sets the value of the 'body' parameter.
func (*VersionGetServerResponse) Status ¶
func (r *VersionGetServerResponse) Status(value int) *VersionGetServerResponse
Status sets the status code.
type VersionList ¶
type VersionList struct {
// contains filtered or unexported fields
}
VersionList is a list of values of the 'version' type.
func (*VersionList) Each ¶
func (l *VersionList) Each(f func(item *Version) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*VersionList) Empty ¶
func (l *VersionList) Empty() bool
Empty returns true if the list is empty.
func (*VersionList) Get ¶
func (l *VersionList) Get(i int) *Version
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*VersionList) GetHREF ¶
func (l *VersionList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*VersionList) Kind ¶
func (l *VersionList) Kind() string
Kind returns the name of the type of the object.
func (*VersionList) Range ¶
func (l *VersionList) Range(f func(index int, item *Version) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*VersionList) Slice ¶
func (l *VersionList) Slice() []*Version
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type VersionListBuilder ¶
type VersionListBuilder struct {
// contains filtered or unexported fields
}
VersionListBuilder contains the data and logic needed to build 'version' objects.
func NewVersionList ¶
func NewVersionList() *VersionListBuilder
NewVersionList creates a new builder of 'version' objects.
func (*VersionListBuilder) Build ¶
func (b *VersionListBuilder) Build() (list *VersionList, err error)
Build creates a list of 'version' objects using the configuration stored in the builder.
func (*VersionListBuilder) Copy ¶
func (b *VersionListBuilder) Copy(list *VersionList) *VersionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*VersionListBuilder) Items ¶
func (b *VersionListBuilder) Items(values ...*VersionBuilder) *VersionListBuilder
Items sets the items of the list.
type VersionPollRequest ¶
type VersionPollRequest struct {
// contains filtered or unexported fields
}
VersionPollRequest is the request for the Poll method.
func (*VersionPollRequest) Header ¶
func (r *VersionPollRequest) Header(name string, value interface{}) *VersionPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*VersionPollRequest) Interval ¶
func (r *VersionPollRequest) Interval(value time.Duration) *VersionPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*VersionPollRequest) Parameter ¶
func (r *VersionPollRequest) Parameter(name string, value interface{}) *VersionPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*VersionPollRequest) Predicate ¶
func (r *VersionPollRequest) Predicate(value func(*VersionGetResponse) bool) *VersionPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*VersionPollRequest) StartContext ¶
func (r *VersionPollRequest) StartContext(ctx context.Context) (response *VersionPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*VersionPollRequest) Status ¶
func (r *VersionPollRequest) Status(value int) *VersionPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type VersionPollResponse ¶
type VersionPollResponse struct {
// contains filtered or unexported fields
}
VersionPollResponse is the response for the Poll method.
func (*VersionPollResponse) Body ¶
func (r *VersionPollResponse) Body() *Version
Body returns the value of the 'body' parameter.
func (*VersionPollResponse) Error ¶
func (r *VersionPollResponse) Error() *errors.Error
Error returns the response error.
func (*VersionPollResponse) GetBody ¶
func (r *VersionPollResponse) GetBody() (value *Version, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*VersionPollResponse) Header ¶
func (r *VersionPollResponse) Header() http.Header
Header returns header of the response.
func (*VersionPollResponse) Status ¶
func (r *VersionPollResponse) Status() int
Status returns the response status code.
type VersionServer ¶
type VersionServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the version. Get(ctx context.Context, request *VersionGetServerRequest, response *VersionGetServerResponse) error }
VersionServer represents the interface the manages the 'version' resource.
type VersionsClient ¶
type VersionsClient struct {
// contains filtered or unexported fields
}
VersionsClient is the client of the 'versions' resource.
Manages the collection of versions.
func NewVersionsClient ¶
func NewVersionsClient(transport http.RoundTripper, path string, metric string) *VersionsClient
NewVersionsClient creates a new client for the 'versions' resource using the given transport to send the requests and receive the responses.
func (*VersionsClient) List ¶
func (c *VersionsClient) List() *VersionsListRequest
List creates a request for the 'list' method.
Retrieves a list of versions.
func (*VersionsClient) Version ¶
func (c *VersionsClient) Version(id string) *VersionClient
Version returns the target 'version' resource for the given identifier.
Reference to the resource that manages a specific version.
type VersionsListRequest ¶
type VersionsListRequest struct {
// contains filtered or unexported fields
}
VersionsListRequest is the request for the 'list' method.
func (*VersionsListRequest) Header ¶
func (r *VersionsListRequest) Header(name string, value interface{}) *VersionsListRequest
Header adds a request header.
func (*VersionsListRequest) Order ¶
func (r *VersionsListRequest) Order(value string) *VersionsListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the version instead of the names of the columns of a table. For example, in order to sort the versions descending by identifier the value should be:
[source,sql] ---- id desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*VersionsListRequest) Page ¶
func (r *VersionsListRequest) Page(value int) *VersionsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*VersionsListRequest) Parameter ¶
func (r *VersionsListRequest) Parameter(name string, value interface{}) *VersionsListRequest
Parameter adds a query parameter.
func (*VersionsListRequest) Search ¶
func (r *VersionsListRequest) Search(value string) *VersionsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the version instead of the names of the columns of a table. For example, in order to retrieve all the versions that are enabled:
[source,sql] ---- enabled = 't' ----
If the parameter isn't provided, or if the value is empty, then all the versions that the user has permission to see will be returned.
func (*VersionsListRequest) Send ¶
func (r *VersionsListRequest) Send() (result *VersionsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*VersionsListRequest) SendContext ¶
func (r *VersionsListRequest) SendContext(ctx context.Context) (result *VersionsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*VersionsListRequest) Size ¶
func (r *VersionsListRequest) Size(value int) *VersionsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
Default value is `100`.
type VersionsListResponse ¶
type VersionsListResponse struct {
// contains filtered or unexported fields
}
VersionsListResponse is the response for the 'list' method.
func (*VersionsListResponse) Error ¶
func (r *VersionsListResponse) Error() *errors.Error
Error returns the response error.
func (*VersionsListResponse) GetItems ¶
func (r *VersionsListResponse) GetItems() (value *VersionList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of versions.
func (*VersionsListResponse) GetPage ¶
func (r *VersionsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*VersionsListResponse) GetSize ¶
func (r *VersionsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
Default value is `100`.
func (*VersionsListResponse) GetTotal ¶
func (r *VersionsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*VersionsListResponse) Header ¶
func (r *VersionsListResponse) Header() http.Header
Header returns header of the response.
func (*VersionsListResponse) Items ¶
func (r *VersionsListResponse) Items() *VersionList
Items returns the value of the 'items' parameter.
Retrieved list of versions.
func (*VersionsListResponse) Page ¶
func (r *VersionsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*VersionsListResponse) Size ¶
func (r *VersionsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
Default value is `100`.
func (*VersionsListResponse) Status ¶
func (r *VersionsListResponse) Status() int
Status returns the response status code.
func (*VersionsListResponse) Total ¶
func (r *VersionsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type VersionsListServerRequest ¶
type VersionsListServerRequest struct {
// contains filtered or unexported fields
}
VersionsListServerRequest is the request for the 'list' method.
func (*VersionsListServerRequest) GetOrder ¶
func (r *VersionsListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the version instead of the names of the columns of a table. For example, in order to sort the versions descending by identifier the value should be:
[source,sql] ---- id desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*VersionsListServerRequest) GetPage ¶
func (r *VersionsListServerRequest) 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 (*VersionsListServerRequest) GetSearch ¶
func (r *VersionsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the version instead of the names of the columns of a table. For example, in order to retrieve all the versions that are enabled:
[source,sql] ---- enabled = 't' ----
If the parameter isn't provided, or if the value is empty, then all the versions that the user has permission to see will be returned.
func (*VersionsListServerRequest) GetSize ¶
func (r *VersionsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
Default value is `100`.
func (*VersionsListServerRequest) Order ¶
func (r *VersionsListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the version instead of the names of the columns of a table. For example, in order to sort the versions descending by identifier the value should be:
[source,sql] ---- id desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*VersionsListServerRequest) Page ¶
func (r *VersionsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*VersionsListServerRequest) Search ¶
func (r *VersionsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the version instead of the names of the columns of a table. For example, in order to retrieve all the versions that are enabled:
[source,sql] ---- enabled = 't' ----
If the parameter isn't provided, or if the value is empty, then all the versions that the user has permission to see will be returned.
func (*VersionsListServerRequest) Size ¶
func (r *VersionsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
Default value is `100`.
type VersionsListServerResponse ¶
type VersionsListServerResponse struct {
// contains filtered or unexported fields
}
VersionsListServerResponse is the response for the 'list' method.
func (*VersionsListServerResponse) Items ¶
func (r *VersionsListServerResponse) Items(value *VersionList) *VersionsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of versions.
func (*VersionsListServerResponse) Page ¶
func (r *VersionsListServerResponse) Page(value int) *VersionsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*VersionsListServerResponse) Size ¶
func (r *VersionsListServerResponse) Size(value int) *VersionsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
Default value is `100`.
func (*VersionsListServerResponse) Status ¶
func (r *VersionsListServerResponse) Status(value int) *VersionsListServerResponse
Status sets the status code.
func (*VersionsListServerResponse) Total ¶
func (r *VersionsListServerResponse) Total(value int) *VersionsListServerResponse
Total sets 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 VersionsServer ¶
type VersionsServer interface { // List handles a request for the 'list' method. // // Retrieves a list of versions. List(ctx context.Context, request *VersionsListServerRequest, response *VersionsListServerResponse) error // Version returns the target 'version' server for the given identifier. // // Reference to the resource that manages a specific version. Version(id string) VersionServer }
VersionsServer represents the interface the manages the 'versions' resource.
Source Files ¶
- add_on_builder.go
- add_on_client.go
- add_on_install_mode_list_type_json.go
- add_on_install_mode_type.go
- add_on_installation_builder.go
- add_on_installation_client.go
- add_on_installation_list_builder.go
- add_on_installation_list_type_json.go
- add_on_installation_parameter_builder.go
- add_on_installation_parameter_list_builder.go
- add_on_installation_parameter_list_type_json.go
- add_on_installation_parameter_type.go
- add_on_installation_parameter_type_json.go
- add_on_installation_resource_json.go
- add_on_installation_server.go
- add_on_installation_state_list_type_json.go
- add_on_installation_state_type.go
- add_on_installation_type.go
- add_on_installation_type_json.go
- add_on_installations_client.go
- add_on_installations_resource_json.go
- add_on_installations_server.go
- add_on_list_builder.go
- add_on_list_type_json.go
- add_on_parameter_builder.go
- add_on_parameter_list_builder.go
- add_on_parameter_list_type_json.go
- add_on_parameter_type.go
- add_on_parameter_type_json.go
- add_on_requirement_builder.go
- add_on_requirement_list_builder.go
- add_on_requirement_list_type_json.go
- add_on_requirement_type.go
- add_on_requirement_type_json.go
- add_on_resource_json.go
- add_on_server.go
- add_on_type.go
- add_on_type_json.go
- add_ons_client.go
- add_ons_resource_json.go
- add_ons_server.go
- admin_credentials_builder.go
- admin_credentials_list_builder.go
- admin_credentials_list_type_json.go
- admin_credentials_type.go
- admin_credentials_type_json.go
- alert_info_builder.go
- alert_info_list_builder.go
- alert_info_list_type_json.go
- alert_info_type.go
- alert_info_type_json.go
- alert_severity_list_type_json.go
- alert_severity_type.go
- alerts_info_builder.go
- alerts_info_list_builder.go
- alerts_info_list_type_json.go
- alerts_info_type.go
- alerts_info_type_json.go
- alerts_metric_query_client.go
- alerts_metric_query_resource_json.go
- alerts_metric_query_server.go
- available_regions_client.go
- available_regions_resource_json.go
- available_regions_server.go
- aws_builder.go
- aws_flavour_builder.go
- aws_flavour_list_builder.go
- aws_flavour_list_type_json.go
- aws_flavour_type.go
- aws_flavour_type_json.go
- aws_infrastructure_access_role_builder.go
- aws_infrastructure_access_role_client.go
- aws_infrastructure_access_role_grant_builder.go
- aws_infrastructure_access_role_grant_client.go
- aws_infrastructure_access_role_grant_list_builder.go
- aws_infrastructure_access_role_grant_list_type_json.go
- aws_infrastructure_access_role_grant_resource_json.go
- aws_infrastructure_access_role_grant_server.go
- aws_infrastructure_access_role_grant_state_list_type_json.go
- aws_infrastructure_access_role_grant_state_type.go
- aws_infrastructure_access_role_grant_type.go
- aws_infrastructure_access_role_grant_type_json.go
- aws_infrastructure_access_role_grants_client.go
- aws_infrastructure_access_role_grants_resource_json.go
- aws_infrastructure_access_role_grants_server.go
- aws_infrastructure_access_role_list_builder.go
- aws_infrastructure_access_role_list_type_json.go
- aws_infrastructure_access_role_resource_json.go
- aws_infrastructure_access_role_server.go
- aws_infrastructure_access_role_state_list_type_json.go
- aws_infrastructure_access_role_state_type.go
- aws_infrastructure_access_role_type.go
- aws_infrastructure_access_role_type_json.go
- aws_infrastructure_access_roles_client.go
- aws_infrastructure_access_roles_resource_json.go
- aws_infrastructure_access_roles_server.go
- aws_list_builder.go
- aws_list_type_json.go
- aws_type.go
- aws_type_json.go
- aws_volume_builder.go
- aws_volume_list_builder.go
- aws_volume_list_type_json.go
- aws_volume_type.go
- aws_volume_type_json.go
- boolean_list_type_json.go
- ccs_builder.go
- ccs_list_builder.go
- ccs_list_type_json.go
- ccs_type.go
- ccs_type_json.go
- cloud_provider_builder.go
- cloud_provider_client.go
- cloud_provider_list_builder.go
- cloud_provider_list_type_json.go
- cloud_provider_resource_json.go
- cloud_provider_server.go
- cloud_provider_type.go
- cloud_provider_type_json.go
- cloud_providers_client.go
- cloud_providers_resource_json.go
- cloud_providers_server.go
- cloud_region_builder.go
- cloud_region_client.go
- cloud_region_list_builder.go
- cloud_region_list_type_json.go
- cloud_region_resource_json.go
- cloud_region_server.go
- cloud_region_type.go
- cloud_region_type_json.go
- cloud_regions_client.go
- cloud_regions_resource_json.go
- cloud_regions_server.go
- cluster_api_builder.go
- cluster_api_list_builder.go
- cluster_api_list_type_json.go
- cluster_api_type.go
- cluster_api_type_json.go
- cluster_builder.go
- cluster_client.go
- cluster_console_builder.go
- cluster_console_list_builder.go
- cluster_console_list_type_json.go
- cluster_console_type.go
- cluster_console_type_json.go
- cluster_credentials_builder.go
- cluster_credentials_list_builder.go
- cluster_credentials_list_type_json.go
- cluster_credentials_type.go
- cluster_credentials_type_json.go
- cluster_health_state_list_type_json.go
- cluster_health_state_type.go
- cluster_list_builder.go
- cluster_list_type_json.go
- cluster_metric_builder.go
- cluster_metric_list_builder.go
- cluster_metric_list_type_json.go
- cluster_metric_type.go
- cluster_metric_type_json.go
- cluster_metrics_builder.go
- cluster_metrics_list_builder.go
- cluster_metrics_list_type_json.go
- cluster_metrics_type.go
- cluster_metrics_type_json.go
- cluster_nodes_builder.go
- cluster_nodes_list_builder.go
- cluster_nodes_list_type_json.go
- cluster_nodes_type.go
- cluster_nodes_type_json.go
- cluster_operator_info_builder.go
- cluster_operator_info_list_builder.go
- cluster_operator_info_list_type_json.go
- cluster_operator_info_type.go
- cluster_operator_info_type_json.go
- cluster_operator_state_list_type_json.go
- cluster_operator_state_type.go
- cluster_operators_info_builder.go
- cluster_operators_info_list_builder.go
- cluster_operators_info_list_type_json.go
- cluster_operators_info_type.go
- cluster_operators_info_type_json.go
- cluster_operators_metric_query_client.go
- cluster_operators_metric_query_resource_json.go
- cluster_operators_metric_query_server.go
- cluster_registration_builder.go
- cluster_registration_list_builder.go
- cluster_registration_list_type_json.go
- cluster_registration_type.go
- cluster_registration_type_json.go
- cluster_resource_json.go
- cluster_server.go
- cluster_state_list_type_json.go
- cluster_state_type.go
- cluster_status_builder.go
- cluster_status_client.go
- cluster_status_list_builder.go
- cluster_status_list_type_json.go
- cluster_status_resource_json.go
- cluster_status_server.go
- cluster_status_type.go
- cluster_status_type_json.go
- cluster_type.go
- cluster_type_json.go
- clusters_client.go
- clusters_resource_json.go
- clusters_server.go
- cpu_total_by_node_roles_os_metric_query_client.go
- cpu_total_by_node_roles_os_metric_query_resource_json.go
- cpu_total_by_node_roles_os_metric_query_server.go
- cpu_total_node_role_os_metric_node_builder.go
- cpu_total_node_role_os_metric_node_list_builder.go
- cpu_total_node_role_os_metric_node_list_type_json.go
- cpu_total_node_role_os_metric_node_type.go
- cpu_total_node_role_os_metric_node_type_json.go
- cpu_totals_node_role_os_metric_node_builder.go
- cpu_totals_node_role_os_metric_node_list_builder.go
- cpu_totals_node_role_os_metric_node_list_type_json.go
- cpu_totals_node_role_os_metric_node_type.go
- cpu_totals_node_role_os_metric_node_type_json.go
- credentials_client.go
- credentials_resource_json.go
- credentials_server.go
- dashboard_builder.go
- dashboard_client.go
- dashboard_list_builder.go
- dashboard_list_type_json.go
- dashboard_resource_json.go
- dashboard_server.go
- dashboard_type.go
- dashboard_type_json.go
- dashboards_client.go
- dashboards_resource_json.go
- dashboards_server.go
- date_list_type_json.go
- dns_builder.go
- dns_list_builder.go
- dns_list_type_json.go
- dns_type.go
- dns_type_json.go
- errors.go
- external_configuration_builder.go
- external_configuration_client.go
- external_configuration_list_builder.go
- external_configuration_list_type_json.go
- external_configuration_resource_json.go
- external_configuration_server.go
- external_configuration_type.go
- external_configuration_type_json.go
- flavour_builder.go
- flavour_client.go
- flavour_list_builder.go
- flavour_list_type_json.go
- flavour_nodes_builder.go
- flavour_nodes_list_builder.go
- flavour_nodes_list_type_json.go
- flavour_nodes_type.go
- flavour_nodes_type_json.go
- flavour_resource_json.go
- flavour_server.go
- flavour_type.go
- flavour_type_json.go
- flavours_client.go
- flavours_resource_json.go
- flavours_server.go
- float_list_type_json.go
- gcp_builder.go
- gcp_flavour_builder.go
- gcp_flavour_list_builder.go
- gcp_flavour_list_type_json.go
- gcp_flavour_type.go
- gcp_flavour_type_json.go
- gcp_list_builder.go
- gcp_list_type_json.go
- gcp_type.go
- gcp_type_json.go
- github_identity_provider_builder.go
- github_identity_provider_list_builder.go
- github_identity_provider_list_type_json.go
- github_identity_provider_type.go
- github_identity_provider_type_json.go
- gitlab_identity_provider_builder.go
- gitlab_identity_provider_list_builder.go
- gitlab_identity_provider_list_type_json.go
- gitlab_identity_provider_type.go
- gitlab_identity_provider_type_json.go
- google_identity_provider_builder.go
- google_identity_provider_list_builder.go
- google_identity_provider_list_type_json.go
- google_identity_provider_type.go
- google_identity_provider_type_json.go
- group_builder.go
- group_client.go
- group_list_builder.go
- group_list_type_json.go
- group_resource_json.go
- group_server.go
- group_type.go
- group_type_json.go
- groups_client.go
- groups_resource_json.go
- groups_server.go
- ht_passwd_identity_provider_builder.go
- ht_passwd_identity_provider_list_builder.go
- ht_passwd_identity_provider_list_type_json.go
- ht_passwd_identity_provider_type.go
- ht_passwd_identity_provider_type_json.go
- identity_provider_builder.go
- identity_provider_client.go
- identity_provider_list_builder.go
- identity_provider_list_type_json.go
- identity_provider_mapping_method_list_type_json.go
- identity_provider_mapping_method_type.go
- identity_provider_resource_json.go
- identity_provider_server.go
- identity_provider_type.go
- identity_provider_type_json.go
- identity_provider_type_list_type_json.go
- identity_provider_type_type.go
- identity_providers_client.go
- identity_providers_resource_json.go
- identity_providers_server.go
- ingress_builder.go
- ingress_client.go
- ingress_list_builder.go
- ingress_list_type_json.go
- ingress_resource_json.go
- ingress_server.go
- ingress_type.go
- ingress_type_json.go
- ingresses_client.go
- ingresses_resource_json.go
- ingresses_server.go
- integer_list_type_json.go
- interface_list_type_json.go
- label_builder.go
- label_client.go
- label_list_builder.go
- label_list_type_json.go
- label_resource_json.go
- label_server.go
- label_type.go
- label_type_json.go
- labels_client.go
- labels_resource_json.go
- labels_server.go
- ldap_attributes_builder.go
- ldap_attributes_list_builder.go
- ldap_attributes_list_type_json.go
- ldap_attributes_type.go
- ldap_attributes_type_json.go
- ldap_identity_provider_builder.go
- ldap_identity_provider_list_builder.go
- ldap_identity_provider_list_type_json.go
- ldap_identity_provider_type.go
- ldap_identity_provider_type_json.go
- listening_method_list_type_json.go
- listening_method_type.go
- log_builder.go
- log_client.go
- log_list_builder.go
- log_list_type_json.go
- log_resource_json.go
- log_server.go
- log_type.go
- log_type_json.go
- logs_client.go
- logs_resource_json.go
- logs_server.go
- long_list_type_json.go
- machine_pool_autoscaling_builder.go
- machine_pool_autoscaling_list_builder.go
- machine_pool_autoscaling_list_type_json.go
- machine_pool_autoscaling_type.go
- machine_pool_autoscaling_type_json.go
- machine_pool_builder.go
- machine_pool_client.go
- machine_pool_list_builder.go
- machine_pool_list_type_json.go
- machine_pool_resource_json.go
- machine_pool_server.go
- machine_pool_type.go
- machine_pool_type_json.go
- machine_pools_client.go
- machine_pools_resource_json.go
- machine_pools_server.go
- machine_type_builder.go
- machine_type_category_list_type_json.go
- machine_type_category_type.go
- machine_type_client.go
- machine_type_list_builder.go
- machine_type_list_type_json.go
- machine_type_resource_json.go
- machine_type_server.go
- machine_type_size_list_type_json.go
- machine_type_size_type.go
- machine_type_type.go
- machine_type_type_json.go
- machine_types_client.go
- machine_types_resource_json.go
- machine_types_server.go
- metadata_client.go
- metadata_reader.go
- metadata_type.go
- metric_builder.go
- metric_list_builder.go
- metric_list_type_json.go
- metric_queries_client.go
- metric_queries_resource_json.go
- metric_queries_server.go
- metric_type.go
- metric_type_json.go
- network_builder.go
- network_list_builder.go
- network_list_type_json.go
- network_type.go
- network_type_json.go
- node_info_builder.go
- node_info_list_builder.go
- node_info_list_type_json.go
- node_info_type.go
- node_info_type_json.go
- node_type_list_type_json.go
- node_type_type.go
- nodes_info_builder.go
- nodes_info_list_builder.go
- nodes_info_list_type_json.go
- nodes_info_type.go
- nodes_info_type_json.go
- nodes_metric_query_client.go
- nodes_metric_query_resource_json.go
- nodes_metric_query_server.go
- open_id_claims_builder.go
- open_id_claims_list_builder.go
- open_id_claims_list_type_json.go
- open_id_claims_type.go
- open_id_claims_type_json.go
- open_id_identity_provider_builder.go
- open_id_identity_provider_list_builder.go
- open_id_identity_provider_list_type_json.go
- open_id_identity_provider_type.go
- open_id_identity_provider_type_json.go
- openapi.go
- product_builder.go
- product_client.go
- product_list_builder.go
- product_list_type_json.go
- product_resource_json.go
- product_server.go
- product_type.go
- product_type_json.go
- products_client.go
- products_resource_json.go
- products_server.go
- provision_shard_builder.go
- provision_shard_client.go
- provision_shard_list_builder.go
- provision_shard_list_type_json.go
- provision_shard_resource_json.go
- provision_shard_server.go
- provision_shard_type.go
- provision_shard_type_json.go
- provision_shards_client.go
- provision_shards_resource_json.go
- provision_shards_server.go
- root_client.go
- root_resource_json.go
- root_server.go
- sample_builder.go
- sample_list_builder.go
- sample_list_type_json.go
- sample_type.go
- sample_type_json.go
- server_config_builder.go
- server_config_list_builder.go
- server_config_list_type_json.go
- server_config_type.go
- server_config_type_json.go
- socket_total_by_node_roles_os_metric_query_client.go
- socket_total_by_node_roles_os_metric_query_resource_json.go
- socket_total_by_node_roles_os_metric_query_server.go
- socket_total_node_role_os_metric_node_builder.go
- socket_total_node_role_os_metric_node_list_builder.go
- socket_total_node_role_os_metric_node_list_type_json.go
- socket_total_node_role_os_metric_node_type.go
- socket_total_node_role_os_metric_node_type_json.go
- socket_totals_node_role_os_metric_node_builder.go
- socket_totals_node_role_os_metric_node_list_builder.go
- socket_totals_node_role_os_metric_node_list_type_json.go
- socket_totals_node_role_os_metric_node_type.go
- socket_totals_node_role_os_metric_node_type_json.go
- ssh_credentials_builder.go
- ssh_credentials_list_builder.go
- ssh_credentials_list_type_json.go
- ssh_credentials_type.go
- ssh_credentials_type_json.go
- string_list_type_json.go
- subscription_builder.go
- subscription_list_builder.go
- subscription_list_type_json.go
- subscription_type.go
- subscription_type_json.go
- syncset_builder.go
- syncset_client.go
- syncset_list_builder.go
- syncset_list_type_json.go
- syncset_resource_json.go
- syncset_server.go
- syncset_type.go
- syncset_type_json.go
- syncsets_client.go
- syncsets_resource_json.go
- syncsets_server.go
- taint_builder.go
- taint_list_builder.go
- taint_list_type_json.go
- taint_type.go
- taint_type_json.go
- upgrade_policies_client.go
- upgrade_policies_resource_json.go
- upgrade_policies_server.go
- upgrade_policy_builder.go
- upgrade_policy_client.go
- upgrade_policy_list_builder.go
- upgrade_policy_list_type_json.go
- upgrade_policy_resource_json.go
- upgrade_policy_server.go
- upgrade_policy_state_builder.go
- upgrade_policy_state_client.go
- upgrade_policy_state_list_builder.go
- upgrade_policy_state_list_type_json.go
- upgrade_policy_state_resource_json.go
- upgrade_policy_state_server.go
- upgrade_policy_state_type.go
- upgrade_policy_state_type_json.go
- upgrade_policy_type.go
- upgrade_policy_type_json.go
- user_builder.go
- user_client.go
- user_list_builder.go
- user_list_type_json.go
- user_resource_json.go
- user_server.go
- user_type.go
- user_type_json.go
- users_client.go
- users_resource_json.go
- users_server.go
- value_builder.go
- value_list_builder.go
- value_list_type_json.go
- value_type.go
- value_type_json.go
- version_builder.go
- version_client.go
- version_list_builder.go
- version_list_type_json.go
- version_resource_json.go
- version_server.go
- version_type.go
- version_type_json.go
- versions_client.go
- versions_resource_json.go
- versions_server.go