v1

package
v0.0.430 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AWSListKind = "AWSList"

AWSListKind is the name of the type used to represent list of objects of type 'AWS'.

View Source
const AWSListLinkKind = "AWSListLink"

AWSListLinkKind is the name of the type used to represent links to list of objects of type 'AWS'.

View Source
const AWSListNilKind = "AWSListNil"

AWSNilKind is the name of the type used to nil lists of objects of type 'AWS'.

View Source
const CloudRegionListKind = "CloudRegionList"

CloudRegionListKind is the name of the type used to represent list of objects of type 'cloud_region'.

View Source
const CloudRegionListLinkKind = "CloudRegionListLink"

CloudRegionListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_region'.

View Source
const CloudRegionListNilKind = "CloudRegionListNil"

CloudRegionNilKind is the name of the type used to nil lists of objects of type 'cloud_region'.

View Source
const ClusterAPIListKind = "ClusterAPIList"

ClusterAPIListKind is the name of the type used to represent list of objects of type 'cluster_API'.

View Source
const ClusterAPIListLinkKind = "ClusterAPIListLink"

ClusterAPIListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_API'.

View Source
const ClusterAPIListNilKind = "ClusterAPIListNil"

ClusterAPINilKind is the name of the type used to nil lists of objects of type 'cluster_API'.

View Source
const ClusterListKind = "ClusterList"

ClusterListKind is the name of the type used to represent list of objects of type 'cluster'.

View Source
const ClusterListLinkKind = "ClusterListLink"

ClusterListLinkKind is the name of the type used to represent links to list of objects of type 'cluster'.

View Source
const ClusterListNilKind = "ClusterListNil"

ClusterNilKind is the name of the type used to nil lists of objects of type 'cluster'.

View Source
const ClusterNodesListKind = "ClusterNodesList"

ClusterNodesListKind is the name of the type used to represent list of objects of type 'cluster_nodes'.

View Source
const ClusterNodesListLinkKind = "ClusterNodesListLink"

ClusterNodesListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_nodes'.

View Source
const ClusterNodesListNilKind = "ClusterNodesListNil"

ClusterNodesNilKind is the name of the type used to nil lists of objects of type 'cluster_nodes'.

View Source
const InstanceIAMRolesListKind = "InstanceIAMRolesList"

InstanceIAMRolesListKind is the name of the type used to represent list of objects of type 'instance_IAM_roles'.

View Source
const InstanceIAMRolesListLinkKind = "InstanceIAMRolesListLink"

InstanceIAMRolesListLinkKind is the name of the type used to represent links to list of objects of type 'instance_IAM_roles'.

View Source
const InstanceIAMRolesListNilKind = "InstanceIAMRolesListNil"

InstanceIAMRolesNilKind is the name of the type used to nil lists of objects of type 'instance_IAM_roles'.

View Source
const ManagedServiceKind = "ManagedService"

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

View Source
const ManagedServiceLinkKind = "ManagedServiceLink"

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

View Source
const ManagedServiceListKind = "ManagedServiceList"

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

View Source
const ManagedServiceListLinkKind = "ManagedServiceListLink"

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

View Source
const ManagedServiceListNilKind = "ManagedServiceListNil"

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

View Source
const ManagedServiceNilKind = "ManagedServiceNil"

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

View Source
const NetworkListKind = "NetworkList"

NetworkListKind is the name of the type used to represent list of objects of type 'network'.

View Source
const NetworkListLinkKind = "NetworkListLink"

NetworkListLinkKind is the name of the type used to represent links to list of objects of type 'network'.

View Source
const NetworkListNilKind = "NetworkListNil"

NetworkNilKind is the name of the type used to nil lists of objects of type 'network'.

View Source
const OperatorIAMRoleListKind = "OperatorIAMRoleList"

OperatorIAMRoleListKind is the name of the type used to represent list of objects of type 'operator_IAM_role'.

View Source
const OperatorIAMRoleListLinkKind = "OperatorIAMRoleListLink"

OperatorIAMRoleListLinkKind is the name of the type used to represent links to list of objects of type 'operator_IAM_role'.

View Source
const OperatorIAMRoleListNilKind = "OperatorIAMRoleListNil"

OperatorIAMRoleNilKind is the name of the type used to nil lists of objects of type 'operator_IAM_role'.

View Source
const STSListKind = "STSList"

STSListKind is the name of the type used to represent list of objects of type 'STS'.

View Source
const STSListLinkKind = "STSListLink"

STSListLinkKind is the name of the type used to represent links to list of objects of type 'STS'.

View Source
const STSListNilKind = "STSListNil"

STSNilKind is the name of the type used to nil lists of objects of type 'STS'.

View Source
const ServiceParameterListKind = "ServiceParameterList"

ServiceParameterListKind is the name of the type used to represent list of objects of type 'service_parameter'.

View Source
const ServiceParameterListLinkKind = "ServiceParameterListLink"

ServiceParameterListLinkKind is the name of the type used to represent links to list of objects of type 'service_parameter'.

View Source
const ServiceParameterListNilKind = "ServiceParameterListNil"

ServiceParameterNilKind is the name of the type used to nil lists of objects of type 'service_parameter'.

View Source
const StatefulObjectListKind = "StatefulObjectList"

StatefulObjectListKind is the name of the type used to represent list of objects of type 'stateful_object'.

View Source
const StatefulObjectListLinkKind = "StatefulObjectListLink"

StatefulObjectListLinkKind is the name of the type used to represent links to list of objects of type 'stateful_object'.

View Source
const StatefulObjectListNilKind = "StatefulObjectListNil"

StatefulObjectNilKind is the name of the type used to nil lists of objects of type 'stateful_object'.

View Source
const VersionInquiryRequestListKind = "VersionInquiryRequestList"

VersionInquiryRequestListKind is the name of the type used to represent list of objects of type 'version_inquiry_request'.

View Source
const VersionInquiryRequestListLinkKind = "VersionInquiryRequestListLink"

VersionInquiryRequestListLinkKind is the name of the type used to represent links to list of objects of type 'version_inquiry_request'.

View Source
const VersionInquiryRequestListNilKind = "VersionInquiryRequestListNil"

VersionInquiryRequestNilKind is the name of the type used to nil lists of objects of type 'version_inquiry_request'.

View Source
const VersionInquiryResponseListKind = "VersionInquiryResponseList"

VersionInquiryResponseListKind is the name of the type used to represent list of objects of type 'version_inquiry_response'.

View Source
const VersionInquiryResponseListLinkKind = "VersionInquiryResponseListLink"

VersionInquiryResponseListLinkKind is the name of the type used to represent links to list of objects of type 'version_inquiry_response'.

View Source
const VersionInquiryResponseListNilKind = "VersionInquiryResponseListNil"

VersionInquiryResponseNilKind is the name of the type used to nil lists of objects of type 'version_inquiry_response'.

Variables

This section is empty.

Functions

func MarshalAWS

func MarshalAWS(object *AWS, writer io.Writer) error

MarshalAWS writes a value of the 'AWS' type to the given writer.

func MarshalAWSList

func MarshalAWSList(list []*AWS, writer io.Writer) error

MarshalAWSList writes a list of values of the 'AWS' type to the given writer.

func MarshalBooleanList

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

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

func MarshalCloudRegion

func MarshalCloudRegion(object *CloudRegion, writer io.Writer) error

MarshalCloudRegion writes a value of the 'cloud_region' type to the given writer.

func MarshalCloudRegionList

func MarshalCloudRegionList(list []*CloudRegion, writer io.Writer) error

MarshalCloudRegionList writes a list of values of the 'cloud_region' type to the given writer.

func MarshalCluster

func MarshalCluster(object *Cluster, writer io.Writer) error

MarshalCluster writes a value of the 'cluster' type to the given writer.

func MarshalClusterAPI

func MarshalClusterAPI(object *ClusterAPI, writer io.Writer) error

MarshalClusterAPI writes a value of the 'cluster_API' type to the given writer.

func MarshalClusterAPIList

func MarshalClusterAPIList(list []*ClusterAPI, writer io.Writer) error

MarshalClusterAPIList writes a list of values of the 'cluster_API' type to the given writer.

func MarshalClusterList

func MarshalClusterList(list []*Cluster, writer io.Writer) error

MarshalClusterList writes a list of values of the 'cluster' type to the given writer.

func MarshalClusterNodes

func MarshalClusterNodes(object *ClusterNodes, writer io.Writer) error

MarshalClusterNodes writes a value of the 'cluster_nodes' type to the given writer.

func MarshalClusterNodesList

func MarshalClusterNodesList(list []*ClusterNodes, writer io.Writer) error

MarshalClusterNodesList writes a list of values of the 'cluster_nodes' type to the given writer.

func 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 MarshalInstanceIAMRoles

func MarshalInstanceIAMRoles(object *InstanceIAMRoles, writer io.Writer) error

MarshalInstanceIAMRoles writes a value of the 'instance_IAM_roles' type to the given writer.

func MarshalInstanceIAMRolesList

func MarshalInstanceIAMRolesList(list []*InstanceIAMRoles, writer io.Writer) error

MarshalInstanceIAMRolesList writes a list of values of the 'instance_IAM_roles' type to the given writer.

func MarshalIntegerList

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

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

func MarshalInterfaceList

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

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

func MarshalListeningMethodList

func MarshalListeningMethodList(list []ListeningMethod, writer io.Writer) error

MarshalListeningMethodList writes a list of values of the 'listening_method' type to the given writer.

func MarshalLongList

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

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

func MarshalManagedService

func MarshalManagedService(object *ManagedService, writer io.Writer) error

MarshalManagedService writes a value of the 'managed_service' type to the given writer.

func MarshalManagedServiceList

func MarshalManagedServiceList(list []*ManagedService, writer io.Writer) error

MarshalManagedServiceList writes a list of values of the 'managed_service' 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 MarshalNetwork

func MarshalNetwork(object *Network, writer io.Writer) error

MarshalNetwork writes a value of the 'network' type to the given writer.

func MarshalNetworkList

func MarshalNetworkList(list []*Network, writer io.Writer) error

MarshalNetworkList writes a list of values of the 'network' type to the given writer.

func MarshalOperatorIAMRole

func MarshalOperatorIAMRole(object *OperatorIAMRole, writer io.Writer) error

MarshalOperatorIAMRole writes a value of the 'operator_IAM_role' type to the given writer.

func MarshalOperatorIAMRoleList

func MarshalOperatorIAMRoleList(list []*OperatorIAMRole, writer io.Writer) error

MarshalOperatorIAMRoleList writes a list of values of the 'operator_IAM_role' type to the given writer.

func MarshalSTS

func MarshalSTS(object *STS, writer io.Writer) error

