Documentation ¶
Index ¶
- func BucketListFromAbstractToProtocol(in []string) *protocol.BucketListResponse
- func BucketListToProtocol(in []string) *protocol.BucketListResponse
- func ClusterCompositeFromPropertyToProtocol(in propertiesv1.ClusterComposite) *protocol.ClusterComposite
- func ClusterControlplaneFromPropertyToProtocol(in propertiesv1.ClusterControlplane) *protocol.ClusterControlplane
- func ClusterDefaultsFromPropertyV2ToProtocol(in propertiesv2.ClusterDefaults) *protocol.ClusterDefaults
- func ClusterDefaultsFromPropertyV3ToProtocol(in propertiesv3.ClusterDefaults) *protocol.ClusterDefaults
- func ClusterDefaultsPropertyV1ToV2(in *propertiesv1.ClusterDefaults) *propertiesv2.ClusterDefaults
- func ClusterFeaturesFromPropertyToProtocol(in propertiesv1.ClusterFeatures) (*protocol.FeatureListResponse, *protocol.FeatureListResponse)
- func ClusterIdentityFromAbstractToProtocol(in abstract.ClusterIdentity) *protocol.ClusterIdentity
- func ClusterListFromAbstractToProtocol(in []abstract.ClusterIdentity) *protocol.ClusterListResponse
- func ClusterNetworkFromPropertyToProtocol(in propertiesv3.ClusterNetwork) *protocol.ClusterNetwork
- func ClusterNodeFromPropertyToProtocol(in propertiesv3.ClusterNode) *protocol.Host
- func ClusterRequestFromProtocolToAbstract(in *protocol.ClusterCreateRequest) (_ *abstract.ClusterRequest, ferr fail.Error)
- func ClusterStateFromAbstractToProtocol(in clusterstate.Enum) *protocol.ClusterStateResponse
- func FeatureSettingsFromProtocolToResource(in *protocol.FeatureSettings) resources.FeatureSettings
- func FeatureSliceFromResourceToProtocol(in []resources.Feature) *protocol.FeatureListResponse
- func HostCoreFromAbstractToProtocol(in *abstract.HostCore) *protocol.Host
- func HostCoreToHostFull(in abstract.HostCore) *abstract.HostFull
- func HostDescriptionFromAbstractToPropertyV1(src abstract.HostDescription) *propertiesv1.HostDescription
- func HostEffectiveSizingFromAbstractToPropertyV2(ahes *abstract.HostEffectiveSizing) *propertiesv2.HostEffectiveSizing
- func HostEffectiveSizingFromAbstractToProtocol(in *abstract.HostEffectiveSizing) *protocol.HostDefinition
- func HostFullFromAbstractToProtocol(in *abstract.HostFull) *protocol.Host
- func HostNetworkingFromAbstractToPropertyV2(src abstract.HostNetworking) *propertiesv2.HostNetworking
- func HostSizingRequirementsFromAbstractToPropertyV2(src abstract.HostSizingRequirements) *propertiesv2.HostSizingRequirements
- func HostSizingRequirementsFromAbstractToProtocol(src abstract.HostSizingRequirements) protocol.HostSizing
- func HostSizingRequirementsFromPropertyToProtocol(in propertiesv2.HostSizingRequirements) *protocol.HostSizing
- func HostSizingRequirementsFromProtocolToAbstract(in *protocol.HostSizing) *abstract.HostSizingRequirements
- func HostSizingRequirementsFromStringToAbstract(in string) (*abstract.HostSizingRequirements, int, fail.Error)
- func HostStateFromAbstractToProtocol(in hoststate.Enum) protocol.HostState
- func HostStateFromProtocolToEnum(in protocol.HostState) hoststate.Enum
- func HostStatusFromAbstractToProtocol(name string, status hoststate.Enum) *protocol.HostStatus
- func HostTemplateFromAbstractToProtocol(in abstract.HostTemplate) *protocol.HostTemplate
- func HostTemplateToHostEffectiveSizing(ht abstract.HostTemplate) *abstract.HostEffectiveSizing
- func ImageFromAbstractToProtocol(in *abstract.Image) *protocol.Image
- func IndexedListOfClusterNodesFromResourceToProtocol(in resources.IndexedListOfClusterNodes) (*protocol.ClusterNodeListResponse, fail.Error)
- func NFSExportOptionsFromProtocolToString(in *protocol.NFSExportOptions) string
- func NFSExportOptionsFromStringToProtocol(in string) *protocol.NFSExportOptions
- func NetworkFromAbstractToProtocol(in *abstract.Network) *protocol.Network
- func NodeCountFromStringToInteger(in string) (int, fail.Error)
- func SSHConfigFromAbstractToProtocol(in system.SSHConfig) *protocol.SshConfig
- func SSHConfigFromProtocolToSystem(from *protocol.SshConfig) *system.SSHConfig
- func SSHConfigFromSystemToProtocol(from *system.SSHConfig) *protocol.SshConfig
- func SecurityGroupBondsFromPropertyToProtocol(in []*propertiesv1.SecurityGroupBond, target string) *protocol.SecurityGroupBondsResponse
- func SecurityGroupFromAbstractToProtocol(in abstract.SecurityGroup) *protocol.SecurityGroupResponse
- func SecurityGroupFromProtocolToAbstract(in *protocol.SecurityGroupResponse) (*abstract.SecurityGroup, fail.Error)
- func SecurityGroupRuleFromAbstractToProtocol(in *abstract.SecurityGroupRule) *protocol.SecurityGroupRule
- func SecurityGroupRuleFromProtocolToAbstract(in *protocol.SecurityGroupRule) (*abstract.SecurityGroupRule, fail.Error)
- func SecurityGroupRulesFromAbstractToProtocol(in abstract.SecurityGroupRules) []*protocol.SecurityGroupRule
- func SecurityGroupRulesFromProtocolToAbstract(in []*protocol.SecurityGroupRule) (abstract.SecurityGroupRules, fail.Error)
- func ShareFromPropertyToProtocol(hostName string, share *propertiesv1.HostShare) *protocol.ShareDefinition
- func ShareMountFromPropertyToProtocol(shareName string, hostName string, mount *propertiesv1.HostRemoteMount) *protocol.ShareMountDefinition
- func ShareMountListFromPropertyToProtocol(hostName string, share *propertiesv1.HostShare, ...) *protocol.ShareMountList
- func SliceOfSecurityGroupBondFromPropertyToProtocol(in []*propertiesv1.SecurityGroupBond) []*protocol.SecurityGroupBond
- func SubnetFromAbstractToProtocol(in *abstract.Subnet) *protocol.Subnet
- func VirtualIPFromAbstractToProtocol(in abstract.VirtualIP) *protocol.VirtualIp
- func VolumeAttachmentFromAbstractToProtocol(in *abstract.VolumeAttachment) *protocol.VolumeAttachmentResponse
- func VolumeSpeedFromAbstractToProtocol(in volumespeed.Enum) protocol.VolumeSpeed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BucketListFromAbstractToProtocol ¶
func BucketListFromAbstractToProtocol(in []string) *protocol.BucketListResponse
BucketListFromAbstractToProtocol ...
func BucketListToProtocol ¶
func BucketListToProtocol(in []string) *protocol.BucketListResponse
BucketListToProtocol convert a list of string into a *protocol.BucketListResponse
func ClusterCompositeFromPropertyToProtocol ¶
func ClusterCompositeFromPropertyToProtocol(in propertiesv1.ClusterComposite) *protocol.ClusterComposite
ClusterCompositeFromPropertyToProtocol does what the name says
func ClusterControlplaneFromPropertyToProtocol ¶
func ClusterControlplaneFromPropertyToProtocol(in propertiesv1.ClusterControlplane) *protocol.ClusterControlplane
ClusterControlplaneFromPropertyToProtocol does what the name says
func ClusterDefaultsFromPropertyV2ToProtocol ¶ added in v21.11.1
func ClusterDefaultsFromPropertyV2ToProtocol(in propertiesv2.ClusterDefaults) *protocol.ClusterDefaults
ClusterDefaultsFromPropertyV2ToProtocol does what the name says
func ClusterDefaultsFromPropertyV3ToProtocol ¶ added in v21.11.1
func ClusterDefaultsFromPropertyV3ToProtocol(in propertiesv3.ClusterDefaults) *protocol.ClusterDefaults
ClusterDefaultsFromPropertyV3ToProtocol does what the name says
func ClusterDefaultsPropertyV1ToV2 ¶
func ClusterDefaultsPropertyV1ToV2(in *propertiesv1.ClusterDefaults) *propertiesv2.ClusterDefaults
ClusterDefaultsPropertyV1ToV2 converts propertiesv1.ClusterDefaults to propertiesv2.ClusterDefaults
func ClusterFeaturesFromPropertyToProtocol ¶
func ClusterFeaturesFromPropertyToProtocol(in propertiesv1.ClusterFeatures) (*protocol.FeatureListResponse, *protocol.FeatureListResponse)
ClusterFeaturesFromPropertyToProtocol does what the name says
func ClusterIdentityFromAbstractToProtocol ¶
func ClusterIdentityFromAbstractToProtocol(in abstract.ClusterIdentity) *protocol.ClusterIdentity
ClusterIdentityFromAbstractToProtocol converts an abstract.ClusterIdentity to protocol.ClusterIdentity
func ClusterListFromAbstractToProtocol ¶
func ClusterListFromAbstractToProtocol(in []abstract.ClusterIdentity) *protocol.ClusterListResponse
ClusterListFromAbstractToProtocol converts list of cluster identity to protocol.ClusterListResponse
func ClusterNetworkFromPropertyToProtocol ¶
func ClusterNetworkFromPropertyToProtocol(in propertiesv3.ClusterNetwork) *protocol.ClusterNetwork
ClusterNetworkFromPropertyToProtocol does what the name says
func ClusterNodeFromPropertyToProtocol ¶
func ClusterNodeFromPropertyToProtocol(in propertiesv3.ClusterNode) *protocol.Host
ClusterNodeFromPropertyToProtocol converts a propertiesv3.ClusterNode to a protocol.Host
func ClusterRequestFromProtocolToAbstract ¶
func ClusterRequestFromProtocolToAbstract(in *protocol.ClusterCreateRequest) (_ *abstract.ClusterRequest, ferr fail.Error)
ClusterRequestFromProtocolToAbstract ...
func ClusterStateFromAbstractToProtocol ¶
func ClusterStateFromAbstractToProtocol(in clusterstate.Enum) *protocol.ClusterStateResponse
ClusterStateFromAbstractToProtocol ...
func FeatureSettingsFromProtocolToResource ¶
func FeatureSettingsFromProtocolToResource(in *protocol.FeatureSettings) resources.FeatureSettings
FeatureSettingsFromProtocolToResource ...
func FeatureSliceFromResourceToProtocol ¶
func FeatureSliceFromResourceToProtocol(in []resources.Feature) *protocol.FeatureListResponse
func HostCoreFromAbstractToProtocol ¶
HostCoreFromAbstractToProtocol ...
func HostCoreToHostFull ¶
HostCoreToHostFull ...
func HostDescriptionFromAbstractToPropertyV1 ¶
func HostDescriptionFromAbstractToPropertyV1(src abstract.HostDescription) *propertiesv1.HostDescription
HostDescriptionFromAbstractToPropertyV1 ...
func HostEffectiveSizingFromAbstractToPropertyV2 ¶
func HostEffectiveSizingFromAbstractToPropertyV2(ahes *abstract.HostEffectiveSizing) *propertiesv2.HostEffectiveSizing
HostEffectiveSizingFromAbstractToPropertyV2 ...
func HostEffectiveSizingFromAbstractToProtocol ¶
func HostEffectiveSizingFromAbstractToProtocol(in *abstract.HostEffectiveSizing) *protocol.HostDefinition
HostEffectiveSizingFromAbstractToProtocol ...
func HostFullFromAbstractToProtocol ¶
HostFullFromAbstractToProtocol ...
func HostNetworkingFromAbstractToPropertyV2 ¶
func HostNetworkingFromAbstractToPropertyV2(src abstract.HostNetworking) *propertiesv2.HostNetworking
HostNetworkingFromAbstractToPropertyV2 ...
func HostSizingRequirementsFromAbstractToPropertyV2 ¶
func HostSizingRequirementsFromAbstractToPropertyV2(src abstract.HostSizingRequirements) *propertiesv2.HostSizingRequirements
HostSizingRequirementsFromAbstractToPropertyV2 ...
func HostSizingRequirementsFromAbstractToProtocol ¶
func HostSizingRequirementsFromAbstractToProtocol(src abstract.HostSizingRequirements) protocol.HostSizing
HostSizingRequirementsFromAbstractToProtocol converts a protobuf HostSizing message to abstract.HostSizingRequirements
func HostSizingRequirementsFromPropertyToProtocol ¶
func HostSizingRequirementsFromPropertyToProtocol(in propertiesv2.HostSizingRequirements) *protocol.HostSizing
HostSizingRequirementsFromPropertyToProtocol ...
func HostSizingRequirementsFromProtocolToAbstract ¶
func HostSizingRequirementsFromProtocolToAbstract(in *protocol.HostSizing) *abstract.HostSizingRequirements
func HostSizingRequirementsFromStringToAbstract ¶
func HostSizingRequirementsFromStringToAbstract(in string) (*abstract.HostSizingRequirements, int, fail.Error)
HostSizingRequirementsFromStringToAbstract HostSizingFromStringToAbstract converts host sizing requirements from string to *abstract.HostSizingRequirements
func HostStateFromAbstractToProtocol ¶
HostStateFromAbstractToProtocol ...
func HostStateFromProtocolToEnum ¶
HostStateFromProtocolToEnum converts a protocol.HostState to hoststate.Enum
func HostStatusFromAbstractToProtocol ¶
func HostStatusFromAbstractToProtocol(name string, status hoststate.Enum) *protocol.HostStatus
HostStatusFromAbstractToProtocol ...
func HostTemplateFromAbstractToProtocol ¶
func HostTemplateFromAbstractToProtocol(in abstract.HostTemplate) *protocol.HostTemplate
HostTemplateFromAbstractToProtocol ...
func HostTemplateToHostEffectiveSizing ¶
func HostTemplateToHostEffectiveSizing(ht abstract.HostTemplate) *abstract.HostEffectiveSizing
HostTemplateToHostEffectiveSizing converts an abstract.HostTemplate to an abstract.HostEffectiveSizing
func ImageFromAbstractToProtocol ¶
ImageFromAbstractToProtocol ...
func IndexedListOfClusterNodesFromResourceToProtocol ¶
func IndexedListOfClusterNodesFromResourceToProtocol(in resources.IndexedListOfClusterNodes) (*protocol.ClusterNodeListResponse, fail.Error)
func NFSExportOptionsFromProtocolToString ¶
func NFSExportOptionsFromProtocolToString(in *protocol.NFSExportOptions) string
func NFSExportOptionsFromStringToProtocol ¶
func NFSExportOptionsFromStringToProtocol(in string) *protocol.NFSExportOptions
NFSExportOptionsFromStringToProtocol converts a string containing NFS export options as string to the (now deprecated) protocol message
func NetworkFromAbstractToProtocol ¶
NetworkFromAbstractToProtocol ...
func NodeCountFromStringToInteger ¶
NodeCountFromStringToInteger extracts initial node count from string
func SSHConfigFromAbstractToProtocol ¶
SSHConfigFromAbstractToProtocol ...
func SSHConfigFromProtocolToSystem ¶
SSHConfigFromProtocolToSystem converts a protocol.SshConfig into a system.SSHConfig
func SSHConfigFromSystemToProtocol ¶
SSHConfigFromSystemToProtocol converts a system.SSHConfig into a SshConfig
func SecurityGroupBondsFromPropertyToProtocol ¶
func SecurityGroupBondsFromPropertyToProtocol(in []*propertiesv1.SecurityGroupBond, target string) *protocol.SecurityGroupBondsResponse
SecurityGroupBondsFromPropertyToProtocol does what the name says
func SecurityGroupFromAbstractToProtocol ¶
func SecurityGroupFromAbstractToProtocol(in abstract.SecurityGroup) *protocol.SecurityGroupResponse
SecurityGroupFromAbstractToProtocol converts an abstract.SecurityGroup to a *protocol.SecurityGroup
func SecurityGroupFromProtocolToAbstract ¶
func SecurityGroupFromProtocolToAbstract(in *protocol.SecurityGroupResponse) (*abstract.SecurityGroup, fail.Error)
SecurityGroupFromProtocolToAbstract ...
func SecurityGroupRuleFromAbstractToProtocol ¶
func SecurityGroupRuleFromAbstractToProtocol(in *abstract.SecurityGroupRule) *protocol.SecurityGroupRule
SecurityGroupRuleFromAbstractToProtocol converts an abstract.SecurityGroupRule to a *protocol.SecurityGroupRule
func SecurityGroupRuleFromProtocolToAbstract ¶
func SecurityGroupRuleFromProtocolToAbstract(in *protocol.SecurityGroupRule) (*abstract.SecurityGroupRule, fail.Error)
SecurityGroupRuleFromProtocolToAbstract does what the name says
func SecurityGroupRulesFromAbstractToProtocol ¶
func SecurityGroupRulesFromAbstractToProtocol(in abstract.SecurityGroupRules) []*protocol.SecurityGroupRule
SecurityGroupRulesFromAbstractToProtocol converts a []abstract.SecurityGroupRule to a []*protocol.SecurityGroupRule
func SecurityGroupRulesFromProtocolToAbstract ¶
func SecurityGroupRulesFromProtocolToAbstract(in []*protocol.SecurityGroupRule) (abstract.SecurityGroupRules, fail.Error)
SecurityGroupRulesFromProtocolToAbstract does what the name says
func ShareFromPropertyToProtocol ¶
func ShareFromPropertyToProtocol(hostName string, share *propertiesv1.HostShare) *protocol.ShareDefinition
ShareFromPropertyToProtocol convert a share from host to protocol message
func ShareMountFromPropertyToProtocol ¶
func ShareMountFromPropertyToProtocol(shareName string, hostName string, mount *propertiesv1.HostRemoteMount) *protocol.ShareMountDefinition
ShareMountFromPropertyToProtocol convert share mount on host to protocol message
func ShareMountListFromPropertyToProtocol ¶
func ShareMountListFromPropertyToProtocol(hostName string, share *propertiesv1.HostShare, mounts map[string]*propertiesv1.HostRemoteMount) *protocol.ShareMountList
ShareMountListFromPropertyToProtocol converts share mounts from host to protocol message
func SliceOfSecurityGroupBondFromPropertyToProtocol ¶
func SliceOfSecurityGroupBondFromPropertyToProtocol(in []*propertiesv1.SecurityGroupBond) []*protocol.SecurityGroupBond
SliceOfSecurityGroupBondFromPropertyToProtocol does what the name says
func SubnetFromAbstractToProtocol ¶
SubnetFromAbstractToProtocol ...
func VirtualIPFromAbstractToProtocol ¶
VirtualIPFromAbstractToProtocol converts a *abstract.VirtualIP to a protocol.VirtualIp
func VolumeAttachmentFromAbstractToProtocol ¶
func VolumeAttachmentFromAbstractToProtocol(in *abstract.VolumeAttachment) *protocol.VolumeAttachmentResponse
VolumeAttachmentFromAbstractToProtocol ...
func VolumeSpeedFromAbstractToProtocol ¶
func VolumeSpeedFromAbstractToProtocol(in volumespeed.Enum) protocol.VolumeSpeed
VolumeSpeedFromAbstractToProtocol ...
Types ¶
This section is empty.