Documentation ¶
Index ¶
- type AuthStore
- type Client
- type DeploymentTargetsService
- func (_m *DeploymentTargetsService) CreateDeploymentTarget(ctx context.Context, namespaceName string, ...) (*appmanagerapi.DeploymentTarget, error)
- func (_m *DeploymentTargetsService) DeleteDeploymentTarget(ctx context.Context, namespaceName string, name string) (*appmanagerapi.DeploymentTarget, error)
- func (_m *DeploymentTargetsService) GetDeploymentTarget(ctx context.Context, namespaceName string, name string) (*appmanagerapi.DeploymentTarget, error)
- type DeploymentsService
- func (_m *DeploymentsService) CreateDeployment(ctx context.Context, namespaceName string, dep appmanagerapi.Deployment) (*appmanagerapi.Deployment, error)
- func (_m *DeploymentsService) DeleteDeployment(ctx context.Context, namespaceName string, id string) (*appmanagerapi.Deployment, error)
- func (_m *DeploymentsService) GetDeployment(ctx context.Context, namespaceName string, id string) (*appmanagerapi.Deployment, error)
- func (_m *DeploymentsService) GetDeploymentByName(ctx context.Context, namespaceName string, name string) (*appmanagerapi.Deployment, error)
- func (_m *DeploymentsService) ListDeployments(ctx context.Context, namespaceName string) (*appmanagerapi.ResourceListOfDeployment, error)
- func (_m *DeploymentsService) UpdateDeployment(ctx context.Context, namespaceName string, id string, ...) (*appmanagerapi.Deployment, error)
- type EventsService
- type SavepointsService
- type TokenManager
- func (_m *TokenManager) CreateToken(ctx context.Context, namespaceName string, name string, role string) (string, error)
- func (_m *TokenManager) RemoveToken(ctx context.Context, namespaceName string, name string) (bool, error)
- func (_m *TokenManager) TokenExists(ctx context.Context, namespaceName string, name string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthStore ¶
AuthStore is an autogenerated mock type for the AuthStore type
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) DeploymentTargets ¶
func (_m *Client) DeploymentTargets() appmanager.DeploymentTargetsService
DeploymentTargets provides a mock function with given fields:
func (*Client) Deployments ¶
func (_m *Client) Deployments() appmanager.DeploymentsService
Deployments provides a mock function with given fields:
func (*Client) Events ¶
func (_m *Client) Events() appmanager.EventsService
Events provides a mock function with given fields:
func (*Client) Savepoints ¶
func (_m *Client) Savepoints() appmanager.SavepointsService
Savepoints provides a mock function with given fields:
type DeploymentTargetsService ¶
DeploymentTargetsService is an autogenerated mock type for the DeploymentTargetsService type
func (*DeploymentTargetsService) CreateDeploymentTarget ¶
func (_m *DeploymentTargetsService) CreateDeploymentTarget(ctx context.Context, namespaceName string, depTarget appmanagerapi.DeploymentTarget) (*appmanagerapi.DeploymentTarget, error)
CreateDeploymentTarget provides a mock function with given fields: ctx, namespaceName, depTarget
func (*DeploymentTargetsService) DeleteDeploymentTarget ¶
func (_m *DeploymentTargetsService) DeleteDeploymentTarget(ctx context.Context, namespaceName string, name string) (*appmanagerapi.DeploymentTarget, error)
DeleteDeploymentTarget provides a mock function with given fields: ctx, namespaceName, name
func (*DeploymentTargetsService) GetDeploymentTarget ¶
func (_m *DeploymentTargetsService) GetDeploymentTarget(ctx context.Context, namespaceName string, name string) (*appmanagerapi.DeploymentTarget, error)
GetDeploymentTarget provides a mock function with given fields: ctx, namespaceName, name
type DeploymentsService ¶
DeploymentsService is an autogenerated mock type for the DeploymentsService type
func (*DeploymentsService) CreateDeployment ¶
func (_m *DeploymentsService) CreateDeployment(ctx context.Context, namespaceName string, dep appmanagerapi.Deployment) (*appmanagerapi.Deployment, error)
CreateDeployment provides a mock function with given fields: ctx, namespaceName, dep
func (*DeploymentsService) DeleteDeployment ¶
func (_m *DeploymentsService) DeleteDeployment(ctx context.Context, namespaceName string, id string) (*appmanagerapi.Deployment, error)
DeleteDeployment provides a mock function with given fields: ctx, namespaceName, id
func (*DeploymentsService) GetDeployment ¶
func (_m *DeploymentsService) GetDeployment(ctx context.Context, namespaceName string, id string) (*appmanagerapi.Deployment, error)
GetDeployment provides a mock function with given fields: ctx, namespaceName, id
func (*DeploymentsService) GetDeploymentByName ¶
func (_m *DeploymentsService) GetDeploymentByName(ctx context.Context, namespaceName string, name string) (*appmanagerapi.Deployment, error)
GetDeploymentByName provides a mock function with given fields: ctx, namespaceName, name
func (*DeploymentsService) ListDeployments ¶
func (_m *DeploymentsService) ListDeployments(ctx context.Context, namespaceName string) (*appmanagerapi.ResourceListOfDeployment, error)
ListDeployments provides a mock function with given fields: ctx, namespaceName
func (*DeploymentsService) UpdateDeployment ¶
func (_m *DeploymentsService) UpdateDeployment(ctx context.Context, namespaceName string, id string, dep appmanagerapi.Deployment) (*appmanagerapi.Deployment, error)
UpdateDeployment provides a mock function with given fields: ctx, namespaceName, id, dep
type EventsService ¶
EventsService is an autogenerated mock type for the EventsService type
func (*EventsService) GetEvents ¶
func (_m *EventsService) GetEvents(ctx context.Context, namespaceName string, opts *appmanager.GetEventsOpts) (*appmanagerapi.ResourceListOfEvent, error)
GetEvents provides a mock function with given fields: ctx, namespaceName, opts
type SavepointsService ¶
SavepointsService is an autogenerated mock type for the SavepointsService type
func (*SavepointsService) CreateSavepoint ¶
func (_m *SavepointsService) CreateSavepoint(ctx context.Context, namespaceName string, savepoint appmanagerapi.Savepoint) (*appmanagerapi.Savepoint, error)
CreateSavepoint provides a mock function with given fields: ctx, namespaceName, savepoint
func (*SavepointsService) GetSavepoint ¶
func (_m *SavepointsService) GetSavepoint(ctx context.Context, namespaceName string, id string) (*appmanagerapi.Savepoint, error)
GetSavepoint provides a mock function with given fields: ctx, namespaceName, id
type TokenManager ¶
TokenManager is an autogenerated mock type for the TokenManager type
func (*TokenManager) CreateToken ¶
func (_m *TokenManager) CreateToken(ctx context.Context, namespaceName string, name string, role string) (string, error)
CreateToken provides a mock function with given fields: ctx, namespaceName, name, role
func (*TokenManager) RemoveToken ¶
func (_m *TokenManager) RemoveToken(ctx context.Context, namespaceName string, name string) (bool, error)
RemoveToken provides a mock function with given fields: ctx, namespaceName, name
func (*TokenManager) TokenExists ¶
func (_m *TokenManager) TokenExists(ctx context.Context, namespaceName string, name string) (bool, error)
TokenExists provides a mock function with given fields: ctx, namespaceName, name