MarshalSTS writes a value of the 'STS' type to the given writer.

func MarshalSTSList

func MarshalSTSList(list []*STS, writer io.Writer) error

MarshalSTSList writes a list of values of the 'STS' type to the given writer.

func MarshalServiceParameter

func MarshalServiceParameter(object *ServiceParameter, writer io.Writer) error

MarshalServiceParameter writes a value of the 'service_parameter' type to the given writer.

func MarshalServiceParameterList

func MarshalServiceParameterList(list []*ServiceParameter, writer io.Writer) error

MarshalServiceParameterList writes a list of values of the 'service_parameter' type to the given writer.

func MarshalStatefulObject

func MarshalStatefulObject(object *StatefulObject, writer io.Writer) error

MarshalStatefulObject writes a value of the 'stateful_object' type to the given writer.

func MarshalStatefulObjectList

func MarshalStatefulObjectList(list []*StatefulObject, writer io.Writer) error

MarshalStatefulObjectList writes a list of values of the 'stateful_object' 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 MarshalVersionInquiryRequest

func MarshalVersionInquiryRequest(object *VersionInquiryRequest, writer io.Writer) error

MarshalVersionInquiryRequest writes a value of the 'version_inquiry_request' type to the given writer.

func MarshalVersionInquiryRequestList

func MarshalVersionInquiryRequestList(list []*VersionInquiryRequest, writer io.Writer) error

MarshalVersionInquiryRequestList writes a list of values of the 'version_inquiry_request' type to the given writer.

func MarshalVersionInquiryResponse

func MarshalVersionInquiryResponse(object *VersionInquiryResponse, writer io.Writer) error

MarshalVersionInquiryResponse writes a value of the 'version_inquiry_response' type to the given writer.

func MarshalVersionInquiryResponseList

func MarshalVersionInquiryResponseList(list []*VersionInquiryResponse, writer io.Writer) error

MarshalVersionInquiryResponseList writes a list of values of the 'version_inquiry_response' 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 WriteAWS

func WriteAWS(object *AWS, stream *jsoniter.Stream)

WriteAWS writes a value of the 'AWS' type to the given stream.

func WriteAWSList

func WriteAWSList(list []*AWS, stream *jsoniter.Stream)

WriteAWSList writes a list of value of the 'AWS' type to the given stream.

func WriteBooleanList

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

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

func WriteCloudRegion

func WriteCloudRegion(object *CloudRegion, stream *jsoniter.Stream)

WriteCloudRegion writes a value of the 'cloud_region' type to the given stream.

func WriteCloudRegionList

func WriteCloudRegionList(list []*CloudRegion, stream *jsoniter.Stream)

WriteCloudRegionList writes a list of value of the 'cloud_region' type to the given stream.

func WriteCluster

func WriteCluster(object *Cluster, stream *jsoniter.Stream)

WriteCluster writes a value of the 'cluster' type to the given stream.

func WriteClusterAPI

func WriteClusterAPI(object *ClusterAPI, stream *jsoniter.Stream)

WriteClusterAPI writes a value of the 'cluster_API' type to the given stream.

func WriteClusterAPIList

func WriteClusterAPIList(list []*ClusterAPI, stream *jsoniter.Stream)

WriteClusterAPIList writes a list of value of the 'cluster_API' type to the given stream.

func WriteClusterList

func WriteClusterList(list []*Cluster, stream *jsoniter.Stream)

WriteClusterList writes a list of value of the 'cluster' type to the given stream.

func WriteClusterNodes

func WriteClusterNodes(object *ClusterNodes, stream *jsoniter.Stream)

WriteClusterNodes writes a value of the 'cluster_nodes' type to the given stream.

func WriteClusterNodesList

func WriteClusterNodesList(list []*ClusterNodes, stream *jsoniter.Stream)

WriteClusterNodesList writes a list of value of the 'cluster_nodes' 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 WriteInstanceIAMRoles

func WriteInstanceIAMRoles(object *InstanceIAMRoles, stream *jsoniter.Stream)

WriteInstanceIAMRoles writes a value of the 'instance_IAM_roles' type to the given stream.

func WriteInstanceIAMRolesList

func WriteInstanceIAMRolesList(list []*InstanceIAMRoles, stream *jsoniter.Stream)

WriteInstanceIAMRolesList writes a list of value of the 'instance_IAM_roles' 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 WriteListeningMethodList

func WriteListeningMethodList(list []ListeningMethod, stream *jsoniter.Stream)

WriteListeningMethodList writes a list of value of the 'listening_method' 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 WriteManagedService

func WriteManagedService(object *ManagedService, stream *jsoniter.Stream)

WriteManagedService writes a value of the 'managed_service' type to the given stream.

func WriteManagedServiceList

func WriteManagedServiceList(list []*ManagedService, stream *jsoniter.Stream)

WriteManagedServiceList writes a list of value of the 'managed_service' type to the given stream.

func WriteNetwork

func WriteNetwork(object *Network, stream *jsoniter.Stream)

WriteNetwork writes a value of the 'network' type to the given stream.

func WriteNetworkList

func WriteNetworkList(list []*Network, stream *jsoniter.Stream)

WriteNetworkList writes a list of value of the 'network' type to the given stream.

func WriteOperatorIAMRole

func WriteOperatorIAMRole(object *OperatorIAMRole, stream *jsoniter.Stream)

WriteOperatorIAMRole writes a value of the 'operator_IAM_role' type to the given stream.

func WriteOperatorIAMRoleList

func WriteOperatorIAMRoleList(list []*OperatorIAMRole, stream *jsoniter.Stream)

WriteOperatorIAMRoleList writes a list of value of the 'operator_IAM_role' type to the given stream.

func WriteSTS

func WriteSTS(object *STS, stream *jsoniter.Stream)

WriteSTS writes a value of the 'STS' type to the given stream.

func WriteSTSList

func WriteSTSList(list []*STS, stream *jsoniter.Stream)

WriteSTSList writes a list of value of the 'STS' type to the given stream.

func WriteServiceParameter

func WriteServiceParameter(object *ServiceParameter, stream *jsoniter.Stream)

WriteServiceParameter writes a value of the 'service_parameter' type to the given stream.

func WriteServiceParameterList

func WriteServiceParameterList(list []*ServiceParameter, stream *jsoniter.Stream)

WriteServiceParameterList writes a list of value of the 'service_parameter' type to the given stream.

func WriteStatefulObject

func WriteStatefulObject(object *StatefulObject, stream *jsoniter.Stream)

WriteStatefulObject writes a value of the 'stateful_object' type to the given stream.

func WriteStatefulObjectList

func WriteStatefulObjectList(list []*StatefulObject, stream *jsoniter.Stream)

WriteStatefulObjectList writes a list of value of the 'stateful_object' 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.

func WriteVersionInquiryRequest

func WriteVersionInquiryRequest(object *VersionInquiryRequest, stream *jsoniter.Stream)

WriteVersionInquiryRequest writes a value of the 'version_inquiry_request' type to the given stream.

func WriteVersionInquiryRequestList

func WriteVersionInquiryRequestList(list []*VersionInquiryRequest, stream *jsoniter.Stream)

WriteVersionInquiryRequestList writes a list of value of the 'version_inquiry_request' type to the given stream.

func WriteVersionInquiryResponse

func WriteVersionInquiryResponse(object *VersionInquiryResponse, stream *jsoniter.Stream)

WriteVersionInquiryResponse writes a value of the 'version_inquiry_response' type to the given stream.

func WriteVersionInquiryResponseList

func WriteVersionInquiryResponseList(list []*VersionInquiryResponse, stream *jsoniter.Stream)

WriteVersionInquiryResponseList writes a list of value of the 'version_inquiry_response' type to the given stream.

Types

type AWS

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

AWS represents the values of the 'AWS' type.

_Amazon Web Services_ specific settings of a cluster.

func ReadAWS

func ReadAWS(iterator *jsoniter.Iterator) *AWS

ReadAWS reads a value of the 'AWS' type from the given iterator.

func ReadAWSList

func ReadAWSList(iterator *jsoniter.Iterator) []*AWS

ReadAWSList reads list of values of the ”AWS' type from the given iterator.

func UnmarshalAWS

func UnmarshalAWS(source interface{}) (object *AWS, err error)

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

func UnmarshalAWSList

func UnmarshalAWSList(source interface{}) (items []*AWS, err error)

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

func (*AWS) AccessKeyID

func (o *AWS) AccessKeyID() string

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

AWS access key identifier.

func (*AWS) AccountID

func (o *AWS) AccountID() string

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

AWS account identifier.

func (*AWS) Empty

func (o *AWS) Empty() bool

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

func (*AWS) GetAccessKeyID

func (o *AWS) GetAccessKeyID() (value string, ok bool)

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

AWS access key identifier.

func (*AWS) GetAccountID

func (o *AWS) GetAccountID() (value string, ok bool)

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

AWS account identifier.

func (o *AWS) GetPrivateLink() (value bool, ok bool)

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

For PrivateLink-enabled clusters

func (*AWS) GetSTS

func (o *AWS) GetSTS() (value *STS, ok bool)

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

Contains the necessary attributes to support role-based authentication on AWS.

func (*AWS) GetSecretAccessKey

func (o *AWS) GetSecretAccessKey() (value string, ok bool)

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

AWS secret access key.

func (*AWS) GetSubnetIDs

func (o *AWS) GetSubnetIDs() (value []string, ok bool)

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

The subnet ids to be used when installing the cluster.

func (*AWS) GetTags

func (o *AWS) GetTags() (value map[string]string, ok bool)

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

Optional keys and values that the installer will add as tags to all AWS resources it creates

func (o *AWS) PrivateLink() bool

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

For PrivateLink-enabled clusters

func (*AWS) STS

func (o *AWS) STS() *STS

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

Contains the necessary attributes to support role-based authentication on AWS.

func (*AWS) SecretAccessKey

func (o *AWS) SecretAccessKey() string

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

AWS secret access key.

func (*AWS) SubnetIDs

func (o *AWS) SubnetIDs() []string

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

The subnet ids to be used when installing the cluster.

func (*AWS) Tags

func (o *AWS) Tags() map[string]string

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

Optional keys and values that the installer will add as tags to all AWS resources it creates

type AWSBuilder

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

_Amazon Web Services_ specific settings of a cluster.

func NewAWS

func NewAWS() *AWSBuilder

NewAWS creates a new builder of 'AWS' objects.

func (*AWSBuilder) AccessKeyID

func (b *AWSBuilder) AccessKeyID(value string) *AWSBuilder

AccessKeyID sets the value of the 'access_key_ID' attribute to the given value.

