Documentation ¶
Index ¶
- type ARs
- func (_m *ARs) ApproveAR(ctx context.Context, id int64, opts ...portal.Option) (*portal.StatusOutput, error)
- func (_m *ARs) DeleteAR(ctx context.Context, id int64, opts ...portal.Option) (*portal.StatusOutput, error)
- func (_m *ARs) GetAR(ctx context.Context, id int64, opts ...portal.Option) (*portal.AROutput, error)
- func (_m *ARs) ListARs(ctx context.Context, opts ...portal.Option) (*portal.ListARsOutput, error)
- func (_m *ARs) RejectAR(ctx context.Context, id int64, opts ...portal.Option) (*portal.StatusOutput, error)
- type Apps
- func (_m *Apps) CreateApp(ctx context.Context, input *portal.AppInput, opts ...portal.Option) (*portal.AppOutput, error)
- func (_m *Apps) GetAR(ctx context.Context, appID int64, arID int64, opts ...portal.Option) (*portal.AROutput, error)
- func (_m *Apps) GetApp(ctx context.Context, id int64, opts ...portal.Option) (*portal.AppOutput, error)
- func (_m *Apps) ListARs(ctx context.Context, id int64, opts ...portal.Option) (*portal.ListARsOutput, error)
- func (_m *Apps) ListApps(ctx context.Context, opts ...portal.Option) (*portal.ListAppsOutput, error)
- func (_m *Apps) ProvisionApp(ctx context.Context, id int64, opts ...portal.Option) (*portal.StatusOutput, error)
- func (_m *Apps) UpdateApp(ctx context.Context, id int64, input *portal.AppInput, opts ...portal.Option) (*portal.AppOutput, error)
- type Catalogs
- func (_m *Catalogs) CreateCatalog(ctx context.Context, input *portal.CatalogInput, opts ...portal.Option) (*portal.CatalogOutput, error)
- func (_m *Catalogs) GetCatalog(ctx context.Context, id int64, opts ...portal.Option) (*portal.CatalogOutput, error)
- func (_m *Catalogs) ListCatalogs(ctx context.Context, options *portal.ListCatalogsInput, opts ...portal.Option) (*portal.ListCatalogsOutput, error)
- func (_m *Catalogs) UpdateCatalog(ctx context.Context, id int64, input *portal.CatalogInput, ...) (*portal.CatalogOutput, error)
- type Orgs
- func (_m *Orgs) CreateOrg(ctx context.Context, input *portal.OrgInput, opts ...portal.Option) (*portal.OrgOutput, error)
- func (_m *Orgs) CreateTeam(ctx context.Context, orgID int64, input *portal.TeamInput, ...) (*portal.TeamOutput, error)
- func (_m *Orgs) DeleteOrg(ctx context.Context, id int64, opts ...portal.Option) (*portal.OrgOutput, error)
- func (_m *Orgs) DeleteTeam(ctx context.Context, orgID int64, teamID int64, opts ...portal.Option) (*portal.TeamOutput, error)
- func (_m *Orgs) GetOrg(ctx context.Context, id int64, opts ...portal.Option) (*portal.OrgOutput, error)
- func (_m *Orgs) GetTeam(ctx context.Context, orgID int64, teamID int64, opts ...portal.Option) (*portal.TeamOutput, error)
- func (_m *Orgs) ListOrgs(ctx context.Context, options *portal.ListOrgsInput, opts ...portal.Option) (*portal.ListOrgsOutput, error)
- func (_m *Orgs) ListTeams(ctx context.Context, orgID int64, options *portal.ListTeamsInput, ...) (*portal.ListTeamsOutput, error)
- func (_m *Orgs) UpdateOrg(ctx context.Context, id int64, input *portal.OrgInput, opts ...portal.Option) (*portal.OrgOutput, error)
- func (_m *Orgs) UpdateTeam(ctx context.Context, orgID int64, teamID int64, input *portal.TeamInput, ...) (*portal.TeamOutput, error)
- type Pages
- func (_m *Pages) CreatePage(ctx context.Context, input *portal.PageInput, opts ...portal.Option) (*portal.PageOutput, error)
- func (_m *Pages) GetPage(ctx context.Context, id int64, opts ...portal.Option) (*portal.PageOutput, error)
- func (_m *Pages) ListPages(ctx context.Context, options *portal.ListPagesInput, opts ...portal.Option) (*portal.ListPagesOutput, error)
- func (_m *Pages) UpdatePage(ctx context.Context, id int64, input *portal.PageInput, opts ...portal.Option) (*portal.PageOutput, error)
- type Plans
- func (_m *Plans) CreatePlan(ctx context.Context, input *portal.PlanInput, opts ...portal.Option) (*portal.PlanOutput, error)
- func (_m *Plans) GetPlan(ctx context.Context, id int64, opts ...portal.Option) (*portal.PlanOutput, error)
- func (_m *Plans) ListPlans(ctx context.Context, options *portal.ListPlansInput, opts ...portal.Option) (*portal.ListPlansOutput, error)
- func (_m *Plans) UpdatePlan(ctx context.Context, id int64, input *portal.PlanInput, opts ...portal.Option) (*portal.PlanOutput, error)
- type Products
- func (_m *Products) CreateProduct(ctx context.Context, input *portal.ProductInput, opts ...portal.Option) (*portal.ProductOutput, error)
- func (_m *Products) GetProduct(ctx context.Context, id int64, opts ...portal.Option) (*portal.ProductOutput, error)
- func (_m *Products) ListProducts(ctx context.Context, options *portal.ListProductsInput, opts ...portal.Option) (*portal.ListProductsOutput, error)
- func (_m *Products) UpdateProduct(ctx context.Context, id int64, input *portal.ProductInput, ...) (*portal.ProductOutput, error)
- type Providers
- func (_m *Providers) CreateProvider(ctx context.Context, input *portal.ProviderInput, opts ...portal.Option) (*portal.ProviderOutput, error)
- func (_m *Providers) DeleteProvider(ctx context.Context, id int64, opts ...portal.Option) (*portal.ProviderOutput, error)
- func (_m *Providers) GetProvider(ctx context.Context, id int64, opts ...portal.Option) (*portal.ProviderOutput, error)
- func (_m *Providers) ListProviders(ctx context.Context, options *portal.ListProvidersInput, opts ...portal.Option) (*portal.ListProvidersOutput, error)
- func (_m *Providers) SyncProvider(ctx context.Context, id int64, opts ...portal.Option) (*portal.SyncProviderOutput, error)
- func (_m *Providers) SyncProviders(ctx context.Context, opts ...portal.Option) (*portal.SyncProviderOutput, error)
- func (_m *Providers) UpdateProvider(ctx context.Context, id int64, input *portal.ProviderInput, ...) (*portal.ProviderOutput, error)
- type Users
- func (_m *Users) CreateUser(ctx context.Context, input *portal.UserInput, opts ...portal.Option) (*portal.UserOutput, error)
- func (_m *Users) DeleteUser(ctx context.Context, id int64, opts ...portal.Option) (*portal.UserOutput, error)
- func (_m *Users) GetUser(ctx context.Context, id int64, opts ...portal.Option) (*portal.UserOutput, error)
- func (_m *Users) ListUsers(ctx context.Context, options *portal.ListUsersInput, opts ...portal.Option) (*portal.ListUsersOutput, error)
- func (_m *Users) UpdateUser(ctx context.Context, id int64, input *portal.UserInput, opts ...portal.Option) (*portal.UserOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ARs ¶
ARs is an autogenerated mock type for the ARs type
func NewARs ¶
NewARs creates a new instance of ARs. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ARs) ApproveAR ¶
func (_m *ARs) ApproveAR(ctx context.Context, id int64, opts ...portal.Option) (*portal.StatusOutput, error)
ApproveAR provides a mock function with given fields: ctx, id, opts
func (*ARs) DeleteAR ¶
func (_m *ARs) DeleteAR(ctx context.Context, id int64, opts ...portal.Option) (*portal.StatusOutput, error)
DeleteAR provides a mock function with given fields: ctx, id, opts
func (*ARs) GetAR ¶
func (_m *ARs) GetAR(ctx context.Context, id int64, opts ...portal.Option) (*portal.AROutput, error)
GetAR provides a mock function with given fields: ctx, id, opts
type Apps ¶
Apps is an autogenerated mock type for the Apps type
func NewApps ¶
NewApps creates a new instance of Apps. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Apps) CreateApp ¶
func (_m *Apps) CreateApp(ctx context.Context, input *portal.AppInput, opts ...portal.Option) (*portal.AppOutput, error)
CreateApp provides a mock function with given fields: ctx, input, opts
func (*Apps) GetAR ¶
func (_m *Apps) GetAR(ctx context.Context, appID int64, arID int64, opts ...portal.Option) (*portal.AROutput, error)
GetAR provides a mock function with given fields: ctx, appID, arID, opts
func (*Apps) GetApp ¶
func (_m *Apps) GetApp(ctx context.Context, id int64, opts ...portal.Option) (*portal.AppOutput, error)
GetApp provides a mock function with given fields: ctx, id, opts
func (*Apps) ListARs ¶
func (_m *Apps) ListARs(ctx context.Context, id int64, opts ...portal.Option) (*portal.ListARsOutput, error)
ListARs provides a mock function with given fields: ctx, id, opts
func (*Apps) ListApps ¶
func (_m *Apps) ListApps(ctx context.Context, opts ...portal.Option) (*portal.ListAppsOutput, error)
ListApps provides a mock function with given fields: ctx, opts
type Catalogs ¶
Catalogs is an autogenerated mock type for the Catalogs type
func NewCatalogs ¶
NewCatalogs creates a new instance of Catalogs. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Catalogs) CreateCatalog ¶
func (_m *Catalogs) CreateCatalog(ctx context.Context, input *portal.CatalogInput, opts ...portal.Option) (*portal.CatalogOutput, error)
CreateCatalog provides a mock function with given fields: ctx, input, opts
func (*Catalogs) GetCatalog ¶
func (_m *Catalogs) GetCatalog(ctx context.Context, id int64, opts ...portal.Option) (*portal.CatalogOutput, error)
GetCatalog provides a mock function with given fields: ctx, id, opts
func (*Catalogs) ListCatalogs ¶
func (_m *Catalogs) ListCatalogs(ctx context.Context, options *portal.ListCatalogsInput, opts ...portal.Option) (*portal.ListCatalogsOutput, error)
ListCatalogs provides a mock function with given fields: ctx, options, opts
func (*Catalogs) UpdateCatalog ¶
func (_m *Catalogs) UpdateCatalog(ctx context.Context, id int64, input *portal.CatalogInput, opts ...portal.Option) (*portal.CatalogOutput, error)
UpdateCatalog provides a mock function with given fields: ctx, id, input, opts
type Orgs ¶
Orgs is an autogenerated mock type for the Orgs type
func NewOrgs ¶
NewOrgs creates a new instance of Orgs. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Orgs) CreateOrg ¶
func (_m *Orgs) CreateOrg(ctx context.Context, input *portal.OrgInput, opts ...portal.Option) (*portal.OrgOutput, error)
CreateOrg provides a mock function with given fields: ctx, input, opts
func (*Orgs) CreateTeam ¶
func (_m *Orgs) CreateTeam(ctx context.Context, orgID int64, input *portal.TeamInput, opts ...portal.Option) (*portal.TeamOutput, error)
CreateTeam provides a mock function with given fields: ctx, orgID, input, opts
func (*Orgs) DeleteOrg ¶
func (_m *Orgs) DeleteOrg(ctx context.Context, id int64, opts ...portal.Option) (*portal.OrgOutput, error)
DeleteOrg provides a mock function with given fields: ctx, id, opts
func (*Orgs) DeleteTeam ¶
func (_m *Orgs) DeleteTeam(ctx context.Context, orgID int64, teamID int64, opts ...portal.Option) (*portal.TeamOutput, error)
DeleteTeam provides a mock function with given fields: ctx, orgID, teamID, opts
func (*Orgs) GetOrg ¶
func (_m *Orgs) GetOrg(ctx context.Context, id int64, opts ...portal.Option) (*portal.OrgOutput, error)
GetOrg provides a mock function with given fields: ctx, id, opts
func (*Orgs) GetTeam ¶
func (_m *Orgs) GetTeam(ctx context.Context, orgID int64, teamID int64, opts ...portal.Option) (*portal.TeamOutput, error)
GetTeam provides a mock function with given fields: ctx, orgID, teamID, opts
func (*Orgs) ListOrgs ¶
func (_m *Orgs) ListOrgs(ctx context.Context, options *portal.ListOrgsInput, opts ...portal.Option) (*portal.ListOrgsOutput, error)
ListOrgs provides a mock function with given fields: ctx, options, opts
func (*Orgs) ListTeams ¶
func (_m *Orgs) ListTeams(ctx context.Context, orgID int64, options *portal.ListTeamsInput, opts ...portal.Option) (*portal.ListTeamsOutput, error)
ListTeams provides a mock function with given fields: ctx, orgID, options, opts
type Pages ¶
Pages is an autogenerated mock type for the Pages type
func NewPages ¶
NewPages creates a new instance of Pages. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Pages) CreatePage ¶
func (_m *Pages) CreatePage(ctx context.Context, input *portal.PageInput, opts ...portal.Option) (*portal.PageOutput, error)
CreatePage provides a mock function with given fields: ctx, input, opts
func (*Pages) GetPage ¶
func (_m *Pages) GetPage(ctx context.Context, id int64, opts ...portal.Option) (*portal.PageOutput, error)
GetPage provides a mock function with given fields: ctx, id, opts
type Plans ¶
Plans is an autogenerated mock type for the Plans type
func NewPlans ¶
NewPlans creates a new instance of Plans. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Plans) CreatePlan ¶
func (_m *Plans) CreatePlan(ctx context.Context, input *portal.PlanInput, opts ...portal.Option) (*portal.PlanOutput, error)
CreatePlan provides a mock function with given fields: ctx, input, opts
func (*Plans) GetPlan ¶
func (_m *Plans) GetPlan(ctx context.Context, id int64, opts ...portal.Option) (*portal.PlanOutput, error)
GetPlan provides a mock function with given fields: ctx, id, opts
type Products ¶
Products is an autogenerated mock type for the Products type
func NewProducts ¶
NewProducts creates a new instance of Products. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Products) CreateProduct ¶
func (_m *Products) CreateProduct(ctx context.Context, input *portal.ProductInput, opts ...portal.Option) (*portal.ProductOutput, error)
CreateProduct provides a mock function with given fields: ctx, input, opts
func (*Products) GetProduct ¶
func (_m *Products) GetProduct(ctx context.Context, id int64, opts ...portal.Option) (*portal.ProductOutput, error)
GetProduct provides a mock function with given fields: ctx, id, opts
func (*Products) ListProducts ¶
func (_m *Products) ListProducts(ctx context.Context, options *portal.ListProductsInput, opts ...portal.Option) (*portal.ListProductsOutput, error)
ListProducts provides a mock function with given fields: ctx, options, opts
func (*Products) UpdateProduct ¶
func (_m *Products) UpdateProduct(ctx context.Context, id int64, input *portal.ProductInput, opts ...portal.Option) (*portal.ProductOutput, error)
UpdateProduct provides a mock function with given fields: ctx, id, input, opts
type Providers ¶
Providers is an autogenerated mock type for the Providers type
func NewProviders ¶
NewProviders creates a new instance of Providers. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Providers) CreateProvider ¶
func (_m *Providers) CreateProvider(ctx context.Context, input *portal.ProviderInput, opts ...portal.Option) (*portal.ProviderOutput, error)
CreateProvider provides a mock function with given fields: ctx, input, opts
func (*Providers) DeleteProvider ¶
func (_m *Providers) DeleteProvider(ctx context.Context, id int64, opts ...portal.Option) (*portal.ProviderOutput, error)
DeleteProvider provides a mock function with given fields: ctx, id, opts
func (*Providers) GetProvider ¶
func (_m *Providers) GetProvider(ctx context.Context, id int64, opts ...portal.Option) (*portal.ProviderOutput, error)
GetProvider provides a mock function with given fields: ctx, id, opts
func (*Providers) ListProviders ¶
func (_m *Providers) ListProviders(ctx context.Context, options *portal.ListProvidersInput, opts ...portal.Option) (*portal.ListProvidersOutput, error)
ListProviders provides a mock function with given fields: ctx, options, opts
func (*Providers) SyncProvider ¶
func (_m *Providers) SyncProvider(ctx context.Context, id int64, opts ...portal.Option) (*portal.SyncProviderOutput, error)
SyncProvider provides a mock function with given fields: ctx, id, opts
func (*Providers) SyncProviders ¶
func (_m *Providers) SyncProviders(ctx context.Context, opts ...portal.Option) (*portal.SyncProviderOutput, error)
SyncProviders provides a mock function with given fields: ctx, opts
func (*Providers) UpdateProvider ¶
func (_m *Providers) UpdateProvider(ctx context.Context, id int64, input *portal.ProviderInput, opts ...portal.Option) (*portal.ProviderOutput, error)
UpdateProvider provides a mock function with given fields: ctx, id, input, opts
type Users ¶
Users is an autogenerated mock type for the Users type
func NewUsers ¶
NewUsers creates a new instance of Users. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Users) CreateUser ¶
func (_m *Users) CreateUser(ctx context.Context, input *portal.UserInput, opts ...portal.Option) (*portal.UserOutput, error)
CreateUser provides a mock function with given fields: ctx, input, opts
func (*Users) DeleteUser ¶
func (_m *Users) DeleteUser(ctx context.Context, id int64, opts ...portal.Option) (*portal.UserOutput, error)
DeleteUser provides a mock function with given fields: ctx, id, opts
func (*Users) GetUser ¶
func (_m *Users) GetUser(ctx context.Context, id int64, opts ...portal.Option) (*portal.UserOutput, error)
GetUser provides a mock function with given fields: ctx, id, opts