operatingsystemprofile

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 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 operatingsystemprofile API

func (*Client) ListOperatingSystemProfiles

func (a *Client) ListOperatingSystemProfiles(params *ListOperatingSystemProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOperatingSystemProfilesOK, error)

ListOperatingSystemProfiles lists operating system profiles

func (*Client) ListOperatingSystemProfilesForCluster

func (a *Client) ListOperatingSystemProfilesForCluster(params *ListOperatingSystemProfilesForClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOperatingSystemProfilesForClusterOK, error)

ListOperatingSystemProfilesForCluster Lists all available Operating System Profiles for a cluster

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ListOperatingSystemProfiles(params *ListOperatingSystemProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOperatingSystemProfilesOK, error)

	ListOperatingSystemProfilesForCluster(params *ListOperatingSystemProfilesForClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOperatingSystemProfilesForClusterOK, 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 operatingsystemprofile API client.

type ListOperatingSystemProfilesDefault

type ListOperatingSystemProfilesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListOperatingSystemProfilesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListOperatingSystemProfilesDefault

func NewListOperatingSystemProfilesDefault(code int) *ListOperatingSystemProfilesDefault

NewListOperatingSystemProfilesDefault creates a ListOperatingSystemProfilesDefault with default headers values

func (*ListOperatingSystemProfilesDefault) Code

Code gets the status code for the list operating system profiles default response

func (*ListOperatingSystemProfilesDefault) Error

func (*ListOperatingSystemProfilesDefault) GetPayload

type ListOperatingSystemProfilesForClusterDefault

type ListOperatingSystemProfilesForClusterDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListOperatingSystemProfilesForClusterDefault describes a response with status code -1, with default header values.

errorResponse

func NewListOperatingSystemProfilesForClusterDefault

func NewListOperatingSystemProfilesForClusterDefault(code int) *ListOperatingSystemProfilesForClusterDefault

NewListOperatingSystemProfilesForClusterDefault creates a ListOperatingSystemProfilesForClusterDefault with default headers values

func (*ListOperatingSystemProfilesForClusterDefault) Code

Code gets the status code for the list operating system profiles for cluster default response

func (*ListOperatingSystemProfilesForClusterDefault) Error

func (*ListOperatingSystemProfilesForClusterDefault) GetPayload

type ListOperatingSystemProfilesForClusterForbidden

type ListOperatingSystemProfilesForClusterForbidden struct {
}
ListOperatingSystemProfilesForClusterForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListOperatingSystemProfilesForClusterForbidden

func NewListOperatingSystemProfilesForClusterForbidden() *ListOperatingSystemProfilesForClusterForbidden

NewListOperatingSystemProfilesForClusterForbidden creates a ListOperatingSystemProfilesForClusterForbidden with default headers values

func (*ListOperatingSystemProfilesForClusterForbidden) Error

type ListOperatingSystemProfilesForClusterOK

type ListOperatingSystemProfilesForClusterOK struct {
	Payload []*models.OperatingSystemProfile
}
ListOperatingSystemProfilesForClusterOK describes a response with status code 200, with default header values.

OperatingSystemProfile

func NewListOperatingSystemProfilesForClusterOK

func NewListOperatingSystemProfilesForClusterOK() *ListOperatingSystemProfilesForClusterOK

NewListOperatingSystemProfilesForClusterOK creates a ListOperatingSystemProfilesForClusterOK with default headers values

func (*ListOperatingSystemProfilesForClusterOK) Error

func (*ListOperatingSystemProfilesForClusterOK) GetPayload

type ListOperatingSystemProfilesForClusterParams

type ListOperatingSystemProfilesForClusterParams struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListOperatingSystemProfilesForClusterParams contains all the parameters to send to the API endpoint

for the list operating system profiles for cluster operation.

Typically these are written to a http.Request.

func NewListOperatingSystemProfilesForClusterParams

func NewListOperatingSystemProfilesForClusterParams() *ListOperatingSystemProfilesForClusterParams

NewListOperatingSystemProfilesForClusterParams creates a new ListOperatingSystemProfilesForClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListOperatingSystemProfilesForClusterParamsWithContext

func NewListOperatingSystemProfilesForClusterParamsWithContext(ctx context.Context) *ListOperatingSystemProfilesForClusterParams

NewListOperatingSystemProfilesForClusterParamsWithContext creates a new ListOperatingSystemProfilesForClusterParams object with the ability to set a context for a request.

func NewListOperatingSystemProfilesForClusterParamsWithHTTPClient

func NewListOperatingSystemProfilesForClusterParamsWithHTTPClient(client *http.Client) *ListOperatingSystemProfilesForClusterParams

NewListOperatingSystemProfilesForClusterParamsWithHTTPClient creates a new ListOperatingSystemProfilesForClusterParams object with the ability to set a custom HTTPClient for a request.

func NewListOperatingSystemProfilesForClusterParamsWithTimeout

func NewListOperatingSystemProfilesForClusterParamsWithTimeout(timeout time.Duration) *ListOperatingSystemProfilesForClusterParams

NewListOperatingSystemProfilesForClusterParamsWithTimeout creates a new ListOperatingSystemProfilesForClusterParams object with the ability to set a timeout on a request.

func (*ListOperatingSystemProfilesForClusterParams) SetClusterID

func (o *ListOperatingSystemProfilesForClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list operating system profiles for cluster params

func (*ListOperatingSystemProfilesForClusterParams) SetContext

SetContext adds the context to the list operating system profiles for cluster params

func (*ListOperatingSystemProfilesForClusterParams) SetDefaults

SetDefaults hydrates default values in the list operating system profiles for cluster params (not the query body).

All values with no default are reset to their zero value.

func (*ListOperatingSystemProfilesForClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list operating system profiles for cluster params

func (*ListOperatingSystemProfilesForClusterParams) SetProjectID

func (o *ListOperatingSystemProfilesForClusterParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list operating system profiles for cluster params

func (*ListOperatingSystemProfilesForClusterParams) SetTimeout

SetTimeout adds the timeout to the list operating system profiles for cluster params

func (*ListOperatingSystemProfilesForClusterParams) WithClusterID

WithClusterID adds the clusterID to the list operating system profiles for cluster params

func (*ListOperatingSystemProfilesForClusterParams) WithContext

WithContext adds the context to the list operating system profiles for cluster params

func (*ListOperatingSystemProfilesForClusterParams) WithDefaults

WithDefaults hydrates default values in the list operating system profiles for cluster params (not the query body).

All values with no default are reset to their zero value.

func (*ListOperatingSystemProfilesForClusterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list operating system profiles for cluster params

func (*ListOperatingSystemProfilesForClusterParams) WithProjectID

WithProjectID adds the projectID to the list operating system profiles for cluster params

func (*ListOperatingSystemProfilesForClusterParams) WithTimeout

WithTimeout adds the timeout to the list operating system profiles for cluster params

func (*ListOperatingSystemProfilesForClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOperatingSystemProfilesForClusterReader

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

ListOperatingSystemProfilesForClusterReader is a Reader for the ListOperatingSystemProfilesForCluster structure.

func (*ListOperatingSystemProfilesForClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOperatingSystemProfilesForClusterUnauthorized

type ListOperatingSystemProfilesForClusterUnauthorized struct {
}
ListOperatingSystemProfilesForClusterUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListOperatingSystemProfilesForClusterUnauthorized

func NewListOperatingSystemProfilesForClusterUnauthorized() *ListOperatingSystemProfilesForClusterUnauthorized

NewListOperatingSystemProfilesForClusterUnauthorized creates a ListOperatingSystemProfilesForClusterUnauthorized with default headers values

func (*ListOperatingSystemProfilesForClusterUnauthorized) Error

type ListOperatingSystemProfilesForbidden

type ListOperatingSystemProfilesForbidden struct {
}
ListOperatingSystemProfilesForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListOperatingSystemProfilesForbidden

func NewListOperatingSystemProfilesForbidden() *ListOperatingSystemProfilesForbidden

NewListOperatingSystemProfilesForbidden creates a ListOperatingSystemProfilesForbidden with default headers values

func (*ListOperatingSystemProfilesForbidden) Error

type ListOperatingSystemProfilesOK

type ListOperatingSystemProfilesOK struct {
	Payload []*models.OperatingSystemProfile
}
ListOperatingSystemProfilesOK describes a response with status code 200, with default header values.

OperatingSystemProfile

func NewListOperatingSystemProfilesOK

func NewListOperatingSystemProfilesOK() *ListOperatingSystemProfilesOK

NewListOperatingSystemProfilesOK creates a ListOperatingSystemProfilesOK with default headers values

func (*ListOperatingSystemProfilesOK) Error

func (*ListOperatingSystemProfilesOK) GetPayload

type ListOperatingSystemProfilesParams

type ListOperatingSystemProfilesParams struct {

	// SeedName.
	SeedName string

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

ListOperatingSystemProfilesParams contains all the parameters to send to the API endpoint

for the list operating system profiles operation.

Typically these are written to a http.Request.

func NewListOperatingSystemProfilesParams

func NewListOperatingSystemProfilesParams() *ListOperatingSystemProfilesParams

NewListOperatingSystemProfilesParams creates a new ListOperatingSystemProfilesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListOperatingSystemProfilesParamsWithContext

func NewListOperatingSystemProfilesParamsWithContext(ctx context.Context) *ListOperatingSystemProfilesParams

NewListOperatingSystemProfilesParamsWithContext creates a new ListOperatingSystemProfilesParams object with the ability to set a context for a request.

func NewListOperatingSystemProfilesParamsWithHTTPClient

func NewListOperatingSystemProfilesParamsWithHTTPClient(client *http.Client) *ListOperatingSystemProfilesParams

NewListOperatingSystemProfilesParamsWithHTTPClient creates a new ListOperatingSystemProfilesParams object with the ability to set a custom HTTPClient for a request.

func NewListOperatingSystemProfilesParamsWithTimeout

func NewListOperatingSystemProfilesParamsWithTimeout(timeout time.Duration) *ListOperatingSystemProfilesParams

NewListOperatingSystemProfilesParamsWithTimeout creates a new ListOperatingSystemProfilesParams object with the ability to set a timeout on a request.

func (*ListOperatingSystemProfilesParams) SetContext

SetContext adds the context to the list operating system profiles params

func (*ListOperatingSystemProfilesParams) SetDefaults

func (o *ListOperatingSystemProfilesParams) SetDefaults()

SetDefaults hydrates default values in the list operating system profiles params (not the query body).

All values with no default are reset to their zero value.

func (*ListOperatingSystemProfilesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list operating system profiles params

func (*ListOperatingSystemProfilesParams) SetSeedName

func (o *ListOperatingSystemProfilesParams) SetSeedName(seedName string)

SetSeedName adds the seedName to the list operating system profiles params

func (*ListOperatingSystemProfilesParams) SetTimeout

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

SetTimeout adds the timeout to the list operating system profiles params

func (*ListOperatingSystemProfilesParams) WithContext

WithContext adds the context to the list operating system profiles params

func (*ListOperatingSystemProfilesParams) WithDefaults

WithDefaults hydrates default values in the list operating system profiles params (not the query body).

All values with no default are reset to their zero value.

func (*ListOperatingSystemProfilesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list operating system profiles params

func (*ListOperatingSystemProfilesParams) WithSeedName

WithSeedName adds the seedName to the list operating system profiles params

func (*ListOperatingSystemProfilesParams) WithTimeout

WithTimeout adds the timeout to the list operating system profiles params

func (*ListOperatingSystemProfilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOperatingSystemProfilesReader

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

ListOperatingSystemProfilesReader is a Reader for the ListOperatingSystemProfiles structure.

func (*ListOperatingSystemProfilesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOperatingSystemProfilesUnauthorized

type ListOperatingSystemProfilesUnauthorized struct {
}
ListOperatingSystemProfilesUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListOperatingSystemProfilesUnauthorized

func NewListOperatingSystemProfilesUnauthorized() *ListOperatingSystemProfilesUnauthorized

NewListOperatingSystemProfilesUnauthorized creates a ListOperatingSystemProfilesUnauthorized with default headers values

func (*ListOperatingSystemProfilesUnauthorized) Error

Jump to

Keyboard shortcuts

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