Versions in this module Expand all Collapse all v9 v9.0.0 Apr 13, 2021 Changes in this version + const HeaderParam + const PathParam + const PayloadParam + const QueryParam + func MakeUniq(base string, taken []string) string + type APIDescriptor struct + NeedJSON bool + NeedTime bool + ResourceNames []string + Resources map[string]*Resource + TypeNames []string + Types map[string]*ObjectDataType + Version string + func (d *APIDescriptor) FinalizeTypeNames(rawTypes map[string][]*ObjectDataType) + func (d *APIDescriptor) Merge(other *APIDescriptor) error + type Action struct + Description string + HeaderParamNames []string + LeafParams []*ActionParam + MethodName string + Name string + Params []*ActionParam + PathParamNames []string + PathPatterns []*PathPattern + Payload DataType + PayloadParamNames []string + QueryParamNames []string + ResourceName string + Return string + ReturnLocation bool + func (a *Action) HasOptionalParams() bool + func (a *Action) MandatoryParams() []*ActionParam + type ActionParam struct + Description string + Location int + Mandatory bool + Max int + Min int + Name string + NonBlank bool + QueryName string + Regexp string + Type DataType + ValidValues []interface{} + VarName string + func (p *ActionParam) IsEquivalent(other *ActionParam) bool + func (p *ActionParam) Signature() (sig string) + type ArrayDataType struct + ElemType *ActionParam + func (a *ArrayDataType) IsEquivalent(other DataType) bool + func (a *ArrayDataType) Name() string + type Attribute struct + FieldName string + FieldType string + Name string + type BasicDataType string + func (b *BasicDataType) IsEquivalent(other DataType) bool + func (b *BasicDataType) Name() string + type ByName []*ActionParam + func (b ByName) Len() int + func (b ByName) Less(i, j int) bool + func (b ByName) Swap(i, j int) + type DataType interface + IsEquivalent func(other DataType) bool + Name func() string + type EnumerableDataType int + func (e *EnumerableDataType) IsEquivalent(other DataType) bool + func (e *EnumerableDataType) Name() string + type ObjectDataType struct + Fields []*ActionParam + TypeName string + func (o *ObjectDataType) IsEquivalent(other DataType) bool + func (o *ObjectDataType) Name() string + type PathPattern struct + HTTPMethod string + Path string + Pattern string + Regexp string + Variables []string + type Resource struct + Actions []*Action + Attributes []*Attribute + ClientName string + Description string + Identifier string + Links map[string]string + LocatorFunc string + Name string + type SourceUploadDataType string + func (e *SourceUploadDataType) IsEquivalent(other DataType) bool + func (e *SourceUploadDataType) Name() string + type UploadDataType struct + TypeName string + func (u *UploadDataType) IsEquivalent(other DataType) bool + func (u *UploadDataType) Name() string Other modules containing this package gopkg.in/rightscale/rsc.v1 gopkg.in/rightscale/rsc.v2 gopkg.in/rightscale/rsc.v3 gopkg.in/rightscale/rsc.v4 gopkg.in/rightscale/rsc.v5 gopkg.in/rightscale/rsc.v6 gopkg.in/rightscale/rsc.v7 gopkg.in/rightscale/rsc.v8