github.com/vmware/govmomi@v0.43.0/pbm/types/if.go (about) 1 /* 2 Copyright (c) 2014-2024 VMware, Inc. All Rights Reserved. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 package types 18 19 import ( 20 "reflect" 21 22 "github.com/vmware/govmomi/vim25/types" 23 ) 24 25 func (b *PbmCapabilityConstraints) GetPbmCapabilityConstraints() *PbmCapabilityConstraints { return b } 26 27 type BasePbmCapabilityConstraints interface { 28 GetPbmCapabilityConstraints() *PbmCapabilityConstraints 29 } 30 31 func init() { 32 types.Add("BasePbmCapabilityConstraints", reflect.TypeOf((*PbmCapabilityConstraints)(nil)).Elem()) 33 } 34 35 func (b *PbmCapabilityProfile) GetPbmCapabilityProfile() *PbmCapabilityProfile { return b } 36 37 type BasePbmCapabilityProfile interface { 38 GetPbmCapabilityProfile() *PbmCapabilityProfile 39 } 40 41 func init() { 42 types.Add("BasePbmCapabilityProfile", reflect.TypeOf((*PbmCapabilityProfile)(nil)).Elem()) 43 } 44 45 func (b *PbmCapabilityProfilePropertyMismatchFault) GetPbmCapabilityProfilePropertyMismatchFault() *PbmCapabilityProfilePropertyMismatchFault { 46 return b 47 } 48 49 type BasePbmCapabilityProfilePropertyMismatchFault interface { 50 GetPbmCapabilityProfilePropertyMismatchFault() *PbmCapabilityProfilePropertyMismatchFault 51 } 52 53 func init() { 54 types.Add("BasePbmCapabilityProfilePropertyMismatchFault", reflect.TypeOf((*PbmCapabilityProfilePropertyMismatchFault)(nil)).Elem()) 55 } 56 57 func (b *PbmCapabilityTypeInfo) GetPbmCapabilityTypeInfo() *PbmCapabilityTypeInfo { return b } 58 59 type BasePbmCapabilityTypeInfo interface { 60 GetPbmCapabilityTypeInfo() *PbmCapabilityTypeInfo 61 } 62 63 func init() { 64 types.Add("BasePbmCapabilityTypeInfo", reflect.TypeOf((*PbmCapabilityTypeInfo)(nil)).Elem()) 65 } 66 67 func (b *PbmCompatibilityCheckFault) GetPbmCompatibilityCheckFault() *PbmCompatibilityCheckFault { 68 return b 69 } 70 71 type BasePbmCompatibilityCheckFault interface { 72 GetPbmCompatibilityCheckFault() *PbmCompatibilityCheckFault 73 } 74 75 func init() { 76 types.Add("BasePbmCompatibilityCheckFault", reflect.TypeOf((*PbmCompatibilityCheckFault)(nil)).Elem()) 77 } 78 79 func (b *PbmFault) GetPbmFault() *PbmFault { return b } 80 81 type BasePbmFault interface { 82 GetPbmFault() *PbmFault 83 } 84 85 func init() { 86 types.Add("BasePbmFault", reflect.TypeOf((*PbmFault)(nil)).Elem()) 87 } 88 89 func (b *PbmLineOfServiceInfo) GetPbmLineOfServiceInfo() *PbmLineOfServiceInfo { return b } 90 91 type BasePbmLineOfServiceInfo interface { 92 GetPbmLineOfServiceInfo() *PbmLineOfServiceInfo 93 } 94 95 func init() { 96 types.Add("BasePbmLineOfServiceInfo", reflect.TypeOf((*PbmLineOfServiceInfo)(nil)).Elem()) 97 } 98 99 func (b *PbmPlacementMatchingResources) GetPbmPlacementMatchingResources() *PbmPlacementMatchingResources { 100 return b 101 } 102 103 type BasePbmPlacementMatchingResources interface { 104 GetPbmPlacementMatchingResources() *PbmPlacementMatchingResources 105 } 106 107 func init() { 108 types.Add("BasePbmPlacementMatchingResources", reflect.TypeOf((*PbmPlacementMatchingResources)(nil)).Elem()) 109 } 110 111 func (b *PbmPlacementRequirement) GetPbmPlacementRequirement() *PbmPlacementRequirement { return b } 112 113 type BasePbmPlacementRequirement interface { 114 GetPbmPlacementRequirement() *PbmPlacementRequirement 115 } 116 117 func init() { 118 types.Add("BasePbmPlacementRequirement", reflect.TypeOf((*PbmPlacementRequirement)(nil)).Elem()) 119 } 120 121 func (b *PbmProfile) GetPbmProfile() *PbmProfile { return b } 122 123 type BasePbmProfile interface { 124 GetPbmProfile() *PbmProfile 125 } 126 127 func init() { 128 types.Add("BasePbmProfile", reflect.TypeOf((*PbmProfile)(nil)).Elem()) 129 } 130 131 func (b *PbmPropertyMismatchFault) GetPbmPropertyMismatchFault() *PbmPropertyMismatchFault { return b } 132 133 type BasePbmPropertyMismatchFault interface { 134 GetPbmPropertyMismatchFault() *PbmPropertyMismatchFault 135 } 136 137 func init() { 138 types.Add("BasePbmPropertyMismatchFault", reflect.TypeOf((*PbmPropertyMismatchFault)(nil)).Elem()) 139 }