Documentation
¶
Index ¶
- func JSONMapToProtobufStruct(m map[string]interface{}) (*structpb.Struct, error)
- func ProtobufStructToJSONMap(s *structpb.Struct) (map[string]interface{}, error)
- type Error
- type GatewayDescription
- func (m *GatewayDescription) FromBackendModels(networkID string, gatewayID string) error
- func (m *GatewayDescription) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
- func (m GatewayDescription) Validate(formats strfmt.Registry) error
- func (m *GatewayDescription) ValidateModel() error
- type GatewayID
- type GatewayName
- func (m *GatewayName) FromBackendModels(networkID string, gatewayID string) error
- func (m *GatewayName) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
- func (m GatewayName) Validate(formats strfmt.Registry) error
- func (m *GatewayName) ValidateModel() error
- type NetworkDescription
- func (m *NetworkDescription) GetFromNetwork(network configurator.Network) interface{}
- func (m *NetworkDescription) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
- func (m NetworkDescription) Validate(formats strfmt.Registry) error
- func (m *NetworkDescription) ValidateModel() error
- type NetworkID
- type NetworkName
- type NetworkType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONMapToProtobufStruct ¶
JSONMapToProtobufStruct converts a map[string]interface{} JSON object to the equivalent protobuf Struct
Types ¶
type Error ¶
type Error struct { // message // Required: true Message *string `json:"message"` }
Error error swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GatewayDescription ¶
type GatewayDescription string
GatewayDescription gateway description swagger:model gateway_description
func (*GatewayDescription) FromBackendModels ¶
func (m *GatewayDescription) FromBackendModels(networkID string, gatewayID string) error
func (*GatewayDescription) ToUpdateCriteria ¶
func (m *GatewayDescription) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
func (GatewayDescription) Validate ¶
func (m GatewayDescription) Validate(formats strfmt.Registry) error
Validate validates this gateway description
func (*GatewayDescription) ValidateModel ¶
func (m *GatewayDescription) ValidateModel() error
type GatewayName ¶
type GatewayName string
GatewayName gateway name swagger:model gateway_name
func (*GatewayName) FromBackendModels ¶
func (m *GatewayName) FromBackendModels(networkID string, gatewayID string) error
func (*GatewayName) ToUpdateCriteria ¶
func (m *GatewayName) ToUpdateCriteria(networkID string, gatewayID string) ([]configurator.EntityUpdateCriteria, error)
func (GatewayName) Validate ¶
func (m GatewayName) Validate(formats strfmt.Registry) error
Validate validates this gateway name
func (*GatewayName) ValidateModel ¶
func (m *GatewayName) ValidateModel() error
type NetworkDescription ¶
type NetworkDescription string
NetworkDescription network description swagger:model network_description
func (*NetworkDescription) GetFromNetwork ¶
func (m *NetworkDescription) GetFromNetwork(network configurator.Network) interface{}
func (*NetworkDescription) ToUpdateCriteria ¶
func (m *NetworkDescription) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
func (NetworkDescription) Validate ¶
func (m NetworkDescription) Validate(formats strfmt.Registry) error
Validate validates this network description
func (*NetworkDescription) ValidateModel ¶
func (m *NetworkDescription) ValidateModel() error
type NetworkName ¶
type NetworkName string
NetworkName network name swagger:model network_name
func (*NetworkName) GetFromNetwork ¶
func (m *NetworkName) GetFromNetwork(network configurator.Network) interface{}
func (*NetworkName) ToUpdateCriteria ¶
func (m *NetworkName) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
func (NetworkName) Validate ¶
func (m NetworkName) Validate(formats strfmt.Registry) error
Validate validates this network name
func (*NetworkName) ValidateModel ¶
func (m *NetworkName) ValidateModel() error
type NetworkType ¶
type NetworkType string
NetworkType The type of the network swagger:model network_type
func (*NetworkType) GetFromNetwork ¶
func (m *NetworkType) GetFromNetwork(network configurator.Network) interface{}
func (*NetworkType) ToUpdateCriteria ¶
func (m *NetworkType) ToUpdateCriteria(network configurator.Network) (configurator.NetworkUpdateCriteria, error)
func (NetworkType) Validate ¶
func (m NetworkType) Validate(formats strfmt.Registry) error
Validate validates this network type
func (*NetworkType) ValidateModel ¶
func (m *NetworkType) ValidateModel() error