v1

package
v0.1.419 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 4

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

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

OpenAPI contains the OpenAPI specification of the service in JSON.

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

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

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

func MarshalVersionInquiryRequestList added in v0.1.330

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

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

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

func MarshalVersionInquiryResponseList added in v0.1.330

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 UnmarshalBooleanList

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

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

func UnmarshalDateList

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

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

func UnmarshalFloatList

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

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

func UnmarshalIntegerList

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

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

func UnmarshalInterfaceList

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

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

func UnmarshalLongList

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

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

func UnmarshalStringList

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

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

Types

type AWS

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

AWS represents the values of the 'AWS' type.

_Amazon Web Services_ specific settings of a cluster.

func UnmarshalAWS

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
}

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

_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) 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) 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 Client

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

Client is the client of the 'root' resource.

Root of the tree of resources of the Management Services.

func NewClient

func NewClient(transport http.RoundTripper, path string) *Client

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

func (*Client) Get

func (c *Client) Get() *MetadataRequest

Creates a new request for the method that retrieves the metadata.

func (*Client) Services

func (c *Client) Services() *ServicesClient

Services returns the target 'services' resource.

Reference to the resource that manages the collection of Managed Services.

type CloudRegion

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

CloudRegion represents the values of the 'cloud_region' type.

Description of a region of a cloud provider.

func UnmarshalCloudRegion

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

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

func UnmarshalCloudRegionList

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

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

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

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

Description of a region of a cloud provider.

func NewCloudRegion

func NewCloudRegion() *CloudRegionBuilder

NewCloudRegion creates a new builder of 'cloud_region' objects.

func (*CloudRegionBuilder) Build

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

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

func (*CloudRegionBuilder) 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) 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) 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 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 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
}

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

Information about the API of a cluster.

func NewClusterAPI

func NewClusterAPI() *ClusterAPIBuilder

NewClusterAPI creates a new builder of 'cluster_API' objects.

func (*ClusterAPIBuilder) Build

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

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

func (*ClusterAPIBuilder) Copy

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

func (l *ClusterAPIList) Len() int

Len returns the length of the list.

func (*ClusterAPIList) Range

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

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

func (*ClusterAPIList) Slice

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

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

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

type ClusterAPIListBuilder

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

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

func NewClusterAPIList

func NewClusterAPIList() *ClusterAPIListBuilder

NewClusterAPIList creates a new builder of 'cluster_API' objects.

func (*ClusterAPIListBuilder) Build

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

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

func (*ClusterAPIListBuilder) Copy

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
}

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

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

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

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

func (l *ClusterNodesList) Len() int

Len returns the length of the list.

func (*ClusterNodesList) Range

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

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

func (*ClusterNodesList) Slice

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

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

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

type ClusterNodesListBuilder

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

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

func NewClusterNodesList

func NewClusterNodesList() *ClusterNodesListBuilder

NewClusterNodesList creates a new builder of 'cluster_nodes' objects.

func (*ClusterNodesListBuilder) Build

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

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

func (*ClusterNodesListBuilder) Copy

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

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

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

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

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 ManagedServiceClient

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

ManagedServiceClient is the client of the 'managed_service' resource.

Manages a Managed Service.

func NewManagedServiceClient

func NewManagedServiceClient(transport http.RoundTripper, path string) *ManagedServiceClient

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

func (*ManagedServiceClient) Delete

Delete creates a request for the 'delete' method.

Deletes the Managed Service

func (*ManagedServiceClient) Get

Get creates a request for the 'get' method.

Gets information on the Managed Service

func (*ManagedServiceClient) Poll

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

func (*ManagedServiceClient) Update

Update creates a request for the 'update' method.

type ManagedServiceDeleteRequest

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

ManagedServiceDeleteRequest is the request for the 'delete' method.

func (*ManagedServiceDeleteRequest) Header

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

Header adds a request header.

func (*ManagedServiceDeleteRequest) Impersonate

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

func (*ManagedServiceDeleteRequest) Parameter

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

Parameter adds a query parameter.

func (*ManagedServiceDeleteRequest) Send

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

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

