Documentation ¶
Index ¶
- type AppLabeler
- func (_m *AppLabeler) DeleteServiceReference(appLabels graphql.Labels, serviceID string) (graphql.LabelInput, error)
- func (_m *AppLabeler) ListServiceReferences(appLabels graphql.Labels) ([]service.LegacyServiceReference, error)
- func (_m *AppLabeler) ReadServiceReference(appLabels graphql.Labels, serviceID string) (service.LegacyServiceReference, error)
- func (_m *AppLabeler) WriteServiceReference(appLabels graphql.Labels, serviceReference service.LegacyServiceReference) (graphql.LabelInput, error)
- type Converter
- func (_m *Converter) DetailsToGraphQLCreateInput(deprecated model.ServiceDetails) (graphql.BundleCreateInput, error)
- func (_m *Converter) GraphQLCreateInputToUpdateInput(in graphql.BundleCreateInput) graphql.BundleUpdateInput
- func (_m *Converter) GraphQLToServiceDetails(converted graphql.BundleExt, ...) (model.ServiceDetails, error)
- func (_m *Converter) ServiceDetailsToService(in model.ServiceDetails, serviceID string) (model.Service, error)
- type DirectorClient
- func (_m *DirectorClient) CreateAPIDefinition(ctx context.Context, bundleID string, ...) (string, error)
- func (_m *DirectorClient) CreateBundle(ctx context.Context, appID string, in graphql.BundleCreateInput) (string, error)
- func (_m *DirectorClient) CreateDocument(ctx context.Context, bundleID string, documentInput graphql.DocumentInput) (string, error)
- func (_m *DirectorClient) CreateEventDefinition(ctx context.Context, bundleID string, ...) (string, error)
- func (_m *DirectorClient) DeleteAPIDefinition(ctx context.Context, apiID string) error
- func (_m *DirectorClient) DeleteBundle(ctx context.Context, bundleID string) error
- func (_m *DirectorClient) DeleteDocument(ctx context.Context, documentID string) error
- func (_m *DirectorClient) DeleteEventDefinition(ctx context.Context, eventID string) error
- func (_m *DirectorClient) GetBundle(ctx context.Context, appID string, bundleID string) (graphql.BundleExt, error)
- func (_m *DirectorClient) ListBundles(ctx context.Context, appID string) ([]*graphql.BundleExt, error)
- func (_m *DirectorClient) SetApplicationLabel(ctx context.Context, appID string, label graphql.LabelInput) error
- func (_m *DirectorClient) UpdateBundle(ctx context.Context, bundleID string, in graphql.BundleUpdateInput) error
- type RequestContextProvider
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppLabeler ¶
AppLabeler is an autogenerated mock type for the AppLabeler type
func (*AppLabeler) DeleteServiceReference ¶
func (_m *AppLabeler) DeleteServiceReference(appLabels graphql.Labels, serviceID string) (graphql.LabelInput, error)
DeleteServiceReference provides a mock function with given fields: appLabels, serviceID
func (*AppLabeler) ListServiceReferences ¶
func (_m *AppLabeler) ListServiceReferences(appLabels graphql.Labels) ([]service.LegacyServiceReference, error)
ListServiceReferences provides a mock function with given fields: appLabels
func (*AppLabeler) ReadServiceReference ¶
func (_m *AppLabeler) ReadServiceReference(appLabels graphql.Labels, serviceID string) (service.LegacyServiceReference, error)
ReadServiceReference provides a mock function with given fields: appLabels, serviceID
func (*AppLabeler) WriteServiceReference ¶
func (_m *AppLabeler) WriteServiceReference(appLabels graphql.Labels, serviceReference service.LegacyServiceReference) (graphql.LabelInput, error)
WriteServiceReference provides a mock function with given fields: appLabels, serviceReference
type Converter ¶
Converter is an autogenerated mock type for the Converter type
func (*Converter) DetailsToGraphQLCreateInput ¶
func (_m *Converter) DetailsToGraphQLCreateInput(deprecated model.ServiceDetails) (graphql.BundleCreateInput, error)
DetailsToGraphQLCreateInput provides a mock function with given fields: deprecated
func (*Converter) GraphQLCreateInputToUpdateInput ¶
func (_m *Converter) GraphQLCreateInputToUpdateInput(in graphql.BundleCreateInput) graphql.BundleUpdateInput
GraphQLCreateInputToUpdateInput provides a mock function with given fields: in
func (*Converter) GraphQLToServiceDetails ¶
func (_m *Converter) GraphQLToServiceDetails(converted graphql.BundleExt, legacyServiceReference service.LegacyServiceReference) (model.ServiceDetails, error)
GraphQLToServiceDetails provides a mock function with given fields: converted, legacyServiceReference
func (*Converter) ServiceDetailsToService ¶
func (_m *Converter) ServiceDetailsToService(in model.ServiceDetails, serviceID string) (model.Service, error)
ServiceDetailsToService provides a mock function with given fields: in, serviceID
type DirectorClient ¶
DirectorClient is an autogenerated mock type for the DirectorClient type
func (*DirectorClient) CreateAPIDefinition ¶
func (_m *DirectorClient) CreateAPIDefinition(ctx context.Context, bundleID string, apiDefinitionInput graphql.APIDefinitionInput) (string, error)
CreateAPIDefinition provides a mock function with given fields: ctx, bundleID, apiDefinitionInput
func (*DirectorClient) CreateBundle ¶
func (_m *DirectorClient) CreateBundle(ctx context.Context, appID string, in graphql.BundleCreateInput) (string, error)
CreateBundle provides a mock function with given fields: ctx, appID, in
func (*DirectorClient) CreateDocument ¶
func (_m *DirectorClient) CreateDocument(ctx context.Context, bundleID string, documentInput graphql.DocumentInput) (string, error)
CreateDocument provides a mock function with given fields: ctx, bundleID, documentInput
func (*DirectorClient) CreateEventDefinition ¶
func (_m *DirectorClient) CreateEventDefinition(ctx context.Context, bundleID string, eventDefinitionInput graphql.EventDefinitionInput) (string, error)
CreateEventDefinition provides a mock function with given fields: ctx, bundleID, eventDefinitionInput
func (*DirectorClient) DeleteAPIDefinition ¶
func (_m *DirectorClient) DeleteAPIDefinition(ctx context.Context, apiID string) error
DeleteAPIDefinition provides a mock function with given fields: ctx, apiID
func (*DirectorClient) DeleteBundle ¶
func (_m *DirectorClient) DeleteBundle(ctx context.Context, bundleID string) error
DeleteBundle provides a mock function with given fields: ctx, bundleID
func (*DirectorClient) DeleteDocument ¶
func (_m *DirectorClient) DeleteDocument(ctx context.Context, documentID string) error
DeleteDocument provides a mock function with given fields: ctx, documentID
func (*DirectorClient) DeleteEventDefinition ¶
func (_m *DirectorClient) DeleteEventDefinition(ctx context.Context, eventID string) error
DeleteEventDefinition provides a mock function with given fields: ctx, eventID
func (*DirectorClient) GetBundle ¶
func (_m *DirectorClient) GetBundle(ctx context.Context, appID string, bundleID string) (graphql.BundleExt, error)
GetBundle provides a mock function with given fields: ctx, appID, bundleID
func (*DirectorClient) ListBundles ¶
func (_m *DirectorClient) ListBundles(ctx context.Context, appID string) ([]*graphql.BundleExt, error)
ListBundles provides a mock function with given fields: ctx, appID
func (*DirectorClient) SetApplicationLabel ¶
func (_m *DirectorClient) SetApplicationLabel(ctx context.Context, appID string, label graphql.LabelInput) error
SetApplicationLabel provides a mock function with given fields: ctx, appID, label
func (*DirectorClient) UpdateBundle ¶
func (_m *DirectorClient) UpdateBundle(ctx context.Context, bundleID string, in graphql.BundleUpdateInput) error
UpdateBundle provides a mock function with given fields: ctx, bundleID, in
type RequestContextProvider ¶
RequestContextProvider is an autogenerated mock type for the RequestContextProvider type
func (*RequestContextProvider) ForRequest ¶
func (_m *RequestContextProvider) ForRequest(r *http.Request) (service.RequestContext, error)
ForRequest provides a mock function with given fields: r