Documentation
¶
Overview ¶
Copyright © LiquidWeb
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © LiquidWeb ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- func Validate(chk map[interface{}]interface{}) (err error)
- type InputTypeHttpsLiquidwebUrl
- type InputTypeIP
- type InputTypeLoadBalancerHealthCheckProtocol
- type InputTypeLoadBalancerHttpCodeRange
- type InputTypeLoadBalancerStrategyString
- type InputTypeNetworkPort
- type InputTypeNetworkPortPair
- type InputTypeNonEmptyString
- type InputTypePositiveInt
- type InputTypePositiveInt64
- type InputTypeUniqId
- type InputTypes
Constants ¶
This section is empty.
Variables ¶
var ValidationFailure = errors.New("validation failed")
Functions ¶
Types ¶
type InputTypeHttpsLiquidwebUrl ¶
type InputTypeHttpsLiquidwebUrl struct {
HttpsLiquidwebUrl string
}
func (InputTypeHttpsLiquidwebUrl) Validate ¶
func (x InputTypeHttpsLiquidwebUrl) Validate() error
type InputTypeIP ¶
type InputTypeIP struct {
IP string
}
func (InputTypeIP) Validate ¶
func (x InputTypeIP) Validate() error
type InputTypeLoadBalancerHealthCheckProtocol ¶
type InputTypeLoadBalancerHealthCheckProtocol struct {
LoadBalancerHealthCheckProtocol string
}
func (InputTypeLoadBalancerHealthCheckProtocol) Validate ¶
func (x InputTypeLoadBalancerHealthCheckProtocol) Validate() error
type InputTypeLoadBalancerHttpCodeRange ¶
type InputTypeLoadBalancerHttpCodeRange struct {
LoadBalancerHttpCodeRange string
}
func (InputTypeLoadBalancerHttpCodeRange) Validate ¶
func (x InputTypeLoadBalancerHttpCodeRange) Validate() error
type InputTypeLoadBalancerStrategyString ¶
type InputTypeLoadBalancerStrategyString struct {
LoadBalancerStrategy string
}
func (InputTypeLoadBalancerStrategyString) Validate ¶
func (x InputTypeLoadBalancerStrategyString) Validate() error
type InputTypeNetworkPort ¶
type InputTypeNetworkPort struct {
NetworkPort int
}
func (InputTypeNetworkPort) Validate ¶
func (x InputTypeNetworkPort) Validate() error
type InputTypeNetworkPortPair ¶
type InputTypeNetworkPortPair struct {
NetworkPortPair string
}
func (InputTypeNetworkPortPair) Validate ¶
func (x InputTypeNetworkPortPair) Validate() error
type InputTypeNonEmptyString ¶
type InputTypeNonEmptyString struct {
NonEmptyString string
}
func (InputTypeNonEmptyString) Validate ¶
func (x InputTypeNonEmptyString) Validate() error
type InputTypePositiveInt ¶
type InputTypePositiveInt struct {
PositiveInt int
}
func (InputTypePositiveInt) Validate ¶
func (x InputTypePositiveInt) Validate() error
type InputTypePositiveInt64 ¶
type InputTypePositiveInt64 struct {
PositiveInt64 int64
}
func (InputTypePositiveInt64) Validate ¶
func (x InputTypePositiveInt64) Validate() error
type InputTypeUniqId ¶
type InputTypeUniqId struct {
UniqId string
}
func (InputTypeUniqId) Validate ¶
func (x InputTypeUniqId) Validate() error
type InputTypes ¶
type InputTypes struct { UniqId InputTypeUniqId IP InputTypeIP PositiveInt64 InputTypePositiveInt64 PositiveInt InputTypePositiveInt NonEmptyString InputTypeNonEmptyString LoadBalancerStrategy InputTypeLoadBalancerStrategyString HttpsLiquidwebUrl InputTypeHttpsLiquidwebUrl NetworkPortPair InputTypeNetworkPortPair NetworkPort InputTypeNetworkPort LoadBalancerHttpCodeRange InputTypeLoadBalancerHttpCodeRange LoadBalancerHealthCheckProtocol InputTypeLoadBalancerHealthCheckProtocol }