func (*ManagedServiceDeleteRequest) SendContext

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

type ManagedServiceDeleteResponse

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

ManagedServiceDeleteResponse is the response for the 'delete' method.

func (*ManagedServiceDeleteResponse) Error

Error returns the response error.

func (*ManagedServiceDeleteResponse) Header

Header returns header of the response.

func (*ManagedServiceDeleteResponse) Status

func (r *ManagedServiceDeleteResponse) Status() int

Status returns the response status code.

type ManagedServiceGetRequest

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

ManagedServiceGetRequest is the request for the 'get' method.

func (*ManagedServiceGetRequest) Header

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

Header adds a request header.

func (*ManagedServiceGetRequest) Impersonate

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

func (*ManagedServiceGetRequest) Parameter

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

Parameter adds a query parameter.

func (*ManagedServiceGetRequest) Send

func (r *ManagedServiceGetRequest) Send() (result *ManagedServiceGetResponse, err error)

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

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

func (*ManagedServiceGetRequest) SendContext

func (r *ManagedServiceGetRequest) SendContext(ctx context.Context) (result *ManagedServiceGetResponse, err error)

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

type ManagedServiceGetResponse

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

ManagedServiceGetResponse is the response for the 'get' method.

func (*ManagedServiceGetResponse) Body

Body returns the value of the 'body' parameter.

func (*ManagedServiceGetResponse) Error

Error returns the response error.

func (*ManagedServiceGetResponse) GetBody

func (r *ManagedServiceGetResponse) GetBody() (value *ManagedService, ok bool)

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

func (*ManagedServiceGetResponse) Header

Header returns header of the response.

func (*ManagedServiceGetResponse) Status

func (r *ManagedServiceGetResponse) Status() int

Status returns the response status code.

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

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

ManagedServicePollRequest is the request for the Poll method.

func (*ManagedServicePollRequest) Header

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

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

func (*ManagedServicePollRequest) Interval

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

func (*ManagedServicePollRequest) Parameter

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

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

func (*ManagedServicePollRequest) Predicate

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

func (*ManagedServicePollRequest) StartContext

func (r *ManagedServicePollRequest) StartContext(ctx context.Context) (response *ManagedServicePollResponse, err error)

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

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

func (*ManagedServicePollRequest) Status

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

type ManagedServicePollResponse

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

ManagedServicePollResponse is the response for the Poll method.

func (*ManagedServicePollResponse) Body

Body returns the value of the 'body' parameter.

func (*ManagedServicePollResponse) Error

Error returns the response error.

func (*ManagedServicePollResponse) GetBody

func (r *ManagedServicePollResponse) GetBody() (value *ManagedService, ok bool)

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

func (*ManagedServicePollResponse) Header

Header returns header of the response.

func (*ManagedServicePollResponse) Status

func (r *ManagedServicePollResponse) Status() int

Status returns the response status code.

type ManagedServiceUpdateRequest

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

ManagedServiceUpdateRequest is the request for the 'update' method.

func (*ManagedServiceUpdateRequest) Body

Body sets the value of the 'body' parameter.

func (*ManagedServiceUpdateRequest) Header

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

Header adds a request header.

func (*ManagedServiceUpdateRequest) Impersonate

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

func (*ManagedServiceUpdateRequest) Parameter

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

Parameter adds a query parameter.

func (*ManagedServiceUpdateRequest) Send

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

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

func (*ManagedServiceUpdateRequest) SendContext

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

type ManagedServiceUpdateResponse

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

ManagedServiceUpdateResponse is the response for the 'update' method.

func (*ManagedServiceUpdateResponse) Body

Body returns the value of the 'body' parameter.

func (*ManagedServiceUpdateResponse) Error

Error returns the response error.

func (*ManagedServiceUpdateResponse) GetBody

func (r *ManagedServiceUpdateResponse) GetBody() (value *ManagedService, ok bool)

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

func (*ManagedServiceUpdateResponse) Header

Header returns header of the response.

func (*ManagedServiceUpdateResponse) Status

func (r *ManagedServiceUpdateResponse) Status() int

