Documentation ¶
Overview ¶
Package mocks Code generated by mockery v1.0.0. DO NOT EDIT. mockery -recursive -dir=vendor/github.com/gambol99/ -name=Marathon -output=provider/marathon/mocks
Index ¶
- type Marathon
- func (_m *Marathon) AbdicateLeader() (string, error)
- func (_m *Marathon) AddEventsListener(filter int) (marathon.EventsChannel, error)
- func (_m *Marathon) AllTasks(opts *marathon.AllTasksOpts) (*marathon.Tasks, error)
- func (_m *Marathon) Application(name string) (*marathon.Application, error)
- func (_m *Marathon) ApplicationBy(name string, opts *marathon.GetAppOpts) (*marathon.Application, error)
- func (_m *Marathon) ApplicationByVersion(name, version string) (*marathon.Application, error)
- func (_m *Marathon) ApplicationDeployments(name string) ([]*marathon.DeploymentID, error)
- func (_m *Marathon) ApplicationOK(name string) (bool, error)
- func (_m *Marathon) ApplicationVersions(name string) (*marathon.ApplicationVersions, error)
- func (_m *Marathon) Applications(_a0 url.Values) (*marathon.Applications, error)
- func (_m *Marathon) CreateApplication(application *marathon.Application) (*marathon.Application, error)
- func (_m *Marathon) CreateGroup(group *marathon.Group) error
- func (_m *Marathon) CreatePod(pod *marathon.Pod) (*marathon.Pod, error)
- func (_m *Marathon) DeleteApplication(name string, force bool) (*marathon.DeploymentID, error)
- func (_m *Marathon) DeleteDeployment(id string, force bool) (*marathon.DeploymentID, error)
- func (_m *Marathon) DeleteGroup(name string, force bool) (*marathon.DeploymentID, error)
- func (_m *Marathon) DeletePod(name string, force bool) (*marathon.DeploymentID, error)
- func (_m *Marathon) DeletePodInstance(name, instance string) (*marathon.PodInstance, error)
- func (_m *Marathon) DeletePodInstances(name string, instances []string) ([]*marathon.PodInstance, error)
- func (_m *Marathon) DeleteQueueDelay(appID string) error
- func (_m *Marathon) Deployments() ([]*marathon.Deployment, error)
- func (_m *Marathon) GetMarathonURL() string
- func (_m *Marathon) Group(name string) (*marathon.Group, error)
- func (_m *Marathon) GroupBy(name string, opts *marathon.GetGroupOpts) (*marathon.Group, error)
- func (_m *Marathon) Groups() (*marathon.Groups, error)
- func (_m *Marathon) GroupsBy(opts *marathon.GetGroupOpts) (*marathon.Groups, error)
- func (_m *Marathon) HasApplicationVersion(name, version string) (bool, error)
- func (_m *Marathon) HasDeployment(id string) (bool, error)
- func (_m *Marathon) HasGroup(name string) (bool, error)
- func (_m *Marathon) Info() (*marathon.Info, error)
- func (_m *Marathon) KillApplicationTasks(applicationID string, opts *marathon.KillApplicationTasksOpts) (*marathon.Tasks, error)
- func (_m *Marathon) KillTask(taskID string, opts *marathon.KillTaskOpts) (*marathon.Task, error)
- func (_m *Marathon) KillTasks(taskIDs []string, opts *marathon.KillTaskOpts) error
- func (_m *Marathon) Leader() (string, error)
- func (_m *Marathon) ListApplications(_a0 url.Values) ([]string, error)
- func (_m *Marathon) Ping() (bool, error)
- func (_m *Marathon) Pod(name string) (*marathon.Pod, error)
- func (_m *Marathon) PodByVersion(name, version string) (*marathon.Pod, error)
- func (_m *Marathon) PodIsRunning(name string) bool
- func (_m *Marathon) PodStatus(name string) (*marathon.PodStatus, error)
- func (_m *Marathon) PodStatuses() ([]*marathon.PodStatus, error)
- func (_m *Marathon) PodVersions(name string) ([]string, error)
- func (_m *Marathon) Pods() ([]marathon.Pod, error)
- func (_m *Marathon) Queue() (*marathon.Queue, error)
- func (_m *Marathon) RemoveEventsListener(channel marathon.EventsChannel)
- func (_m *Marathon) RestartApplication(name string, force bool) (*marathon.DeploymentID, error)
- func (_m *Marathon) ScaleApplicationInstances(name string, instances int, force bool) (*marathon.DeploymentID, error)
- func (_m *Marathon) SetApplicationVersion(name string, version *marathon.ApplicationVersion) (*marathon.DeploymentID, error)
- func (_m *Marathon) Subscribe(_a0 string) error
- func (_m *Marathon) Subscriptions() (*marathon.Subscriptions, error)
- func (_m *Marathon) SupportsPods() (bool, error)
- func (_m *Marathon) TaskEndpoints(name string, port int, healthCheck bool) ([]string, error)
- func (_m *Marathon) Tasks(application string) (*marathon.Tasks, error)
- func (_m *Marathon) Unsubscribe(_a0 string) error
- func (_m *Marathon) UpdateApplication(application *marathon.Application, force bool) (*marathon.DeploymentID, error)
- func (_m *Marathon) UpdateGroup(id string, group *marathon.Group, force bool) (*marathon.DeploymentID, error)
- func (_m *Marathon) UpdatePod(pod *marathon.Pod, force bool) (*marathon.Pod, error)
- func (_m *Marathon) WaitOnApplication(name string, timeout time.Duration) error
- func (_m *Marathon) WaitOnDeployment(id string, timeout time.Duration) error
- func (_m *Marathon) WaitOnGroup(name string, timeout time.Duration) error
- func (_m *Marathon) WaitOnPod(name string, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marathon ¶
Marathon is an autogenerated mock type for the Marathon type
func (*Marathon) AbdicateLeader ¶
AbdicateLeader provides a mock function with given fields:
func (*Marathon) AddEventsListener ¶
AddEventsListener provides a mock function with given fields: filter
func (*Marathon) Application ¶
Application provides a mock function with given fields: name
func (*Marathon) ApplicationBy ¶
func (_m *Marathon) ApplicationBy(name string, opts *marathon.GetAppOpts) (*marathon.Application, error)
ApplicationBy provides a mock function with given fields: name, opts
func (*Marathon) ApplicationByVersion ¶
ApplicationByVersion provides a mock function with given fields: name, version
func (*Marathon) ApplicationDeployments ¶
ApplicationDeployments provides a mock function with given fields: name
func (*Marathon) ApplicationOK ¶
ApplicationOK provides a mock function with given fields: name
func (*Marathon) ApplicationVersions ¶
ApplicationVersions provides a mock function with given fields: name
func (*Marathon) Applications ¶
Applications provides a mock function with given fields: _a0
func (*Marathon) CreateApplication ¶
func (_m *Marathon) CreateApplication(application *marathon.Application) (*marathon.Application, error)
CreateApplication provides a mock function with given fields: application
func (*Marathon) CreateGroup ¶
CreateGroup provides a mock function with given fields: group
func (*Marathon) DeleteApplication ¶
DeleteApplication provides a mock function with given fields: name, force
func (*Marathon) DeleteDeployment ¶
DeleteDeployment provides a mock function with given fields: id, force
func (*Marathon) DeleteGroup ¶
DeleteGroup provides a mock function with given fields: name, force
func (*Marathon) DeletePodInstance ¶
DeletePodInstance provides a mock function with given fields: name, instance
func (*Marathon) DeletePodInstances ¶
func (_m *Marathon) DeletePodInstances(name string, instances []string) ([]*marathon.PodInstance, error)
DeletePodInstances provides a mock function with given fields: name, instances
func (*Marathon) DeleteQueueDelay ¶
DeleteQueueDelay provides a mock function with given fields: appID
func (*Marathon) Deployments ¶
Deployments provides a mock function with given fields:
func (*Marathon) GetMarathonURL ¶
GetMarathonURL provides a mock function with given fields:
func (*Marathon) HasApplicationVersion ¶
HasApplicationVersion provides a mock function with given fields: name, version
func (*Marathon) HasDeployment ¶
HasDeployment provides a mock function with given fields: id
func (*Marathon) KillApplicationTasks ¶
func (_m *Marathon) KillApplicationTasks(applicationID string, opts *marathon.KillApplicationTasksOpts) (*marathon.Tasks, error)
KillApplicationTasks provides a mock function with given fields: applicationID, opts
func (*Marathon) ListApplications ¶
ListApplications provides a mock function with given fields: _a0
func (*Marathon) PodByVersion ¶
PodByVersion provides a mock function with given fields: name, version
func (*Marathon) PodIsRunning ¶
PodIsRunning provides a mock function with given fields: name
func (*Marathon) PodStatuses ¶
PodStatuses provides a mock function with given fields:
func (*Marathon) PodVersions ¶
PodVersions provides a mock function with given fields: name
func (*Marathon) RemoveEventsListener ¶
func (_m *Marathon) RemoveEventsListener(channel marathon.EventsChannel)
RemoveEventsListener provides a mock function with given fields: channel
func (*Marathon) RestartApplication ¶
RestartApplication provides a mock function with given fields: name, force
func (*Marathon) ScaleApplicationInstances ¶
func (_m *Marathon) ScaleApplicationInstances(name string, instances int, force bool) (*marathon.DeploymentID, error)
ScaleApplicationInstances provides a mock function with given fields: name, instances, force
func (*Marathon) SetApplicationVersion ¶
func (_m *Marathon) SetApplicationVersion(name string, version *marathon.ApplicationVersion) (*marathon.DeploymentID, error)
SetApplicationVersion provides a mock function with given fields: name, version
func (*Marathon) Subscriptions ¶
Subscriptions provides a mock function with given fields:
func (*Marathon) SupportsPods ¶
SupportsPods provides a mock function with given fields:
func (*Marathon) TaskEndpoints ¶
TaskEndpoints provides a mock function with given fields: name, port, healthCheck
func (*Marathon) Unsubscribe ¶
Unsubscribe provides a mock function with given fields: _a0
func (*Marathon) UpdateApplication ¶
func (_m *Marathon) UpdateApplication(application *marathon.Application, force bool) (*marathon.DeploymentID, error)
UpdateApplication provides a mock function with given fields: application, force
func (*Marathon) UpdateGroup ¶
func (_m *Marathon) UpdateGroup(id string, group *marathon.Group, force bool) (*marathon.DeploymentID, error)
UpdateGroup provides a mock function with given fields: id, group, force
func (*Marathon) WaitOnApplication ¶
WaitOnApplication provides a mock function with given fields: name, timeout
func (*Marathon) WaitOnDeployment ¶
WaitOnDeployment provides a mock function with given fields: id, timeout
func (*Marathon) WaitOnGroup ¶
WaitOnGroup provides a mock function with given fields: name, timeout