func (*AWSBuilder) AccountID

func (b *AWSBuilder) AccountID(value string) *AWSBuilder

AccountID sets the value of the 'account_ID' attribute to the given value.

func (*AWSBuilder) Build

func (b *AWSBuilder) Build() (object *AWS, err error)

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

func (*AWSBuilder) Copy

func (b *AWSBuilder) Copy(object *AWS) *AWSBuilder

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

func (*AWSBuilder) Empty

func (b *AWSBuilder) Empty() bool

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

func (b *AWSBuilder) PrivateLink(value bool) *AWSBuilder

PrivateLink sets the value of the 'private_link' attribute to the given value.

func (*AWSBuilder) STS

func (b *AWSBuilder) STS(value *STSBuilder) *AWSBuilder

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

Contains the necessary attributes to support role-based authentication on AWS.

func (*AWSBuilder) SecretAccessKey

func (b *AWSBuilder) SecretAccessKey(value string) *AWSBuilder

SecretAccessKey sets the value of the 'secret_access_key' attribute to the given value.

func (*AWSBuilder) SubnetIDs

func (b *AWSBuilder) SubnetIDs(values ...string) *AWSBuilder

SubnetIDs sets the value of the 'subnet_IDs' attribute to the given values.

func (*AWSBuilder) Tags

func (b *AWSBuilder) Tags(value map[string]string) *AWSBuilder

Tags sets the value of the 'tags' attribute to the given value.

type AWSList

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

AWSList is a list of values of the 'AWS' type.

func (*AWSList) Each

func (l *AWSList) Each(f func(item *AWS) bool)

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

func (*AWSList) Empty

func (l *AWSList) Empty() bool

Empty returns true if the list is empty.

func (*AWSList) Get

func (l *AWSList) Get(i int) *AWS

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

func (*AWSList) Items

func (l *AWSList) Items() []*AWS

Items returns the items of the list.

func (*AWSList) Len

func (l *AWSList) Len() int

Len returns the length of the list.

func (*AWSList) Range

func (l *AWSList) Range(f func(index int, item *AWS) bool)

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

func (*AWSList) SetHREF

func (l *AWSList) SetHREF(href string)

Items sets the items of the list.

func (*AWSList) SetItems

func (l *AWSList) SetItems(items []*AWS)

Items sets the items of the list.

func (l *AWSList) SetLink(link bool)

Items sets the items of the list.

func (*AWSList) Slice

func (l *AWSList) Slice() []*AWS

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

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

type AWSListBuilder

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

AWSListBuilder contains the data and logic needed to build 'AWS' objects.

func NewAWSList

func NewAWSList() *AWSListBuilder

NewAWSList creates a new builder of 'AWS' objects.

func (*AWSListBuilder) Build

func (b *AWSListBuilder) Build() (list *AWSList, err error)

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

func (*AWSListBuilder) Copy

func (b *AWSListBuilder) Copy(list *AWSList) *AWSListBuilder

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

func (*AWSListBuilder) Empty

func (b *AWSListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*AWSListBuilder) Items

func (b *AWSListBuilder) Items(values ...*AWSBuilder) *AWSListBuilder

Items sets the items of the list.

type CloudRegion

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

CloudRegion represents the values of the 'cloud_region' type.

Description of a region of a cloud provider.

func ReadCloudRegion

func ReadCloudRegion(iterator *jsoniter.Iterator) *CloudRegion

ReadCloudRegion reads a value of the 'cloud_region' type from the given iterator.

func ReadCloudRegionList

func ReadCloudRegionList(iterator *jsoniter.Iterator) []*CloudRegion

ReadCloudRegionList reads list of values of the ”cloud_region' type from the given iterator.

func UnmarshalCloudRegion

func UnmarshalCloudRegion(source interface{}) (object *CloudRegion, err error)

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

func UnmarshalCloudRegionList

func UnmarshalCloudRegionList(source interface{}) (items []*CloudRegion, err error)

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

func (*CloudRegion) Empty

func (o *CloudRegion) Empty() bool

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

func (*CloudRegion) GetID

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

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

Human-friendly identifier of the region, for example `us-east-1`.

func (*CloudRegion) ID

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

Human-friendly identifier of the region, for example `us-east-1`.

type CloudRegionBuilder

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

Description of a region of a cloud provider.

func NewCloudRegion

func NewCloudRegion() *CloudRegionBuilder

NewCloudRegion creates a new builder of 'cloud_region' objects.

func (*CloudRegionBuilder) Build

func (b *CloudRegionBuilder) Build() (object *CloudRegion, err error)

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

func (*CloudRegionBuilder) Copy

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

func (*CloudRegionBuilder) Empty

func (b *CloudRegionBuilder) Empty() bool

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

func (*CloudRegionBuilder) ID

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

type CloudRegionList

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

CloudRegionList is a list of values of the 'cloud_region' type.

func (*CloudRegionList) Each

func (l *CloudRegionList) Each(f func(item *CloudRegion) bool)

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

func (*CloudRegionList) Empty

func (l *CloudRegionList) Empty() bool

Empty returns true if the list is empty.

func (*CloudRegionList) Get

func (l *CloudRegionList) Get(i int) *CloudRegion

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

func (*CloudRegionList) Items

func (l *CloudRegionList) Items() []*CloudRegion

Items returns the items of the list.

func (*CloudRegionList) Len

func (l *CloudRegionList) Len() int

Len returns the length of the list.

func (*CloudRegionList) Range

func (l *CloudRegionList) Range(f func(index int, item *CloudRegion) bool)

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

func (*CloudRegionList) SetHREF

func (l *CloudRegionList) SetHREF(href string)

Items sets the items of the list.

func (*CloudRegionList) SetItems

func (l *CloudRegionList) SetItems(items []*CloudRegion)

Items sets the items of the list.

func (l *CloudRegionList) SetLink(link bool)

Items sets the items of the list.

func (*CloudRegionList) Slice

func (l *CloudRegionList) Slice() []*CloudRegion

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

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

type CloudRegionListBuilder

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

CloudRegionListBuilder contains the data and logic needed to build 'cloud_region' objects.

func NewCloudRegionList

func NewCloudRegionList() *CloudRegionListBuilder

NewCloudRegionList creates a new builder of 'cloud_region' objects.

func (*CloudRegionListBuilder) Build

func (b *CloudRegionListBuilder) Build() (list *CloudRegionList, err error)

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

func (*CloudRegionListBuilder) Copy

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

func (*CloudRegionListBuilder) Empty

func (b *CloudRegionListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*CloudRegionListBuilder) Items

Items sets the items of the list.

type Cluster

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

Cluster represents the values of the 'cluster' type.

This represents the parameters needed by Managed Service to create a cluster.

func ReadCluster

func ReadCluster(iterator *jsoniter.Iterator) *Cluster

ReadCluster reads a value of the 'cluster' type from the given iterator.

func ReadClusterList

func ReadClusterList(iterator *jsoniter.Iterator) []*Cluster

ReadClusterList reads list of values of the ”cluster' type from the given iterator.

func UnmarshalCluster

func UnmarshalCluster(source interface{}) (object *Cluster, err error)

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

func UnmarshalClusterList

func UnmarshalClusterList(source interface{}) (items []*Cluster, err error)

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

func (*Cluster) API

func (o *Cluster) API() *ClusterAPI

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

func (*Cluster) AWS

func (o *Cluster) AWS() *AWS

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

func (*Cluster) DisplayName

func (o *Cluster) DisplayName() string

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

DisplayName is the name of the cluster for display purposes. It can contain spaces.

func (*Cluster) Empty

func (o *Cluster) Empty() bool

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

func (*Cluster) GetAPI

func (o *Cluster) GetAPI() (value *ClusterAPI, ok bool)

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

func (*Cluster) GetAWS

func (o *Cluster) GetAWS() (value *AWS, ok bool)

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

func (*Cluster) GetDisplayName

func (o *Cluster) GetDisplayName() (value string, ok bool)

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

DisplayName is the name of the cluster for display purposes. It can contain spaces.

func (*Cluster) GetHref

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

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

func (*Cluster) GetId

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

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

func (*Cluster) GetMultiAZ

func (o *Cluster) GetMultiAZ() (value bool, ok bool)

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

Flag indicating if the cluster should be created with nodes in different availability zones or all the nodes in a single one randomly selected.

func (*Cluster) GetName

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

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

func (*Cluster) GetNetwork

func (o *Cluster) GetNetwork() (value *Network, ok bool)

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

func (*Cluster) GetNodes

func (o *Cluster) GetNodes() (value *ClusterNodes, ok bool)

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

func (*Cluster) GetProperties

func (o *Cluster) GetProperties() (value map[string]string, ok bool)

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

func (*Cluster) GetRegion

func (o *Cluster) GetRegion() (value *CloudRegion, ok bool)

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

func (*Cluster) GetState

func (o *Cluster) GetState() (value string, ok bool)

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

func (*Cluster) Href

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

func (*Cluster) Id

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

func (*Cluster) MultiAZ

func (o *Cluster) MultiAZ() bool

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

Flag indicating if the cluster should be created with nodes in different availability zones or all the nodes in a single one randomly selected.

func (*Cluster) Name

func (o *Cluster) Name() string

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

func (*Cluster) Network

func (o *Cluster) Network() *Network

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

func (*Cluster) Nodes

func (o *Cluster) Nodes() *ClusterNodes

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

func (*Cluster) Properties

func (o *Cluster) Properties() map[string]string

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

func (*Cluster) Region

func (o *Cluster) Region() *CloudRegion

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

func (*Cluster) State

func (o *Cluster) State() string

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

type ClusterAPI

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

ClusterAPI represents the values of the 'cluster_API' type.

Information about the API of a cluster.

func ReadClusterAPI

func ReadClusterAPI(iterator *jsoniter.Iterator) *ClusterAPI

ReadClusterAPI reads a value of the 'cluster_API' type from the given iterator.

func ReadClusterAPIList

func ReadClusterAPIList(iterator *jsoniter.Iterator) []*ClusterAPI

ReadClusterAPIList reads list of values of the ”cluster_API' type from the given iterator.

func UnmarshalClusterAPI

func UnmarshalClusterAPI(source interface{}) (object *ClusterAPI, err error)

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

func UnmarshalClusterAPIList

func UnmarshalClusterAPIList(source interface{}) (items []*ClusterAPI, err error)

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

func (*ClusterAPI) Empty

func (o *ClusterAPI) Empty() bool

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

func (*ClusterAPI) GetListening

func (o *ClusterAPI) GetListening() (value ListeningMethod, ok bool)

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

The listening method of the API server.

func (*ClusterAPI) Listening

func (o *ClusterAPI) Listening() ListeningMethod

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