Status returns the response status code.

type Metadata

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

Metadata contains the version metadata.

func UnmarshalMetadata

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

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

func (*Metadata) GetServerVersion

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

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

func (*Metadata) ServerVersion

func (m *Metadata) ServerVersion() string

ServerVersion returns the version of the server.

type MetadataRequest

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

MetadataRequest is the request to retrieve the metadata.

func (*MetadataRequest) Header

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

Header adds a request header.

func (*MetadataRequest) Parameter

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

Parameter adds a query parameter.

func (*MetadataRequest) Send

func (r *MetadataRequest) Send() (result *MetadataResponse, err error)

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

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

func (*MetadataRequest) SendContext

func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)

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

type MetadataResponse

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

MetadataResponse is the response for the metadata request.

func (*MetadataResponse) Body

func (r *MetadataResponse) Body() *Metadata

Body returns the response body.

func (*MetadataResponse) Error

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

Error returns the response error.

func (*MetadataResponse) Header

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

Header returns header of the response.

func (*MetadataResponse) Status

func (r *MetadataResponse) Status() int

Status returns the response status code.

type Network

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

Network represents the values of the 'network' type.

Network configuration of a cluster.

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
}

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

Network configuration of a cluster.

func NewNetwork

func NewNetwork() *NetworkBuilder

NewNetwork creates a new builder of 'network' objects.

func (*NetworkBuilder) Build

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

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

func (*NetworkBuilder) Copy

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

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

func (*NetworkBuilder) 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) 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) 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 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
}

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

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

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

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

ServiceParameterBuilder contains the data and logic needed to build 'service_parameter' objects.

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

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

ServicesAddRequest is the request for the 'add' method.

func (*ServicesAddRequest) Body

Body sets the value of the 'body' parameter.

func (*ServicesAddRequest) Header

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

Header adds a request header.

func (*ServicesAddRequest) Impersonate

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

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

func (*ServicesAddRequest) Parameter

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

Parameter adds a query parameter.

func (*ServicesAddRequest) Send

func (r *ServicesAddRequest) Send() (result *ServicesAddResponse, err error)

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

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

func (*ServicesAddRequest) SendContext

func (r *ServicesAddRequest) SendContext(ctx context.Context) (result *ServicesAddResponse, err error)

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

type ServicesAddResponse

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

ServicesAddResponse is the response for the 'add' method.

func (*ServicesAddResponse) Body

Body returns the value of the 'body' parameter.

func (*ServicesAddResponse) Error

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

Error returns the response error.

func (*ServicesAddResponse) GetBody

func (r *ServicesAddResponse) GetBody() (value *ManagedService, ok bool)

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

func (*ServicesAddResponse) Header

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

Header returns header of the response.

func (*ServicesAddResponse) Status

func (r *ServicesAddResponse) Status() int

Status returns the response status code.

type ServicesClient

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

ServicesClient is the client of the 'services' resource.

Manages a Managed Services.

func NewServicesClient

func NewServicesClient(transport http.RoundTripper, path string) *ServicesClient

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

func (*ServicesClient) Add

Add creates a request for the 'add' method.

Creates a new Managed Service

func (*ServicesClient) List

List creates a request for the 'list' method.

Lists the Managed Services the user has running

func (*ServicesClient) Service

func (c *ServicesClient) Service(id string) *ManagedServiceClient

Service returns the target 'managed_service' resource for the given identifier.

Returns a reference to that specific Managed Service

func (*ServicesClient) VersionInquiry added in v0.1.330

func (c *ServicesClient) VersionInquiry() *VersionInquiryClient

VersionInquiry returns the target 'version_inquiry' resource.

type ServicesListRequest

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

ServicesListRequest is the request for the 'list' method.

func (*ServicesListRequest) Header

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

Header adds a request header.

func (*ServicesListRequest) Impersonate

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

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

func (*ServicesListRequest) Page

Page sets the value of the 'page' parameter.

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

func (*ServicesListRequest) Parameter

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

Parameter adds a query parameter.

func (*ServicesListRequest) Send

