Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGRPCAllowedMethods ¶
func AddGRPCAllowedMethods(grpcResourceData *GrpcResourceData, grpcAllowedMethods []*string)
func AddRESTAllowedMethods ¶
func AddRESTAllowedMethods(restResourceData *RestResourceData, restAllowedMethods []*string)
Types ¶
type GrpcResourceData ¶
type GrpcResourceData struct { SmallKebabCaseResourceNameSingular string SmallSnakeCaseResourceNameSingular string SmallResourceNameSingular string SmallResourceNamePlural string CapsResourceNameSingular string CapsResourceNamePlural string IsGRPCCreateAllowed bool IsGRPCListAllowed bool IsGRPCGetAllowed bool IsGRPCPutAllowed bool IsGRPCDeleteAllowed bool IsGRPCPatchAllowed bool IsGRPCHeadAllowed bool IsGRPCOptionsAllowed bool }
type RestResourceData ¶
type RestResourceData struct { SmallKebabCaseResourceNameSingular string SmallSnakeCaseResourceNameSingular string SmallResourceNameSingular string SmallResourceNamePlural string CapsResourceNameSingular string CapsResourceNamePlural string ResourcePostBody string ResourcePutBody string IsRESTCreateAllowed bool IsRESTListAllowed bool IsRESTGetAllowed bool IsRESTPutAllowed bool IsRESTDeleteAllowed bool IsRESTPatchAllowed bool IsRESTHeadAllowed bool IsRESTOptionsAllowed bool }
Click to show internal directories.
Click to hide internal directories.