The listening method of the API server.

type ClusterAPIBuilder

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

Information about the API of a cluster.

func NewClusterAPI

func NewClusterAPI() *ClusterAPIBuilder

NewClusterAPI creates a new builder of 'cluster_API' objects.

func (*ClusterAPIBuilder) Build

func (b *ClusterAPIBuilder) Build() (object *ClusterAPI, err error)

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

func (*ClusterAPIBuilder) Copy

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

func (*ClusterAPIBuilder) Empty

func (b *ClusterAPIBuilder) Empty() bool

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

func (*ClusterAPIBuilder) Listening

Listening sets the value of the 'listening' attribute to the given value.

Cluster components listening method.

type ClusterAPIList

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

ClusterAPIList is a list of values of the 'cluster_API' type.

func (*ClusterAPIList) Each

func (l *ClusterAPIList) Each(f func(item *ClusterAPI) bool)

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

func (*ClusterAPIList) Empty

func (l *ClusterAPIList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterAPIList) Get

func (l *ClusterAPIList) Get(i int) *ClusterAPI

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

func (*ClusterAPIList) Items

func (l *ClusterAPIList) Items() []*ClusterAPI

Items returns the items of the list.

func (*ClusterAPIList) Len

func (l *ClusterAPIList) Len() int

Len returns the length of the list.

func (*ClusterAPIList) Range

func (l *ClusterAPIList) Range(f func(index int, item *ClusterAPI) bool)

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

func (*ClusterAPIList) SetHREF

func (l *ClusterAPIList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterAPIList) SetItems

func (l *ClusterAPIList) SetItems(items []*ClusterAPI)

Items sets the items of the list.

func (l *ClusterAPIList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterAPIList) Slice

func (l *ClusterAPIList) Slice() []*ClusterAPI

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

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

type ClusterAPIListBuilder

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

ClusterAPIListBuilder contains the data and logic needed to build 'cluster_API' objects.

func NewClusterAPIList

func NewClusterAPIList() *ClusterAPIListBuilder

NewClusterAPIList creates a new builder of 'cluster_API' objects.

func (*ClusterAPIListBuilder) Build

func (b *ClusterAPIListBuilder) Build() (list *ClusterAPIList, err error)

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

func (*ClusterAPIListBuilder) Copy

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

func (*ClusterAPIListBuilder) Empty

func (b *ClusterAPIListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterAPIListBuilder) Items

Items sets the items of the list.

type ClusterBuilder

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

This represents the parameters needed by Managed Service to create a cluster.

func NewCluster

func NewCluster() *ClusterBuilder

NewCluster creates a new builder of 'cluster' objects.

func (*ClusterBuilder) API

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

Information about the API of a cluster.

func (*ClusterBuilder) AWS

func (b *ClusterBuilder) AWS(value *AWSBuilder) *ClusterBuilder

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

_Amazon Web Services_ specific settings of a cluster.

func (*ClusterBuilder) Build

func (b *ClusterBuilder) Build() (object *Cluster, err error)

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

func (*ClusterBuilder) Copy

func (b *ClusterBuilder) Copy(object *Cluster) *ClusterBuilder

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

func (*ClusterBuilder) DisplayName

func (b *ClusterBuilder) DisplayName(value string) *ClusterBuilder

DisplayName sets the value of the 'display_name' attribute to the given value.

func (*ClusterBuilder) Empty

func (b *ClusterBuilder) Empty() bool

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

func (*ClusterBuilder) Href

func (b *ClusterBuilder) Href(value string) *ClusterBuilder

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

func (*ClusterBuilder) Id

func (b *ClusterBuilder) Id(value string) *ClusterBuilder

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

func (*ClusterBuilder) MultiAZ

func (b *ClusterBuilder) MultiAZ(value bool) *ClusterBuilder

MultiAZ sets the value of the 'multi_AZ' attribute to the given value.

func (*ClusterBuilder) Name

func (b *ClusterBuilder) Name(value string) *ClusterBuilder

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

func (*ClusterBuilder) Network

func (b *ClusterBuilder) Network(value *NetworkBuilder) *ClusterBuilder

Network sets the value of the 'network' attribute to the given value.

Network configuration of a cluster.

func (*ClusterBuilder) Nodes

Nodes sets the value of the 'nodes' attribute to the given value.

func (*ClusterBuilder) Properties

func (b *ClusterBuilder) Properties(value map[string]string) *ClusterBuilder

Properties sets the value of the 'properties' attribute to the given value.

func (*ClusterBuilder) Region

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

Description of a region of a cloud provider.

func (*ClusterBuilder) State

func (b *ClusterBuilder) State(value string) *ClusterBuilder

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

type ClusterList

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

ClusterList is a list of values of the 'cluster' type.

func (*ClusterList) Each

func (l *ClusterList) Each(f func(item *Cluster) bool)

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

func (*ClusterList) Empty

func (l *ClusterList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterList) Get

func (l *ClusterList) Get(i int) *Cluster

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

func (*ClusterList) Items

func (l *ClusterList) Items() []*Cluster

Items returns the items of the list.

func (*ClusterList) Len

func (l *ClusterList) Len() int

Len returns the length of the list.

func (*ClusterList) Range

func (l *ClusterList) Range(f func(index int, item *Cluster) bool)

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

func (*ClusterList) SetHREF

func (l *ClusterList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterList) SetItems

func (l *ClusterList) SetItems(items []*Cluster)

Items sets the items of the list.

func (l *ClusterList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterList) Slice

func (l *ClusterList) Slice() []*Cluster

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

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

type ClusterListBuilder

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

ClusterListBuilder contains the data and logic needed to build 'cluster' objects.

func NewClusterList

func NewClusterList() *ClusterListBuilder

NewClusterList creates a new builder of 'cluster' objects.

func (*ClusterListBuilder) Build

func (b *ClusterListBuilder) Build() (list *ClusterList, err error)

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

func (*ClusterListBuilder) Copy

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

func (*ClusterListBuilder) Empty

func (b *ClusterListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterListBuilder) Items

Items sets the items of the list.

type ClusterNodes

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

ClusterNodes represents the values of the 'cluster_nodes' type.

func ReadClusterNodes

func ReadClusterNodes(iterator *jsoniter.Iterator) *ClusterNodes

ReadClusterNodes reads a value of the 'cluster_nodes' type from the given iterator.

func ReadClusterNodesList

func ReadClusterNodesList(iterator *jsoniter.Iterator) []*ClusterNodes

ReadClusterNodesList reads list of values of the ”cluster_nodes' type from the given iterator.

func UnmarshalClusterNodes

func UnmarshalClusterNodes(source interface{}) (object *ClusterNodes, err error)

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

func UnmarshalClusterNodesList

func UnmarshalClusterNodesList(source interface{}) (items []*ClusterNodes, err error)

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

func (*ClusterNodes) AvailabilityZones

func (o *ClusterNodes) AvailabilityZones() []string

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

func (*ClusterNodes) Empty

func (o *ClusterNodes) Empty() bool

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

func (*ClusterNodes) GetAvailabilityZones

func (o *ClusterNodes) GetAvailabilityZones() (value []string, ok bool)

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

type ClusterNodesBuilder

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

func NewClusterNodes

func NewClusterNodes() *ClusterNodesBuilder

NewClusterNodes creates a new builder of 'cluster_nodes' objects.

func (*ClusterNodesBuilder) AvailabilityZones

func (b *ClusterNodesBuilder) AvailabilityZones(values ...string) *ClusterNodesBuilder

AvailabilityZones sets the value of the 'availability_zones' attribute to the given values.

func (*ClusterNodesBuilder) Build

func (b *ClusterNodesBuilder) Build() (object *ClusterNodes, err error)

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

func (*ClusterNodesBuilder) Copy

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

func (*ClusterNodesBuilder) Empty

func (b *ClusterNodesBuilder) Empty() bool

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

type ClusterNodesList

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

ClusterNodesList is a list of values of the 'cluster_nodes' type.

func (*ClusterNodesList) Each

func (l *ClusterNodesList) Each(f func(item *ClusterNodes) bool)

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

func (*ClusterNodesList) Empty

func (l *ClusterNodesList) Empty() bool

Empty returns true if the list is empty.

func (*ClusterNodesList) Get

func (l *ClusterNodesList) Get(i int) *ClusterNodes

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

func (*ClusterNodesList) Items

func (l *ClusterNodesList) Items() []*ClusterNodes

Items returns the items of the list.

func (*ClusterNodesList) Len

func (l *ClusterNodesList) Len() int

Len returns the length of the list.

func (*ClusterNodesList) Range

func (l *ClusterNodesList) Range(f func(index int, item *ClusterNodes) bool)

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

func (*ClusterNodesList) SetHREF

func (l *ClusterNodesList) SetHREF(href string)

Items sets the items of the list.

func (*ClusterNodesList) SetItems

func (l *ClusterNodesList) SetItems(items []*ClusterNodes)

Items sets the items of the list.

func (l *ClusterNodesList) SetLink(link bool)

Items sets the items of the list.

func (*ClusterNodesList) Slice

func (l *ClusterNodesList) Slice() []*ClusterNodes

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

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

type ClusterNodesListBuilder

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

ClusterNodesListBuilder contains the data and logic needed to build 'cluster_nodes' objects.

func NewClusterNodesList

func NewClusterNodesList() *ClusterNodesListBuilder

NewClusterNodesList creates a new builder of 'cluster_nodes' objects.

func (*ClusterNodesListBuilder) Build

func (b *ClusterNodesListBuilder) Build() (list *ClusterNodesList, err error)

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

func (*ClusterNodesListBuilder) Copy

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

func (*ClusterNodesListBuilder) Empty

func (b *ClusterNodesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ClusterNodesListBuilder) Items

Items sets the items of the list.

type InstanceIAMRoles

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

InstanceIAMRoles represents the values of the 'instance_IAM_roles' type.

Contains the necessary attributes to support role-based authentication on AWS.

func ReadInstanceIAMRoles

func ReadInstanceIAMRoles(iterator *jsoniter.Iterator) *InstanceIAMRoles

ReadInstanceIAMRoles reads a value of the 'instance_IAM_roles' type from the given iterator.

func ReadInstanceIAMRolesList

func ReadInstanceIAMRolesList(iterator *jsoniter.Iterator) []*InstanceIAMRoles

ReadInstanceIAMRolesList reads list of values of the ”instance_IAM_roles' type from the given iterator.

func UnmarshalInstanceIAMRoles

func UnmarshalInstanceIAMRoles(source interface{}) (object *InstanceIAMRoles, err error)

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

func UnmarshalInstanceIAMRolesList