func (r *ServicesListRequest) Send() (result *ServicesListResponse, err error)

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

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

func (*ServicesListRequest) SendContext

func (r *ServicesListRequest) SendContext(ctx context.Context) (result *ServicesListResponse, err error)

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

func (*ServicesListRequest) Size

Size sets the value of the 'size' parameter.

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

type ServicesListResponse

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

ServicesListResponse is the response for the 'list' method.

func (*ServicesListResponse) Error

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

Error returns the response error.

func (*ServicesListResponse) GetItems

func (r *ServicesListResponse) GetItems() (value *ManagedServiceList, ok bool)

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

Retrieved list of clusters.

func (*ServicesListResponse) GetPage

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

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

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

func (*ServicesListResponse) GetSize

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

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

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

func (*ServicesListResponse) GetTotal

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

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

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

func (*ServicesListResponse) Header

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

Header returns header of the response.

func (*ServicesListResponse) Items

Items returns the value of the 'items' parameter.

Retrieved list of clusters.

func (*ServicesListResponse) Page

func (r *ServicesListResponse) Page() int

Page returns the value of the 'page' parameter.

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

func (*ServicesListResponse) Size

func (r *ServicesListResponse) Size() int

Size returns the value of the 'size' parameter.

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

func (*ServicesListResponse) Status

func (r *ServicesListResponse) Status() int

Status returns the response status code.

func (*ServicesListResponse) Total

func (r *ServicesListResponse) Total() int

Total returns the value of the 'total' parameter.

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

type StatefulObject

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

StatefulObject represents the values of the 'stateful_object' type.

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
}

StatefulObjectBuilder contains the data and logic needed to build 'stateful_object' objects.

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

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

VersionInquiryClient is the client of the 'version_inquiry' resource.

Used to check the Openshift version a service will use.

func NewVersionInquiryClient added in v0.1.330

func NewVersionInquiryClient(transport http.RoundTripper, path string) *VersionInquiryClient

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

func (*VersionInquiryClient) Post added in v0.1.330

Post creates a request for the 'post' method.

Returns the Openshift version a service of this type will use.

type VersionInquiryPostRequest added in v0.1.330

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

VersionInquiryPostRequest is the request for the 'post' method.

func (*VersionInquiryPostRequest) Body added in v0.1.330

Body sets the value of the 'body' parameter.

func (*VersionInquiryPostRequest) Header added in v0.1.330

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

Header adds a request header.

func (*VersionInquiryPostRequest) Impersonate added in v0.1.330

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

func (*VersionInquiryPostRequest) Parameter added in v0.1.330

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

Parameter adds a query parameter.

func (*VersionInquiryPostRequest) Send added in v0.1.330

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

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

func (*VersionInquiryPostRequest) SendContext added in v0.1.330

func (r *VersionInquiryPostRequest) SendContext(ctx context.Context) (result *VersionInquiryPostResponse, err error)

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

type VersionInquiryPostResponse added in v0.1.330

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

VersionInquiryPostResponse is the response for the 'post' method.

func (*VersionInquiryPostResponse) Body added in v0.1.330

Body returns the value of the 'body' parameter.

func (*VersionInquiryPostResponse) Error added in v0.1.330

Error returns the response error.

func (*VersionInquiryPostResponse) GetBody added in v0.1.330

func (r *VersionInquiryPostResponse) GetBody() (value *VersionInquiryResponse, ok bool)

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

func (*VersionInquiryPostResponse) Header added in v0.1.330

Header returns header of the response.

func (*VersionInquiryPostResponse) Status added in v0.1.330

func (r *VersionInquiryPostResponse) Status() int

Status returns the response status code.

type VersionInquiryRequest added in v0.1.330

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

VersionInquiryRequest represents the values of the 'version_inquiry_request' type.

func UnmarshalVersionInquiryRequest added in v0.1.330

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

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

func (o *VersionInquiryRequest) Empty() bool

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

func (*VersionInquiryRequest) GetServiceType added in v0.1.330

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

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

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

VersionInquiryRequestBuilder contains the data and logic needed to build 'version_inquiry_request' objects.

func NewVersionInquiryRequest added in v0.1.330

func NewVersionInquiryRequest() *VersionInquiryRequestBuilder

NewVersionInquiryRequest creates a new builder of 'version_inquiry_request' objects.

func (*VersionInquiryRequestBuilder) Build added in v0.1.330

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

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

func (*VersionInquiryRequestBuilder) Empty added in v0.1.330

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

func (*VersionInquiryRequestBuilder) ServiceType added in v0.1.330

ServiceType sets the value of the 'service_type' attribute to the given value.

type VersionInquiryRequestList added in v0.1.330

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

VersionInquiryRequestList is a list of values of the 'version_inquiry_request' type.

func (*VersionInquiryRequestList) Each added in v0.1.330

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

func (l *VersionInquiryRequestList) Empty() bool

Empty returns true if the list is empty.

func (*VersionInquiryRequestList) Get added in v0.1.330

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

func (*VersionInquiryRequestList) Len added in v0.1.330

func (l *VersionInquiryRequestList) Len() int

Len returns the length of the list.

func (*VersionInquiryRequestList) Range added in v0.1.330

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

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

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

VersionInquiryRequestListBuilder contains the data and logic needed to build 'version_inquiry_request' objects.

func NewVersionInquiryRequestList added in v0.1.330

func NewVersionInquiryRequestList() *VersionInquiryRequestListBuilder

NewVersionInquiryRequestList creates a new builder of 'version_inquiry_request' objects.

func (*VersionInquiryRequestListBuilder) Build added in v0.1.330

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

func (*VersionInquiryRequestListBuilder) Copy added in v0.1.330

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

func (*VersionInquiryRequestListBuilder) Empty added in v0.1.330

Empty returns true if the list is empty.

func (*VersionInquiryRequestListBuilder) Items added in v0.1.330

Items sets the items of the list.

type VersionInquiryResponse added in v0.1.330

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

VersionInquiryResponse represents the values of the 'version_inquiry_response' type.

func UnmarshalVersionInquiryResponse added in v0.1.330

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

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

func (o *VersionInquiryResponse) Empty() bool

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

func (*VersionInquiryResponse) GetVersion added in v0.1.330

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

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

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

VersionInquiryResponseBuilder contains the data and logic needed to build 'version_inquiry_response' objects.

func NewVersionInquiryResponse added in v0.1.330

func NewVersionInquiryResponse() *VersionInquiryResponseBuilder

NewVersionInquiryResponse creates a new builder of 'version_inquiry_response' objects.

func (*VersionInquiryResponseBuilder) Build added in v0.1.330

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

func (*VersionInquiryResponseBuilder) Copy added in v0.1.330

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

func (*VersionInquiryResponseBuilder) Empty added in v0.1.330

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

func (*VersionInquiryResponseBuilder) Version added in v0.1.330

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

type VersionInquiryResponseList added in v0.1.330

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

VersionInquiryResponseList is a list of values of the 'version_inquiry_response' type.

func (*VersionInquiryResponseList) Each added in v0.1.330

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

func (l *VersionInquiryResponseList) Empty() bool

Empty returns true if the list is empty.

func (*VersionInquiryResponseList) Get added in v0.1.330

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

func (*VersionInquiryResponseList) Len added in v0.1.330

Len returns the length of the list.

func (*VersionInquiryResponseList) Range added in v0.1.330

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

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

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

VersionInquiryResponseListBuilder contains the data and logic needed to build 'version_inquiry_response' objects.

func NewVersionInquiryResponseList added in v0.1.330

func NewVersionInquiryResponseList() *VersionInquiryResponseListBuilder

NewVersionInquiryResponseList creates a new builder of 'version_inquiry_response' objects.

func (*VersionInquiryResponseListBuilder) Build added in v0.1.330

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

func (*VersionInquiryResponseListBuilder) Copy added in v0.1.330

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

func (*VersionInquiryResponseListBuilder) Empty added in v0.1.330

Empty returns true if the list is empty.

func (*VersionInquiryResponseListBuilder) Items added in v0.1.330

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