Documentation ¶
Index ¶
- type Client
- func (a *Client) DelayInstance(params *DelayInstanceParams) (*DelayInstanceOK, *DelayInstanceNoContent, error)
- func (a *Client) InstanceSetState(params *InstanceSetStateParams) (*InstanceSetStateOK, error)
- func (a *Client) ListInstances(params *ListInstancesParams) (*ListInstancesOK, error)
- func (a *Client) ListServicesForCluster(params *ListServicesForClusterParams) (*ListServicesForClusterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StatusInstance(params *StatusInstanceParams) (*StatusInstanceOK, error)
- func (a *Client) TaskInstance(params *TaskInstanceParams) (*TaskInstanceOK, error)
- func (a *Client) TasksInstance(params *TasksInstanceParams) (*TasksInstanceOK, error)
- type ClientService
- type DelayInstanceInternalServerError
- type DelayInstanceNoContent
- type DelayInstanceNotFound
- type DelayInstanceOK
- type DelayInstanceParams
- func (o *DelayInstanceParams) SetContext(ctx context.Context)
- func (o *DelayInstanceParams) SetHTTPClient(client *http.Client)
- func (o *DelayInstanceParams) SetInstance(instance string)
- func (o *DelayInstanceParams) SetService(service string)
- func (o *DelayInstanceParams) SetTimeout(timeout time.Duration)
- func (o *DelayInstanceParams) WithContext(ctx context.Context) *DelayInstanceParams
- func (o *DelayInstanceParams) WithHTTPClient(client *http.Client) *DelayInstanceParams
- func (o *DelayInstanceParams) WithInstance(instance string) *DelayInstanceParams
- func (o *DelayInstanceParams) WithService(service string) *DelayInstanceParams
- func (o *DelayInstanceParams) WithTimeout(timeout time.Duration) *DelayInstanceParams
- func (o *DelayInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DelayInstanceReader
- type InstanceSetStateInternalServerError
- type InstanceSetStateNotFound
- type InstanceSetStateOK
- type InstanceSetStateParams
- func NewInstanceSetStateParams() *InstanceSetStateParams
- func NewInstanceSetStateParamsWithContext(ctx context.Context) *InstanceSetStateParams
- func NewInstanceSetStateParamsWithHTTPClient(client *http.Client) *InstanceSetStateParams
- func NewInstanceSetStateParamsWithTimeout(timeout time.Duration) *InstanceSetStateParams
- func (o *InstanceSetStateParams) SetContext(ctx context.Context)
- func (o *InstanceSetStateParams) SetDesiredState(desiredState string)
- func (o *InstanceSetStateParams) SetHTTPClient(client *http.Client)
- func (o *InstanceSetStateParams) SetInstance(instance string)
- func (o *InstanceSetStateParams) SetService(service string)
- func (o *InstanceSetStateParams) SetTimeout(timeout time.Duration)
- func (o *InstanceSetStateParams) WithContext(ctx context.Context) *InstanceSetStateParams
- func (o *InstanceSetStateParams) WithDesiredState(desiredState string) *InstanceSetStateParams
- func (o *InstanceSetStateParams) WithHTTPClient(client *http.Client) *InstanceSetStateParams
- func (o *InstanceSetStateParams) WithInstance(instance string) *InstanceSetStateParams
- func (o *InstanceSetStateParams) WithService(service string) *InstanceSetStateParams
- func (o *InstanceSetStateParams) WithTimeout(timeout time.Duration) *InstanceSetStateParams
- func (o *InstanceSetStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InstanceSetStateReader
- type ListInstancesOK
- type ListInstancesOKBody
- type ListInstancesParams
- func (o *ListInstancesParams) SetContext(ctx context.Context)
- func (o *ListInstancesParams) SetHTTPClient(client *http.Client)
- func (o *ListInstancesParams) SetService(service string)
- func (o *ListInstancesParams) SetTimeout(timeout time.Duration)
- func (o *ListInstancesParams) WithContext(ctx context.Context) *ListInstancesParams
- func (o *ListInstancesParams) WithHTTPClient(client *http.Client) *ListInstancesParams
- func (o *ListInstancesParams) WithService(service string) *ListInstancesParams
- func (o *ListInstancesParams) WithTimeout(timeout time.Duration) *ListInstancesParams
- func (o *ListInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListInstancesReader
- type ListServicesForClusterOK
- type ListServicesForClusterOKBody
- type ListServicesForClusterParams
- func NewListServicesForClusterParams() *ListServicesForClusterParams
- func NewListServicesForClusterParamsWithContext(ctx context.Context) *ListServicesForClusterParams
- func NewListServicesForClusterParamsWithHTTPClient(client *http.Client) *ListServicesForClusterParams
- func NewListServicesForClusterParamsWithTimeout(timeout time.Duration) *ListServicesForClusterParams
- func (o *ListServicesForClusterParams) SetContext(ctx context.Context)
- func (o *ListServicesForClusterParams) SetHTTPClient(client *http.Client)
- func (o *ListServicesForClusterParams) SetTimeout(timeout time.Duration)
- func (o *ListServicesForClusterParams) WithContext(ctx context.Context) *ListServicesForClusterParams
- func (o *ListServicesForClusterParams) WithHTTPClient(client *http.Client) *ListServicesForClusterParams
- func (o *ListServicesForClusterParams) WithTimeout(timeout time.Duration) *ListServicesForClusterParams
- func (o *ListServicesForClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicesForClusterReader
- type StatusInstanceInternalServerError
- type StatusInstanceNotFound
- type StatusInstanceOK
- type StatusInstanceParams
- func NewStatusInstanceParams() *StatusInstanceParams
- func NewStatusInstanceParamsWithContext(ctx context.Context) *StatusInstanceParams
- func NewStatusInstanceParamsWithHTTPClient(client *http.Client) *StatusInstanceParams
- func NewStatusInstanceParamsWithTimeout(timeout time.Duration) *StatusInstanceParams
- func (o *StatusInstanceParams) SetContext(ctx context.Context)
- func (o *StatusInstanceParams) SetHTTPClient(client *http.Client)
- func (o *StatusInstanceParams) SetIncludeEnvoy(includeEnvoy *bool)
- func (o *StatusInstanceParams) SetIncludeMesos(includeMesos *bool)
- func (o *StatusInstanceParams) SetIncludeSmartstack(includeSmartstack *bool)
- func (o *StatusInstanceParams) SetInstance(instance string)
- func (o *StatusInstanceParams) SetService(service string)
- func (o *StatusInstanceParams) SetTimeout(timeout time.Duration)
- func (o *StatusInstanceParams) SetVerbose(verbose *int32)
- func (o *StatusInstanceParams) WithContext(ctx context.Context) *StatusInstanceParams
- func (o *StatusInstanceParams) WithHTTPClient(client *http.Client) *StatusInstanceParams
- func (o *StatusInstanceParams) WithIncludeEnvoy(includeEnvoy *bool) *StatusInstanceParams
- func (o *StatusInstanceParams) WithIncludeMesos(includeMesos *bool) *StatusInstanceParams
- func (o *StatusInstanceParams) WithIncludeSmartstack(includeSmartstack *bool) *StatusInstanceParams
- func (o *StatusInstanceParams) WithInstance(instance string) *StatusInstanceParams
- func (o *StatusInstanceParams) WithService(service string) *StatusInstanceParams
- func (o *StatusInstanceParams) WithTimeout(timeout time.Duration) *StatusInstanceParams
- func (o *StatusInstanceParams) WithVerbose(verbose *int32) *StatusInstanceParams
- func (o *StatusInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusInstanceReader
- type TaskInstanceBadRequest
- type TaskInstanceInternalServerError
- type TaskInstanceNotFound
- type TaskInstanceOK
- type TaskInstanceParams
- func (o *TaskInstanceParams) SetContext(ctx context.Context)
- func (o *TaskInstanceParams) SetHTTPClient(client *http.Client)
- func (o *TaskInstanceParams) SetInstance(instance string)
- func (o *TaskInstanceParams) SetService(service string)
- func (o *TaskInstanceParams) SetTaskID(taskID string)
- func (o *TaskInstanceParams) SetTimeout(timeout time.Duration)
- func (o *TaskInstanceParams) SetVerbose(verbose *bool)
- func (o *TaskInstanceParams) WithContext(ctx context.Context) *TaskInstanceParams
- func (o *TaskInstanceParams) WithHTTPClient(client *http.Client) *TaskInstanceParams
- func (o *TaskInstanceParams) WithInstance(instance string) *TaskInstanceParams
- func (o *TaskInstanceParams) WithService(service string) *TaskInstanceParams
- func (o *TaskInstanceParams) WithTaskID(taskID string) *TaskInstanceParams
- func (o *TaskInstanceParams) WithTimeout(timeout time.Duration) *TaskInstanceParams
- func (o *TaskInstanceParams) WithVerbose(verbose *bool) *TaskInstanceParams
- func (o *TaskInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TaskInstanceReader
- type TasksInstanceBadRequest
- type TasksInstanceInternalServerError
- type TasksInstanceNotFound
- type TasksInstanceOK
- type TasksInstanceParams
- func (o *TasksInstanceParams) SetContext(ctx context.Context)
- func (o *TasksInstanceParams) SetHTTPClient(client *http.Client)
- func (o *TasksInstanceParams) SetInstance(instance string)
- func (o *TasksInstanceParams) SetService(service string)
- func (o *TasksInstanceParams) SetSlaveHostname(slaveHostname *string)
- func (o *TasksInstanceParams) SetTimeout(timeout time.Duration)
- func (o *TasksInstanceParams) SetVerbose(verbose *bool)
- func (o *TasksInstanceParams) WithContext(ctx context.Context) *TasksInstanceParams
- func (o *TasksInstanceParams) WithHTTPClient(client *http.Client) *TasksInstanceParams
- func (o *TasksInstanceParams) WithInstance(instance string) *TasksInstanceParams
- func (o *TasksInstanceParams) WithService(service string) *TasksInstanceParams
- func (o *TasksInstanceParams) WithSlaveHostname(slaveHostname *string) *TasksInstanceParams
- func (o *TasksInstanceParams) WithTimeout(timeout time.Duration) *TasksInstanceParams
- func (o *TasksInstanceParams) WithVerbose(verbose *bool) *TasksInstanceParams
- func (o *TasksInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TasksInstanceReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for service API
func (*Client) DelayInstance ¶
func (a *Client) DelayInstance(params *DelayInstanceParams) (*DelayInstanceOK, *DelayInstanceNoContent, error)
DelayInstance gets the possible reasons for a deployment delay for a marathon service instance
func (*Client) InstanceSetState ¶
func (a *Client) InstanceSetState(params *InstanceSetStateParams) (*InstanceSetStateOK, error)
InstanceSetState changes state of service name instance name
func (*Client) ListInstances ¶
func (a *Client) ListInstances(params *ListInstancesParams) (*ListInstancesOK, error)
ListInstances lists instances of service name
func (*Client) ListServicesForCluster ¶
func (a *Client) ListServicesForCluster(params *ListServicesForClusterParams) (*ListServicesForClusterOK, error)
ListServicesForCluster lists service names and service instance names on the current cluster
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StatusInstance ¶
func (a *Client) StatusInstance(params *StatusInstanceParams) (*StatusInstanceOK, error)
StatusInstance gets status of service name instance name
func (*Client) TaskInstance ¶
func (a *Client) TaskInstance(params *TaskInstanceParams) (*TaskInstanceOK, error)
TaskInstance gets mesos task of service name instance name by task id
func (*Client) TasksInstance ¶
func (a *Client) TasksInstance(params *TasksInstanceParams) (*TasksInstanceOK, error)
TasksInstance gets mesos tasks of service name instance name
type ClientService ¶
type ClientService interface { DelayInstance(params *DelayInstanceParams) (*DelayInstanceOK, *DelayInstanceNoContent, error) InstanceSetState(params *InstanceSetStateParams) (*InstanceSetStateOK, error) ListInstances(params *ListInstancesParams) (*ListInstancesOK, error) ListServicesForCluster(params *ListServicesForClusterParams) (*ListServicesForClusterOK, error) StatusInstance(params *StatusInstanceParams) (*StatusInstanceOK, error) TaskInstance(params *TaskInstanceParams) (*TaskInstanceOK, error) TasksInstance(params *TasksInstanceParams) (*TasksInstanceOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new service API client.
type DelayInstanceInternalServerError ¶
type DelayInstanceInternalServerError struct { }
DelayInstanceInternalServerError handles this case with default header values.
Instance failure
func NewDelayInstanceInternalServerError ¶
func NewDelayInstanceInternalServerError() *DelayInstanceInternalServerError
NewDelayInstanceInternalServerError creates a DelayInstanceInternalServerError with default headers values
func (*DelayInstanceInternalServerError) Error ¶
func (o *DelayInstanceInternalServerError) Error() string
type DelayInstanceNoContent ¶
type DelayInstanceNoContent struct { }
DelayInstanceNoContent handles this case with default header values.
Could not find any reasons for a delay
func NewDelayInstanceNoContent ¶
func NewDelayInstanceNoContent() *DelayInstanceNoContent
NewDelayInstanceNoContent creates a DelayInstanceNoContent with default headers values
func (*DelayInstanceNoContent) Error ¶
func (o *DelayInstanceNoContent) Error() string
type DelayInstanceNotFound ¶
type DelayInstanceNotFound struct { }
DelayInstanceNotFound handles this case with default header values.
Deployment key not found
func NewDelayInstanceNotFound ¶
func NewDelayInstanceNotFound() *DelayInstanceNotFound
NewDelayInstanceNotFound creates a DelayInstanceNotFound with default headers values
func (*DelayInstanceNotFound) Error ¶
func (o *DelayInstanceNotFound) Error() string
type DelayInstanceOK ¶
type DelayInstanceOK struct {
Payload models.InstanceDelay
}
DelayInstanceOK handles this case with default header values.
The service is delayed for these possible reasons
func NewDelayInstanceOK ¶
func NewDelayInstanceOK() *DelayInstanceOK
NewDelayInstanceOK creates a DelayInstanceOK with default headers values
func (*DelayInstanceOK) Error ¶
func (o *DelayInstanceOK) Error() string
func (*DelayInstanceOK) GetPayload ¶
func (o *DelayInstanceOK) GetPayload() models.InstanceDelay
type DelayInstanceParams ¶
type DelayInstanceParams struct { /*Instance Instance name */ Instance string /*Service Service name */ Service string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DelayInstanceParams contains all the parameters to send to the API endpoint for the delay instance operation typically these are written to a http.Request
func NewDelayInstanceParams ¶
func NewDelayInstanceParams() *DelayInstanceParams
NewDelayInstanceParams creates a new DelayInstanceParams object with the default values initialized.
func NewDelayInstanceParamsWithContext ¶
func NewDelayInstanceParamsWithContext(ctx context.Context) *DelayInstanceParams
NewDelayInstanceParamsWithContext creates a new DelayInstanceParams object with the default values initialized, and the ability to set a context for a request
func NewDelayInstanceParamsWithHTTPClient ¶
func NewDelayInstanceParamsWithHTTPClient(client *http.Client) *DelayInstanceParams
NewDelayInstanceParamsWithHTTPClient creates a new DelayInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDelayInstanceParamsWithTimeout ¶
func NewDelayInstanceParamsWithTimeout(timeout time.Duration) *DelayInstanceParams
NewDelayInstanceParamsWithTimeout creates a new DelayInstanceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DelayInstanceParams) SetContext ¶
func (o *DelayInstanceParams) SetContext(ctx context.Context)
SetContext adds the context to the delay instance params
func (*DelayInstanceParams) SetHTTPClient ¶
func (o *DelayInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delay instance params
func (*DelayInstanceParams) SetInstance ¶
func (o *DelayInstanceParams) SetInstance(instance string)
SetInstance adds the instance to the delay instance params
func (*DelayInstanceParams) SetService ¶
func (o *DelayInstanceParams) SetService(service string)
SetService adds the service to the delay instance params
func (*DelayInstanceParams) SetTimeout ¶
func (o *DelayInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delay instance params
func (*DelayInstanceParams) WithContext ¶
func (o *DelayInstanceParams) WithContext(ctx context.Context) *DelayInstanceParams
WithContext adds the context to the delay instance params
func (*DelayInstanceParams) WithHTTPClient ¶
func (o *DelayInstanceParams) WithHTTPClient(client *http.Client) *DelayInstanceParams
WithHTTPClient adds the HTTPClient to the delay instance params
func (*DelayInstanceParams) WithInstance ¶
func (o *DelayInstanceParams) WithInstance(instance string) *DelayInstanceParams
WithInstance adds the instance to the delay instance params
func (*DelayInstanceParams) WithService ¶
func (o *DelayInstanceParams) WithService(service string) *DelayInstanceParams
WithService adds the service to the delay instance params
func (*DelayInstanceParams) WithTimeout ¶
func (o *DelayInstanceParams) WithTimeout(timeout time.Duration) *DelayInstanceParams
WithTimeout adds the timeout to the delay instance params
func (*DelayInstanceParams) WriteToRequest ¶
func (o *DelayInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DelayInstanceReader ¶
type DelayInstanceReader struct {
// contains filtered or unexported fields
}
DelayInstanceReader is a Reader for the DelayInstance structure.
func (*DelayInstanceReader) ReadResponse ¶
func (o *DelayInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InstanceSetStateInternalServerError ¶
type InstanceSetStateInternalServerError struct { }
InstanceSetStateInternalServerError handles this case with default header values.
Instance failure
func NewInstanceSetStateInternalServerError ¶
func NewInstanceSetStateInternalServerError() *InstanceSetStateInternalServerError
NewInstanceSetStateInternalServerError creates a InstanceSetStateInternalServerError with default headers values
func (*InstanceSetStateInternalServerError) Error ¶
func (o *InstanceSetStateInternalServerError) Error() string
type InstanceSetStateNotFound ¶
type InstanceSetStateNotFound struct { }
InstanceSetStateNotFound handles this case with default header values.
Deployment key not found
func NewInstanceSetStateNotFound ¶
func NewInstanceSetStateNotFound() *InstanceSetStateNotFound
NewInstanceSetStateNotFound creates a InstanceSetStateNotFound with default headers values
func (*InstanceSetStateNotFound) Error ¶
func (o *InstanceSetStateNotFound) Error() string
type InstanceSetStateOK ¶
type InstanceSetStateOK struct { }
InstanceSetStateOK handles this case with default header values.
Result of instance state change
func NewInstanceSetStateOK ¶
func NewInstanceSetStateOK() *InstanceSetStateOK
NewInstanceSetStateOK creates a InstanceSetStateOK with default headers values
func (*InstanceSetStateOK) Error ¶
func (o *InstanceSetStateOK) Error() string
type InstanceSetStateParams ¶
type InstanceSetStateParams struct { /*DesiredState Desired state */ DesiredState string /*Instance Instance name */ Instance string /*Service Service name */ Service string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InstanceSetStateParams contains all the parameters to send to the API endpoint for the instance set state operation typically these are written to a http.Request
func NewInstanceSetStateParams ¶
func NewInstanceSetStateParams() *InstanceSetStateParams
NewInstanceSetStateParams creates a new InstanceSetStateParams object with the default values initialized.
func NewInstanceSetStateParamsWithContext ¶
func NewInstanceSetStateParamsWithContext(ctx context.Context) *InstanceSetStateParams
NewInstanceSetStateParamsWithContext creates a new InstanceSetStateParams object with the default values initialized, and the ability to set a context for a request
func NewInstanceSetStateParamsWithHTTPClient ¶
func NewInstanceSetStateParamsWithHTTPClient(client *http.Client) *InstanceSetStateParams
NewInstanceSetStateParamsWithHTTPClient creates a new InstanceSetStateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInstanceSetStateParamsWithTimeout ¶
func NewInstanceSetStateParamsWithTimeout(timeout time.Duration) *InstanceSetStateParams
NewInstanceSetStateParamsWithTimeout creates a new InstanceSetStateParams object with the default values initialized, and the ability to set a timeout on a request
func (*InstanceSetStateParams) SetContext ¶
func (o *InstanceSetStateParams) SetContext(ctx context.Context)
SetContext adds the context to the instance set state params
func (*InstanceSetStateParams) SetDesiredState ¶
func (o *InstanceSetStateParams) SetDesiredState(desiredState string)
SetDesiredState adds the desiredState to the instance set state params
func (*InstanceSetStateParams) SetHTTPClient ¶
func (o *InstanceSetStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the instance set state params
func (*InstanceSetStateParams) SetInstance ¶
func (o *InstanceSetStateParams) SetInstance(instance string)
SetInstance adds the instance to the instance set state params
func (*InstanceSetStateParams) SetService ¶
func (o *InstanceSetStateParams) SetService(service string)
SetService adds the service to the instance set state params
func (*InstanceSetStateParams) SetTimeout ¶
func (o *InstanceSetStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the instance set state params
func (*InstanceSetStateParams) WithContext ¶
func (o *InstanceSetStateParams) WithContext(ctx context.Context) *InstanceSetStateParams
WithContext adds the context to the instance set state params
func (*InstanceSetStateParams) WithDesiredState ¶
func (o *InstanceSetStateParams) WithDesiredState(desiredState string) *InstanceSetStateParams
WithDesiredState adds the desiredState to the instance set state params
func (*InstanceSetStateParams) WithHTTPClient ¶
func (o *InstanceSetStateParams) WithHTTPClient(client *http.Client) *InstanceSetStateParams
WithHTTPClient adds the HTTPClient to the instance set state params
func (*InstanceSetStateParams) WithInstance ¶
func (o *InstanceSetStateParams) WithInstance(instance string) *InstanceSetStateParams
WithInstance adds the instance to the instance set state params
func (*InstanceSetStateParams) WithService ¶
func (o *InstanceSetStateParams) WithService(service string) *InstanceSetStateParams
WithService adds the service to the instance set state params
func (*InstanceSetStateParams) WithTimeout ¶
func (o *InstanceSetStateParams) WithTimeout(timeout time.Duration) *InstanceSetStateParams
WithTimeout adds the timeout to the instance set state params
func (*InstanceSetStateParams) WriteToRequest ¶
func (o *InstanceSetStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InstanceSetStateReader ¶
type InstanceSetStateReader struct {
// contains filtered or unexported fields
}
InstanceSetStateReader is a Reader for the InstanceSetState structure.
func (*InstanceSetStateReader) ReadResponse ¶
func (o *InstanceSetStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListInstancesOK ¶
type ListInstancesOK struct {
Payload *ListInstancesOKBody
}
ListInstancesOK handles this case with default header values.
Instances of a service
func NewListInstancesOK ¶
func NewListInstancesOK() *ListInstancesOK
NewListInstancesOK creates a ListInstancesOK with default headers values
func (*ListInstancesOK) Error ¶
func (o *ListInstancesOK) Error() string
func (*ListInstancesOK) GetPayload ¶
func (o *ListInstancesOK) GetPayload() *ListInstancesOKBody
type ListInstancesOKBody ¶
type ListInstancesOKBody struct { // instances Instances []string `json:"instances"` }
ListInstancesOKBody list instances o k body swagger:model ListInstancesOKBody
func (*ListInstancesOKBody) MarshalBinary ¶
func (o *ListInstancesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListInstancesOKBody) UnmarshalBinary ¶
func (o *ListInstancesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListInstancesParams ¶
type ListInstancesParams struct { /*Service Service name */ Service string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListInstancesParams contains all the parameters to send to the API endpoint for the list instances operation typically these are written to a http.Request
func NewListInstancesParams ¶
func NewListInstancesParams() *ListInstancesParams
NewListInstancesParams creates a new ListInstancesParams object with the default values initialized.
func NewListInstancesParamsWithContext ¶
func NewListInstancesParamsWithContext(ctx context.Context) *ListInstancesParams
NewListInstancesParamsWithContext creates a new ListInstancesParams object with the default values initialized, and the ability to set a context for a request
func NewListInstancesParamsWithHTTPClient ¶
func NewListInstancesParamsWithHTTPClient(client *http.Client) *ListInstancesParams
NewListInstancesParamsWithHTTPClient creates a new ListInstancesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListInstancesParamsWithTimeout ¶
func NewListInstancesParamsWithTimeout(timeout time.Duration) *ListInstancesParams
NewListInstancesParamsWithTimeout creates a new ListInstancesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListInstancesParams) SetContext ¶
func (o *ListInstancesParams) SetContext(ctx context.Context)
SetContext adds the context to the list instances params
func (*ListInstancesParams) SetHTTPClient ¶
func (o *ListInstancesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list instances params
func (*ListInstancesParams) SetService ¶
func (o *ListInstancesParams) SetService(service string)
SetService adds the service to the list instances params
func (*ListInstancesParams) SetTimeout ¶
func (o *ListInstancesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list instances params
func (*ListInstancesParams) WithContext ¶
func (o *ListInstancesParams) WithContext(ctx context.Context) *ListInstancesParams
WithContext adds the context to the list instances params
func (*ListInstancesParams) WithHTTPClient ¶
func (o *ListInstancesParams) WithHTTPClient(client *http.Client) *ListInstancesParams
WithHTTPClient adds the HTTPClient to the list instances params
func (*ListInstancesParams) WithService ¶
func (o *ListInstancesParams) WithService(service string) *ListInstancesParams
WithService adds the service to the list instances params
func (*ListInstancesParams) WithTimeout ¶
func (o *ListInstancesParams) WithTimeout(timeout time.Duration) *ListInstancesParams
WithTimeout adds the timeout to the list instances params
func (*ListInstancesParams) WriteToRequest ¶
func (o *ListInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListInstancesReader ¶
type ListInstancesReader struct {
// contains filtered or unexported fields
}
ListInstancesReader is a Reader for the ListInstances structure.
func (*ListInstancesReader) ReadResponse ¶
func (o *ListInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicesForClusterOK ¶
type ListServicesForClusterOK struct {
Payload *ListServicesForClusterOKBody
}
ListServicesForClusterOK handles this case with default header values.
Services and their instances on the current cluster
func NewListServicesForClusterOK ¶
func NewListServicesForClusterOK() *ListServicesForClusterOK
NewListServicesForClusterOK creates a ListServicesForClusterOK with default headers values
func (*ListServicesForClusterOK) Error ¶
func (o *ListServicesForClusterOK) Error() string
func (*ListServicesForClusterOK) GetPayload ¶
func (o *ListServicesForClusterOK) GetPayload() *ListServicesForClusterOKBody
type ListServicesForClusterOKBody ¶
type ListServicesForClusterOKBody struct {
// services
Services [][]interface{} `json:"services"`
}
ListServicesForClusterOKBody list services for cluster o k body swagger:model ListServicesForClusterOKBody
func (*ListServicesForClusterOKBody) MarshalBinary ¶
func (o *ListServicesForClusterOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListServicesForClusterOKBody) UnmarshalBinary ¶
func (o *ListServicesForClusterOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListServicesForClusterParams ¶
type ListServicesForClusterParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicesForClusterParams contains all the parameters to send to the API endpoint for the list services for cluster operation typically these are written to a http.Request
func NewListServicesForClusterParams ¶
func NewListServicesForClusterParams() *ListServicesForClusterParams
NewListServicesForClusterParams creates a new ListServicesForClusterParams object with the default values initialized.
func NewListServicesForClusterParamsWithContext ¶
func NewListServicesForClusterParamsWithContext(ctx context.Context) *ListServicesForClusterParams
NewListServicesForClusterParamsWithContext creates a new ListServicesForClusterParams object with the default values initialized, and the ability to set a context for a request
func NewListServicesForClusterParamsWithHTTPClient ¶
func NewListServicesForClusterParamsWithHTTPClient(client *http.Client) *ListServicesForClusterParams
NewListServicesForClusterParamsWithHTTPClient creates a new ListServicesForClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServicesForClusterParamsWithTimeout ¶
func NewListServicesForClusterParamsWithTimeout(timeout time.Duration) *ListServicesForClusterParams
NewListServicesForClusterParamsWithTimeout creates a new ListServicesForClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServicesForClusterParams) SetContext ¶
func (o *ListServicesForClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the list services for cluster params
func (*ListServicesForClusterParams) SetHTTPClient ¶
func (o *ListServicesForClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list services for cluster params
func (*ListServicesForClusterParams) SetTimeout ¶
func (o *ListServicesForClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list services for cluster params
func (*ListServicesForClusterParams) WithContext ¶
func (o *ListServicesForClusterParams) WithContext(ctx context.Context) *ListServicesForClusterParams
WithContext adds the context to the list services for cluster params
func (*ListServicesForClusterParams) WithHTTPClient ¶
func (o *ListServicesForClusterParams) WithHTTPClient(client *http.Client) *ListServicesForClusterParams
WithHTTPClient adds the HTTPClient to the list services for cluster params
func (*ListServicesForClusterParams) WithTimeout ¶
func (o *ListServicesForClusterParams) WithTimeout(timeout time.Duration) *ListServicesForClusterParams
WithTimeout adds the timeout to the list services for cluster params
func (*ListServicesForClusterParams) WriteToRequest ¶
func (o *ListServicesForClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicesForClusterReader ¶
type ListServicesForClusterReader struct {
// contains filtered or unexported fields
}
ListServicesForClusterReader is a Reader for the ListServicesForCluster structure.
func (*ListServicesForClusterReader) ReadResponse ¶
func (o *ListServicesForClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StatusInstanceInternalServerError ¶
type StatusInstanceInternalServerError struct { }
StatusInstanceInternalServerError handles this case with default header values.
Instance failure
func NewStatusInstanceInternalServerError ¶
func NewStatusInstanceInternalServerError() *StatusInstanceInternalServerError
NewStatusInstanceInternalServerError creates a StatusInstanceInternalServerError with default headers values
func (*StatusInstanceInternalServerError) Error ¶
func (o *StatusInstanceInternalServerError) Error() string
type StatusInstanceNotFound ¶
type StatusInstanceNotFound struct { }
StatusInstanceNotFound handles this case with default header values.
Deployment key not found
func NewStatusInstanceNotFound ¶
func NewStatusInstanceNotFound() *StatusInstanceNotFound
NewStatusInstanceNotFound creates a StatusInstanceNotFound with default headers values
func (*StatusInstanceNotFound) Error ¶
func (o *StatusInstanceNotFound) Error() string
type StatusInstanceOK ¶
type StatusInstanceOK struct {
Payload *models.InstanceStatus
}
StatusInstanceOK handles this case with default header values.
Detailed status of an instance
func NewStatusInstanceOK ¶
func NewStatusInstanceOK() *StatusInstanceOK
NewStatusInstanceOK creates a StatusInstanceOK with default headers values
func (*StatusInstanceOK) Error ¶
func (o *StatusInstanceOK) Error() string
func (*StatusInstanceOK) GetPayload ¶
func (o *StatusInstanceOK) GetPayload() *models.InstanceStatus
type StatusInstanceParams ¶
type StatusInstanceParams struct { /*IncludeEnvoy Include Envoy information */ IncludeEnvoy *bool /*IncludeMesos Include Mesos information */ IncludeMesos *bool /*IncludeSmartstack Include Smartstack information */ IncludeSmartstack *bool /*Instance Instance name */ Instance string /*Service Service name */ Service string /*Verbose Include verbose status information */ Verbose *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StatusInstanceParams contains all the parameters to send to the API endpoint for the status instance operation typically these are written to a http.Request
func NewStatusInstanceParams ¶
func NewStatusInstanceParams() *StatusInstanceParams
NewStatusInstanceParams creates a new StatusInstanceParams object with the default values initialized.
func NewStatusInstanceParamsWithContext ¶
func NewStatusInstanceParamsWithContext(ctx context.Context) *StatusInstanceParams
NewStatusInstanceParamsWithContext creates a new StatusInstanceParams object with the default values initialized, and the ability to set a context for a request
func NewStatusInstanceParamsWithHTTPClient ¶
func NewStatusInstanceParamsWithHTTPClient(client *http.Client) *StatusInstanceParams
NewStatusInstanceParamsWithHTTPClient creates a new StatusInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStatusInstanceParamsWithTimeout ¶
func NewStatusInstanceParamsWithTimeout(timeout time.Duration) *StatusInstanceParams
NewStatusInstanceParamsWithTimeout creates a new StatusInstanceParams object with the default values initialized, and the ability to set a timeout on a request
func (*StatusInstanceParams) SetContext ¶
func (o *StatusInstanceParams) SetContext(ctx context.Context)
SetContext adds the context to the status instance params
func (*StatusInstanceParams) SetHTTPClient ¶
func (o *StatusInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the status instance params
func (*StatusInstanceParams) SetIncludeEnvoy ¶
func (o *StatusInstanceParams) SetIncludeEnvoy(includeEnvoy *bool)
SetIncludeEnvoy adds the includeEnvoy to the status instance params
func (*StatusInstanceParams) SetIncludeMesos ¶
func (o *StatusInstanceParams) SetIncludeMesos(includeMesos *bool)
SetIncludeMesos adds the includeMesos to the status instance params
func (*StatusInstanceParams) SetIncludeSmartstack ¶
func (o *StatusInstanceParams) SetIncludeSmartstack(includeSmartstack *bool)
SetIncludeSmartstack adds the includeSmartstack to the status instance params
func (*StatusInstanceParams) SetInstance ¶
func (o *StatusInstanceParams) SetInstance(instance string)
SetInstance adds the instance to the status instance params
func (*StatusInstanceParams) SetService ¶
func (o *StatusInstanceParams) SetService(service string)
SetService adds the service to the status instance params
func (*StatusInstanceParams) SetTimeout ¶
func (o *StatusInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the status instance params
func (*StatusInstanceParams) SetVerbose ¶
func (o *StatusInstanceParams) SetVerbose(verbose *int32)
SetVerbose adds the verbose to the status instance params
func (*StatusInstanceParams) WithContext ¶
func (o *StatusInstanceParams) WithContext(ctx context.Context) *StatusInstanceParams
WithContext adds the context to the status instance params
func (*StatusInstanceParams) WithHTTPClient ¶
func (o *StatusInstanceParams) WithHTTPClient(client *http.Client) *StatusInstanceParams
WithHTTPClient adds the HTTPClient to the status instance params
func (*StatusInstanceParams) WithIncludeEnvoy ¶
func (o *StatusInstanceParams) WithIncludeEnvoy(includeEnvoy *bool) *StatusInstanceParams
WithIncludeEnvoy adds the includeEnvoy to the status instance params
func (*StatusInstanceParams) WithIncludeMesos ¶
func (o *StatusInstanceParams) WithIncludeMesos(includeMesos *bool) *StatusInstanceParams
WithIncludeMesos adds the includeMesos to the status instance params
func (*StatusInstanceParams) WithIncludeSmartstack ¶
func (o *StatusInstanceParams) WithIncludeSmartstack(includeSmartstack *bool) *StatusInstanceParams
WithIncludeSmartstack adds the includeSmartstack to the status instance params
func (*StatusInstanceParams) WithInstance ¶
func (o *StatusInstanceParams) WithInstance(instance string) *StatusInstanceParams
WithInstance adds the instance to the status instance params
func (*StatusInstanceParams) WithService ¶
func (o *StatusInstanceParams) WithService(service string) *StatusInstanceParams
WithService adds the service to the status instance params
func (*StatusInstanceParams) WithTimeout ¶
func (o *StatusInstanceParams) WithTimeout(timeout time.Duration) *StatusInstanceParams
WithTimeout adds the timeout to the status instance params
func (*StatusInstanceParams) WithVerbose ¶
func (o *StatusInstanceParams) WithVerbose(verbose *int32) *StatusInstanceParams
WithVerbose adds the verbose to the status instance params
func (*StatusInstanceParams) WriteToRequest ¶
func (o *StatusInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StatusInstanceReader ¶
type StatusInstanceReader struct {
// contains filtered or unexported fields
}
StatusInstanceReader is a Reader for the StatusInstance structure.
func (*StatusInstanceReader) ReadResponse ¶
func (o *StatusInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TaskInstanceBadRequest ¶
type TaskInstanceBadRequest struct { }
TaskInstanceBadRequest handles this case with default header values.
Bad request
func NewTaskInstanceBadRequest ¶
func NewTaskInstanceBadRequest() *TaskInstanceBadRequest
NewTaskInstanceBadRequest creates a TaskInstanceBadRequest with default headers values
func (*TaskInstanceBadRequest) Error ¶
func (o *TaskInstanceBadRequest) Error() string
type TaskInstanceInternalServerError ¶
type TaskInstanceInternalServerError struct { }
TaskInstanceInternalServerError handles this case with default header values.
Instance failure
func NewTaskInstanceInternalServerError ¶
func NewTaskInstanceInternalServerError() *TaskInstanceInternalServerError
NewTaskInstanceInternalServerError creates a TaskInstanceInternalServerError with default headers values
func (*TaskInstanceInternalServerError) Error ¶
func (o *TaskInstanceInternalServerError) Error() string
type TaskInstanceNotFound ¶
type TaskInstanceNotFound struct { }
TaskInstanceNotFound handles this case with default header values.
Task with ID not found
func NewTaskInstanceNotFound ¶
func NewTaskInstanceNotFound() *TaskInstanceNotFound
NewTaskInstanceNotFound creates a TaskInstanceNotFound with default headers values
func (*TaskInstanceNotFound) Error ¶
func (o *TaskInstanceNotFound) Error() string
type TaskInstanceOK ¶
type TaskInstanceOK struct {
Payload models.InstanceTask
}
TaskInstanceOK handles this case with default header values.
Task associated with an instance with specified ID
func NewTaskInstanceOK ¶
func NewTaskInstanceOK() *TaskInstanceOK
NewTaskInstanceOK creates a TaskInstanceOK with default headers values
func (*TaskInstanceOK) Error ¶
func (o *TaskInstanceOK) Error() string
func (*TaskInstanceOK) GetPayload ¶
func (o *TaskInstanceOK) GetPayload() models.InstanceTask
type TaskInstanceParams ¶
type TaskInstanceParams struct { /*Instance Instance name */ Instance string /*Service Service name */ Service string /*TaskID mesos task id */ TaskID string /*Verbose Return slave and executor for task */ Verbose *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TaskInstanceParams contains all the parameters to send to the API endpoint for the task instance operation typically these are written to a http.Request
func NewTaskInstanceParams ¶
func NewTaskInstanceParams() *TaskInstanceParams
NewTaskInstanceParams creates a new TaskInstanceParams object with the default values initialized.
func NewTaskInstanceParamsWithContext ¶
func NewTaskInstanceParamsWithContext(ctx context.Context) *TaskInstanceParams
NewTaskInstanceParamsWithContext creates a new TaskInstanceParams object with the default values initialized, and the ability to set a context for a request
func NewTaskInstanceParamsWithHTTPClient ¶
func NewTaskInstanceParamsWithHTTPClient(client *http.Client) *TaskInstanceParams
NewTaskInstanceParamsWithHTTPClient creates a new TaskInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTaskInstanceParamsWithTimeout ¶
func NewTaskInstanceParamsWithTimeout(timeout time.Duration) *TaskInstanceParams
NewTaskInstanceParamsWithTimeout creates a new TaskInstanceParams object with the default values initialized, and the ability to set a timeout on a request
func (*TaskInstanceParams) SetContext ¶
func (o *TaskInstanceParams) SetContext(ctx context.Context)
SetContext adds the context to the task instance params
func (*TaskInstanceParams) SetHTTPClient ¶
func (o *TaskInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the task instance params
func (*TaskInstanceParams) SetInstance ¶
func (o *TaskInstanceParams) SetInstance(instance string)
SetInstance adds the instance to the task instance params
func (*TaskInstanceParams) SetService ¶
func (o *TaskInstanceParams) SetService(service string)
SetService adds the service to the task instance params
func (*TaskInstanceParams) SetTaskID ¶
func (o *TaskInstanceParams) SetTaskID(taskID string)
SetTaskID adds the taskId to the task instance params
func (*TaskInstanceParams) SetTimeout ¶
func (o *TaskInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the task instance params
func (*TaskInstanceParams) SetVerbose ¶
func (o *TaskInstanceParams) SetVerbose(verbose *bool)
SetVerbose adds the verbose to the task instance params
func (*TaskInstanceParams) WithContext ¶
func (o *TaskInstanceParams) WithContext(ctx context.Context) *TaskInstanceParams
WithContext adds the context to the task instance params
func (*TaskInstanceParams) WithHTTPClient ¶
func (o *TaskInstanceParams) WithHTTPClient(client *http.Client) *TaskInstanceParams
WithHTTPClient adds the HTTPClient to the task instance params
func (*TaskInstanceParams) WithInstance ¶
func (o *TaskInstanceParams) WithInstance(instance string) *TaskInstanceParams
WithInstance adds the instance to the task instance params
func (*TaskInstanceParams) WithService ¶
func (o *TaskInstanceParams) WithService(service string) *TaskInstanceParams
WithService adds the service to the task instance params
func (*TaskInstanceParams) WithTaskID ¶
func (o *TaskInstanceParams) WithTaskID(taskID string) *TaskInstanceParams
WithTaskID adds the taskID to the task instance params
func (*TaskInstanceParams) WithTimeout ¶
func (o *TaskInstanceParams) WithTimeout(timeout time.Duration) *TaskInstanceParams
WithTimeout adds the timeout to the task instance params
func (*TaskInstanceParams) WithVerbose ¶
func (o *TaskInstanceParams) WithVerbose(verbose *bool) *TaskInstanceParams
WithVerbose adds the verbose to the task instance params
func (*TaskInstanceParams) WriteToRequest ¶
func (o *TaskInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TaskInstanceReader ¶
type TaskInstanceReader struct {
// contains filtered or unexported fields
}
TaskInstanceReader is a Reader for the TaskInstance structure.
func (*TaskInstanceReader) ReadResponse ¶
func (o *TaskInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TasksInstanceBadRequest ¶
type TasksInstanceBadRequest struct { }
TasksInstanceBadRequest handles this case with default header values.
Bad request
func NewTasksInstanceBadRequest ¶
func NewTasksInstanceBadRequest() *TasksInstanceBadRequest
NewTasksInstanceBadRequest creates a TasksInstanceBadRequest with default headers values
func (*TasksInstanceBadRequest) Error ¶
func (o *TasksInstanceBadRequest) Error() string
type TasksInstanceInternalServerError ¶
type TasksInstanceInternalServerError struct { }
TasksInstanceInternalServerError handles this case with default header values.
Instance failure
func NewTasksInstanceInternalServerError ¶
func NewTasksInstanceInternalServerError() *TasksInstanceInternalServerError
NewTasksInstanceInternalServerError creates a TasksInstanceInternalServerError with default headers values
func (*TasksInstanceInternalServerError) Error ¶
func (o *TasksInstanceInternalServerError) Error() string
type TasksInstanceNotFound ¶
type TasksInstanceNotFound struct { }
TasksInstanceNotFound handles this case with default header values.
Deployment key not found
func NewTasksInstanceNotFound ¶
func NewTasksInstanceNotFound() *TasksInstanceNotFound
NewTasksInstanceNotFound creates a TasksInstanceNotFound with default headers values
func (*TasksInstanceNotFound) Error ¶
func (o *TasksInstanceNotFound) Error() string
type TasksInstanceOK ¶
type TasksInstanceOK struct {
Payload models.InstanceTasks
}
TasksInstanceOK handles this case with default header values.
List of tasks associated with an instance
func NewTasksInstanceOK ¶
func NewTasksInstanceOK() *TasksInstanceOK
NewTasksInstanceOK creates a TasksInstanceOK with default headers values
func (*TasksInstanceOK) Error ¶
func (o *TasksInstanceOK) Error() string
func (*TasksInstanceOK) GetPayload ¶
func (o *TasksInstanceOK) GetPayload() models.InstanceTasks
type TasksInstanceParams ¶
type TasksInstanceParams struct { /*Instance Instance name */ Instance string /*Service Service name */ Service string /*SlaveHostname slave hostname to filter tasks by */ SlaveHostname *string /*Verbose Return slave and executor for task */ Verbose *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TasksInstanceParams contains all the parameters to send to the API endpoint for the tasks instance operation typically these are written to a http.Request
func NewTasksInstanceParams ¶
func NewTasksInstanceParams() *TasksInstanceParams
NewTasksInstanceParams creates a new TasksInstanceParams object with the default values initialized.
func NewTasksInstanceParamsWithContext ¶
func NewTasksInstanceParamsWithContext(ctx context.Context) *TasksInstanceParams
NewTasksInstanceParamsWithContext creates a new TasksInstanceParams object with the default values initialized, and the ability to set a context for a request
func NewTasksInstanceParamsWithHTTPClient ¶
func NewTasksInstanceParamsWithHTTPClient(client *http.Client) *TasksInstanceParams
NewTasksInstanceParamsWithHTTPClient creates a new TasksInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTasksInstanceParamsWithTimeout ¶
func NewTasksInstanceParamsWithTimeout(timeout time.Duration) *TasksInstanceParams
NewTasksInstanceParamsWithTimeout creates a new TasksInstanceParams object with the default values initialized, and the ability to set a timeout on a request
func (*TasksInstanceParams) SetContext ¶
func (o *TasksInstanceParams) SetContext(ctx context.Context)
SetContext adds the context to the tasks instance params
func (*TasksInstanceParams) SetHTTPClient ¶
func (o *TasksInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the tasks instance params
func (*TasksInstanceParams) SetInstance ¶
func (o *TasksInstanceParams) SetInstance(instance string)
SetInstance adds the instance to the tasks instance params
func (*TasksInstanceParams) SetService ¶
func (o *TasksInstanceParams) SetService(service string)
SetService adds the service to the tasks instance params
func (*TasksInstanceParams) SetSlaveHostname ¶
func (o *TasksInstanceParams) SetSlaveHostname(slaveHostname *string)
SetSlaveHostname adds the slaveHostname to the tasks instance params
func (*TasksInstanceParams) SetTimeout ¶
func (o *TasksInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the tasks instance params
func (*TasksInstanceParams) SetVerbose ¶
func (o *TasksInstanceParams) SetVerbose(verbose *bool)
SetVerbose adds the verbose to the tasks instance params
func (*TasksInstanceParams) WithContext ¶
func (o *TasksInstanceParams) WithContext(ctx context.Context) *TasksInstanceParams
WithContext adds the context to the tasks instance params
func (*TasksInstanceParams) WithHTTPClient ¶
func (o *TasksInstanceParams) WithHTTPClient(client *http.Client) *TasksInstanceParams
WithHTTPClient adds the HTTPClient to the tasks instance params
func (*TasksInstanceParams) WithInstance ¶
func (o *TasksInstanceParams) WithInstance(instance string) *TasksInstanceParams
WithInstance adds the instance to the tasks instance params
func (*TasksInstanceParams) WithService ¶
func (o *TasksInstanceParams) WithService(service string) *TasksInstanceParams
WithService adds the service to the tasks instance params
func (*TasksInstanceParams) WithSlaveHostname ¶
func (o *TasksInstanceParams) WithSlaveHostname(slaveHostname *string) *TasksInstanceParams
WithSlaveHostname adds the slaveHostname to the tasks instance params
func (*TasksInstanceParams) WithTimeout ¶
func (o *TasksInstanceParams) WithTimeout(timeout time.Duration) *TasksInstanceParams
WithTimeout adds the timeout to the tasks instance params
func (*TasksInstanceParams) WithVerbose ¶
func (o *TasksInstanceParams) WithVerbose(verbose *bool) *TasksInstanceParams
WithVerbose adds the verbose to the tasks instance params
func (*TasksInstanceParams) WriteToRequest ¶
func (o *TasksInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TasksInstanceReader ¶
type TasksInstanceReader struct {
// contains filtered or unexported fields
}
TasksInstanceReader is a Reader for the TasksInstance structure.
func (*TasksInstanceReader) ReadResponse ¶
func (o *TasksInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delay_instance_parameters.go
- delay_instance_responses.go
- instance_set_state_parameters.go
- instance_set_state_responses.go
- list_instances_parameters.go
- list_instances_responses.go
- list_services_for_cluster_parameters.go
- list_services_for_cluster_responses.go
- service_client.go
- status_instance_parameters.go
- status_instance_responses.go
- task_instance_parameters.go
- task_instance_responses.go
- tasks_instance_parameters.go
- tasks_instance_responses.go