v1

package
v0.0.432 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const ClusterManagementReferenceListKind = "ClusterManagementReferenceList"

ClusterManagementReferenceListKind is the name of the type used to represent list of objects of type 'cluster_management_reference'.

View Source
const ClusterManagementReferenceListLinkKind = "ClusterManagementReferenceListLink"

ClusterManagementReferenceListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_management_reference'.

View Source
const ClusterManagementReferenceListNilKind = "ClusterManagementReferenceListNil"

ClusterManagementReferenceNilKind is the name of the type used to nil lists of objects of type 'cluster_management_reference'.

View Source
const DNSListKind = "DNSList"

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

View Source
const DNSListLinkKind = "DNSListLink"

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

View Source
const DNSListNilKind = "DNSListNil"

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

View Source
const LabelKind = "Label"

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

View Source
const LabelLinkKind = "LabelLink"

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

View Source
const LabelListKind = "LabelList"

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

View Source
const LabelListLinkKind = "LabelListLink"

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

View Source
const LabelListNilKind = "LabelListNil"

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

View Source
const LabelNilKind = "LabelNil"

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

View Source
const LabelReferenceListKind = "LabelReferenceList"

LabelReferenceListKind is the name of the type used to represent list of objects of type 'label_reference'.

View Source
const LabelReferenceListLinkKind = "LabelReferenceListLink"

LabelReferenceListLinkKind is the name of the type used to represent links to list of objects of type 'label_reference'.

View Source
const LabelReferenceListNilKind = "LabelReferenceListNil"

LabelReferenceNilKind is the name of the type used to nil lists of objects of type 'label_reference'.

View Source
const LabelRequestPayloadListKind = "LabelRequestPayloadList"

LabelRequestPayloadListKind is the name of the type used to represent list of objects of type 'label_request_payload'.

View Source
const LabelRequestPayloadListLinkKind = "LabelRequestPayloadListLink"

LabelRequestPayloadListLinkKind is the name of the type used to represent links to list of objects of type 'label_request_payload'.

View Source
const LabelRequestPayloadListNilKind = "LabelRequestPayloadListNil"

LabelRequestPayloadNilKind is the name of the type used to nil lists of objects of type 'label_request_payload'.

View Source
const ManagementClusterKind = "ManagementCluster"

ManagementClusterKind is the name of the type used to represent objects of type 'management_cluster'.

View Source
const ManagementClusterLinkKind = "ManagementClusterLink"

ManagementClusterLinkKind is the name of the type used to represent links to objects of type 'management_cluster'.

View Source
const ManagementClusterListKind = "ManagementClusterList"

ManagementClusterListKind is the name of the type used to represent list of objects of type 'management_cluster'.

View Source
const ManagementClusterListLinkKind = "ManagementClusterListLink"

ManagementClusterListLinkKind is the name of the type used to represent links to list of objects of type 'management_cluster'.

View Source
const ManagementClusterListNilKind = "ManagementClusterListNil"

ManagementClusterNilKind is the name of the type used to nil lists of objects of type 'management_cluster'.

View Source
const ManagementClusterNilKind = "ManagementClusterNil"

ManagementClusterNilKind is the name of the type used to nil references to objects of type 'management_cluster'.

View Source
const ManagementClusterParentListKind = "ManagementClusterParentList"

ManagementClusterParentListKind is the name of the type used to represent list of objects of type 'management_cluster_parent'.

View Source
const ManagementClusterParentListLinkKind = "ManagementClusterParentListLink"

ManagementClusterParentListLinkKind is the name of the type used to represent links to list of objects of type 'management_cluster_parent'.

View Source
const ManagementClusterParentListNilKind = "ManagementClusterParentListNil"

ManagementClusterParentNilKind is the name of the type used to nil lists of objects of type 'management_cluster_parent'.

View Source
const ManagementClusterRequestPayloadListKind = "ManagementClusterRequestPayloadList"

ManagementClusterRequestPayloadListKind is the name of the type used to represent list of objects of type 'management_cluster_request_payload'.

View Source
const ManagementClusterRequestPayloadListLinkKind = "ManagementClusterRequestPayloadListLink"

ManagementClusterRequestPayloadListLinkKind is the name of the type used to represent links to list of objects of type 'management_cluster_request_payload'.

View Source
const ManagementClusterRequestPayloadListNilKind = "ManagementClusterRequestPayloadListNil"

ManagementClusterRequestPayloadNilKind is the name of the type used to nil lists of objects of type 'management_cluster_request_payload'.

View Source
const ProvisionShardReferenceListKind = "ProvisionShardReferenceList"

ProvisionShardReferenceListKind is the name of the type used to represent list of objects of type 'provision_shard_reference'.

View Source
const ProvisionShardReferenceListLinkKind = "ProvisionShardReferenceListLink"

ProvisionShardReferenceListLinkKind is the name of the type used to represent links to list of objects of type 'provision_shard_reference'.

View Source
const ProvisionShardReferenceListNilKind = "ProvisionShardReferenceListNil"

ProvisionShardReferenceNilKind is the name of the type used to nil lists of objects of type 'provision_shard_reference'.

View Source
const ServiceClusterKind = "ServiceCluster"

ServiceClusterKind is the name of the type used to represent objects of type 'service_cluster'.

View Source
const ServiceClusterLinkKind = "ServiceClusterLink"

ServiceClusterLinkKind is the name of the type used to represent links to objects of type 'service_cluster'.

View Source
const ServiceClusterListKind = "ServiceClusterList"

ServiceClusterListKind is the name of the type used to represent list of objects of type 'service_cluster'.

View Source
const ServiceClusterListLinkKind = "ServiceClusterListLink"

ServiceClusterListLinkKind is the name of the type used to represent links to list of objects of type 'service_cluster'.

View Source
const ServiceClusterListNilKind = "ServiceClusterListNil"

ServiceClusterNilKind is the name of the type used to nil lists of objects of type 'service_cluster'.

View Source
const ServiceClusterNilKind = "ServiceClusterNil"

ServiceClusterNilKind is the name of the type used to nil references to objects of type 'service_cluster'.

View Source
const ServiceClusterRequestPayloadListKind = "ServiceClusterRequestPayloadList"

ServiceClusterRequestPayloadListKind is the name of the type used to represent list of objects of type 'service_cluster_request_payload'.

View Source
const ServiceClusterRequestPayloadListLinkKind = "ServiceClusterRequestPayloadListLink"

ServiceClusterRequestPayloadListLinkKind is the name of the type used to represent links to list of objects of type 'service_cluster_request_payload'.

View Source
const ServiceClusterRequestPayloadListNilKind = "ServiceClusterRequestPayloadListNil"

ServiceClusterRequestPayloadNilKind is the name of the type used to nil lists of objects of type 'service_cluster_request_payload'.

Variables

This section is empty.

Functions

func MarshalBooleanList

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

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

func MarshalClusterManagementReference

func MarshalClusterManagementReference(object *ClusterManagementReference, writer io.Writer) error

MarshalClusterManagementReference writes a value of the 'cluster_management_reference' type to the given writer.

func MarshalClusterManagementReferenceList

func MarshalClusterManagementReferenceList(list []*ClusterManagementReference, writer io.Writer) error

MarshalClusterManagementReferenceList writes a list of values of the 'cluster_management_reference' type to the given writer.

func MarshalDNS

func MarshalDNS(object *DNS, writer io.Writer) error

MarshalDNS writes a value of the 'DNS' type to the given writer.

func MarshalDNSList

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

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

func MarshalDateList

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

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

func MarshalFloatList

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

MarshalFloatList writes a list of values of the 'float' type to the given writer.

func MarshalIntegerList

func MarshalIntegerList(list []int, writer io.Writer) error

MarshalIntegerList writes a list of values of the 'integer' type to the given writer.

func MarshalInterfaceList

func MarshalInterfaceList(list []interface{}, writer io.Writer) error

MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.

func MarshalLabel

func MarshalLabel(object *Label, writer io.Writer) error

MarshalLabel writes a value of the 'label' type to the given writer.

func MarshalLabelList

func MarshalLabelList(list []*Label, writer io.Writer) error

MarshalLabelList writes a list of values of the 'label' type to the given writer.

func MarshalLabelReference

func MarshalLabelReference(object *LabelReference, writer io.Writer) error

MarshalLabelReference writes a value of the 'label_reference' type to the given writer.

func MarshalLabelReferenceList

func MarshalLabelReferenceList(list []*LabelReference, writer io.Writer) error

MarshalLabelReferenceList writes a list of values of the 'label_reference' type to the given writer.

func MarshalLabelRequestPayload

func MarshalLabelRequestPayload(object *LabelRequestPayload, writer io.Writer) error

MarshalLabelRequestPayload writes a value of the 'label_request_payload' type to the given writer.

func MarshalLabelRequestPayloadList

func MarshalLabelRequestPayloadList(list []*LabelRequestPayload, writer io.Writer) error

