Documentation ¶
Index ¶
- Constants
- func GetClientListOptionFromResourceName(x string) []client.ListOption
- func GetOdnsRegisterName(x string, y, z []string) string
- func GetOdnsResourceKindName(x, y string) string
- func GetOdnsResourceName(x, y string, z []string) string
- func GetParentResourceName(s string) string
- type Odns
- type OdnsRegistry
- type OdnsRegistryNi
- type OdnsResource
- type OdnsTopo
- type OdnsTopoResource
Constants ¶
const (
OdnsUnknown string = "unknown"
)
Variables ¶
This section is empty.
Functions ¶
func GetClientListOptionFromResourceName ¶ added in v0.0.66
func GetClientListOptionFromResourceName(x string) []client.ListOption
func GetOdnsRegisterName ¶ added in v0.0.57
GetOdnsRegisterName return a odns registername from x intent resourceName, y (kind, registryName and networkinstance for ni, z (additional object as a register resource object name)
func GetOdnsResourceKindName ¶ added in v0.0.61
func GetOdnsResourceName ¶ added in v0.0.59
GetOdnsResourceName return a odns resourcename from x intent resourceName, y resourcekind, z (additional object as a register resource object name)
func GetParentResourceName ¶ added in v0.0.50
Types ¶
type Odns ¶
func (*Odns) GetAvailabilityZone ¶
func (*Odns) GetDeployment ¶
func (*Odns) GetFullOdaName ¶ added in v0.0.51
func (*Odns) GetOrganization ¶
type OdnsRegistry ¶
type OdnsRegistry struct { *Odns OwnerKind string OwnerName string RegistryName string ResourceName string }
func Name2OdnsRegistry ¶
func Name2OdnsRegistry(s string) *OdnsRegistry
<org>.<dep>.<az>.<owner>.<registry>.<resourcename>
func (*OdnsRegistry) GetOdns ¶
func (o *OdnsRegistry) GetOdns() *Odns
func (*OdnsRegistry) GetOwnerKind ¶ added in v0.0.60
func (o *OdnsRegistry) GetOwnerKind() string
func (*OdnsRegistry) GetOwnerName ¶
func (o *OdnsRegistry) GetOwnerName() string
func (*OdnsRegistry) GetRegistryName ¶
func (o *OdnsRegistry) GetRegistryName() string
func (*OdnsRegistry) GetResourceName ¶
func (o *OdnsRegistry) GetResourceName() string
type OdnsRegistryNi ¶
type OdnsRegistryNi struct { *Odns OwnerKind string OwnerName string RegistryName string ResourceName string NetworkInstanceName string }
func Name2OdnsRegistryNi ¶
func Name2OdnsRegistryNi(s string) *OdnsRegistryNi
<org>.<dep>.<az>.<owner>.<registry>.<niname>.<resourcename>
func (*OdnsRegistryNi) GetNetworkInstanceName ¶ added in v0.0.54
func (o *OdnsRegistryNi) GetNetworkInstanceName() string
func (*OdnsRegistryNi) GetOdns ¶ added in v0.0.54
func (o *OdnsRegistryNi) GetOdns() *Odns
func (*OdnsRegistryNi) GetOwnerKind ¶ added in v0.0.60
func (o *OdnsRegistryNi) GetOwnerKind() string
func (*OdnsRegistryNi) GetOwnerName ¶ added in v0.0.54
func (o *OdnsRegistryNi) GetOwnerName() string
func (*OdnsRegistryNi) GetRegistryName ¶ added in v0.0.54
func (o *OdnsRegistryNi) GetRegistryName() string
func (*OdnsRegistryNi) GetResourceName ¶
func (o *OdnsRegistryNi) GetResourceName() string
type OdnsResource ¶ added in v0.0.55
func Name2OdnsResource ¶ added in v0.0.55
func Name2OdnsResource(s string) *OdnsResource
<org>.<dep>.<az>.<resourcename>
func (*OdnsResource) GetOdns ¶ added in v0.0.55
func (o *OdnsResource) GetOdns() *Odns
func (*OdnsResource) GetResourceName ¶ added in v0.0.55
func (o *OdnsResource) GetResourceName() string
type OdnsTopo ¶ added in v0.0.49
<org>.<dep>.<az>.<topologyname>
func Name2OdnsTopo ¶ added in v0.0.49
<org>.<dep>.<az>.<topologyname>
func (*OdnsTopo) GetTopologyName ¶ added in v0.0.49
type OdnsTopoResource ¶ added in v0.0.49
<org>.<dep>.<az>.<topologyname>.<resourcename> used for link and node
func Name2OdnsTopoResource ¶ added in v0.0.49
func Name2OdnsTopoResource(s string) *OdnsTopoResource
<org>.<dep>.<az>.<topologyname>.<resourcename> used for link and node
func (*OdnsTopoResource) GetOdnsTopo ¶ added in v0.0.49
func (o *OdnsTopoResource) GetOdnsTopo() *OdnsTopo
func (*OdnsTopoResource) GetResourceName ¶ added in v0.0.49
func (o *OdnsTopoResource) GetResourceName() string