func UnmarshalInstanceIAMRolesList(source interface{}) (items []*InstanceIAMRoles, err error)

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

func (*InstanceIAMRoles) Empty

func (o *InstanceIAMRoles) Empty() bool

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

func (*InstanceIAMRoles) GetMasterRoleARN

func (o *InstanceIAMRoles) GetMasterRoleARN() (value string, ok bool)

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

The IAM role ARN that will be attached to master instances

func (*InstanceIAMRoles) GetWorkerRoleARN

func (o *InstanceIAMRoles) GetWorkerRoleARN() (value string, ok bool)

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

The IAM role ARN that will be attached to worker instances

func (*InstanceIAMRoles) MasterRoleARN

func (o *InstanceIAMRoles) MasterRoleARN() string

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

The IAM role ARN that will be attached to master instances

func (*InstanceIAMRoles) WorkerRoleARN

func (o *InstanceIAMRoles) WorkerRoleARN() string

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

The IAM role ARN that will be attached to worker instances

type InstanceIAMRolesBuilder

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

Contains the necessary attributes to support role-based authentication on AWS.

func NewInstanceIAMRoles

func NewInstanceIAMRoles() *InstanceIAMRolesBuilder

NewInstanceIAMRoles creates a new builder of 'instance_IAM_roles' objects.

func (*InstanceIAMRolesBuilder) Build

func (b *InstanceIAMRolesBuilder) Build() (object *InstanceIAMRoles, err error)

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

func (*InstanceIAMRolesBuilder) Copy

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

func (*InstanceIAMRolesBuilder) Empty

func (b *InstanceIAMRolesBuilder) Empty() bool

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

func (*InstanceIAMRolesBuilder) MasterRoleARN

func (b *InstanceIAMRolesBuilder) MasterRoleARN(value string) *InstanceIAMRolesBuilder

MasterRoleARN sets the value of the 'master_role_ARN' attribute to the given value.

func (*InstanceIAMRolesBuilder) WorkerRoleARN

func (b *InstanceIAMRolesBuilder) WorkerRoleARN(value string) *InstanceIAMRolesBuilder

WorkerRoleARN sets the value of the 'worker_role_ARN' attribute to the given value.

type InstanceIAMRolesList

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

InstanceIAMRolesList is a list of values of the 'instance_IAM_roles' type.

func (*InstanceIAMRolesList) Each

func (l *InstanceIAMRolesList) Each(f func(item *InstanceIAMRoles) bool)

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

func (*InstanceIAMRolesList) Empty

func (l *InstanceIAMRolesList) Empty() bool

Empty returns true if the list is empty.

func (*InstanceIAMRolesList) Get

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

func (*InstanceIAMRolesList) Items

func (l *InstanceIAMRolesList) Items() []*InstanceIAMRoles

Items returns the items of the list.

func (*InstanceIAMRolesList) Len

func (l *InstanceIAMRolesList) Len() int

Len returns the length of the list.

func (*InstanceIAMRolesList) Range

func (l *InstanceIAMRolesList) Range(f func(index int, item *InstanceIAMRoles) bool)

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

func (*InstanceIAMRolesList) SetHREF

func (l *InstanceIAMRolesList) SetHREF(href string)

Items sets the items of the list.

func (*InstanceIAMRolesList) SetItems

func (l *InstanceIAMRolesList) SetItems(items []*InstanceIAMRoles)

Items sets the items of the list.

func (l *InstanceIAMRolesList) SetLink(link bool)

Items sets the items of the list.

func (*InstanceIAMRolesList) Slice

func (l *InstanceIAMRolesList) Slice() []*InstanceIAMRoles

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

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

type InstanceIAMRolesListBuilder

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

InstanceIAMRolesListBuilder contains the data and logic needed to build 'instance_IAM_roles' objects.

func NewInstanceIAMRolesList

func NewInstanceIAMRolesList() *InstanceIAMRolesListBuilder

NewInstanceIAMRolesList creates a new builder of 'instance_IAM_roles' objects.

func (*InstanceIAMRolesListBuilder) Build

func (b *InstanceIAMRolesListBuilder) Build() (list *InstanceIAMRolesList, err error)

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

func (*InstanceIAMRolesListBuilder) Copy

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

func (*InstanceIAMRolesListBuilder) Empty

func (b *InstanceIAMRolesListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*InstanceIAMRolesListBuilder) Items

Items sets the items of the list.

type ListeningMethod

type ListeningMethod string

ListeningMethod represents the values of the 'listening_method' enumerated type.

const (
	// Uses both external and internal traffic.
	ListeningMethodExternal ListeningMethod = "external"
	// Uses only internal traffic.
	ListeningMethodInternal ListeningMethod = "internal"
)

func ReadListeningMethodList

func ReadListeningMethodList(iterator *jsoniter.Iterator) []ListeningMethod

ReadListeningMethodList reads list of values of the ”listening_method' type from the given iterator.

func UnmarshalListeningMethodList

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

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

type ManagedService

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

ManagedService represents the values of the 'managed_service' type.

Represents data about a running Managed Service.

func ReadManagedService

func ReadManagedService(iterator *jsoniter.Iterator) *ManagedService

ReadManagedService reads a value of the 'managed_service' type from the given iterator.

func ReadManagedServiceList

func ReadManagedServiceList(iterator *jsoniter.Iterator) []*ManagedService

ReadManagedServiceList reads list of values of the ”managed_service' type from the given iterator.

func UnmarshalManagedService

func UnmarshalManagedService(source interface{}) (object *ManagedService, err error)

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

func UnmarshalManagedServiceList

func UnmarshalManagedServiceList(source interface{}) (items []*ManagedService, err error)

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

func (*ManagedService) Addon

func (o *ManagedService) Addon() *StatefulObject

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

func (*ManagedService) Cluster

func (o *ManagedService) Cluster() *Cluster

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

func (*ManagedService) CreatedAt

func (o *ManagedService) CreatedAt() time.Time

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

func (*ManagedService) Empty

func (o *ManagedService) Empty() bool

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

func (*ManagedService) ExpiredAt

func (o *ManagedService) ExpiredAt() time.Time

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

func (*ManagedService) GetAddon

func (o *ManagedService) GetAddon() (value *StatefulObject, ok bool)

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

func (*ManagedService) GetCluster

func (o *ManagedService) GetCluster() (value *Cluster, ok bool)

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

func (*ManagedService) GetCreatedAt

func (o *ManagedService) GetCreatedAt() (value time.Time, ok bool)

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

func (*ManagedService) GetExpiredAt

func (o *ManagedService) GetExpiredAt() (value time.Time, ok bool)

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

func (*ManagedService) GetHREF

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

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

func (*ManagedService) GetID

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

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

func (*ManagedService) GetParameters

func (o *ManagedService) GetParameters() (value []*ServiceParameter, ok bool)

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

func (*ManagedService) GetResources

func (o *ManagedService) GetResources() (value []*StatefulObject, ok bool)

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

func (*ManagedService) GetService

func (o *ManagedService) GetService() (value string, ok bool)

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

func (*ManagedService) GetServiceState

func (o *ManagedService) GetServiceState() (value string, ok bool)

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

func (*ManagedService) GetUpdatedAt

func (o *ManagedService) GetUpdatedAt() (value time.Time, ok bool)

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

func (*ManagedService) HREF

func (o *ManagedService) HREF() string

HREF returns the link to the object.

func (*ManagedService) ID

func (o *ManagedService) ID() string

ID returns the identifier of the object.

func (*ManagedService) Kind

func (o *ManagedService) Kind() string

Kind returns the name of the type of the object.

func (o *ManagedService) Link() bool

Link returns true if this is a link.

func (*ManagedService) Parameters

func (o *ManagedService) Parameters() []*ServiceParameter

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

func (*ManagedService) Resources

func (o *ManagedService) Resources() []*StatefulObject

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

func (*ManagedService) Service

func (o *ManagedService) Service() string

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

func (*ManagedService) ServiceState

func (o *ManagedService) ServiceState() string

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

func (*ManagedService) UpdatedAt

func (o *ManagedService) UpdatedAt() time.Time

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

type ManagedServiceBuilder

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

Represents data about a running Managed Service.

func NewManagedService

func NewManagedService() *ManagedServiceBuilder

NewManagedService creates a new builder of 'managed_service' objects.

func (*ManagedServiceBuilder) Addon

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

func (*ManagedServiceBuilder) Build

func (b *ManagedServiceBuilder) Build() (object *ManagedService, err error)

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

func (*ManagedServiceBuilder) Cluster

Cluster sets the value of the 'cluster' attribute to the given value.

This represents the parameters needed by Managed Service to create a cluster.

func (*ManagedServiceBuilder) Copy

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

func (*ManagedServiceBuilder) CreatedAt

CreatedAt sets the value of the 'created_at' attribute to the given value.

func (*ManagedServiceBuilder) Empty

func (b *ManagedServiceBuilder) Empty() bool

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

func (*ManagedServiceBuilder) ExpiredAt

ExpiredAt sets the value of the 'expired_at' attribute to the given value.

func (*ManagedServiceBuilder) HREF

HREF sets the link to the object.

func (*ManagedServiceBuilder) ID

ID sets the identifier of the object.

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

func (*ManagedServiceBuilder) Parameters

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

func (*ManagedServiceBuilder) Resources

Resources sets the value of the 'resources' attribute to the given values.

func (*ManagedServiceBuilder) Service

Service sets the value of the 'service' attribute to the given value.

func (*ManagedServiceBuilder) ServiceState

func (b *ManagedServiceBuilder) ServiceState(value string) *ManagedServiceBuilder

ServiceState sets the value of the 'service_state' attribute to the given value.

func (*ManagedServiceBuilder) UpdatedAt

UpdatedAt sets the value of the 'updated_at' attribute to the given value.

type ManagedServiceList

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

ManagedServiceList is a list of values of the 'managed_service' type.

func (*ManagedServiceList) Each

func (l *ManagedServiceList) Each(f func(item *ManagedService) bool)

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

func (*ManagedServiceList) Empty

func (l *ManagedServiceList) Empty() bool

Empty returns true if the list is empty.

func (*ManagedServiceList) Get

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

func (*ManagedServiceList) GetHREF

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

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

func (*ManagedServiceList) HREF

func (l *ManagedServiceList) HREF() string

HREF returns the link to the list.

func (*ManagedServiceList) Items

func (l *ManagedServiceList) Items() []*ManagedService

Items returns the items of the list.

func (*ManagedServiceList) Kind

func (l *ManagedServiceList) Kind() string

Kind returns the name of the type of the object.

func (*ManagedServiceList) Len

func (l *ManagedServiceList) Len() int

Len returns the length of the list.

func (l *ManagedServiceList) Link() bool

Link returns true iif this is a link.

func (*ManagedServiceList) Range

func (l *ManagedServiceList) Range(f func(index int, item *ManagedService) bool)

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

func (*ManagedServiceList) SetHREF

func (l *ManagedServiceList) SetHREF(href string)

Items sets the items of the list.

func (*ManagedServiceList) SetItems

func (l *ManagedServiceList) SetItems(items []*ManagedService)

Items sets the items of the list.

func (l *ManagedServiceList) SetLink(link bool)

Items sets the items of the list.

func (*ManagedServiceList) Slice

func (l *ManagedServiceList) Slice() []*ManagedService

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

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

type ManagedServiceListBuilder

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

ManagedServiceListBuilder contains the data and logic needed to build 'managed_service' objects.

func NewManagedServiceList

func NewManagedServiceList() *ManagedServiceListBuilder

NewManagedServiceList creates a new builder of 'managed_service' objects.

func (*ManagedServiceListBuilder) Build

func (b *ManagedServiceListBuilder) Build() (list *ManagedServiceList, err error)

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

func (*ManagedServiceListBuilder) Copy

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

func (*ManagedServiceListBuilder) Empty

func (b *ManagedServiceListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ManagedServiceListBuilder) 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 Network

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

Network represents the values of the 'network' type.

Network configuration of a cluster.

func ReadNetwork

func ReadNetwork(iterator *jsoniter.Iterator) *Network

ReadNetwork reads a value of the 'network' type from the given iterator.

func ReadNetworkList

func ReadNetworkList(iterator *jsoniter.Iterator) []*Network

ReadNetworkList reads list of values of the ”network' type from the given iterator.

func UnmarshalNetwork

func UnmarshalNetwork(source interface{}) (object *Network, err error)

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

func UnmarshalNetworkList

func UnmarshalNetworkList(source interface{}) (items []*Network, err error)

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

func (*Network) Empty

func (o *Network) Empty() bool

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

func (*Network) GetHostPrefix

func (o *Network) GetHostPrefix() (value int, ok bool)

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

Network host prefix which is defaulted to `23` if not specified.

func (*Network) GetMachineCIDR

func (o *Network) GetMachineCIDR() (value string, ok bool)

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

IP address block from which to assign machine IP addresses, for example `10.0.0.0/16`.

func (*Network) GetPodCIDR

func (o *Network) GetPodCIDR() (value string, ok bool)

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

IP address block from which to assign pod IP addresses, for example `10.128.0.0/14`.

func (*Network) GetServiceCIDR

func (o *Network) GetServiceCIDR() (value string, ok bool)

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

IP address block from which to assign service IP addresses, for example `172.30.0.0/16`.

func (*Network) GetType

func (o *Network) GetType() (value string, ok bool)

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

The main controller responsible for rendering the core networking components.

func (*Network) HostPrefix

func (o *Network) HostPrefix() int

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

Network host prefix which is defaulted to `23` if not specified.

func (*Network) MachineCIDR

func (o *Network) MachineCIDR() string

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

IP address block from which to assign machine IP addresses, for example `10.0.0.0/16`.

func (*Network) PodCIDR

func (o *Network) PodCIDR() string

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

IP address block from which to assign pod IP addresses, for example `10.128.0.0/14`.

func (*Network) ServiceCIDR

func (o *Network) ServiceCIDR() string

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

IP address block from which to assign service IP addresses, for example `172.30.0.0/16`.

func (*Network) Type

func (o *Network) Type() string

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

The main controller responsible for rendering the core networking components.

type NetworkBuilder

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

Network configuration of a cluster.

func NewNetwork

func NewNetwork() *NetworkBuilder

NewNetwork creates a new builder of 'network' objects.

func (*NetworkBuilder) Build

func (b *NetworkBuilder) Build() (object *Network, err error)

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

func (*NetworkBuilder) Copy

func (b *NetworkBuilder) Copy(object *Network) *NetworkBuilder

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

func (*NetworkBuilder) Empty

func (b *NetworkBuilder) Empty() bool

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

func (*NetworkBuilder) HostPrefix

func (b *NetworkBuilder) HostPrefix(value int) *NetworkBuilder

HostPrefix sets the value of the 'host_prefix' attribute to the given value.

func (*NetworkBuilder) MachineCIDR

func (b *NetworkBuilder) MachineCIDR(value string) *NetworkBuilder

MachineCIDR sets the value of the 'machine_CIDR' attribute to the given value.

func (*NetworkBuilder) PodCIDR

func (b *NetworkBuilder) PodCIDR(value string) *NetworkBuilder

PodCIDR sets the value of the 'pod_CIDR' attribute to the given value.

func (*NetworkBuilder) ServiceCIDR

func (b *NetworkBuilder) ServiceCIDR(value string) *NetworkBuilder

ServiceCIDR sets the value of the 'service_CIDR' attribute to the given value.

func (*NetworkBuilder) Type

func (b *NetworkBuilder) Type(value string) *NetworkBuilder

Type sets the value of the 'type' attribute to the given value.

type NetworkList

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

NetworkList is a list of values of the 'network' type.

func (*NetworkList) Each

func (l *NetworkList) Each(f func(item *Network) bool)

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

func (*NetworkList) Empty

func (l *NetworkList) Empty() bool

Empty returns true if the list is empty.

func (*NetworkList) Get

func (l *NetworkList) Get(i int) *Network

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

func (*NetworkList) Items

func (l *NetworkList) Items() []*Network

Items returns the items of the list.

func (*NetworkList) Len

func (l *NetworkList) Len() int

Len returns the length of the list.

func (*NetworkList) Range

func (l *NetworkList) Range(f func(index int, item *Network) bool)

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

func (*NetworkList) SetHREF

func (l *NetworkList) SetHREF(href string)

Items sets the items of the list.

func (*NetworkList) SetItems

func (l *NetworkList) SetItems(items []*Network)

Items sets the items of the list.

func (l *NetworkList) SetLink(link bool)

Items sets the items of the list.

func (*NetworkList) Slice

func (l *NetworkList) Slice() []*Network

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

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

type NetworkListBuilder

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

NetworkListBuilder contains the data and logic needed to build 'network' objects.

func NewNetworkList

func NewNetworkList() *NetworkListBuilder

NewNetworkList creates a new builder of 'network' objects.

func (*NetworkListBuilder) Build

func (b *NetworkListBuilder) Build() (list *NetworkList, err error)

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

func (*NetworkListBuilder) Copy

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

func (*NetworkListBuilder) Empty

func (b *NetworkListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*NetworkListBuilder) Items

Items sets the items of the list.

type OperatorIAMRole

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

OperatorIAMRole represents the values of the 'operator_IAM_role' type.

Contains the necessary attributes to allow each operator to access the necessary AWS resources

func ReadOperatorIAMRole

func ReadOperatorIAMRole(iterator *jsoniter.Iterator) *OperatorIAMRole

ReadOperatorIAMRole reads a value of the 'operator_IAM_role' type from the given iterator.

func ReadOperatorIAMRoleList

func ReadOperatorIAMRoleList(iterator *jsoniter.Iterator) []*OperatorIAMRole

ReadOperatorIAMRoleList reads list of values of the ”operator_IAM_role' type from the given iterator.

func UnmarshalOperatorIAMRole

func UnmarshalOperatorIAMRole(source interface{}) (object *OperatorIAMRole, err error)

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

func UnmarshalOperatorIAMRoleList

func UnmarshalOperatorIAMRoleList(source interface{}) (items []*OperatorIAMRole, err error)

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

func (*OperatorIAMRole) Empty

func (o *OperatorIAMRole) Empty() bool

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

func (*OperatorIAMRole) GetName

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

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

Name of the operator

func (*OperatorIAMRole) GetNamespace

func (o *OperatorIAMRole) GetNamespace() (value string, ok bool)

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

Namespace where the operator lives in the cluster

func (*OperatorIAMRole) GetRoleARN

func (o *OperatorIAMRole) GetRoleARN() (value string, ok bool)

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

Role to assume when accessing AWS resources

func (*OperatorIAMRole) Name

func (o *OperatorIAMRole) Name() string

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

Name of the operator

func (*OperatorIAMRole) Namespace

func (o *OperatorIAMRole) Namespace() string

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

Namespace where the operator lives in the cluster

func (*OperatorIAMRole) RoleARN

func (o *OperatorIAMRole) RoleARN() string

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

Role to assume when accessing AWS resources

type OperatorIAMRoleBuilder

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

Contains the necessary attributes to allow each operator to access the necessary AWS resources

func NewOperatorIAMRole

func NewOperatorIAMRole() *OperatorIAMRoleBuilder

NewOperatorIAMRole creates a new builder of 'operator_IAM_role' objects.

func (*OperatorIAMRoleBuilder) Build

func (b *OperatorIAMRoleBuilder) Build() (object *OperatorIAMRole, err error)

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

func (*OperatorIAMRoleBuilder) Copy

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

func (*OperatorIAMRoleBuilder) Empty

func (b *OperatorIAMRoleBuilder) Empty() bool

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

func (*OperatorIAMRoleBuilder) Name

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

func (*OperatorIAMRoleBuilder) Namespace

Namespace sets the value of the 'namespace' attribute to the given value.

func (*OperatorIAMRoleBuilder) RoleARN

RoleARN sets the value of the 'role_ARN' attribute to the given value.

type OperatorIAMRoleList

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

OperatorIAMRoleList is a list of values of the 'operator_IAM_role' type.

func (*OperatorIAMRoleList) Each

func (l *OperatorIAMRoleList) Each(f func(item *OperatorIAMRole) bool)

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

func (*OperatorIAMRoleList) Empty

func (l *OperatorIAMRoleList) Empty() bool

Empty returns true if the list is empty.

func (*OperatorIAMRoleList) Get

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

func (*OperatorIAMRoleList) Items

func (l *OperatorIAMRoleList) Items() []*OperatorIAMRole

Items returns the items of the list.

func (*OperatorIAMRoleList) Len

func (l *OperatorIAMRoleList) Len() int

Len returns the length of the list.

func (*OperatorIAMRoleList) Range

func (l *OperatorIAMRoleList) Range(f func(index int, item *OperatorIAMRole) bool)

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

func (*OperatorIAMRoleList) SetHREF

func (l *OperatorIAMRoleList) SetHREF(href string)

Items sets the items of the list.

func (*OperatorIAMRoleList) SetItems

func (l *OperatorIAMRoleList) SetItems(items []*OperatorIAMRole)

Items sets the items of the list.

func (l *OperatorIAMRoleList) SetLink(link bool)

Items sets the items of the list.

func (*OperatorIAMRoleList) Slice

func (l *OperatorIAMRoleList) Slice() []*OperatorIAMRole

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

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

type OperatorIAMRoleListBuilder

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

OperatorIAMRoleListBuilder contains the data and logic needed to build 'operator_IAM_role' objects.

func NewOperatorIAMRoleList

func NewOperatorIAMRoleList() *OperatorIAMRoleListBuilder

NewOperatorIAMRoleList creates a new builder of 'operator_IAM_role' objects.

func (*OperatorIAMRoleListBuilder) Build

func (b *OperatorIAMRoleListBuilder) Build() (list *OperatorIAMRoleList, err error)

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

func (*OperatorIAMRoleListBuilder) Copy

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

func (*OperatorIAMRoleListBuilder) Empty

func (b *OperatorIAMRoleListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*OperatorIAMRoleListBuilder) Items

Items sets the items of the list.

type STS

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

STS represents the values of the 'STS' type.

Contains the necessary attributes to support role-based authentication on AWS.

func ReadSTS

func ReadSTS(iterator *jsoniter.Iterator) *STS

ReadSTS reads a value of the 'STS' type from the given iterator.

func ReadSTSList

func ReadSTSList(iterator *jsoniter.Iterator) []*STS

ReadSTSList reads list of values of the ”STS' type from the given iterator.

func UnmarshalSTS

func UnmarshalSTS(source interface{}) (object *STS, err error)

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

func UnmarshalSTSList

func UnmarshalSTSList(source interface{}) (items []*STS, err error)

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

func (*STS) Empty

func (o *STS) Empty() bool

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

func (*STS) GetInstanceIAMRoles

func (o *STS) GetInstanceIAMRoles() (value *InstanceIAMRoles, ok bool)

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

Instance IAM roles to use for the instance profiles of the master and worker instances

func (*STS) GetOIDCEndpointURL

func (o *STS) GetOIDCEndpointURL() (value string, ok bool)

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

URL of the location where OIDC configuration and keys are available

func (*STS) GetOperatorIAMRoles

func (o *STS) GetOperatorIAMRoles() (value []*OperatorIAMRole, ok bool)

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

List of roles necessary to access the AWS resources of the various operators used during installation

func (*STS) GetOperatorRolePrefix

func (o *STS) GetOperatorRolePrefix() (value string, ok bool)

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

func (*STS) GetRoleARN

func (o *STS) GetRoleARN() (value string, ok bool)

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

ARN of the AWS role to assume when installing the cluster

func (*STS) GetSupportRoleARN

func (o *STS) GetSupportRoleARN() (value string, ok bool)

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

ARN of the AWS role used by SREs to access the cluster AWS account in order to provide support

func (*STS) InstanceIAMRoles

func (o *STS) InstanceIAMRoles() *InstanceIAMRoles

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

Instance IAM roles to use for the instance profiles of the master and worker instances

func (*STS) OIDCEndpointURL

func (o *STS) OIDCEndpointURL() string

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

URL of the location where OIDC configuration and keys are available

func (*STS) OperatorIAMRoles

func (o *STS) OperatorIAMRoles() []*OperatorIAMRole

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

List of roles necessary to access the AWS resources of the various operators used during installation

func (*STS) OperatorRolePrefix

func (o *STS) OperatorRolePrefix() string

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

func (*STS) RoleARN

func (o *STS) RoleARN() string

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

ARN of the AWS role to assume when installing the cluster

func (*STS) SupportRoleARN

func (o *STS) SupportRoleARN() string

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

ARN of the AWS role used by SREs to access the cluster AWS account in order to provide support

type STSBuilder

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

Contains the necessary attributes to support role-based authentication on AWS.

func NewSTS

func NewSTS() *STSBuilder

NewSTS creates a new builder of 'STS' objects.

func (*STSBuilder) Build

func (b *STSBuilder) Build() (object *STS, err error)

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

func (*STSBuilder) Copy

func (b *STSBuilder) Copy(object *STS) *STSBuilder

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

func (*STSBuilder) Empty

func (b *STSBuilder) Empty() bool

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

func (*STSBuilder) InstanceIAMRoles

func (b *STSBuilder) InstanceIAMRoles(value *InstanceIAMRolesBuilder) *STSBuilder

InstanceIAMRoles sets the value of the 'instance_IAM_roles' attribute to the given value.

Contains the necessary attributes to support role-based authentication on AWS.

func (*STSBuilder) OIDCEndpointURL

func (b *STSBuilder) OIDCEndpointURL(value string) *STSBuilder

OIDCEndpointURL sets the value of the 'OIDC_endpoint_URL' attribute to the given value.

func (*STSBuilder) OperatorIAMRoles

func (b *STSBuilder) OperatorIAMRoles(values ...*OperatorIAMRoleBuilder) *STSBuilder

OperatorIAMRoles sets the value of the 'operator_IAM_roles' attribute to the given values.

func (*STSBuilder) OperatorRolePrefix

func (b *STSBuilder) OperatorRolePrefix(value string) *STSBuilder

OperatorRolePrefix sets the value of the 'operator_role_prefix' attribute to the given value.

func (*STSBuilder) RoleARN

func (b *STSBuilder) RoleARN(value string) *STSBuilder

RoleARN sets the value of the 'role_ARN' attribute to the given value.

func (*STSBuilder) SupportRoleARN

func (b *STSBuilder) SupportRoleARN(value string) *STSBuilder

SupportRoleARN sets the value of the 'support_role_ARN' attribute to the given value.

type STSList

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

STSList is a list of values of the 'STS' type.

func (*STSList) Each

func (l *STSList) Each(f func(item *STS) bool)

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

func (*STSList) Empty

func (l *STSList) Empty() bool

Empty returns true if the list is empty.

func (*STSList) Get

func (l *STSList) Get(i int) *STS

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

func (*STSList) Items

func (l *STSList) Items() []*STS

Items returns the items of the list.

func (*STSList) Len

func (l *STSList) Len() int

Len returns the length of the list.

func (*STSList) Range

func (l *STSList) Range(f func(index int, item *STS) bool)

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

func (*STSList) SetHREF

func (l *STSList) SetHREF(href string)

Items sets the items of the list.

func (*STSList) SetItems

func (l *STSList) SetItems(items []*STS)

Items sets the items of the list.

func (l *STSList) SetLink(link bool)

Items sets the items of the list.

func (*STSList) Slice

func (l *STSList) Slice() []*STS

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

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

type STSListBuilder

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

STSListBuilder contains the data and logic needed to build 'STS' objects.

func NewSTSList

func NewSTSList() *STSListBuilder

NewSTSList creates a new builder of 'STS' objects.

func (*STSListBuilder) Build

func (b *STSListBuilder) Build() (list *STSList, err error)

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

func (*STSListBuilder) Copy

func (b *STSListBuilder) Copy(list *STSList) *STSListBuilder

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

func (*STSListBuilder) Empty

func (b *STSListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*STSListBuilder) Items

func (b *STSListBuilder) Items(values ...*STSBuilder) *STSListBuilder

Items sets the items of the list.

type ServiceParameter

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

ServiceParameter represents the values of the 'service_parameter' type.

func ReadServiceParameter

func ReadServiceParameter(iterator *jsoniter.Iterator) *ServiceParameter

ReadServiceParameter reads a value of the 'service_parameter' type from the given iterator.

func ReadServiceParameterList

func ReadServiceParameterList(iterator *jsoniter.Iterator) []*ServiceParameter

ReadServiceParameterList reads list of values of the ”service_parameter' type from the given iterator.

func UnmarshalServiceParameter

func UnmarshalServiceParameter(source interface{}) (object *ServiceParameter, err error)

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

func UnmarshalServiceParameterList

func UnmarshalServiceParameterList(source interface{}) (items []*ServiceParameter, err error)

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

func (*ServiceParameter) Empty

func (o *ServiceParameter) Empty() bool

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

func (*ServiceParameter) GetID

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

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

Name of the parameter

func (*ServiceParameter) GetValue

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

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

Value of the parameter

func (*ServiceParameter) ID

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

Name of the parameter

func (*ServiceParameter) Value

func (o *ServiceParameter) Value() string

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

Value of the parameter

type ServiceParameterBuilder

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

func NewServiceParameter

func NewServiceParameter() *ServiceParameterBuilder

NewServiceParameter creates a new builder of 'service_parameter' objects.

func (*ServiceParameterBuilder) Build

func (b *ServiceParameterBuilder) Build() (object *ServiceParameter, err error)

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

func (*ServiceParameterBuilder) Copy

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

func (*ServiceParameterBuilder) Empty

func (b *ServiceParameterBuilder) Empty() bool

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

func (*ServiceParameterBuilder) ID

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

func (*ServiceParameterBuilder) Value

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

type ServiceParameterList

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

ServiceParameterList is a list of values of the 'service_parameter' type.

func (*ServiceParameterList) Each

func (l *ServiceParameterList) Each(f func(item *ServiceParameter) 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 (*ServiceParameterList) Empty

func (l *ServiceParameterList) Empty() bool

Empty returns true if the list is empty.

func (*ServiceParameterList) Get

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

func (*ServiceParameterList) Items

func (l *ServiceParameterList) Items() []*ServiceParameter

Items returns the items of the list.

func (*ServiceParameterList) Len

func (l *ServiceParameterList) Len() int

Len returns the length of the list.

func (*ServiceParameterList) Range

func (l *ServiceParameterList) Range(f func(index int, item *ServiceParameter) bool)

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

func (*ServiceParameterList) SetHREF

func (l *ServiceParameterList) SetHREF(href string)

Items sets the items of the list.

func (*ServiceParameterList) SetItems

func (l *ServiceParameterList) SetItems(items []*ServiceParameter)

Items sets the items of the list.

func (l *ServiceParameterList) SetLink(link bool)

Items sets the items of the list.

func (*ServiceParameterList) Slice

func (l *ServiceParameterList) Slice() []*ServiceParameter

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

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

type ServiceParameterListBuilder

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

ServiceParameterListBuilder contains the data and logic needed to build 'service_parameter' objects.

func NewServiceParameterList

func NewServiceParameterList() *ServiceParameterListBuilder

NewServiceParameterList creates a new builder of 'service_parameter' objects.

func (*ServiceParameterListBuilder) Build

func (b *ServiceParameterListBuilder) Build() (list *ServiceParameterList, err error)

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

func (*ServiceParameterListBuilder) Copy

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

func (*ServiceParameterListBuilder) Empty

func (b *ServiceParameterListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ServiceParameterListBuilder) Items

Items sets the items of the list.

type StatefulObject

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

StatefulObject represents the values of the 'stateful_object' type.

func ReadStatefulObject

func ReadStatefulObject(iterator *jsoniter.Iterator) *StatefulObject

ReadStatefulObject reads a value of the 'stateful_object' type from the given iterator.

func ReadStatefulObjectList

func ReadStatefulObjectList(iterator *jsoniter.Iterator) []*StatefulObject

ReadStatefulObjectList reads list of values of the ”stateful_object' type from the given iterator.

func UnmarshalStatefulObject

func UnmarshalStatefulObject(source interface{}) (object *StatefulObject, err error)

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

func UnmarshalStatefulObjectList

func UnmarshalStatefulObjectList(source interface{}) (items []*StatefulObject, err error)

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

func (*StatefulObject) Empty

func (o *StatefulObject) Empty() bool

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

func (*StatefulObject) GetHref

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

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

func (*StatefulObject) GetID

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

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

func (*StatefulObject) GetKind

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

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

func (*StatefulObject) GetState

func (o *StatefulObject) GetState() (value string, ok bool)

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

func (*StatefulObject) Href

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

func (*StatefulObject) ID

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

func (*StatefulObject) Kind

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

func (*StatefulObject) State

func (o *StatefulObject) State() string

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

type StatefulObjectBuilder

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

func NewStatefulObject

func NewStatefulObject() *StatefulObjectBuilder

NewStatefulObject creates a new builder of 'stateful_object' objects.

func (*StatefulObjectBuilder) Build

func (b *StatefulObjectBuilder) Build() (object *StatefulObject, err error)

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

func (*StatefulObjectBuilder) Copy

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

func (*StatefulObjectBuilder) Empty

func (b *StatefulObjectBuilder) Empty() bool

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

func (*StatefulObjectBuilder) Href

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

func (*StatefulObjectBuilder) ID

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

func (*StatefulObjectBuilder) Kind

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

func (*StatefulObjectBuilder) State

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

type StatefulObjectList

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

StatefulObjectList is a list of values of the 'stateful_object' type.

func (*StatefulObjectList) Each

func (l *StatefulObjectList) Each(f func(item *StatefulObject) 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 (*StatefulObjectList) Empty

func (l *StatefulObjectList) Empty() bool

Empty returns true if the list is empty.

func (*StatefulObjectList) Get

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

func (*StatefulObjectList) Items

func (l *StatefulObjectList) Items() []*StatefulObject

Items returns the items of the list.

func (*StatefulObjectList) Len

func (l *StatefulObjectList) Len() int

Len returns the length of the list.

func (*StatefulObjectList) Range

func (l *StatefulObjectList) Range(f func(index int, item *StatefulObject) bool)

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

func (*StatefulObjectList) SetHREF

func (l *StatefulObjectList) SetHREF(href string)

Items sets the items of the list.

func (*StatefulObjectList) SetItems

func (l *StatefulObjectList) SetItems(items []*StatefulObject)

Items sets the items of the list.

func (l *StatefulObjectList) SetLink(link bool)

Items sets the items of the list.

func (*StatefulObjectList) Slice

func (l *StatefulObjectList) Slice() []*StatefulObject

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

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

type StatefulObjectListBuilder

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

StatefulObjectListBuilder contains the data and logic needed to build 'stateful_object' objects.

func NewStatefulObjectList

func NewStatefulObjectList() *StatefulObjectListBuilder

NewStatefulObjectList creates a new builder of 'stateful_object' objects.

func (*StatefulObjectListBuilder) Build

func (b *StatefulObjectListBuilder) Build() (list *StatefulObjectList, err error)

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

func (*StatefulObjectListBuilder) Copy

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

func (*StatefulObjectListBuilder) Empty

func (b *StatefulObjectListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*StatefulObjectListBuilder) Items

Items sets the items of the list.

type VersionInquiryRequest

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

VersionInquiryRequest represents the values of the 'version_inquiry_request' type.

func ReadVersionInquiryRequest

func ReadVersionInquiryRequest(iterator *jsoniter.Iterator) *VersionInquiryRequest

ReadVersionInquiryRequest reads a value of the 'version_inquiry_request' type from the given iterator.

func ReadVersionInquiryRequestList

func ReadVersionInquiryRequestList(iterator *jsoniter.Iterator) []*VersionInquiryRequest

ReadVersionInquiryRequestList reads list of values of the ”version_inquiry_request' type from the given iterator.

func UnmarshalVersionInquiryRequest

func UnmarshalVersionInquiryRequest(source interface{}) (object *VersionInquiryRequest, err error)

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

func UnmarshalVersionInquiryRequestList

func UnmarshalVersionInquiryRequestList(source interface{}) (items []*VersionInquiryRequest, err error)

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

func (*VersionInquiryRequest) Empty

func (o *VersionInquiryRequest) Empty() bool

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

func (*VersionInquiryRequest) GetServiceType

func (o *VersionInquiryRequest) GetServiceType() (value string, ok bool)

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

func (*VersionInquiryRequest) ServiceType

func (o *VersionInquiryRequest) ServiceType() string

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

type VersionInquiryRequestBuilder

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

func NewVersionInquiryRequest

func NewVersionInquiryRequest() *VersionInquiryRequestBuilder

NewVersionInquiryRequest creates a new builder of 'version_inquiry_request' objects.

func (*VersionInquiryRequestBuilder) Build

func (b *VersionInquiryRequestBuilder) Build() (object *VersionInquiryRequest, err error)

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

func (*VersionInquiryRequestBuilder) Copy

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

func (*VersionInquiryRequestBuilder) Empty

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

func (*VersionInquiryRequestBuilder) ServiceType

ServiceType sets the value of the 'service_type' attribute to the given value.

type VersionInquiryRequestList

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

VersionInquiryRequestList is a list of values of the 'version_inquiry_request' type.

func (*VersionInquiryRequestList) Each

func (l *VersionInquiryRequestList) Each(f func(item *VersionInquiryRequest) 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 (*VersionInquiryRequestList) Empty

func (l *VersionInquiryRequestList) Empty() bool

Empty returns true if the list is empty.

func (*VersionInquiryRequestList) Get

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

func (*VersionInquiryRequestList) Items

Items returns the items of the list.

func (*VersionInquiryRequestList) Len

func (l *VersionInquiryRequestList) Len() int

Len returns the length of the list.

func (*VersionInquiryRequestList) Range

func (l *VersionInquiryRequestList) Range(f func(index int, item *VersionInquiryRequest) bool)

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

func (*VersionInquiryRequestList) SetHREF

func (l *VersionInquiryRequestList) SetHREF(href string)

Items sets the items of the list.

func (*VersionInquiryRequestList) SetItems

func (l *VersionInquiryRequestList) SetItems(items []*VersionInquiryRequest)

Items sets the items of the list.

func (l *VersionInquiryRequestList) SetLink(link bool)

Items sets the items of the list.

func (*VersionInquiryRequestList) 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 VersionInquiryRequestListBuilder

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

VersionInquiryRequestListBuilder contains the data and logic needed to build 'version_inquiry_request' objects.

func NewVersionInquiryRequestList

func NewVersionInquiryRequestList() *VersionInquiryRequestListBuilder

NewVersionInquiryRequestList creates a new builder of 'version_inquiry_request' objects.

func (*VersionInquiryRequestListBuilder) Build

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

func (*VersionInquiryRequestListBuilder) Copy

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

func (*VersionInquiryRequestListBuilder) Empty

Empty returns true if the list is empty.

func (*VersionInquiryRequestListBuilder) Items

Items sets the items of the list.

type VersionInquiryResponse

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

VersionInquiryResponse represents the values of the 'version_inquiry_response' type.

func ReadVersionInquiryResponse

func ReadVersionInquiryResponse(iterator *jsoniter.Iterator) *VersionInquiryResponse

ReadVersionInquiryResponse reads a value of the 'version_inquiry_response' type from the given iterator.

func ReadVersionInquiryResponseList

func ReadVersionInquiryResponseList(iterator *jsoniter.Iterator) []*VersionInquiryResponse

ReadVersionInquiryResponseList reads list of values of the ”version_inquiry_response' type from the given iterator.

func UnmarshalVersionInquiryResponse

func UnmarshalVersionInquiryResponse(source interface{}) (object *VersionInquiryResponse, err error)

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

func UnmarshalVersionInquiryResponseList

func UnmarshalVersionInquiryResponseList(source interface{}) (items []*VersionInquiryResponse, err error)

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

func (*VersionInquiryResponse) Empty

func (o *VersionInquiryResponse) Empty() bool

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

func (*VersionInquiryResponse) GetVersion

func (o *VersionInquiryResponse) GetVersion() (value string, ok bool)

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

func (*VersionInquiryResponse) Version

func (o *VersionInquiryResponse) Version() string

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

type VersionInquiryResponseBuilder

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

func NewVersionInquiryResponse

func NewVersionInquiryResponse() *VersionInquiryResponseBuilder

NewVersionInquiryResponse creates a new builder of 'version_inquiry_response' objects.

func (*VersionInquiryResponseBuilder) Build

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

func (*VersionInquiryResponseBuilder) Copy

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

func (*VersionInquiryResponseBuilder) Empty

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

func (*VersionInquiryResponseBuilder) Version

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

type VersionInquiryResponseList

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

VersionInquiryResponseList is a list of values of the 'version_inquiry_response' type.

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

func (l *VersionInquiryResponseList) Empty() bool

Empty returns true if the list is empty.

func (*VersionInquiryResponseList) Get

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

func (*VersionInquiryResponseList) Items

Items returns the items of the list.

func (*VersionInquiryResponseList) Len

Len returns the length of the list.

func (*VersionInquiryResponseList) Range

func (l *VersionInquiryResponseList) Range(f func(index int, item *VersionInquiryResponse) bool)

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

func (*VersionInquiryResponseList) SetHREF

func (l *VersionInquiryResponseList) SetHREF(href string)

Items sets the items of the list.

func (*VersionInquiryResponseList) SetItems

func (l *VersionInquiryResponseList) SetItems(items []*VersionInquiryResponse)

Items sets the items of the list.

func (l *VersionInquiryResponseList) SetLink(link bool)

Items sets the items of the list.

func (*VersionInquiryResponseList) 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 VersionInquiryResponseListBuilder

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

VersionInquiryResponseListBuilder contains the data and logic needed to build 'version_inquiry_response' objects.

func NewVersionInquiryResponseList

func NewVersionInquiryResponseList() *VersionInquiryResponseListBuilder

NewVersionInquiryResponseList creates a new builder of 'version_inquiry_response' objects.

func (*VersionInquiryResponseListBuilder) Build

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

func (*VersionInquiryResponseListBuilder) Copy

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

func (*VersionInquiryResponseListBuilder) Empty

Empty returns true if the list is empty.

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