MarshalLabelRequestPayloadList writes a list of values of the 'label_request_payload' type to the given writer.

func MarshalLongList

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

MarshalLongList writes a list of values of the 'long' type to the given writer.

func MarshalManagementCluster

func MarshalManagementCluster(object *ManagementCluster, writer io.Writer) error

MarshalManagementCluster writes a value of the 'management_cluster' type to the given writer.

func MarshalManagementClusterList

func MarshalManagementClusterList(list []*ManagementCluster, writer io.Writer) error

MarshalManagementClusterList writes a list of values of the 'management_cluster' type to the given writer.

func MarshalManagementClusterParent

func MarshalManagementClusterParent(object *ManagementClusterParent, writer io.Writer) error

MarshalManagementClusterParent writes a value of the 'management_cluster_parent' type to the given writer.

func MarshalManagementClusterParentList

func MarshalManagementClusterParentList(list []*ManagementClusterParent, writer io.Writer) error

MarshalManagementClusterParentList writes a list of values of the 'management_cluster_parent' type to the given writer.

func MarshalManagementClusterRequestPayload

func MarshalManagementClusterRequestPayload(object *ManagementClusterRequestPayload, writer io.Writer) error

MarshalManagementClusterRequestPayload writes a value of the 'management_cluster_request_payload' type to the given writer.

func MarshalManagementClusterRequestPayloadList

func MarshalManagementClusterRequestPayloadList(list []*ManagementClusterRequestPayload, writer io.Writer) error

MarshalManagementClusterRequestPayloadList writes a list of values of the 'management_cluster_request_payload' type to the given writer.

func MarshalMetadata

func MarshalMetadata(object *Metadata, writer io.Writer) error

MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.

func MarshalProvisionShardReference

func MarshalProvisionShardReference(object *ProvisionShardReference, writer io.Writer) error

MarshalProvisionShardReference writes a value of the 'provision_shard_reference' type to the given writer.

func MarshalProvisionShardReferenceList

func MarshalProvisionShardReferenceList(list []*ProvisionShardReference, writer io.Writer) error

MarshalProvisionShardReferenceList writes a list of values of the 'provision_shard_reference' type to the given writer.

func MarshalServiceCluster

func MarshalServiceCluster(object *ServiceCluster, writer io.Writer) error

MarshalServiceCluster writes a value of the 'service_cluster' type to the given writer.

func MarshalServiceClusterList

func MarshalServiceClusterList(list []*ServiceCluster, writer io.Writer) error

MarshalServiceClusterList writes a list of values of the 'service_cluster' type to the given writer.

func MarshalServiceClusterRequestPayload

func MarshalServiceClusterRequestPayload(object *ServiceClusterRequestPayload, writer io.Writer) error

MarshalServiceClusterRequestPayload writes a value of the 'service_cluster_request_payload' type to the given writer.

func MarshalServiceClusterRequestPayloadList

func MarshalServiceClusterRequestPayloadList(list []*ServiceClusterRequestPayload, writer io.Writer) error

MarshalServiceClusterRequestPayloadList writes a list of values of the 'service_cluster_request_payload' type to the given writer.

func MarshalStringList

func MarshalStringList(list []string, writer io.Writer) error

MarshalStringList writes a list of values of the 'string' type to the given writer.

func ReadBooleanList

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

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

func ReadDateList

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

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

func ReadFloatList

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

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

func ReadIntegerList

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

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

func ReadInterfaceList

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

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

func ReadLongList

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

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

func ReadStringList

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

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

func UnmarshalBooleanList

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

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

func UnmarshalDateList

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

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

func UnmarshalFloatList

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

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

func UnmarshalIntegerList

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

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

func UnmarshalInterfaceList

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

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

func UnmarshalLongList

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

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

func UnmarshalStringList

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

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

func WriteBooleanList

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

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

func WriteClusterManagementReference

func WriteClusterManagementReference(object *ClusterManagementReference, stream *jsoniter.Stream)

WriteClusterManagementReference writes a value of the 'cluster_management_reference' type to the given stream.

func WriteClusterManagementReferenceList

func WriteClusterManagementReferenceList(list []*ClusterManagementReference, stream *jsoniter.Stream)

WriteClusterManagementReferenceList writes a list of value of the 'cluster_management_reference' type to the given stream.

func WriteDNS

func WriteDNS(object *DNS, stream *jsoniter.Stream)

WriteDNS writes a value of the 'DNS' type to the given stream.

func WriteDNSList

func WriteDNSList(list []*DNS, stream *jsoniter.Stream)

WriteDNSList writes a list of value of the 'DNS' type to the given stream.

func WriteDateList

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

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

func WriteFloatList

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

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

func WriteIntegerList

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

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

func WriteInterfaceList

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

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

func WriteLabel

func WriteLabel(object *Label, stream *jsoniter.Stream)

WriteLabel writes a value of the 'label' type to the given stream.

func WriteLabelList

func WriteLabelList(list []*Label, stream *jsoniter.Stream)

WriteLabelList writes a list of value of the 'label' type to the given stream.

func WriteLabelReference

func WriteLabelReference(object *LabelReference, stream *jsoniter.Stream)

WriteLabelReference writes a value of the 'label_reference' type to the given stream.

func WriteLabelReferenceList

func WriteLabelReferenceList(list []*LabelReference, stream *jsoniter.Stream)

WriteLabelReferenceList writes a list of value of the 'label_reference' type to the given stream.

func WriteLabelRequestPayload

func WriteLabelRequestPayload(object *LabelRequestPayload, stream *jsoniter.Stream)

WriteLabelRequestPayload writes a value of the 'label_request_payload' type to the given stream.

func WriteLabelRequestPayloadList

func WriteLabelRequestPayloadList(list []*LabelRequestPayload, stream *jsoniter.Stream)

WriteLabelRequestPayloadList writes a list of value of the 'label_request_payload' type to the given stream.

func WriteLongList

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

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

func WriteManagementCluster

func WriteManagementCluster(object *ManagementCluster, stream *jsoniter.Stream)

WriteManagementCluster writes a value of the 'management_cluster' type to the given stream.

func WriteManagementClusterList

func WriteManagementClusterList(list []*ManagementCluster, stream *jsoniter.Stream)

WriteManagementClusterList writes a list of value of the 'management_cluster' type to the given stream.

func WriteManagementClusterParent

func WriteManagementClusterParent(object *ManagementClusterParent, stream *jsoniter.Stream)

WriteManagementClusterParent writes a value of the 'management_cluster_parent' type to the given stream.

func WriteManagementClusterParentList

func WriteManagementClusterParentList(list []*ManagementClusterParent, stream *jsoniter.Stream)

WriteManagementClusterParentList writes a list of value of the 'management_cluster_parent' type to the given stream.

func WriteManagementClusterRequestPayload

func WriteManagementClusterRequestPayload(object *ManagementClusterRequestPayload, stream *jsoniter.Stream)

WriteManagementClusterRequestPayload writes a value of the 'management_cluster_request_payload' type to the given stream.

func WriteManagementClusterRequestPayloadList

func WriteManagementClusterRequestPayloadList(list []*ManagementClusterRequestPayload, stream *jsoniter.Stream)

WriteManagementClusterRequestPayloadList writes a list of value of the 'management_cluster_request_payload' type to the given stream.

func WriteProvisionShardReference

func WriteProvisionShardReference(object *ProvisionShardReference, stream *jsoniter.Stream)

WriteProvisionShardReference writes a value of the 'provision_shard_reference' type to the given stream.

func WriteProvisionShardReferenceList

func WriteProvisionShardReferenceList(list []*ProvisionShardReference, stream *jsoniter.Stream)

WriteProvisionShardReferenceList writes a list of value of the 'provision_shard_reference' type to the given stream.

func WriteServiceCluster

func WriteServiceCluster(object *ServiceCluster, stream *jsoniter.Stream)

WriteServiceCluster writes a value of the 'service_cluster' type to the given stream.

func WriteServiceClusterList

func WriteServiceClusterList(list []*ServiceCluster, stream *jsoniter.Stream)

WriteServiceClusterList writes a list of value of the 'service_cluster' type to the given stream.

func WriteServiceClusterRequestPayload

func WriteServiceClusterRequestPayload(object *ServiceClusterRequestPayload, stream *jsoniter.Stream)

WriteServiceClusterRequestPayload writes a value of the 'service_cluster_request_payload' type to the given stream.

func WriteServiceClusterRequestPayloadList

func WriteServiceClusterRequestPayloadList(list []*ServiceClusterRequestPayload, stream *jsoniter.Stream)

WriteServiceClusterRequestPayloadList writes a list of value of the 'service_cluster_request_payload' type to the given stream.

func WriteStringList

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

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

Types

type ClusterManagementReference

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

ClusterManagementReference represents the values of the 'cluster_management_reference' type.

Cluster Mgmt reference settings of the cluster.

func ReadClusterManagementReference

func ReadClusterManagementReference(iterator *jsoniter.Iterator) *ClusterManagementReference

