Documentation ¶
Index ¶
Constants ¶
const ServiceName = "podinfo"
ServiceName is the name of the service as defined in the design. This is the same value that is set in the endpoint request contexts under the ServiceKey key.
Variables ¶
var MethodNames = [1]string{"get"}
MethodNames lists the service method names as defined in the design. These are the same values that are set in the endpoint request contexts under the MethodKey key.
Functions ¶
func NewGetEndpoint ¶
NewGetEndpoint returns an endpoint function that calls the method "get" of service "podinfo".
func NewViewedPodinforesult ¶
func NewViewedPodinforesult(res *Podinforesult, view string) *podinfoviews.Podinforesult
NewViewedPodinforesult initializes viewed result type Podinforesult from result type Podinforesult using the given view.
Types ¶
type Client ¶
Client is the "podinfo" service client.
type Endpoints ¶
Endpoints wraps the "podinfo" service endpoints.
func NewEndpoints ¶
NewEndpoints wraps the methods of the "podinfo" service with endpoints.
type Podinforesult ¶
Podinforesult is the result type of the podinfo service get method.
func NewPodinforesult ¶
func NewPodinforesult(vres *podinfoviews.Podinforesult) *Podinforesult
NewPodinforesult initializes result type Podinforesult from viewed result type Podinforesult.