1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type Edition string 6 7// Enum values for Edition 8const ( 9 EditionStarter Edition = "STARTER" 10 EditionStandard Edition = "STANDARD" 11) 12 13// Values returns all known values for Edition. Note that this can be expanded in 14// the future, and so it is only as up to date as the client. The ordering of this 15// slice is not guaranteed to be stable across updates. 16func (Edition) Values() []Edition { 17 return []Edition{ 18 "STARTER", 19 "STANDARD", 20 } 21} 22 23type Framework string 24 25// Enum values for Framework 26const ( 27 FrameworkHyperledgerFabric Framework = "HYPERLEDGER_FABRIC" 28 FrameworkEthereum Framework = "ETHEREUM" 29) 30 31// Values returns all known values for Framework. Note that this can be expanded in 32// the future, and so it is only as up to date as the client. The ordering of this 33// slice is not guaranteed to be stable across updates. 34func (Framework) Values() []Framework { 35 return []Framework{ 36 "HYPERLEDGER_FABRIC", 37 "ETHEREUM", 38 } 39} 40 41type InvitationStatus string 42 43// Enum values for InvitationStatus 44const ( 45 InvitationStatusPending InvitationStatus = "PENDING" 46 InvitationStatusAccepted InvitationStatus = "ACCEPTED" 47 InvitationStatusAccepting InvitationStatus = "ACCEPTING" 48 InvitationStatusRejected InvitationStatus = "REJECTED" 49 InvitationStatusExpired InvitationStatus = "EXPIRED" 50) 51 52// Values returns all known values for InvitationStatus. Note that this can be 53// expanded in the future, and so it is only as up to date as the client. The 54// ordering of this slice is not guaranteed to be stable across updates. 55func (InvitationStatus) Values() []InvitationStatus { 56 return []InvitationStatus{ 57 "PENDING", 58 "ACCEPTED", 59 "ACCEPTING", 60 "REJECTED", 61 "EXPIRED", 62 } 63} 64 65type MemberStatus string 66 67// Enum values for MemberStatus 68const ( 69 MemberStatusCreating MemberStatus = "CREATING" 70 MemberStatusAvailable MemberStatus = "AVAILABLE" 71 MemberStatusCreateFailed MemberStatus = "CREATE_FAILED" 72 MemberStatusUpdating MemberStatus = "UPDATING" 73 MemberStatusDeleting MemberStatus = "DELETING" 74 MemberStatusDeleted MemberStatus = "DELETED" 75) 76 77// Values returns all known values for MemberStatus. Note that this can be expanded 78// in the future, and so it is only as up to date as the client. The ordering of 79// this slice is not guaranteed to be stable across updates. 80func (MemberStatus) Values() []MemberStatus { 81 return []MemberStatus{ 82 "CREATING", 83 "AVAILABLE", 84 "CREATE_FAILED", 85 "UPDATING", 86 "DELETING", 87 "DELETED", 88 } 89} 90 91type NetworkStatus string 92 93// Enum values for NetworkStatus 94const ( 95 NetworkStatusCreating NetworkStatus = "CREATING" 96 NetworkStatusAvailable NetworkStatus = "AVAILABLE" 97 NetworkStatusCreateFailed NetworkStatus = "CREATE_FAILED" 98 NetworkStatusDeleting NetworkStatus = "DELETING" 99 NetworkStatusDeleted NetworkStatus = "DELETED" 100) 101 102// Values returns all known values for NetworkStatus. Note that this can be 103// expanded in the future, and so it is only as up to date as the client. The 104// ordering of this slice is not guaranteed to be stable across updates. 105func (NetworkStatus) Values() []NetworkStatus { 106 return []NetworkStatus{ 107 "CREATING", 108 "AVAILABLE", 109 "CREATE_FAILED", 110 "DELETING", 111 "DELETED", 112 } 113} 114 115type NodeStatus string 116 117// Enum values for NodeStatus 118const ( 119 NodeStatusCreating NodeStatus = "CREATING" 120 NodeStatusAvailable NodeStatus = "AVAILABLE" 121 NodeStatusUnhealthy NodeStatus = "UNHEALTHY" 122 NodeStatusCreateFailed NodeStatus = "CREATE_FAILED" 123 NodeStatusUpdating NodeStatus = "UPDATING" 124 NodeStatusDeleting NodeStatus = "DELETING" 125 NodeStatusDeleted NodeStatus = "DELETED" 126 NodeStatusFailed NodeStatus = "FAILED" 127) 128 129// Values returns all known values for NodeStatus. Note that this can be expanded 130// in the future, and so it is only as up to date as the client. The ordering of 131// this slice is not guaranteed to be stable across updates. 132func (NodeStatus) Values() []NodeStatus { 133 return []NodeStatus{ 134 "CREATING", 135 "AVAILABLE", 136 "UNHEALTHY", 137 "CREATE_FAILED", 138 "UPDATING", 139 "DELETING", 140 "DELETED", 141 "FAILED", 142 } 143} 144 145type ProposalStatus string 146 147// Enum values for ProposalStatus 148const ( 149 ProposalStatusInProgress ProposalStatus = "IN_PROGRESS" 150 ProposalStatusApproved ProposalStatus = "APPROVED" 151 ProposalStatusRejected ProposalStatus = "REJECTED" 152 ProposalStatusExpired ProposalStatus = "EXPIRED" 153 ProposalStatusActionFailed ProposalStatus = "ACTION_FAILED" 154) 155 156// Values returns all known values for ProposalStatus. Note that this can be 157// expanded in the future, and so it is only as up to date as the client. The 158// ordering of this slice is not guaranteed to be stable across updates. 159func (ProposalStatus) Values() []ProposalStatus { 160 return []ProposalStatus{ 161 "IN_PROGRESS", 162 "APPROVED", 163 "REJECTED", 164 "EXPIRED", 165 "ACTION_FAILED", 166 } 167} 168 169type StateDBType string 170 171// Enum values for StateDBType 172const ( 173 StateDBTypeLevelDB StateDBType = "LevelDB" 174 StateDBTypeCouchDB StateDBType = "CouchDB" 175) 176 177// Values returns all known values for StateDBType. Note that this can be expanded 178// in the future, and so it is only as up to date as the client. The ordering of 179// this slice is not guaranteed to be stable across updates. 180func (StateDBType) Values() []StateDBType { 181 return []StateDBType{ 182 "LevelDB", 183 "CouchDB", 184 } 185} 186 187type ThresholdComparator string 188 189// Enum values for ThresholdComparator 190const ( 191 ThresholdComparatorGreaterThan ThresholdComparator = "GREATER_THAN" 192 ThresholdComparatorGreaterThanOrEqualTo ThresholdComparator = "GREATER_THAN_OR_EQUAL_TO" 193) 194 195// Values returns all known values for ThresholdComparator. Note that this can be 196// expanded in the future, and so it is only as up to date as the client. The 197// ordering of this slice is not guaranteed to be stable across updates. 198func (ThresholdComparator) Values() []ThresholdComparator { 199 return []ThresholdComparator{ 200 "GREATER_THAN", 201 "GREATER_THAN_OR_EQUAL_TO", 202 } 203} 204 205type VoteValue string 206 207// Enum values for VoteValue 208const ( 209 VoteValueYes VoteValue = "YES" 210 VoteValueNo VoteValue = "NO" 211) 212 213// Values returns all known values for VoteValue. Note that this can be expanded in 214// the future, and so it is only as up to date as the client. The ordering of this 215// slice is not guaranteed to be stable across updates. 216func (VoteValue) Values() []VoteValue { 217 return []VoteValue{ 218 "YES", 219 "NO", 220 } 221} 222