ReadClusterManagementReference reads a value of the 'cluster_management_reference' type from the given iterator.

func ReadClusterManagementReferenceList

func ReadClusterManagementReferenceList(iterator *jsoniter.Iterator) []*ClusterManagementReference

ReadClusterManagementReferenceList reads list of values of the ”cluster_management_reference' type from the given iterator.

func UnmarshalClusterManagementReference

func UnmarshalClusterManagementReference(source interface{}) (object *ClusterManagementReference, err error)

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

func UnmarshalClusterManagementReferenceList

func UnmarshalClusterManagementReferenceList(source interface{}) (items []*ClusterManagementReference, err error)

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

func (*ClusterManagementReference) ClusterId

func (o *ClusterManagementReference) 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 Mgmt ID

func (*ClusterManagementReference) Empty

func (o *ClusterManagementReference) Empty() bool

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

func (*ClusterManagementReference) GetClusterId

func (o *ClusterManagementReference) 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 Mgmt ID

func (*ClusterManagementReference) GetHref

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

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

Reference link to external cluster_mgmt service based on ClusterId field ClusterId is not the name of the field used by the external cluster_mgmt service

func (*ClusterManagementReference) Href

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

Reference link to external cluster_mgmt service based on ClusterId field ClusterId is not the name of the field used by the external cluster_mgmt service

type ClusterManagementReferenceBuilder

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

Cluster Mgmt reference settings of the cluster.

func NewClusterManagementReference

func NewClusterManagementReference() *ClusterManagementReferenceBuilder

NewClusterManagementReference creates a new builder of 'cluster_management_reference' objects.

func (*ClusterManagementReferenceBuilder) Build

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

func (*ClusterManagementReferenceBuilder) ClusterId

ClusterId sets the value of the 'cluster_id' attribute to the given value.

func (*ClusterManagementReferenceBuilder) Copy

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

func (*ClusterManagementReferenceBuilder) Empty

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

func (*ClusterManagementReferenceBuilder) Href

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

type ClusterManagementReferenceList

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

ClusterManagementReferenceList is a list of values of the 'cluster_management_reference' type.

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

Empty returns true if the list is empty.

func (*ClusterManagementReferenceList) Get

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

func (*ClusterManagementReferenceList) Items

Items returns the items of the list.

func (*ClusterManagementReferenceList) Len

Len returns the length of the list.

func (*ClusterManagementReferenceList) Range

func (l *ClusterManagementReferenceList) Range(f func(index int, item *ClusterManagementReference) bool)

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

func (*ClusterManagementReferenceList) SetHREF

func (l *ClusterManagementReferenceList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterManagementReferenceList) SetItems

Items sets the items of the list.

func (l *ClusterManagementReferenceList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterManagementReferenceList) 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 ClusterManagementReferenceListBuilder

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

ClusterManagementReferenceListBuilder contains the data and logic needed to build 'cluster_management_reference' objects.

func NewClusterManagementReferenceList

func NewClusterManagementReferenceList() *ClusterManagementReferenceListBuilder

NewClusterManagementReferenceList creates a new builder of 'cluster_management_reference' objects.

func (*ClusterManagementReferenceListBuilder) Build

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

func (*ClusterManagementReferenceListBuilder) Copy

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

func (*ClusterManagementReferenceListBuilder) Empty

Empty returns true if the list is empty.

func (*ClusterManagementReferenceListBuilder) Items

Items sets the items of the list.

type DNS

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

DNS represents the values of the 'DNS' type.

DNS settings of the cluster.

func ReadDNS

func ReadDNS(iterator *jsoniter.Iterator) *DNS

ReadDNS reads a value of the 'DNS' type from the given iterator.

func ReadDNSList

func ReadDNSList(iterator *jsoniter.Iterator) []*DNS

ReadDNSList reads list of values of the ”DNS' type from the given iterator.

func UnmarshalDNS

func UnmarshalDNS(source interface{}) (object *DNS, err error)

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

func UnmarshalDNSList

func UnmarshalDNSList(source interface{}) (items []*DNS, err error)

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

func (*DNS) BaseDomain

func (o *DNS) BaseDomain() string

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

Base DNS domain of the cluster.

During the installation of the cluster it is necessary to create multiple DNS records. They will be created as sub-domains of this domain. For example, if the 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:

```http GET /api/clusters_mgmt/v1/clusters/123 HTTP/1.1 ```

That will return a response like this, including the `api.url` attribute:

```json

{
    "kind": "Cluster",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/clusters/123",
        "api": {
        "url": "https://mycluster-api.example.com:6443"
    },
    ...
}

```

When the cluster is created in Amazon Web Services it is necessary to create this base DNS domain in advance, using AWS Route53 (https://console.aws.amazon.com/route53).

func (*DNS) Empty

func (o *DNS) Empty() bool

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

func (*DNS) GetBaseDomain

func (o *DNS) GetBaseDomain() (value string, ok bool)

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

Base DNS domain of the cluster.

During the installation of the cluster it is necessary to create multiple DNS records. They will be created as sub-domains of this domain. For example, if the 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:

```http GET /api/clusters_mgmt/v1/clusters/123 HTTP/1.1 ```

That will return a response like this, including the `api.url` attribute:

```json

{
    "kind": "Cluster",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/clusters/123",
        "api": {
        "url": "https://mycluster-api.example.com:6443"
    },
    ...
}

```

When the cluster is created in Amazon Web Services it is necessary to create this base DNS domain in advance, using AWS Route53 (https://console.aws.amazon.com/route53).

type DNSBuilder

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

DNS settings of the cluster.

func NewDNS

func NewDNS() *DNSBuilder

NewDNS creates a new builder of 'DNS' objects.

func (*DNSBuilder) BaseDomain

func (b *DNSBuilder) BaseDomain(value string) *DNSBuilder

BaseDomain sets the value of the 'base_domain' attribute to the given value.

func (*DNSBuilder) Build

func (b *DNSBuilder) Build() (object *DNS, err error)

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

func (*DNSBuilder) Copy

func (b *DNSBuilder) Copy(object *DNS) *DNSBuilder

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

func (*DNSBuilder) Empty

func (b *DNSBuilder) Empty() bool

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

type DNSList

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

DNSList is a list of values of the 'DNS' type.

func (*DNSList) Each

func (l *DNSList) Each(f func(item *DNS) bool)

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

func (*DNSList) Empty

func (l *DNSList) Empty() bool

Empty returns true if the list is empty.

func (*DNSList) Get

func (l *DNSList) Get(i int) *DNS

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

func (*DNSList) Items

func (l *DNSList) Items() []*DNS

Items returns the items of the list.

func (*DNSList) Len

func (l *DNSList) Len() int

Len returns the length of the list.

func (*DNSList) Range

func (l *DNSList) Range(f func(index int, item *DNS) bool)

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

func (*DNSList) SetHREF

func (l *DNSList) SetHREF(href string)

Items sets the items of the list.

func (*DNSList) SetItems

func (l *DNSList) SetItems(items []*DNS)

Items sets the items of the list.

func (l *DNSList) SetLink(link bool)

Items sets the items of the list.

func (*DNSList) Slice

func (l *DNSList) Slice() []*DNS

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

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

type DNSListBuilder

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

DNSListBuilder contains the data and logic needed to build 'DNS' objects.

func NewDNSList

func NewDNSList() *DNSListBuilder

NewDNSList creates a new builder of 'DNS' objects.

func (*DNSListBuilder) Build

func (b *DNSListBuilder) Build() (list *DNSList, err error)

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

func (*DNSListBuilder) Copy

func (b *DNSListBuilder) Copy(list *DNSList) *DNSListBuilder

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

func (*DNSListBuilder) Empty

func (b *DNSListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*DNSListBuilder) Items

func (b *DNSListBuilder) Items(values ...*DNSBuilder) *DNSListBuilder

Items sets the items of the list.

type Label

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

Label represents the values of the 'label' type.

label settings of the cluster.

func ReadLabel

func ReadLabel(iterator *jsoniter.Iterator) *Label

ReadLabel reads a value of the 'label' type from the given iterator.

func ReadLabelList

func ReadLabelList(iterator *jsoniter.Iterator) []*Label

ReadLabelList reads list of values of the ”label' type from the given iterator.

func UnmarshalLabel

func UnmarshalLabel(source interface{}) (object *Label, err error)

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

func UnmarshalLabelList

func UnmarshalLabelList(source interface{}) (items []*Label, err error)

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

func (*Label) Empty

func (o *Label) Empty() bool

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

func (*Label) GetHREF

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

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

func (*Label) GetID

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

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

func (*Label) GetKey

func (o *Label) GetKey() (value string, ok bool)

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

Label key associated to the OSD FM managed cluster

func (*Label) GetValue

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

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

Label value associated to the OSD FM managed cluster

func (*Label) HREF

func (o *Label) HREF() string

HREF returns the link to the object.

func (*Label) ID

func (o *Label) ID() string

ID returns the identifier of the object.

func (*Label) Key

func (o *Label) Key() string

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

Label key associated to the OSD FM managed cluster

func (*Label) Kind

func (o *Label) Kind() string

Kind returns the name of the type of the object.

func (o *Label) Link() bool

Link returns true if this is a link.

func (*Label) Value

func (o *Label) Value() string

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

Label value associated to the OSD FM managed cluster

type LabelBuilder

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

label settings of the cluster.

func NewLabel

func NewLabel() *LabelBuilder

NewLabel creates a new builder of 'label' objects.

func (*LabelBuilder) Build

func (b *LabelBuilder) Build() (object *Label, err error)

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

func (*LabelBuilder) Copy

func (b *LabelBuilder) Copy(object *Label) *LabelBuilder

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

func (*LabelBuilder) Empty

func (b *LabelBuilder) Empty() bool

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

func (*LabelBuilder) HREF

func (b *LabelBuilder) HREF(value string) *LabelBuilder

HREF sets the link to the object.

func (*LabelBuilder) ID

func (b *LabelBuilder) ID(value string) *LabelBuilder

ID sets the identifier of the object.

func (*LabelBuilder) Key

func (b *LabelBuilder) Key(value string) *LabelBuilder

Key sets the value of the 'key' attribute to the given value.

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

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

func (*LabelBuilder) Value

func (b *LabelBuilder) Value(value string) *LabelBuilder

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

type LabelList

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

LabelList is a list of values of the 'label' type.

func (*LabelList) Each

func (l *LabelList) Each(f func(item *Label) bool)

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

func (*LabelList) Empty

func (l *LabelList) Empty() bool

Empty returns true if the list is empty.

func (*LabelList) Get

func (l *LabelList) Get(i int) *Label

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

func (*LabelList) GetHREF

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

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

func (*LabelList) HREF

func (l *LabelList) HREF() string

HREF returns the link to the list.

func (*LabelList) Items

func (l *LabelList) Items() []*Label

Items returns the items of the list.

func (*LabelList) Kind

func (l *LabelList) Kind() string

Kind returns the name of the type of the object.

func (*LabelList) Len

func (l *LabelList) Len() int

Len returns the length of the list.

func (l *LabelList) Link() bool

Link returns true iif this is a link.

func (*LabelList) Range

func (l *LabelList) Range(f func(index int, item *Label) bool)

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

func (*LabelList) SetHREF

func (l *LabelList) SetHREF(href string)

Items sets the items of the list.

func (*LabelList) SetItems

func (l *LabelList) SetItems(items []*Label)

Items sets the items of the list.

func (l *LabelList) SetLink(link bool)

Items sets the items of the list.

func (*LabelList) Slice

func (l *LabelList) Slice() []*Label

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

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

type LabelListBuilder

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

LabelListBuilder contains the data and logic needed to build 'label' objects.

func NewLabelList

func NewLabelList() *LabelListBuilder

NewLabelList creates a new builder of 'label' objects.

func (*LabelListBuilder) Build

func (b *LabelListBuilder) Build() (list *LabelList, err error)

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

func (*LabelListBuilder) Copy

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

func (*LabelListBuilder) Empty

func (b *LabelListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*LabelListBuilder) Items

func (b *LabelListBuilder) Items(values ...*LabelBuilder) *LabelListBuilder

Items sets the items of the list.

type LabelReference

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

LabelReference represents the values of the 'label_reference' type.

label reference settings of the cluster.

func ReadLabelReference

func ReadLabelReference(iterator *jsoniter.Iterator) *LabelReference

ReadLabelReference reads a value of the 'label_reference' type from the given iterator.

func ReadLabelReferenceList

func ReadLabelReferenceList(iterator *jsoniter.Iterator) []*LabelReference

ReadLabelReferenceList reads list of values of the ”label_reference' type from the given iterator.

func UnmarshalLabelReference

func UnmarshalLabelReference(source interface{}) (object *LabelReference, err error)

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

func UnmarshalLabelReferenceList

func UnmarshalLabelReferenceList(source interface{}) (items []*LabelReference, err error)

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

func (*LabelReference) Empty

func (o *LabelReference) Empty() bool

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

func (*LabelReference) GetHref

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

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

link to the Label associated to the OSD FM managed cluster

func (*LabelReference) GetId

func (o *LabelReference) 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 Label associated to the OSD FM managed cluster

func (*LabelReference) Href

func (o *LabelReference) Href() string

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

link to the Label associated to the OSD FM managed cluster

func (*LabelReference) Id

func (o *LabelReference) 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 Label associated to the OSD FM managed cluster

type LabelReferenceBuilder

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

label reference settings of the cluster.

func NewLabelReference

func NewLabelReference() *LabelReferenceBuilder

NewLabelReference creates a new builder of 'label_reference' objects.

func (*LabelReferenceBuilder) Build

func (b *LabelReferenceBuilder) Build() (object *LabelReference, err error)

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

func (*LabelReferenceBuilder) Copy

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

func (*LabelReferenceBuilder) Empty

func (b *LabelReferenceBuilder) Empty() bool

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

func (*LabelReferenceBuilder) Href

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

func (*LabelReferenceBuilder) Id

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

type LabelReferenceList

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

LabelReferenceList is a list of values of the 'label_reference' type.

func (*LabelReferenceList) Each

func (l *LabelReferenceList) Each(f func(item *LabelReference) bool)

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

func (*LabelReferenceList) Empty

func (l *LabelReferenceList) Empty() bool

Empty returns true if the list is empty.

func (*LabelReferenceList) Get

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

func (*LabelReferenceList) Items

func (l *LabelReferenceList) Items() []*LabelReference

Items returns the items of the list.

func (*LabelReferenceList) Len

func (l *LabelReferenceList) Len() int

Len returns the length of the list.

func (*LabelReferenceList) Range

func (l *LabelReferenceList) Range(f func(index int, item *LabelReference) bool)

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

func (*LabelReferenceList) SetHREF

func (l *LabelReferenceList) SetHREF(href string)

Items sets the items of the list.

func (*LabelReferenceList) SetItems

func (l *LabelReferenceList) SetItems(items []*LabelReference)

Items sets the items of the list.

func (l *LabelReferenceList) SetLink(link bool)

Items sets the items of the list.

func (*LabelReferenceList) Slice

func (l *LabelReferenceList) Slice() []*LabelReference

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

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

type LabelReferenceListBuilder

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

LabelReferenceListBuilder contains the data and logic needed to build 'label_reference' objects.

func NewLabelReferenceList

func NewLabelReferenceList() *LabelReferenceListBuilder

NewLabelReferenceList creates a new builder of 'label_reference' objects.

func (*LabelReferenceListBuilder) Build

func (b *LabelReferenceListBuilder) Build() (list *LabelReferenceList, err error)

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

func (*LabelReferenceListBuilder) Copy

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

func (*LabelReferenceListBuilder) Empty

func (b *LabelReferenceListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*LabelReferenceListBuilder) Items

Items sets the items of the list.

type LabelRequestPayload

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

LabelRequestPayload represents the values of the 'label_request_payload' type.

func ReadLabelRequestPayload

func ReadLabelRequestPayload(iterator *jsoniter.Iterator) *LabelRequestPayload

ReadLabelRequestPayload reads a value of the 'label_request_payload' type from the given iterator.

func ReadLabelRequestPayloadList

func ReadLabelRequestPayloadList(iterator *jsoniter.Iterator) []*LabelRequestPayload

ReadLabelRequestPayloadList reads list of values of the ”label_request_payload' type from the given iterator.

func UnmarshalLabelRequestPayload

func UnmarshalLabelRequestPayload(source interface{}) (object *LabelRequestPayload, err error)

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

func UnmarshalLabelRequestPayloadList

func UnmarshalLabelRequestPayloadList(source interface{}) (items []*LabelRequestPayload, err error)

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

func (*LabelRequestPayload) Empty

func (o *LabelRequestPayload) Empty() bool

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

func (*LabelRequestPayload) GetKey

func (o *LabelRequestPayload) GetKey() (value string, ok bool)

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

func (*LabelRequestPayload) GetValue

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

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

func (*LabelRequestPayload) Key

func (o *LabelRequestPayload) Key() string

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

func (*LabelRequestPayload) Value

func (o *LabelRequestPayload) Value() string

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

type LabelRequestPayloadBuilder

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

func NewLabelRequestPayload

func NewLabelRequestPayload() *LabelRequestPayloadBuilder

NewLabelRequestPayload creates a new builder of 'label_request_payload' objects.

func (*LabelRequestPayloadBuilder) Build

func (b *LabelRequestPayloadBuilder) Build() (object *LabelRequestPayload, err error)

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

func (*LabelRequestPayloadBuilder) Copy

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

func (*LabelRequestPayloadBuilder) Empty

func (b *LabelRequestPayloadBuilder) Empty() bool

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

func (*LabelRequestPayloadBuilder) Key

Key sets the value of the 'key' attribute to the given value.

func (*LabelRequestPayloadBuilder) Value

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

type LabelRequestPayloadList

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

LabelRequestPayloadList is a list of values of the 'label_request_payload' type.

func (*LabelRequestPayloadList) Each

func (l *LabelRequestPayloadList) Each(f func(item *LabelRequestPayload) bool)

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

func (*LabelRequestPayloadList) Empty

func (l *LabelRequestPayloadList) Empty() bool

Empty returns true if the list is empty.

func (*LabelRequestPayloadList) Get

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

func (*LabelRequestPayloadList) Items

Items returns the items of the list.

func (*LabelRequestPayloadList) Len

func (l *LabelRequestPayloadList) Len() int

Len returns the length of the list.

func (*LabelRequestPayloadList) Range

func (l *LabelRequestPayloadList) Range(f func(index int, item *LabelRequestPayload) bool)

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

func (*LabelRequestPayloadList) SetHREF

func (l *LabelRequestPayloadList) SetHREF(href string)

Items sets the items of the list.

func (*LabelRequestPayloadList) SetItems

func (l *LabelRequestPayloadList) SetItems(items []*LabelRequestPayload)

Items sets the items of the list.

func (l *LabelRequestPayloadList) SetLink(link bool)

Items sets the items of the list.

func (*LabelRequestPayloadList) 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 LabelRequestPayloadListBuilder

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

LabelRequestPayloadListBuilder contains the data and logic needed to build 'label_request_payload' objects.

func NewLabelRequestPayloadList

func NewLabelRequestPayloadList() *LabelRequestPayloadListBuilder

NewLabelRequestPayloadList creates a new builder of 'label_request_payload' objects.

func (*LabelRequestPayloadListBuilder) Build

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

func (*LabelRequestPayloadListBuilder) Copy

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

func (*LabelRequestPayloadListBuilder) Empty

Empty returns true if the list is empty.

func (*LabelRequestPayloadListBuilder) Items

Items sets the items of the list.

type ManagementCluster

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

ManagementCluster represents the values of the 'management_cluster' type.

Definition of an _OpenShift_ cluster.

The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:

```json

{
  "cloud_provider": {
    "kind": "CloudProviderLink",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/cloud_providers/123"
  }
}

```

When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:

```json

{
  "cloud_provider": {
    "id": "123",
  }
}

```

If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.

The region attribute is mandatory when a cluster is created.

The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.

func ReadManagementCluster

func ReadManagementCluster(iterator *jsoniter.Iterator) *ManagementCluster

ReadManagementCluster reads a value of the 'management_cluster' type from the given iterator.

func ReadManagementClusterList

func ReadManagementClusterList(iterator *jsoniter.Iterator) []*ManagementCluster

ReadManagementClusterList reads list of values of the ”management_cluster' type from the given iterator.

func UnmarshalManagementCluster

func UnmarshalManagementCluster(source interface{}) (object *ManagementCluster, err error)

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

func UnmarshalManagementClusterList

func UnmarshalManagementClusterList(source interface{}) (items []*ManagementCluster, err error)

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

func (*ManagementCluster) CloudProvider

func (o *ManagementCluster) CloudProvider() string

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

Cloud provider where the cluster is installed.

func (*ManagementCluster) ClusterManagementReference

func (o *ManagementCluster) ClusterManagementReference() *ClusterManagementReference

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

Cluster mgmt reference

func (*ManagementCluster) CreationTimestamp

func (o *ManagementCluster) CreationTimestamp() time.Time

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

Creation timestamp of the cluster

func (*ManagementCluster) DNS

func (o *ManagementCluster) DNS() *DNS

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

DNS settings of the cluster.

func (*ManagementCluster) Empty

func (o *ManagementCluster) Empty() bool

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

func (*ManagementCluster) GetCloudProvider

func (o *ManagementCluster) GetCloudProvider() (value string, ok bool)

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

Cloud provider where the cluster is installed.

func (*ManagementCluster) GetClusterManagementReference

func (o *ManagementCluster) GetClusterManagementReference() (value *ClusterManagementReference, ok bool)

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

Cluster mgmt reference

func (*ManagementCluster) GetCreationTimestamp

func (o *ManagementCluster) GetCreationTimestamp() (value time.Time, ok bool)

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

Creation timestamp of the cluster

func (*ManagementCluster) GetDNS

func (o *ManagementCluster) GetDNS() (value *DNS, ok bool)

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

DNS settings of the cluster.

func (*ManagementCluster) GetHREF

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

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

func (*ManagementCluster) GetID

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

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

func (*ManagementCluster) GetLabels

func (o *ManagementCluster) GetLabels() (value []*Label, ok bool)

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

Labels on management cluster

func (*ManagementCluster) GetName

func (o *ManagementCluster) GetName() (value string, ok bool)

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

Cluster name

func (*ManagementCluster) GetParent

func (o *ManagementCluster) GetParent() (value *ManagementClusterParent, ok bool)

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

Service cluster handling the management cluster

func (*ManagementCluster) GetRegion

func (o *ManagementCluster) GetRegion() (value string, ok bool)

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

Cloud provider region where the cluster is installed.

func (*ManagementCluster) GetSector

func (o *ManagementCluster) GetSector() (value string, ok bool)

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

Sector of cluster

func (*ManagementCluster) GetStatus

func (o *ManagementCluster) GetStatus() (value string, ok bool)

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

Status of cluster

func (*ManagementCluster) GetUpdateTimestamp

func (o *ManagementCluster) GetUpdateTimestamp() (value time.Time, ok bool)

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

Update timestamp of the cluster

func (*ManagementCluster) HREF

func (o *ManagementCluster) HREF() string

HREF returns the link to the object.

func (*ManagementCluster) ID

func (o *ManagementCluster) ID() string

ID returns the identifier of the object.

func (*ManagementCluster) Kind

func (o *ManagementCluster) Kind() string

Kind returns the name of the type of the object.

func (*ManagementCluster) Labels

func (o *ManagementCluster) Labels() []*Label

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

Labels on management cluster

func (o *ManagementCluster) Link() bool

Link returns true if this is a link.

func (*ManagementCluster) Name

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

Cluster name

func (*ManagementCluster) Parent

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

Service cluster handling the management cluster

func (*ManagementCluster) Region

func (o *ManagementCluster) Region() string

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

Cloud provider region where the cluster is installed.

func (*ManagementCluster) Sector

func (o *ManagementCluster) Sector() string

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

Sector of cluster

func (*ManagementCluster) Status

func (o *ManagementCluster) Status() string

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

Status of cluster

func (*ManagementCluster) UpdateTimestamp

func (o *ManagementCluster) UpdateTimestamp() time.Time

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

Update timestamp of the cluster

type ManagementClusterBuilder

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

Definition of an _OpenShift_ cluster.

The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:

```json

{
  "cloud_provider": {
    "kind": "CloudProviderLink",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/cloud_providers/123"
  }
}

```

When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:

```json

{
  "cloud_provider": {
    "id": "123",
  }
}

```

If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.

The region attribute is mandatory when a cluster is created.

The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.

func NewManagementCluster

func NewManagementCluster() *ManagementClusterBuilder

NewManagementCluster creates a new builder of 'management_cluster' objects.

func (*ManagementClusterBuilder) Build

func (b *ManagementClusterBuilder) Build() (object *ManagementCluster, err error)

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

func (*ManagementClusterBuilder) CloudProvider

func (b *ManagementClusterBuilder) CloudProvider(value string) *ManagementClusterBuilder

CloudProvider sets the value of the 'cloud_provider' attribute to the given value.

func (*ManagementClusterBuilder) ClusterManagementReference

ClusterManagementReference sets the value of the 'cluster_management_reference' attribute to the given value.

Cluster Mgmt reference settings of the cluster.

func (*ManagementClusterBuilder) Copy

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

func (*ManagementClusterBuilder) CreationTimestamp

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

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

func (*ManagementClusterBuilder) DNS

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

DNS settings of the cluster.

func (*ManagementClusterBuilder) Empty

func (b *ManagementClusterBuilder) Empty() bool

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

func (*ManagementClusterBuilder) HREF

HREF sets the link to the object.

func (*ManagementClusterBuilder) ID

ID sets the identifier of the object.

func (*ManagementClusterBuilder) Labels

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

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

func (*ManagementClusterBuilder) Name

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

func (*ManagementClusterBuilder) Parent

Parent sets the value of the 'parent' attribute to the given value.

ManagementClusterParent reference settings of the cluster.

func (*ManagementClusterBuilder) Region

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

func (*ManagementClusterBuilder) Sector

Sector sets the value of the 'sector' attribute to the given value.

func (*ManagementClusterBuilder) Status

Status sets the value of the 'status' attribute to the given value.

func (*ManagementClusterBuilder) UpdateTimestamp

func (b *ManagementClusterBuilder) UpdateTimestamp(value time.Time) *ManagementClusterBuilder

UpdateTimestamp sets the value of the 'update_timestamp' attribute to the given value.

type ManagementClusterList

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

ManagementClusterList is a list of values of the 'management_cluster' type.

func (*ManagementClusterList) Each

func (l *ManagementClusterList) Each(f func(item *ManagementCluster) bool)

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

func (*ManagementClusterList) Empty

func (l *ManagementClusterList) Empty() bool

Empty returns true if the list is empty.

func (*ManagementClusterList) Get

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

func (*ManagementClusterList) GetHREF

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

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

func (*ManagementClusterList) HREF

func (l *ManagementClusterList) HREF() string

HREF returns the link to the list.

func (*ManagementClusterList) Items

Items returns the items of the list.

func (*ManagementClusterList) Kind

func (l *ManagementClusterList) Kind() string

Kind returns the name of the type of the object.

func (*ManagementClusterList) Len

func (l *ManagementClusterList) Len() int

Len returns the length of the list.

func (l *ManagementClusterList) Link() bool

Link returns true iif this is a link.

func (*ManagementClusterList) Range

func (l *ManagementClusterList) Range(f func(index int, item *ManagementCluster) bool)

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

func (*ManagementClusterList) SetHREF

func (l *ManagementClusterList) SetHREF(href string)

Items sets the items of the list.

func (*ManagementClusterList) SetItems

func (l *ManagementClusterList) SetItems(items []*ManagementCluster)

Items sets the items of the list.

func (l *ManagementClusterList) SetLink(link bool)

Items sets the items of the list.

func (*ManagementClusterList) 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 ManagementClusterListBuilder

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

ManagementClusterListBuilder contains the data and logic needed to build 'management_cluster' objects.

func NewManagementClusterList

func NewManagementClusterList() *ManagementClusterListBuilder

NewManagementClusterList creates a new builder of 'management_cluster' objects.

func (*ManagementClusterListBuilder) Build

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

func (*ManagementClusterListBuilder) Copy

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

func (*ManagementClusterListBuilder) Empty

Empty returns true if the list is empty.

func (*ManagementClusterListBuilder) Items

Items sets the items of the list.

type ManagementClusterParent

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

ManagementClusterParent represents the values of the 'management_cluster_parent' type.

ManagementClusterParent reference settings of the cluster.

func ReadManagementClusterParent

func ReadManagementClusterParent(iterator *jsoniter.Iterator) *ManagementClusterParent

ReadManagementClusterParent reads a value of the 'management_cluster_parent' type from the given iterator.

func ReadManagementClusterParentList

func ReadManagementClusterParentList(iterator *jsoniter.Iterator) []*ManagementClusterParent

ReadManagementClusterParentList reads list of values of the ”management_cluster_parent' type from the given iterator.

func UnmarshalManagementClusterParent

func UnmarshalManagementClusterParent(source interface{}) (object *ManagementClusterParent, err error)

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

func UnmarshalManagementClusterParentList

func UnmarshalManagementClusterParentList(source interface{}) (items []*ManagementClusterParent, err error)

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

func (*ManagementClusterParent) ClusterId

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

Parent Cluster ID

func (*ManagementClusterParent) Empty

func (o *ManagementClusterParent) Empty() bool

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

func (*ManagementClusterParent) GetClusterId

func (o *ManagementClusterParent) GetClusterId() (value string, ok bool)

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

Parent Cluster ID

func (*ManagementClusterParent) GetHref

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

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

Reference link to internal parent cluster

func (*ManagementClusterParent) GetKind

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

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

Kind of internal parent cluster

func (*ManagementClusterParent) GetName

func (o *ManagementClusterParent) GetName() (value string, ok bool)

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

Parent Cluster Name

func (*ManagementClusterParent) Href

func (o *ManagementClusterParent) Href() string

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

Reference link to internal parent cluster

func (*ManagementClusterParent) Kind

func (o *ManagementClusterParent) Kind() string

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

Kind of internal parent cluster

func (*ManagementClusterParent) Name

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

Parent Cluster Name

type ManagementClusterParentBuilder

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

ManagementClusterParent reference settings of the cluster.

func NewManagementClusterParent

func NewManagementClusterParent() *ManagementClusterParentBuilder

NewManagementClusterParent creates a new builder of 'management_cluster_parent' objects.

func (*ManagementClusterParentBuilder) Build

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

func (*ManagementClusterParentBuilder) ClusterId

ClusterId sets the value of the 'cluster_id' attribute to the given value.

func (*ManagementClusterParentBuilder) Copy

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

func (*ManagementClusterParentBuilder) Empty

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

func (*ManagementClusterParentBuilder) Href

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

func (*ManagementClusterParentBuilder) Kind

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

func (*ManagementClusterParentBuilder) Name

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

type ManagementClusterParentList

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

ManagementClusterParentList is a list of values of the 'management_cluster_parent' type.

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

func (l *ManagementClusterParentList) Empty() bool

Empty returns true if the list is empty.

func (*ManagementClusterParentList) Get

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

func (*ManagementClusterParentList) Items

Items returns the items of the list.

func (*ManagementClusterParentList) Len

Len returns the length of the list.

func (*ManagementClusterParentList) Range

func (l *ManagementClusterParentList) Range(f func(index int, item *ManagementClusterParent) bool)

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

func (*ManagementClusterParentList) SetHREF

func (l *ManagementClusterParentList) SetHREF(href string)

Items sets the items of the list.

func (*ManagementClusterParentList) SetItems

Items sets the items of the list.

func (l *ManagementClusterParentList) SetLink(link bool)

Items sets the items of the list.

func (*ManagementClusterParentList) 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 ManagementClusterParentListBuilder

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

ManagementClusterParentListBuilder contains the data and logic needed to build 'management_cluster_parent' objects.

func NewManagementClusterParentList

func NewManagementClusterParentList() *ManagementClusterParentListBuilder

NewManagementClusterParentList creates a new builder of 'management_cluster_parent' objects.

func (*ManagementClusterParentListBuilder) Build

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

func (*ManagementClusterParentListBuilder) Copy

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

func (*ManagementClusterParentListBuilder) Empty

Empty returns true if the list is empty.

func (*ManagementClusterParentListBuilder) Items

Items sets the items of the list.

type ManagementClusterRequestPayload

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

ManagementClusterRequestPayload represents the values of the 'management_cluster_request_payload' type.

func ReadManagementClusterRequestPayload

func ReadManagementClusterRequestPayload(iterator *jsoniter.Iterator) *ManagementClusterRequestPayload

ReadManagementClusterRequestPayload reads a value of the 'management_cluster_request_payload' type from the given iterator.

func ReadManagementClusterRequestPayloadList

func ReadManagementClusterRequestPayloadList(iterator *jsoniter.Iterator) []*ManagementClusterRequestPayload

ReadManagementClusterRequestPayloadList reads list of values of the ”management_cluster_request_payload' type from the given iterator.

func UnmarshalManagementClusterRequestPayload

func UnmarshalManagementClusterRequestPayload(source interface{}) (object *ManagementClusterRequestPayload, err error)

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

func UnmarshalManagementClusterRequestPayloadList

func UnmarshalManagementClusterRequestPayloadList(source interface{}) (items []*ManagementClusterRequestPayload, err error)

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

func (*ManagementClusterRequestPayload) Empty

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

func (*ManagementClusterRequestPayload) GetService_cluster_idService_cluster_idService_cluster_idService_cluster_idId

func (o *ManagementClusterRequestPayload) GetService_cluster_idService_cluster_idService_cluster_idService_cluster_idId() (value string, ok bool)

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

func (*ManagementClusterRequestPayload) Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId

func (o *ManagementClusterRequestPayload) Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId() string

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

type ManagementClusterRequestPayloadBuilder

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

func NewManagementClusterRequestPayload

func NewManagementClusterRequestPayload() *ManagementClusterRequestPayloadBuilder

NewManagementClusterRequestPayload creates a new builder of 'management_cluster_request_payload' objects.

func (*ManagementClusterRequestPayloadBuilder) Build

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

func (*ManagementClusterRequestPayloadBuilder) Copy

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

func (*ManagementClusterRequestPayloadBuilder) Empty

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

func (*ManagementClusterRequestPayloadBuilder) Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId

func (b *ManagementClusterRequestPayloadBuilder) Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId(value string) *ManagementClusterRequestPayloadBuilder

Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId sets the value of the 'service_cluster_id_service_cluster_id_service_cluster_id_service_cluster_id_id' attribute to the given value.

type ManagementClusterRequestPayloadList

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

ManagementClusterRequestPayloadList is a list of values of the 'management_cluster_request_payload' type.

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

Empty returns true if the list is empty.

func (*ManagementClusterRequestPayloadList) Get

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

func (*ManagementClusterRequestPayloadList) Items

Items returns the items of the list.

func (*ManagementClusterRequestPayloadList) Len

Len returns the length of the list.

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

Items sets the items of the list.

func (*ManagementClusterRequestPayloadList) SetItems

Items sets the items of the list.

func (l *ManagementClusterRequestPayloadList) SetLink(link bool)

Items sets the items of the list.

func (*ManagementClusterRequestPayloadList) 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 ManagementClusterRequestPayloadListBuilder

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

ManagementClusterRequestPayloadListBuilder contains the data and logic needed to build 'management_cluster_request_payload' objects.

func NewManagementClusterRequestPayloadList

func NewManagementClusterRequestPayloadList() *ManagementClusterRequestPayloadListBuilder

NewManagementClusterRequestPayloadList creates a new builder of 'management_cluster_request_payload' objects.

func (*ManagementClusterRequestPayloadListBuilder) Build

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

func (*ManagementClusterRequestPayloadListBuilder) Copy

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

func (*ManagementClusterRequestPayloadListBuilder) Empty

Empty returns true if the list is empty.

func (*ManagementClusterRequestPayloadListBuilder) Items

Items sets the items of the list.

type Metadata

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

Metadata contains the version metadata.

func UnmarshalMetadata

func UnmarshalMetadata(source interface{}) (object *Metadata, err error)

UnmarshalMetadata reads a value of the metadata type from the given source, which which can be a reader, a slice of byte or a string.

func (*Metadata) GetServerVersion

func (m *Metadata) GetServerVersion() (value string, ok bool)

GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.

func (*Metadata) ServerVersion

func (m *Metadata) ServerVersion() string

ServerVersion returns the version of the server.

type ProvisionShardReference

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

ProvisionShardReference represents the values of the 'provision_shard_reference' type.

Provision Shard Reference of the cluster.

func ReadProvisionShardReference

func ReadProvisionShardReference(iterator *jsoniter.Iterator) *ProvisionShardReference

ReadProvisionShardReference reads a value of the 'provision_shard_reference' type from the given iterator.

func ReadProvisionShardReferenceList

func ReadProvisionShardReferenceList(iterator *jsoniter.Iterator) []*ProvisionShardReference

ReadProvisionShardReferenceList reads list of values of the ”provision_shard_reference' type from the given iterator.

func UnmarshalProvisionShardReference

func UnmarshalProvisionShardReference(source interface{}) (object *ProvisionShardReference, err error)

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

func UnmarshalProvisionShardReferenceList

func UnmarshalProvisionShardReferenceList(source interface{}) (items []*ProvisionShardReference, err error)

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

func (*ProvisionShardReference) Empty

func (o *ProvisionShardReference) Empty() bool

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

func (*ProvisionShardReference) GetHref

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

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

link to the Provision Shards associated to the cluster

func (*ProvisionShardReference) GetId

func (o *ProvisionShardReference) 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 Provision Shards associated to the Ocluster

func (*ProvisionShardReference) Href

func (o *ProvisionShardReference) Href() string

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

link to the Provision Shards associated to the cluster

func (*ProvisionShardReference) Id

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

Id of the Provision Shards associated to the Ocluster

type ProvisionShardReferenceBuilder

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

Provision Shard Reference of the cluster.

func NewProvisionShardReference

func NewProvisionShardReference() *ProvisionShardReferenceBuilder

NewProvisionShardReference creates a new builder of 'provision_shard_reference' objects.

func (*ProvisionShardReferenceBuilder) Build

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

func (*ProvisionShardReferenceBuilder) Copy

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

func (*ProvisionShardReferenceBuilder) Empty

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

func (*ProvisionShardReferenceBuilder) Href

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

func (*ProvisionShardReferenceBuilder) Id

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

type ProvisionShardReferenceList

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

ProvisionShardReferenceList is a list of values of the 'provision_shard_reference' type.

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

func (l *ProvisionShardReferenceList) Empty() bool

Empty returns true if the list is empty.

func (*ProvisionShardReferenceList) Get

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

func (*ProvisionShardReferenceList) Items

Items returns the items of the list.

func (*ProvisionShardReferenceList) Len

Len returns the length of the list.

func (*ProvisionShardReferenceList) Range

func (l *ProvisionShardReferenceList) Range(f func(index int, item *ProvisionShardReference) bool)

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

func (*ProvisionShardReferenceList) SetHREF

func (l *ProvisionShardReferenceList) SetHREF(href string)

Items sets the items of the list.

func (*ProvisionShardReferenceList) SetItems

Items sets the items of the list.

func (l *ProvisionShardReferenceList) SetLink(link bool)

Items sets the items of the list.

func (*ProvisionShardReferenceList) 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 ProvisionShardReferenceListBuilder

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

ProvisionShardReferenceListBuilder contains the data and logic needed to build 'provision_shard_reference' objects.

func NewProvisionShardReferenceList

func NewProvisionShardReferenceList() *ProvisionShardReferenceListBuilder

NewProvisionShardReferenceList creates a new builder of 'provision_shard_reference' objects.

func (*ProvisionShardReferenceListBuilder) Build

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

func (*ProvisionShardReferenceListBuilder) Copy

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

func (*ProvisionShardReferenceListBuilder) Empty

Empty returns true if the list is empty.

func (*ProvisionShardReferenceListBuilder) Items

Items sets the items of the list.

type ServiceCluster

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

ServiceCluster represents the values of the 'service_cluster' type.

Definition of an _OpenShift_ cluster.

The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:

```json

{
  "cloud_provider": {
    "kind": "CloudProviderLink",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/cloud_providers/123"
  }
}

```

When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:

```json

{
  "cloud_provider": {
    "id": "123",
  }
}

```

If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.

The region attribute is mandatory when a cluster is created.

The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.

func ReadServiceCluster

func ReadServiceCluster(iterator *jsoniter.Iterator) *ServiceCluster

ReadServiceCluster reads a value of the 'service_cluster' type from the given iterator.

func ReadServiceClusterList

func ReadServiceClusterList(iterator *jsoniter.Iterator) []*ServiceCluster

ReadServiceClusterList reads list of values of the ”service_cluster' type from the given iterator.

func UnmarshalServiceCluster

func UnmarshalServiceCluster(source interface{}) (object *ServiceCluster, err error)

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

func UnmarshalServiceClusterList

func UnmarshalServiceClusterList(source interface{}) (items []*ServiceCluster, err error)

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

func (*ServiceCluster) CloudProvider

func (o *ServiceCluster) CloudProvider() string

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

Cloud provider where the cluster is installed.

func (*ServiceCluster) ClusterManagementReference

func (o *ServiceCluster) ClusterManagementReference() *ClusterManagementReference

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

Cluster mgmt reference

func (*ServiceCluster) DNS

func (o *ServiceCluster) DNS() *DNS

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

DNS settings of the cluster.

func (*ServiceCluster) Empty

func (o *ServiceCluster) Empty() bool

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

func (*ServiceCluster) GetCloudProvider

func (o *ServiceCluster) GetCloudProvider() (value string, ok bool)

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

Cloud provider where the cluster is installed.

func (*ServiceCluster) GetClusterManagementReference

func (o *ServiceCluster) GetClusterManagementReference() (value *ClusterManagementReference, ok bool)

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

Cluster mgmt reference

func (*ServiceCluster) GetDNS

func (o *ServiceCluster) GetDNS() (value *DNS, ok bool)

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

DNS settings of the cluster.

func (*ServiceCluster) GetHREF

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

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

func (*ServiceCluster) GetID

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

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

func (*ServiceCluster) GetLabels

func (o *ServiceCluster) GetLabels() (value []*Label, ok bool)

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

Labels on service cluster

func (*ServiceCluster) GetName

func (o *ServiceCluster) GetName() (value string, ok bool)

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

Cluster name

func (*ServiceCluster) GetProvisionShardReference

func (o *ServiceCluster) GetProvisionShardReference() (value *ProvisionShardReference, ok bool)

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

Provision shard reference for the service cluster

func (*ServiceCluster) GetRegion

func (o *ServiceCluster) GetRegion() (value string, ok bool)

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

Cloud provider region where the cluster is installed.

func (*ServiceCluster) GetSector

func (o *ServiceCluster) GetSector() (value string, ok bool)

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

Sector of cluster

func (*ServiceCluster) GetStatus

func (o *ServiceCluster) GetStatus() (value string, ok bool)

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

Status of cluster

func (*ServiceCluster) HREF

func (o *ServiceCluster) HREF() string

HREF returns the link to the object.

func (*ServiceCluster) ID

func (o *ServiceCluster) ID() string

ID returns the identifier of the object.

func (*ServiceCluster) Kind

func (o *ServiceCluster) Kind() string

Kind returns the name of the type of the object.

func (*ServiceCluster) Labels

func (o *ServiceCluster) Labels() []*Label

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

Labels on service cluster

func (o *ServiceCluster) Link() bool

Link returns true if this is a link.

func (*ServiceCluster) Name

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

Cluster name

func (*ServiceCluster) ProvisionShardReference

func (o *ServiceCluster) ProvisionShardReference() *ProvisionShardReference

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

Provision shard reference for the service cluster

func (*ServiceCluster) Region

func (o *ServiceCluster) Region() string

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

Cloud provider region where the cluster is installed.

func (*ServiceCluster) Sector

func (o *ServiceCluster) Sector() string

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

Sector of cluster

func (*ServiceCluster) Status

func (o *ServiceCluster) Status() string

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

Status of cluster

type ServiceClusterBuilder

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

Definition of an _OpenShift_ cluster.

The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:

```json

{
  "cloud_provider": {
    "kind": "CloudProviderLink",
    "id": "123",
    "href": "/api/clusters_mgmt/v1/cloud_providers/123"
  }
}

```

When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:

```json

{
  "cloud_provider": {
    "id": "123",
  }
}

```

If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.

The region attribute is mandatory when a cluster is created.

The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.

func NewServiceCluster

func NewServiceCluster() *ServiceClusterBuilder

NewServiceCluster creates a new builder of 'service_cluster' objects.

func (*ServiceClusterBuilder) Build

func (b *ServiceClusterBuilder) Build() (object *ServiceCluster, err error)

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

func (*ServiceClusterBuilder) CloudProvider

func (b *ServiceClusterBuilder) CloudProvider(value string) *ServiceClusterBuilder

CloudProvider sets the value of the 'cloud_provider' attribute to the given value.

func (*ServiceClusterBuilder) ClusterManagementReference

func (b *ServiceClusterBuilder) ClusterManagementReference(value *ClusterManagementReferenceBuilder) *ServiceClusterBuilder

ClusterManagementReference sets the value of the 'cluster_management_reference' attribute to the given value.

Cluster Mgmt reference settings of the cluster.

func (*ServiceClusterBuilder) Copy

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

func (*ServiceClusterBuilder) DNS

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

DNS settings of the cluster.

func (*ServiceClusterBuilder) Empty

func (b *ServiceClusterBuilder) Empty() bool

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

func (*ServiceClusterBuilder) HREF

HREF sets the link to the object.

func (*ServiceClusterBuilder) ID

ID sets the identifier of the object.

func (*ServiceClusterBuilder) Labels

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

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

func (*ServiceClusterBuilder) Name

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

func (*ServiceClusterBuilder) ProvisionShardReference

ProvisionShardReference sets the value of the 'provision_shard_reference' attribute to the given value.

Provision Shard Reference of the cluster.

func (*ServiceClusterBuilder) Region

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

func (*ServiceClusterBuilder) Sector

Sector sets the value of the 'sector' attribute to the given value.

func (*ServiceClusterBuilder) Status

Status sets the value of the 'status' attribute to the given value.

type ServiceClusterList

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

ServiceClusterList is a list of values of the 'service_cluster' type.

func (*ServiceClusterList) Each

func (l *ServiceClusterList) Each(f func(item *ServiceCluster) bool)

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

func (*ServiceClusterList) Empty

func (l *ServiceClusterList) Empty() bool

Empty returns true if the list is empty.

func (*ServiceClusterList) Get

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

func (*ServiceClusterList) GetHREF

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

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

func (*ServiceClusterList) HREF

func (l *ServiceClusterList) HREF() string

HREF returns the link to the list.

func (*ServiceClusterList) Items

func (l *ServiceClusterList) Items() []*ServiceCluster

Items returns the items of the list.

func (*ServiceClusterList) Kind

func (l *ServiceClusterList) Kind() string

Kind returns the name of the type of the object.

func (*ServiceClusterList) Len

func (l *ServiceClusterList) Len() int

Len returns the length of the list.

func (l *ServiceClusterList) Link() bool

Link returns true iif this is a link.

func (*ServiceClusterList) Range

func (l *ServiceClusterList) Range(f func(index int, item *ServiceCluster) bool)

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

func (*ServiceClusterList) SetHREF

func (l *ServiceClusterList) SetHREF(href string)

Items sets the items of the list.

func (*ServiceClusterList) SetItems

func (l *ServiceClusterList) SetItems(items []*ServiceCluster)

Items sets the items of the list.

func (l *ServiceClusterList) SetLink(link bool)

Items sets the items of the list.

func (*ServiceClusterList) Slice

func (l *ServiceClusterList) Slice() []*ServiceCluster

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

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

type ServiceClusterListBuilder

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

ServiceClusterListBuilder contains the data and logic needed to build 'service_cluster' objects.

func NewServiceClusterList

func NewServiceClusterList() *ServiceClusterListBuilder

NewServiceClusterList creates a new builder of 'service_cluster' objects.

func (*ServiceClusterListBuilder) Build

func (b *ServiceClusterListBuilder) Build() (list *ServiceClusterList, err error)

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

func (*ServiceClusterListBuilder) Copy

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

func (*ServiceClusterListBuilder) Empty

func (b *ServiceClusterListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ServiceClusterListBuilder) Items

Items sets the items of the list.

type ServiceClusterRequestPayload

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

ServiceClusterRequestPayload represents the values of the 'service_cluster_request_payload' type.

func ReadServiceClusterRequestPayload

func ReadServiceClusterRequestPayload(iterator *jsoniter.Iterator) *ServiceClusterRequestPayload

ReadServiceClusterRequestPayload reads a value of the 'service_cluster_request_payload' type from the given iterator.

func ReadServiceClusterRequestPayloadList

func ReadServiceClusterRequestPayloadList(iterator *jsoniter.Iterator) []*ServiceClusterRequestPayload

ReadServiceClusterRequestPayloadList reads list of values of the ”service_cluster_request_payload' type from the given iterator.

func UnmarshalServiceClusterRequestPayload

func UnmarshalServiceClusterRequestPayload(source interface{}) (object *ServiceClusterRequestPayload, err error)

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

func UnmarshalServiceClusterRequestPayloadList

func UnmarshalServiceClusterRequestPayloadList(source interface{}) (items []*ServiceClusterRequestPayload, err error)

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

func (*ServiceClusterRequestPayload) CloudProvider

func (o *ServiceClusterRequestPayload) CloudProvider() string

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

func (*ServiceClusterRequestPayload) Empty

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

func (*ServiceClusterRequestPayload) GetCloudProvider

func (o *ServiceClusterRequestPayload) GetCloudProvider() (value string, ok bool)

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

func (*ServiceClusterRequestPayload) GetLabels

func (o *ServiceClusterRequestPayload) GetLabels() (value []*LabelRequestPayload, ok bool)

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

func (*ServiceClusterRequestPayload) GetRegion

func (o *ServiceClusterRequestPayload) GetRegion() (value string, ok bool)

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

func (*ServiceClusterRequestPayload) Labels

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

func (*ServiceClusterRequestPayload) Region

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

type ServiceClusterRequestPayloadBuilder

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

func NewServiceClusterRequestPayload

func NewServiceClusterRequestPayload() *ServiceClusterRequestPayloadBuilder

NewServiceClusterRequestPayload creates a new builder of 'service_cluster_request_payload' objects.

func (*ServiceClusterRequestPayloadBuilder) Build

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

func (*ServiceClusterRequestPayloadBuilder) CloudProvider

CloudProvider sets the value of the 'cloud_provider' attribute to the given value.

func (*ServiceClusterRequestPayloadBuilder) Copy

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

func (*ServiceClusterRequestPayloadBuilder) Empty

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

func (*ServiceClusterRequestPayloadBuilder) Labels

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

func (*ServiceClusterRequestPayloadBuilder) Region

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

type ServiceClusterRequestPayloadList

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

ServiceClusterRequestPayloadList is a list of values of the 'service_cluster_request_payload' type.

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

Empty returns true if the list is empty.

func (*ServiceClusterRequestPayloadList) Get

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

func (*ServiceClusterRequestPayloadList) Items

Items returns the items of the list.

func (*ServiceClusterRequestPayloadList) Len

Len returns the length of the list.

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

func (l *ServiceClusterRequestPayloadList) SetHREF(href string)

Items sets the items of the list.

func (*ServiceClusterRequestPayloadList) SetItems

Items sets the items of the list.

func (l *ServiceClusterRequestPayloadList) SetLink(link bool)

Items sets the items of the list.

func (*ServiceClusterRequestPayloadList) 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 ServiceClusterRequestPayloadListBuilder

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

ServiceClusterRequestPayloadListBuilder contains the data and logic needed to build 'service_cluster_request_payload' objects.

func NewServiceClusterRequestPayloadList

func NewServiceClusterRequestPayloadList() *ServiceClusterRequestPayloadListBuilder

NewServiceClusterRequestPayloadList creates a new builder of 'service_cluster_request_payload' objects.

func (*ServiceClusterRequestPayloadListBuilder) Build

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

func (*ServiceClusterRequestPayloadListBuilder) Copy

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

func (*ServiceClusterRequestPayloadListBuilder) Empty

Empty returns true if the list is empty.

func (*ServiceClusterRequestPayloadListBuilder) Items

Items sets the items of the list.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL