instance_groups

package
v0.0.0-...-878b285 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 instance groups API

func (*Client) InstanceGroupsInstanceGroupsCreate

func (a *Client) InstanceGroupsInstanceGroupsCreate(params *InstanceGroupsInstanceGroupsCreateParams) (*InstanceGroupsInstanceGroupsCreateCreated, error)
InstanceGroupsInstanceGroupsCreate creates an instance group

Make a POST request to this resource with the following instance group fields to create a new instance group:

* `name`: Name of this instance group. (string, required)

* `credential`: (id, default=“) * `policy_instance_percentage`: Minimum percentage of all instances that will be automatically assigned to this group when new instances come online. (integer, default=`0`) * `policy_instance_minimum`: Static minimum number of Instances that will be automatically assign to this group when new instances come online. (integer, default=`0`) * `policy_instance_list`: List of exact-match Instances that will be assigned to this group (json, default=“) * `pod_spec_override`: (string, default=`""`)

func (*Client) InstanceGroupsInstanceGroupsDelete

func (a *Client) InstanceGroupsInstanceGroupsDelete(params *InstanceGroupsInstanceGroupsDeleteParams) (*InstanceGroupsInstanceGroupsDeleteNoContent, error)
InstanceGroupsInstanceGroupsDelete deletes an instance group

Make a DELETE request to this resource to delete this instance group.

func (*Client) InstanceGroupsInstanceGroupsInstancesCreate

InstanceGroupsInstanceGroupsInstancesCreate creates an instance for an instance group

Make a POST request to this resource with the following instance fields to create a new instance associated with this instance group.

* `capacity_adjustment`: (decimal, default=`1`)

* `enabled`: (boolean, default=`True`) * `managed_by_policy`: (boolean, default=`True`)

Add Instances for an Instance Group:

Make a POST request to this resource with only an `id` field to associate an existing instance with this instance group.

Remove Instances from this Instance Group:

Make a POST request to this resource with `id` and `disassociate` fields to remove the instance from this instance group

without deleting the instance.

func (*Client) InstanceGroupsInstanceGroupsInstancesList

func (a *Client) InstanceGroupsInstanceGroupsInstancesList(params *InstanceGroupsInstanceGroupsInstancesListParams) (*InstanceGroupsInstanceGroupsInstancesListOK, error)
InstanceGroupsInstanceGroupsInstancesList lists instances for an instance group

Make a GET request to this resource to retrieve a list of instances associated with the selected instance group.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of instances found for the given query. The `next` and `previous` fields provides links to additional results if there are more than will fit on a single page. The `results` list contains zero or more instance records.

## Results

Each instance data structure includes the following fields:

* `id`: Database ID for this instance. (integer) * `type`: Data type for this instance. (choice) * `url`: URL for this instance. (string) * `related`: Data structure with URLs of related resources. (object) * `uuid`: (string) * `hostname`: (string) * `created`: Timestamp when this instance was created. (datetime) * `modified`: Timestamp when this instance was last modified. (datetime) * `capacity_adjustment`: (decimal) * `version`: (string) * `capacity`: (integer) * `consumed_capacity`: (field) * `percent_capacity_remaining`: (field) * `jobs_running`: Count of jobs in the running or waiting state that are targeted for this instance (integer) * `jobs_total`: Count of all jobs that target this instance (integer) * `cpu`: (integer) * `memory`: (integer) * `cpu_capacity`: (integer) * `mem_capacity`: (integer) * `enabled`: (boolean) * `managed_by_policy`: (boolean)

## Sorting

To specify that instances are returned in a particular order, use the `order_by` query string parameter on the GET request.

?order_by=name

Prefix the field name with a dash `-` to sort in reverse:

?order_by=-name

Multiple sorting fields may be specified by separating the field names with a comma `,`:

?order_by=name,some_other_field

## Pagination

Use the `page_size` query string parameter to change the number of results returned for each request. Use the `page` query string parameter to retrieve a particular page of results.

?page_size=100&page=2

The `previous` and `next` links returned with the results will set these query string parameters automatically.

## Searching

Use the `search` query string parameter to perform a case-insensitive search within all designated text fields of a model.

?search=findme

(_Added in Ansible Tower 3.1.0_) Search across related fields:

?related__search=findme

func (*Client) InstanceGroupsInstanceGroupsJobsList

func (a *Client) InstanceGroupsInstanceGroupsJobsList(params *InstanceGroupsInstanceGroupsJobsListParams) (*InstanceGroupsInstanceGroupsJobsListOK, error)
InstanceGroupsInstanceGroupsJobsList lists unified jobs for an instance group

Make a GET request to this resource to retrieve a list of unified jobs associated with the selected instance group.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of unified jobs found for the given query. The `next` and `previous` fields provides links to additional results if there are more than will fit on a single page. The `results` list contains zero or more unified job records.

## Results

Each unified job data structure includes the following fields:

* `id`: Database ID for this unified job. (integer) * `type`: Data type for this unified job. (choice) * `url`: URL for this unified job. (string) * `related`: Data structure with URLs of related resources. (object) * `summary_fields`: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object) * `created`: Timestamp when this unified job was created. (datetime) * `modified`: Timestamp when this unified job was last modified. (datetime) * `name`: Name of this unified job. (string) * `description`: Optional description of this unified job. (string) * `unified_job_template`: (id) * `launch_type`: (choice)

  • `manual`: Manual
  • `relaunch`: Relaunch
  • `callback`: Callback
  • `scheduled`: Scheduled
  • `dependency`: Dependency
  • `workflow`: Workflow
  • `webhook`: Webhook
  • `sync`: Sync
  • `scm`: SCM Update

* `status`: (choice)

  • `new`: New
  • `pending`: Pending
  • `waiting`: Waiting
  • `running`: Running
  • `successful`: Successful
  • `failed`: Failed
  • `error`: Error
  • `canceled`: Canceled

* `failed`: (boolean) * `started`: The date and time the job was queued for starting. (datetime) * `finished`: The date and time the job finished execution. (datetime) * `canceled_on`: The date and time when the cancel request was sent. (datetime) * `elapsed`: Elapsed time in seconds that the job ran. (decimal) * `job_explanation`: A status field to indicate the state of the job if it wasn't able to run and capture stdout (string) * `execution_node`: The node the job executed on. (string) * `controller_node`: The instance that managed the isolated execution environment. (string)

## Sorting

To specify that unified jobs are returned in a particular order, use the `order_by` query string parameter on the GET request.

?order_by=name

Prefix the field name with a dash `-` to sort in reverse:

?order_by=-name

Multiple sorting fields may be specified by separating the field names with a comma `,`:

?order_by=name,some_other_field

## Pagination

Use the `page_size` query string parameter to change the number of results returned for each request. Use the `page` query string parameter to retrieve a particular page of results.

?page_size=100&page=2

The `previous` and `next` links returned with the results will set these query string parameters automatically.

## Searching

Use the `search` query string parameter to perform a case-insensitive search within all designated text fields of a model.

?search=findme

(_Added in Ansible Tower 3.1.0_) Search across related fields:

?related__search=findme

func (*Client) InstanceGroupsInstanceGroupsList

func (a *Client) InstanceGroupsInstanceGroupsList(params *InstanceGroupsInstanceGroupsListParams) (*InstanceGroupsInstanceGroupsListOK, error)
InstanceGroupsInstanceGroupsList lists instance groups

Make a GET request to this resource to retrieve the list of instance groups.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of instance groups found for the given query. The `next` and `previous` fields provides links to additional results if there are more than will fit on a single page. The `results` list contains zero or more instance group records.

## Results

Each instance group data structure includes the following fields:

* `id`: Database ID for this instance group. (integer) * `type`: Data type for this instance group. (choice) * `url`: URL for this instance group. (string) * `related`: Data structure with URLs of related resources. (object) * `name`: Name of this instance group. (string) * `created`: Timestamp when this instance group was created. (datetime) * `modified`: Timestamp when this instance group was last modified. (datetime) * `capacity`: (field) * `committed_capacity`: (field) * `consumed_capacity`: (field) * `percent_capacity_remaining`: (field) * `jobs_running`: Count of jobs in the running or waiting state that are targeted for this instance group (integer) * `jobs_total`: Count of all jobs that target this instance group (integer) * `instances`: (field) * `controller`: Instance Group to remotely control this group. (id) * `is_controller`: Indicates whether instance group controls any other group (boolean) * `is_isolated`: Indicates whether instances in this group are isolated.Isolated groups have a designated controller group. (boolean) * `is_containerized`: Indicates whether instances in this group are containerized.Containerized groups have a designated Openshift or Kubernetes cluster. (boolean) * `credential`: (id) * `policy_instance_percentage`: Minimum percentage of all instances that will be automatically assigned to this group when new instances come online. (integer) * `policy_instance_minimum`: Static minimum number of Instances that will be automatically assign to this group when new instances come online. (integer) * `policy_instance_list`: List of exact-match Instances that will be assigned to this group (json) * `pod_spec_override`: (string) * `summary_fields`: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object)

## Sorting

To specify that instance groups are returned in a particular order, use the `order_by` query string parameter on the GET request.

?order_by=name

Prefix the field name with a dash `-` to sort in reverse:

?order_by=-name

Multiple sorting fields may be specified by separating the field names with a comma `,`:

?order_by=name,some_other_field

## Pagination

Use the `page_size` query string parameter to change the number of results returned for each request. Use the `page` query string parameter to retrieve a particular page of results.

?page_size=100&page=2

The `previous` and `next` links returned with the results will set these query string parameters automatically.

## Searching

Use the `search` query string parameter to perform a case-insensitive search within all designated text fields of a model.

?search=findme

(_Added in Ansible Tower 3.1.0_) Search across related fields:

?related__search=findme

func (*Client) InstanceGroupsInstanceGroupsPartialUpdate

func (a *Client) InstanceGroupsInstanceGroupsPartialUpdate(params *InstanceGroupsInstanceGroupsPartialUpdateParams) (*InstanceGroupsInstanceGroupsPartialUpdateOK, error)
InstanceGroupsInstanceGroupsPartialUpdate updates an instance group

Make a PUT or PATCH request to this resource to update this instance group. The following fields may be modified:

* `name`: Name of this instance group. (string, required)

* `credential`: (id, default=“) * `policy_instance_percentage`: Minimum percentage of all instances that will be automatically assigned to this group when new instances come online. (integer, default=`0`) * `policy_instance_minimum`: Static minimum number of Instances that will be automatically assign to this group when new instances come online. (integer, default=`0`) * `policy_instance_list`: List of exact-match Instances that will be assigned to this group (json, default=“) * `pod_spec_override`: (string, default=`""`)

For a PATCH request, include only the fields that are being modified.

func (*Client) InstanceGroupsInstanceGroupsRead

func (a *Client) InstanceGroupsInstanceGroupsRead(params *InstanceGroupsInstanceGroupsReadParams) (*InstanceGroupsInstanceGroupsReadOK, error)
InstanceGroupsInstanceGroupsRead retrieves an instance group

Make GET request to this resource to retrieve a single instance group record containing the following fields:

* `id`: Database ID for this instance group. (integer) * `type`: Data type for this instance group. (choice) * `url`: URL for this instance group. (string) * `related`: Data structure with URLs of related resources. (object) * `name`: Name of this instance group. (string) * `created`: Timestamp when this instance group was created. (datetime) * `modified`: Timestamp when this instance group was last modified. (datetime) * `capacity`: (field) * `committed_capacity`: (field) * `consumed_capacity`: (field) * `percent_capacity_remaining`: (field) * `jobs_running`: Count of jobs in the running or waiting state that are targeted for this instance group (integer) * `jobs_total`: Count of all jobs that target this instance group (integer) * `instances`: (field) * `controller`: Instance Group to remotely control this group. (id) * `is_controller`: Indicates whether instance group controls any other group (boolean) * `is_isolated`: Indicates whether instances in this group are isolated.Isolated groups have a designated controller group. (boolean) * `is_containerized`: Indicates whether instances in this group are containerized.Containerized groups have a designated Openshift or Kubernetes cluster. (boolean) * `credential`: (id) * `policy_instance_percentage`: Minimum percentage of all instances that will be automatically assigned to this group when new instances come online. (integer) * `policy_instance_minimum`: Static minimum number of Instances that will be automatically assign to this group when new instances come online. (integer) * `policy_instance_list`: List of exact-match Instances that will be assigned to this group (json) * `pod_spec_override`: (string) * `summary_fields`: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object)

func (*Client) InstanceGroupsInstanceGroupsUpdate

func (a *Client) InstanceGroupsInstanceGroupsUpdate(params *InstanceGroupsInstanceGroupsUpdateParams) (*InstanceGroupsInstanceGroupsUpdateOK, error)
InstanceGroupsInstanceGroupsUpdate updates an instance group

Make a PUT or PATCH request to this resource to update this instance group. The following fields may be modified:

* `name`: Name of this instance group. (string, required)

* `credential`: (id, default=“) * `policy_instance_percentage`: Minimum percentage of all instances that will be automatically assigned to this group when new instances come online. (integer, default=`0`) * `policy_instance_minimum`: Static minimum number of Instances that will be automatically assign to this group when new instances come online. (integer, default=`0`) * `policy_instance_list`: List of exact-match Instances that will be assigned to this group (json, default=“) * `pod_spec_override`: (string, default=`""`)

For a PUT request, include **all** fields in the request.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	InstanceGroupsInstanceGroupsCreate(params *InstanceGroupsInstanceGroupsCreateParams) (*InstanceGroupsInstanceGroupsCreateCreated, error)

	InstanceGroupsInstanceGroupsDelete(params *InstanceGroupsInstanceGroupsDeleteParams) (*InstanceGroupsInstanceGroupsDeleteNoContent, error)

	InstanceGroupsInstanceGroupsInstancesCreate(params *InstanceGroupsInstanceGroupsInstancesCreateParams) (*InstanceGroupsInstanceGroupsInstancesCreateCreated, error)

	InstanceGroupsInstanceGroupsInstancesList(params *InstanceGroupsInstanceGroupsInstancesListParams) (*InstanceGroupsInstanceGroupsInstancesListOK, error)

	InstanceGroupsInstanceGroupsJobsList(params *InstanceGroupsInstanceGroupsJobsListParams) (*InstanceGroupsInstanceGroupsJobsListOK, error)

	InstanceGroupsInstanceGroupsList(params *InstanceGroupsInstanceGroupsListParams) (*InstanceGroupsInstanceGroupsListOK, error)

	InstanceGroupsInstanceGroupsPartialUpdate(params *InstanceGroupsInstanceGroupsPartialUpdateParams) (*InstanceGroupsInstanceGroupsPartialUpdateOK, error)

	InstanceGroupsInstanceGroupsRead(params *InstanceGroupsInstanceGroupsReadParams) (*InstanceGroupsInstanceGroupsReadOK, error)

	InstanceGroupsInstanceGroupsUpdate(params *InstanceGroupsInstanceGroupsUpdateParams) (*InstanceGroupsInstanceGroupsUpdateOK, 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 instance groups API client.

type InstanceGroupsInstanceGroupsCreateBody

type InstanceGroupsInstanceGroupsCreateBody struct {

	// credential
	Credential int64 `json:"credential,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// pod spec override
	PodSpecOverride string `json:"pod_spec_override,omitempty"`

	// List of exact-match Instances that will be assigned to this group
	PolicyInstanceList []string `json:"policy_instance_list"`

	// Static minimum number of Instances that will be automatically assign to this group when new instances come online.
	PolicyInstanceMinimum int64 `json:"policy_instance_minimum,omitempty"`

	// Minimum percentage of all instances that will be automatically assigned to this group when new instances come online.
	PolicyInstancePercentage int64 `json:"policy_instance_percentage,omitempty"`
}

InstanceGroupsInstanceGroupsCreateBody instance groups instance groups create body swagger:model InstanceGroupsInstanceGroupsCreateBody

func (*InstanceGroupsInstanceGroupsCreateBody) MarshalBinary

func (o *InstanceGroupsInstanceGroupsCreateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstanceGroupsInstanceGroupsCreateBody) UnmarshalBinary

func (o *InstanceGroupsInstanceGroupsCreateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstanceGroupsInstanceGroupsCreateBody) Validate

Validate validates this instance groups instance groups create body

type InstanceGroupsInstanceGroupsCreateCreated

type InstanceGroupsInstanceGroupsCreateCreated struct {
}

InstanceGroupsInstanceGroupsCreateCreated handles this case with default header values.

InstanceGroupsInstanceGroupsCreateCreated instance groups instance groups create created

func NewInstanceGroupsInstanceGroupsCreateCreated

func NewInstanceGroupsInstanceGroupsCreateCreated() *InstanceGroupsInstanceGroupsCreateCreated

NewInstanceGroupsInstanceGroupsCreateCreated creates a InstanceGroupsInstanceGroupsCreateCreated with default headers values

func (*InstanceGroupsInstanceGroupsCreateCreated) Error

type InstanceGroupsInstanceGroupsCreateParams

type InstanceGroupsInstanceGroupsCreateParams struct {

	/*Data*/
	Data InstanceGroupsInstanceGroupsCreateBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsCreateParams contains all the parameters to send to the API endpoint for the instance groups instance groups create operation typically these are written to a http.Request

func NewInstanceGroupsInstanceGroupsCreateParams

func NewInstanceGroupsInstanceGroupsCreateParams() *InstanceGroupsInstanceGroupsCreateParams

NewInstanceGroupsInstanceGroupsCreateParams creates a new InstanceGroupsInstanceGroupsCreateParams object with the default values initialized.

func NewInstanceGroupsInstanceGroupsCreateParamsWithContext

func NewInstanceGroupsInstanceGroupsCreateParamsWithContext(ctx context.Context) *InstanceGroupsInstanceGroupsCreateParams

NewInstanceGroupsInstanceGroupsCreateParamsWithContext creates a new InstanceGroupsInstanceGroupsCreateParams object with the default values initialized, and the ability to set a context for a request

func NewInstanceGroupsInstanceGroupsCreateParamsWithHTTPClient

func NewInstanceGroupsInstanceGroupsCreateParamsWithHTTPClient(client *http.Client) *InstanceGroupsInstanceGroupsCreateParams

NewInstanceGroupsInstanceGroupsCreateParamsWithHTTPClient creates a new InstanceGroupsInstanceGroupsCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewInstanceGroupsInstanceGroupsCreateParamsWithTimeout

func NewInstanceGroupsInstanceGroupsCreateParamsWithTimeout(timeout time.Duration) *InstanceGroupsInstanceGroupsCreateParams

NewInstanceGroupsInstanceGroupsCreateParamsWithTimeout creates a new InstanceGroupsInstanceGroupsCreateParams object with the default values initialized, and the ability to set a timeout on a request

func (*InstanceGroupsInstanceGroupsCreateParams) SetContext

SetContext adds the context to the instance groups instance groups create params

func (*InstanceGroupsInstanceGroupsCreateParams) SetData

SetData adds the data to the instance groups instance groups create params

func (*InstanceGroupsInstanceGroupsCreateParams) SetHTTPClient

func (o *InstanceGroupsInstanceGroupsCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the instance groups instance groups create params

func (*InstanceGroupsInstanceGroupsCreateParams) SetTimeout

SetTimeout adds the timeout to the instance groups instance groups create params

func (*InstanceGroupsInstanceGroupsCreateParams) WithContext

WithContext adds the context to the instance groups instance groups create params

func (*InstanceGroupsInstanceGroupsCreateParams) WithData

WithData adds the data to the instance groups instance groups create params

func (*InstanceGroupsInstanceGroupsCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the instance groups instance groups create params

func (*InstanceGroupsInstanceGroupsCreateParams) WithTimeout

WithTimeout adds the timeout to the instance groups instance groups create params

func (*InstanceGroupsInstanceGroupsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InstanceGroupsInstanceGroupsCreateReader

type InstanceGroupsInstanceGroupsCreateReader struct {
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsCreateReader is a Reader for the InstanceGroupsInstanceGroupsCreate structure.

func (*InstanceGroupsInstanceGroupsCreateReader) ReadResponse

func (o *InstanceGroupsInstanceGroupsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InstanceGroupsInstanceGroupsDeleteConflict

type InstanceGroupsInstanceGroupsDeleteConflict struct {
}

InstanceGroupsInstanceGroupsDeleteConflict handles this case with default header values.

Request Conflict

func NewInstanceGroupsInstanceGroupsDeleteConflict

func NewInstanceGroupsInstanceGroupsDeleteConflict() *InstanceGroupsInstanceGroupsDeleteConflict

NewInstanceGroupsInstanceGroupsDeleteConflict creates a InstanceGroupsInstanceGroupsDeleteConflict with default headers values

func (*InstanceGroupsInstanceGroupsDeleteConflict) Error

type InstanceGroupsInstanceGroupsDeleteForbidden

type InstanceGroupsInstanceGroupsDeleteForbidden struct {
}

InstanceGroupsInstanceGroupsDeleteForbidden handles this case with default header values.

No Permission Response

func NewInstanceGroupsInstanceGroupsDeleteForbidden

func NewInstanceGroupsInstanceGroupsDeleteForbidden() *InstanceGroupsInstanceGroupsDeleteForbidden

NewInstanceGroupsInstanceGroupsDeleteForbidden creates a InstanceGroupsInstanceGroupsDeleteForbidden with default headers values

func (*InstanceGroupsInstanceGroupsDeleteForbidden) Error

type InstanceGroupsInstanceGroupsDeleteNoContent

type InstanceGroupsInstanceGroupsDeleteNoContent struct {
}

InstanceGroupsInstanceGroupsDeleteNoContent handles this case with default header values.

InstanceGroupsInstanceGroupsDeleteNoContent instance groups instance groups delete no content

func NewInstanceGroupsInstanceGroupsDeleteNoContent

func NewInstanceGroupsInstanceGroupsDeleteNoContent() *InstanceGroupsInstanceGroupsDeleteNoContent

NewInstanceGroupsInstanceGroupsDeleteNoContent creates a InstanceGroupsInstanceGroupsDeleteNoContent with default headers values

func (*InstanceGroupsInstanceGroupsDeleteNoContent) Error

type InstanceGroupsInstanceGroupsDeleteParams

type InstanceGroupsInstanceGroupsDeleteParams struct {

	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsDeleteParams contains all the parameters to send to the API endpoint for the instance groups instance groups delete operation typically these are written to a http.Request

func NewInstanceGroupsInstanceGroupsDeleteParams

func NewInstanceGroupsInstanceGroupsDeleteParams() *InstanceGroupsInstanceGroupsDeleteParams

NewInstanceGroupsInstanceGroupsDeleteParams creates a new InstanceGroupsInstanceGroupsDeleteParams object with the default values initialized.

func NewInstanceGroupsInstanceGroupsDeleteParamsWithContext

func NewInstanceGroupsInstanceGroupsDeleteParamsWithContext(ctx context.Context) *InstanceGroupsInstanceGroupsDeleteParams

NewInstanceGroupsInstanceGroupsDeleteParamsWithContext creates a new InstanceGroupsInstanceGroupsDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewInstanceGroupsInstanceGroupsDeleteParamsWithHTTPClient

func NewInstanceGroupsInstanceGroupsDeleteParamsWithHTTPClient(client *http.Client) *InstanceGroupsInstanceGroupsDeleteParams

NewInstanceGroupsInstanceGroupsDeleteParamsWithHTTPClient creates a new InstanceGroupsInstanceGroupsDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewInstanceGroupsInstanceGroupsDeleteParamsWithTimeout

func NewInstanceGroupsInstanceGroupsDeleteParamsWithTimeout(timeout time.Duration) *InstanceGroupsInstanceGroupsDeleteParams

NewInstanceGroupsInstanceGroupsDeleteParamsWithTimeout creates a new InstanceGroupsInstanceGroupsDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*InstanceGroupsInstanceGroupsDeleteParams) SetContext

SetContext adds the context to the instance groups instance groups delete params

func (*InstanceGroupsInstanceGroupsDeleteParams) SetHTTPClient

func (o *InstanceGroupsInstanceGroupsDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the instance groups instance groups delete params

func (*InstanceGroupsInstanceGroupsDeleteParams) SetID

SetID adds the id to the instance groups instance groups delete params

func (*InstanceGroupsInstanceGroupsDeleteParams) SetSearch

func (o *InstanceGroupsInstanceGroupsDeleteParams) SetSearch(search *string)

SetSearch adds the search to the instance groups instance groups delete params

func (*InstanceGroupsInstanceGroupsDeleteParams) SetTimeout

SetTimeout adds the timeout to the instance groups instance groups delete params

func (*InstanceGroupsInstanceGroupsDeleteParams) WithContext

WithContext adds the context to the instance groups instance groups delete params

func (*InstanceGroupsInstanceGroupsDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the instance groups instance groups delete params

func (*InstanceGroupsInstanceGroupsDeleteParams) WithID

WithID adds the id to the instance groups instance groups delete params

func (*InstanceGroupsInstanceGroupsDeleteParams) WithSearch

WithSearch adds the search to the instance groups instance groups delete params

func (*InstanceGroupsInstanceGroupsDeleteParams) WithTimeout

WithTimeout adds the timeout to the instance groups instance groups delete params

func (*InstanceGroupsInstanceGroupsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InstanceGroupsInstanceGroupsDeleteReader

type InstanceGroupsInstanceGroupsDeleteReader struct {
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsDeleteReader is a Reader for the InstanceGroupsInstanceGroupsDelete structure.

func (*InstanceGroupsInstanceGroupsDeleteReader) ReadResponse

func (o *InstanceGroupsInstanceGroupsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InstanceGroupsInstanceGroupsInstancesCreateBadRequest

type InstanceGroupsInstanceGroupsInstancesCreateBadRequest struct {
}

InstanceGroupsInstanceGroupsInstancesCreateBadRequest handles this case with default header values.

Bad Request

func NewInstanceGroupsInstanceGroupsInstancesCreateBadRequest

func NewInstanceGroupsInstanceGroupsInstancesCreateBadRequest() *InstanceGroupsInstanceGroupsInstancesCreateBadRequest

NewInstanceGroupsInstanceGroupsInstancesCreateBadRequest creates a InstanceGroupsInstanceGroupsInstancesCreateBadRequest with default headers values

func (*InstanceGroupsInstanceGroupsInstancesCreateBadRequest) Error

type InstanceGroupsInstanceGroupsInstancesCreateBody

type InstanceGroupsInstanceGroupsInstancesCreateBody struct {

	// capacity adjustment
	CapacityAdjustment float64 `json:"capacity_adjustment,omitempty"`

	// enabled
	Enabled string `json:"enabled,omitempty"`

	// managed by policy
	ManagedByPolicy string `json:"managed_by_policy,omitempty"`
}

InstanceGroupsInstanceGroupsInstancesCreateBody instance groups instance groups instances create body swagger:model InstanceGroupsInstanceGroupsInstancesCreateBody

func (*InstanceGroupsInstanceGroupsInstancesCreateBody) MarshalBinary

MarshalBinary interface implementation

func (*InstanceGroupsInstanceGroupsInstancesCreateBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*InstanceGroupsInstanceGroupsInstancesCreateBody) Validate

Validate validates this instance groups instance groups instances create body

type InstanceGroupsInstanceGroupsInstancesCreateCreated

type InstanceGroupsInstanceGroupsInstancesCreateCreated struct {
}

InstanceGroupsInstanceGroupsInstancesCreateCreated handles this case with default header values.

InstanceGroupsInstanceGroupsInstancesCreateCreated instance groups instance groups instances create created

func NewInstanceGroupsInstanceGroupsInstancesCreateCreated

func NewInstanceGroupsInstanceGroupsInstancesCreateCreated() *InstanceGroupsInstanceGroupsInstancesCreateCreated

NewInstanceGroupsInstanceGroupsInstancesCreateCreated creates a InstanceGroupsInstanceGroupsInstancesCreateCreated with default headers values

func (*InstanceGroupsInstanceGroupsInstancesCreateCreated) Error

type InstanceGroupsInstanceGroupsInstancesCreateParams

type InstanceGroupsInstanceGroupsInstancesCreateParams struct {

	/*Data*/
	Data InstanceGroupsInstanceGroupsInstancesCreateBody
	/*ID*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsInstancesCreateParams contains all the parameters to send to the API endpoint for the instance groups instance groups instances create operation typically these are written to a http.Request

func NewInstanceGroupsInstanceGroupsInstancesCreateParams

func NewInstanceGroupsInstanceGroupsInstancesCreateParams() *InstanceGroupsInstanceGroupsInstancesCreateParams

NewInstanceGroupsInstanceGroupsInstancesCreateParams creates a new InstanceGroupsInstanceGroupsInstancesCreateParams object with the default values initialized.

func NewInstanceGroupsInstanceGroupsInstancesCreateParamsWithContext

func NewInstanceGroupsInstanceGroupsInstancesCreateParamsWithContext(ctx context.Context) *InstanceGroupsInstanceGroupsInstancesCreateParams

NewInstanceGroupsInstanceGroupsInstancesCreateParamsWithContext creates a new InstanceGroupsInstanceGroupsInstancesCreateParams object with the default values initialized, and the ability to set a context for a request

func NewInstanceGroupsInstanceGroupsInstancesCreateParamsWithHTTPClient

func NewInstanceGroupsInstanceGroupsInstancesCreateParamsWithHTTPClient(client *http.Client) *InstanceGroupsInstanceGroupsInstancesCreateParams

NewInstanceGroupsInstanceGroupsInstancesCreateParamsWithHTTPClient creates a new InstanceGroupsInstanceGroupsInstancesCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewInstanceGroupsInstanceGroupsInstancesCreateParamsWithTimeout

func NewInstanceGroupsInstanceGroupsInstancesCreateParamsWithTimeout(timeout time.Duration) *InstanceGroupsInstanceGroupsInstancesCreateParams

NewInstanceGroupsInstanceGroupsInstancesCreateParamsWithTimeout creates a new InstanceGroupsInstanceGroupsInstancesCreateParams object with the default values initialized, and the ability to set a timeout on a request

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) SetContext

SetContext adds the context to the instance groups instance groups instances create params

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) SetData

SetData adds the data to the instance groups instance groups instances create params

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the instance groups instance groups instances create params

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) SetID

SetID adds the id to the instance groups instance groups instances create params

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) SetTimeout

SetTimeout adds the timeout to the instance groups instance groups instances create params

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) WithContext

WithContext adds the context to the instance groups instance groups instances create params

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) WithData

WithData adds the data to the instance groups instance groups instances create params

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the instance groups instance groups instances create params

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) WithID

WithID adds the id to the instance groups instance groups instances create params

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) WithTimeout

WithTimeout adds the timeout to the instance groups instance groups instances create params

func (*InstanceGroupsInstanceGroupsInstancesCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InstanceGroupsInstanceGroupsInstancesCreateReader

type InstanceGroupsInstanceGroupsInstancesCreateReader struct {
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsInstancesCreateReader is a Reader for the InstanceGroupsInstanceGroupsInstancesCreate structure.

func (*InstanceGroupsInstanceGroupsInstancesCreateReader) ReadResponse

func (o *InstanceGroupsInstanceGroupsInstancesCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InstanceGroupsInstanceGroupsInstancesListOK

type InstanceGroupsInstanceGroupsInstancesListOK struct {
}

InstanceGroupsInstanceGroupsInstancesListOK handles this case with default header values.

OK

func NewInstanceGroupsInstanceGroupsInstancesListOK

func NewInstanceGroupsInstanceGroupsInstancesListOK() *InstanceGroupsInstanceGroupsInstancesListOK

NewInstanceGroupsInstanceGroupsInstancesListOK creates a InstanceGroupsInstanceGroupsInstancesListOK with default headers values

func (*InstanceGroupsInstanceGroupsInstancesListOK) Error

type InstanceGroupsInstanceGroupsInstancesListParams

type InstanceGroupsInstanceGroupsInstancesListParams struct {

	/*ID*/
	ID string
	/*Page
	  A page number within the paginated result set.

	*/
	Page *int64
	/*PageSize
	  Number of results to return per page.

	*/
	PageSize *int64
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsInstancesListParams contains all the parameters to send to the API endpoint for the instance groups instance groups instances list operation typically these are written to a http.Request

func NewInstanceGroupsInstanceGroupsInstancesListParams

func NewInstanceGroupsInstanceGroupsInstancesListParams() *InstanceGroupsInstanceGroupsInstancesListParams

NewInstanceGroupsInstanceGroupsInstancesListParams creates a new InstanceGroupsInstanceGroupsInstancesListParams object with the default values initialized.

func NewInstanceGroupsInstanceGroupsInstancesListParamsWithContext

func NewInstanceGroupsInstanceGroupsInstancesListParamsWithContext(ctx context.Context) *InstanceGroupsInstanceGroupsInstancesListParams

NewInstanceGroupsInstanceGroupsInstancesListParamsWithContext creates a new InstanceGroupsInstanceGroupsInstancesListParams object with the default values initialized, and the ability to set a context for a request

func NewInstanceGroupsInstanceGroupsInstancesListParamsWithHTTPClient

func NewInstanceGroupsInstanceGroupsInstancesListParamsWithHTTPClient(client *http.Client) *InstanceGroupsInstanceGroupsInstancesListParams

NewInstanceGroupsInstanceGroupsInstancesListParamsWithHTTPClient creates a new InstanceGroupsInstanceGroupsInstancesListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewInstanceGroupsInstanceGroupsInstancesListParamsWithTimeout

func NewInstanceGroupsInstanceGroupsInstancesListParamsWithTimeout(timeout time.Duration) *InstanceGroupsInstanceGroupsInstancesListParams

NewInstanceGroupsInstanceGroupsInstancesListParamsWithTimeout creates a new InstanceGroupsInstanceGroupsInstancesListParams object with the default values initialized, and the ability to set a timeout on a request

func (*InstanceGroupsInstanceGroupsInstancesListParams) SetContext

SetContext adds the context to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) SetID

SetID adds the id to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) SetPage

SetPage adds the page to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) SetPageSize

func (o *InstanceGroupsInstanceGroupsInstancesListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) SetSearch

SetSearch adds the search to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) SetTimeout

SetTimeout adds the timeout to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) WithContext

WithContext adds the context to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) WithID

WithID adds the id to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) WithPage

WithPage adds the page to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) WithPageSize

WithPageSize adds the pageSize to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) WithSearch

WithSearch adds the search to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) WithTimeout

WithTimeout adds the timeout to the instance groups instance groups instances list params

func (*InstanceGroupsInstanceGroupsInstancesListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InstanceGroupsInstanceGroupsInstancesListReader

type InstanceGroupsInstanceGroupsInstancesListReader struct {
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsInstancesListReader is a Reader for the InstanceGroupsInstanceGroupsInstancesList structure.

func (*InstanceGroupsInstanceGroupsInstancesListReader) ReadResponse

func (o *InstanceGroupsInstanceGroupsInstancesListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InstanceGroupsInstanceGroupsJobsListOK

type InstanceGroupsInstanceGroupsJobsListOK struct {
}

InstanceGroupsInstanceGroupsJobsListOK handles this case with default header values.

OK

func NewInstanceGroupsInstanceGroupsJobsListOK

func NewInstanceGroupsInstanceGroupsJobsListOK() *InstanceGroupsInstanceGroupsJobsListOK

NewInstanceGroupsInstanceGroupsJobsListOK creates a InstanceGroupsInstanceGroupsJobsListOK with default headers values

func (*InstanceGroupsInstanceGroupsJobsListOK) Error

type InstanceGroupsInstanceGroupsJobsListParams

type InstanceGroupsInstanceGroupsJobsListParams struct {

	/*ID*/
	ID string
	/*Page
	  A page number within the paginated result set.

	*/
	Page *int64
	/*PageSize
	  Number of results to return per page.

	*/
	PageSize *int64
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsJobsListParams contains all the parameters to send to the API endpoint for the instance groups instance groups jobs list operation typically these are written to a http.Request

func NewInstanceGroupsInstanceGroupsJobsListParams

func NewInstanceGroupsInstanceGroupsJobsListParams() *InstanceGroupsInstanceGroupsJobsListParams

NewInstanceGroupsInstanceGroupsJobsListParams creates a new InstanceGroupsInstanceGroupsJobsListParams object with the default values initialized.

func NewInstanceGroupsInstanceGroupsJobsListParamsWithContext

func NewInstanceGroupsInstanceGroupsJobsListParamsWithContext(ctx context.Context) *InstanceGroupsInstanceGroupsJobsListParams

NewInstanceGroupsInstanceGroupsJobsListParamsWithContext creates a new InstanceGroupsInstanceGroupsJobsListParams object with the default values initialized, and the ability to set a context for a request

func NewInstanceGroupsInstanceGroupsJobsListParamsWithHTTPClient

func NewInstanceGroupsInstanceGroupsJobsListParamsWithHTTPClient(client *http.Client) *InstanceGroupsInstanceGroupsJobsListParams

NewInstanceGroupsInstanceGroupsJobsListParamsWithHTTPClient creates a new InstanceGroupsInstanceGroupsJobsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewInstanceGroupsInstanceGroupsJobsListParamsWithTimeout

func NewInstanceGroupsInstanceGroupsJobsListParamsWithTimeout(timeout time.Duration) *InstanceGroupsInstanceGroupsJobsListParams

NewInstanceGroupsInstanceGroupsJobsListParamsWithTimeout creates a new InstanceGroupsInstanceGroupsJobsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*InstanceGroupsInstanceGroupsJobsListParams) SetContext

SetContext adds the context to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) SetHTTPClient

func (o *InstanceGroupsInstanceGroupsJobsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) SetID

SetID adds the id to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) SetPage

SetPage adds the page to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) SetPageSize

func (o *InstanceGroupsInstanceGroupsJobsListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) SetSearch

func (o *InstanceGroupsInstanceGroupsJobsListParams) SetSearch(search *string)

SetSearch adds the search to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) SetTimeout

SetTimeout adds the timeout to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) WithContext

WithContext adds the context to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) WithID

WithID adds the id to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) WithPage

WithPage adds the page to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) WithPageSize

WithPageSize adds the pageSize to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) WithSearch

WithSearch adds the search to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) WithTimeout

WithTimeout adds the timeout to the instance groups instance groups jobs list params

func (*InstanceGroupsInstanceGroupsJobsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InstanceGroupsInstanceGroupsJobsListReader

type InstanceGroupsInstanceGroupsJobsListReader struct {
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsJobsListReader is a Reader for the InstanceGroupsInstanceGroupsJobsList structure.

func (*InstanceGroupsInstanceGroupsJobsListReader) ReadResponse

func (o *InstanceGroupsInstanceGroupsJobsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InstanceGroupsInstanceGroupsListOK

type InstanceGroupsInstanceGroupsListOK struct {
}

InstanceGroupsInstanceGroupsListOK handles this case with default header values.

OK

func NewInstanceGroupsInstanceGroupsListOK

func NewInstanceGroupsInstanceGroupsListOK() *InstanceGroupsInstanceGroupsListOK

NewInstanceGroupsInstanceGroupsListOK creates a InstanceGroupsInstanceGroupsListOK with default headers values

func (*InstanceGroupsInstanceGroupsListOK) Error

type InstanceGroupsInstanceGroupsListParams

type InstanceGroupsInstanceGroupsListParams struct {

	/*Page
	  A page number within the paginated result set.

	*/
	Page *int64
	/*PageSize
	  Number of results to return per page.

	*/
	PageSize *int64
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsListParams contains all the parameters to send to the API endpoint for the instance groups instance groups list operation typically these are written to a http.Request

func NewInstanceGroupsInstanceGroupsListParams

func NewInstanceGroupsInstanceGroupsListParams() *InstanceGroupsInstanceGroupsListParams

NewInstanceGroupsInstanceGroupsListParams creates a new InstanceGroupsInstanceGroupsListParams object with the default values initialized.

func NewInstanceGroupsInstanceGroupsListParamsWithContext

func NewInstanceGroupsInstanceGroupsListParamsWithContext(ctx context.Context) *InstanceGroupsInstanceGroupsListParams

NewInstanceGroupsInstanceGroupsListParamsWithContext creates a new InstanceGroupsInstanceGroupsListParams object with the default values initialized, and the ability to set a context for a request

func NewInstanceGroupsInstanceGroupsListParamsWithHTTPClient

func NewInstanceGroupsInstanceGroupsListParamsWithHTTPClient(client *http.Client) *InstanceGroupsInstanceGroupsListParams

NewInstanceGroupsInstanceGroupsListParamsWithHTTPClient creates a new InstanceGroupsInstanceGroupsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewInstanceGroupsInstanceGroupsListParamsWithTimeout

func NewInstanceGroupsInstanceGroupsListParamsWithTimeout(timeout time.Duration) *InstanceGroupsInstanceGroupsListParams

NewInstanceGroupsInstanceGroupsListParamsWithTimeout creates a new InstanceGroupsInstanceGroupsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*InstanceGroupsInstanceGroupsListParams) SetContext

SetContext adds the context to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) SetHTTPClient

func (o *InstanceGroupsInstanceGroupsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) SetPage

SetPage adds the page to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) SetPageSize

func (o *InstanceGroupsInstanceGroupsListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) SetSearch

func (o *InstanceGroupsInstanceGroupsListParams) SetSearch(search *string)

SetSearch adds the search to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) SetTimeout

func (o *InstanceGroupsInstanceGroupsListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) WithContext

WithContext adds the context to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) WithPage

WithPage adds the page to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) WithPageSize

WithPageSize adds the pageSize to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) WithSearch

WithSearch adds the search to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) WithTimeout

WithTimeout adds the timeout to the instance groups instance groups list params

func (*InstanceGroupsInstanceGroupsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InstanceGroupsInstanceGroupsListReader

type InstanceGroupsInstanceGroupsListReader struct {
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsListReader is a Reader for the InstanceGroupsInstanceGroupsList structure.

func (*InstanceGroupsInstanceGroupsListReader) ReadResponse

func (o *InstanceGroupsInstanceGroupsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InstanceGroupsInstanceGroupsPartialUpdateBadRequest

type InstanceGroupsInstanceGroupsPartialUpdateBadRequest struct {
}

InstanceGroupsInstanceGroupsPartialUpdateBadRequest handles this case with default header values.

Bad Request

func NewInstanceGroupsInstanceGroupsPartialUpdateBadRequest

func NewInstanceGroupsInstanceGroupsPartialUpdateBadRequest() *InstanceGroupsInstanceGroupsPartialUpdateBadRequest

NewInstanceGroupsInstanceGroupsPartialUpdateBadRequest creates a InstanceGroupsInstanceGroupsPartialUpdateBadRequest with default headers values

func (*InstanceGroupsInstanceGroupsPartialUpdateBadRequest) Error

type InstanceGroupsInstanceGroupsPartialUpdateOK

type InstanceGroupsInstanceGroupsPartialUpdateOK struct {
}

InstanceGroupsInstanceGroupsPartialUpdateOK handles this case with default header values.

OK

func NewInstanceGroupsInstanceGroupsPartialUpdateOK

func NewInstanceGroupsInstanceGroupsPartialUpdateOK() *InstanceGroupsInstanceGroupsPartialUpdateOK

NewInstanceGroupsInstanceGroupsPartialUpdateOK creates a InstanceGroupsInstanceGroupsPartialUpdateOK with default headers values

func (*InstanceGroupsInstanceGroupsPartialUpdateOK) Error

type InstanceGroupsInstanceGroupsPartialUpdateParams

type InstanceGroupsInstanceGroupsPartialUpdateParams struct {

	/*Data*/
	Data interface{}
	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsPartialUpdateParams contains all the parameters to send to the API endpoint for the instance groups instance groups partial update operation typically these are written to a http.Request

func NewInstanceGroupsInstanceGroupsPartialUpdateParams

func NewInstanceGroupsInstanceGroupsPartialUpdateParams() *InstanceGroupsInstanceGroupsPartialUpdateParams

NewInstanceGroupsInstanceGroupsPartialUpdateParams creates a new InstanceGroupsInstanceGroupsPartialUpdateParams object with the default values initialized.

func NewInstanceGroupsInstanceGroupsPartialUpdateParamsWithContext

func NewInstanceGroupsInstanceGroupsPartialUpdateParamsWithContext(ctx context.Context) *InstanceGroupsInstanceGroupsPartialUpdateParams

NewInstanceGroupsInstanceGroupsPartialUpdateParamsWithContext creates a new InstanceGroupsInstanceGroupsPartialUpdateParams object with the default values initialized, and the ability to set a context for a request

func NewInstanceGroupsInstanceGroupsPartialUpdateParamsWithHTTPClient

func NewInstanceGroupsInstanceGroupsPartialUpdateParamsWithHTTPClient(client *http.Client) *InstanceGroupsInstanceGroupsPartialUpdateParams

NewInstanceGroupsInstanceGroupsPartialUpdateParamsWithHTTPClient creates a new InstanceGroupsInstanceGroupsPartialUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewInstanceGroupsInstanceGroupsPartialUpdateParamsWithTimeout

func NewInstanceGroupsInstanceGroupsPartialUpdateParamsWithTimeout(timeout time.Duration) *InstanceGroupsInstanceGroupsPartialUpdateParams

NewInstanceGroupsInstanceGroupsPartialUpdateParamsWithTimeout creates a new InstanceGroupsInstanceGroupsPartialUpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) SetContext

SetContext adds the context to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) SetData

func (o *InstanceGroupsInstanceGroupsPartialUpdateParams) SetData(data interface{})

SetData adds the data to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) SetID

SetID adds the id to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) SetSearch

SetSearch adds the search to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) SetTimeout

SetTimeout adds the timeout to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) WithContext

WithContext adds the context to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) WithData

WithData adds the data to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) WithID

WithID adds the id to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) WithSearch

WithSearch adds the search to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) WithTimeout

WithTimeout adds the timeout to the instance groups instance groups partial update params

func (*InstanceGroupsInstanceGroupsPartialUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InstanceGroupsInstanceGroupsPartialUpdateReader

type InstanceGroupsInstanceGroupsPartialUpdateReader struct {
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsPartialUpdateReader is a Reader for the InstanceGroupsInstanceGroupsPartialUpdate structure.

func (*InstanceGroupsInstanceGroupsPartialUpdateReader) ReadResponse

func (o *InstanceGroupsInstanceGroupsPartialUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InstanceGroupsInstanceGroupsReadOK

type InstanceGroupsInstanceGroupsReadOK struct {
}

InstanceGroupsInstanceGroupsReadOK handles this case with default header values.

OK

func NewInstanceGroupsInstanceGroupsReadOK

func NewInstanceGroupsInstanceGroupsReadOK() *InstanceGroupsInstanceGroupsReadOK

NewInstanceGroupsInstanceGroupsReadOK creates a InstanceGroupsInstanceGroupsReadOK with default headers values

func (*InstanceGroupsInstanceGroupsReadOK) Error

type InstanceGroupsInstanceGroupsReadParams

type InstanceGroupsInstanceGroupsReadParams struct {

	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsReadParams contains all the parameters to send to the API endpoint for the instance groups instance groups read operation typically these are written to a http.Request

func NewInstanceGroupsInstanceGroupsReadParams

func NewInstanceGroupsInstanceGroupsReadParams() *InstanceGroupsInstanceGroupsReadParams

NewInstanceGroupsInstanceGroupsReadParams creates a new InstanceGroupsInstanceGroupsReadParams object with the default values initialized.

func NewInstanceGroupsInstanceGroupsReadParamsWithContext

func NewInstanceGroupsInstanceGroupsReadParamsWithContext(ctx context.Context) *InstanceGroupsInstanceGroupsReadParams

NewInstanceGroupsInstanceGroupsReadParamsWithContext creates a new InstanceGroupsInstanceGroupsReadParams object with the default values initialized, and the ability to set a context for a request

func NewInstanceGroupsInstanceGroupsReadParamsWithHTTPClient

func NewInstanceGroupsInstanceGroupsReadParamsWithHTTPClient(client *http.Client) *InstanceGroupsInstanceGroupsReadParams

NewInstanceGroupsInstanceGroupsReadParamsWithHTTPClient creates a new InstanceGroupsInstanceGroupsReadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewInstanceGroupsInstanceGroupsReadParamsWithTimeout

func NewInstanceGroupsInstanceGroupsReadParamsWithTimeout(timeout time.Duration) *InstanceGroupsInstanceGroupsReadParams

NewInstanceGroupsInstanceGroupsReadParamsWithTimeout creates a new InstanceGroupsInstanceGroupsReadParams object with the default values initialized, and the ability to set a timeout on a request

func (*InstanceGroupsInstanceGroupsReadParams) SetContext

SetContext adds the context to the instance groups instance groups read params

func (*InstanceGroupsInstanceGroupsReadParams) SetHTTPClient

func (o *InstanceGroupsInstanceGroupsReadParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the instance groups instance groups read params

func (*InstanceGroupsInstanceGroupsReadParams) SetID

SetID adds the id to the instance groups instance groups read params

func (*InstanceGroupsInstanceGroupsReadParams) SetSearch

func (o *InstanceGroupsInstanceGroupsReadParams) SetSearch(search *string)

SetSearch adds the search to the instance groups instance groups read params

func (*InstanceGroupsInstanceGroupsReadParams) SetTimeout

func (o *InstanceGroupsInstanceGroupsReadParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the instance groups instance groups read params

func (*InstanceGroupsInstanceGroupsReadParams) WithContext

WithContext adds the context to the instance groups instance groups read params

func (*InstanceGroupsInstanceGroupsReadParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the instance groups instance groups read params

func (*InstanceGroupsInstanceGroupsReadParams) WithID

WithID adds the id to the instance groups instance groups read params

func (*InstanceGroupsInstanceGroupsReadParams) WithSearch

WithSearch adds the search to the instance groups instance groups read params

func (*InstanceGroupsInstanceGroupsReadParams) WithTimeout

WithTimeout adds the timeout to the instance groups instance groups read params

func (*InstanceGroupsInstanceGroupsReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InstanceGroupsInstanceGroupsReadReader

type InstanceGroupsInstanceGroupsReadReader struct {
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsReadReader is a Reader for the InstanceGroupsInstanceGroupsRead structure.

func (*InstanceGroupsInstanceGroupsReadReader) ReadResponse

func (o *InstanceGroupsInstanceGroupsReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InstanceGroupsInstanceGroupsUpdateBody

type InstanceGroupsInstanceGroupsUpdateBody struct {

	// credential
	Credential int64 `json:"credential,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// pod spec override
	PodSpecOverride string `json:"pod_spec_override,omitempty"`

	// List of exact-match Instances that will be assigned to this group
	PolicyInstanceList []string `json:"policy_instance_list"`

	// Static minimum number of Instances that will be automatically assign to this group when new instances come online.
	PolicyInstanceMinimum int64 `json:"policy_instance_minimum,omitempty"`

	// Minimum percentage of all instances that will be automatically assigned to this group when new instances come online.
	PolicyInstancePercentage int64 `json:"policy_instance_percentage,omitempty"`
}

InstanceGroupsInstanceGroupsUpdateBody instance groups instance groups update body swagger:model InstanceGroupsInstanceGroupsUpdateBody

func (*InstanceGroupsInstanceGroupsUpdateBody) MarshalBinary

func (o *InstanceGroupsInstanceGroupsUpdateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstanceGroupsInstanceGroupsUpdateBody) UnmarshalBinary

func (o *InstanceGroupsInstanceGroupsUpdateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstanceGroupsInstanceGroupsUpdateBody) Validate

Validate validates this instance groups instance groups update body

type InstanceGroupsInstanceGroupsUpdateOK

type InstanceGroupsInstanceGroupsUpdateOK struct {
}

InstanceGroupsInstanceGroupsUpdateOK handles this case with default header values.

OK

func NewInstanceGroupsInstanceGroupsUpdateOK

func NewInstanceGroupsInstanceGroupsUpdateOK() *InstanceGroupsInstanceGroupsUpdateOK

NewInstanceGroupsInstanceGroupsUpdateOK creates a InstanceGroupsInstanceGroupsUpdateOK with default headers values

func (*InstanceGroupsInstanceGroupsUpdateOK) Error

type InstanceGroupsInstanceGroupsUpdateParams

type InstanceGroupsInstanceGroupsUpdateParams struct {

	/*Data*/
	Data InstanceGroupsInstanceGroupsUpdateBody
	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsUpdateParams contains all the parameters to send to the API endpoint for the instance groups instance groups update operation typically these are written to a http.Request

func NewInstanceGroupsInstanceGroupsUpdateParams

func NewInstanceGroupsInstanceGroupsUpdateParams() *InstanceGroupsInstanceGroupsUpdateParams

NewInstanceGroupsInstanceGroupsUpdateParams creates a new InstanceGroupsInstanceGroupsUpdateParams object with the default values initialized.

func NewInstanceGroupsInstanceGroupsUpdateParamsWithContext

func NewInstanceGroupsInstanceGroupsUpdateParamsWithContext(ctx context.Context) *InstanceGroupsInstanceGroupsUpdateParams

NewInstanceGroupsInstanceGroupsUpdateParamsWithContext creates a new InstanceGroupsInstanceGroupsUpdateParams object with the default values initialized, and the ability to set a context for a request

func NewInstanceGroupsInstanceGroupsUpdateParamsWithHTTPClient

func NewInstanceGroupsInstanceGroupsUpdateParamsWithHTTPClient(client *http.Client) *InstanceGroupsInstanceGroupsUpdateParams

NewInstanceGroupsInstanceGroupsUpdateParamsWithHTTPClient creates a new InstanceGroupsInstanceGroupsUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewInstanceGroupsInstanceGroupsUpdateParamsWithTimeout

func NewInstanceGroupsInstanceGroupsUpdateParamsWithTimeout(timeout time.Duration) *InstanceGroupsInstanceGroupsUpdateParams

NewInstanceGroupsInstanceGroupsUpdateParamsWithTimeout creates a new InstanceGroupsInstanceGroupsUpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*InstanceGroupsInstanceGroupsUpdateParams) SetContext

SetContext adds the context to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) SetData

SetData adds the data to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) SetHTTPClient

func (o *InstanceGroupsInstanceGroupsUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) SetID

SetID adds the id to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) SetSearch

func (o *InstanceGroupsInstanceGroupsUpdateParams) SetSearch(search *string)

SetSearch adds the search to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) SetTimeout

SetTimeout adds the timeout to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) WithContext

WithContext adds the context to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) WithData

WithData adds the data to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) WithID

WithID adds the id to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) WithSearch

WithSearch adds the search to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) WithTimeout

WithTimeout adds the timeout to the instance groups instance groups update params

func (*InstanceGroupsInstanceGroupsUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InstanceGroupsInstanceGroupsUpdateReader

type InstanceGroupsInstanceGroupsUpdateReader struct {
	// contains filtered or unexported fields
}

InstanceGroupsInstanceGroupsUpdateReader is a Reader for the InstanceGroupsInstanceGroupsUpdate structure.

func (*InstanceGroupsInstanceGroupsUpdateReader) ReadResponse

func (o *InstanceGroupsInstanceGroupsUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL