Documentation
¶
Index ¶
- func FindEndpoint(ctx context.Context, predicate func(val *api.Endpoint) bool) (*api.Endpoint, error)
- func GetEndpoint(ctx context.Context, id string) (*api.Endpoint, error)
- func GetEndpoints(ctx context.Context) ([]*api.Endpoint, error)
- func SetEndpoint(ctx context.Context, endpoint *api.Endpoint) error
- type EndpointService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindEndpoint ¶
Types ¶
type EndpointService ¶
type EndpointService interface { List(ctx context.Context) ([]*api.Endpoint, error) Get(ctx context.Context, id string) (*api.Endpoint, error) Create(ctx context.Context, req *api.CreateEndpoint) (*api.Endpoint, error) }
func CreateEndpointService ¶
func CreateEndpointService(lambdaSvc lambda.LambdaService) EndpointService
Click to show internal directories.
Click to hide internal directories.