Documentation
¶
Index ¶
- type Client
- func (a *Client) ListOperatingSystemProfiles(params *ListOperatingSystemProfilesParams, ...) (*ListOperatingSystemProfilesOK, error)
- func (a *Client) ListOperatingSystemProfilesForCluster(params *ListOperatingSystemProfilesForClusterParams, ...) (*ListOperatingSystemProfilesForClusterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ListOperatingSystemProfilesDefault
- type ListOperatingSystemProfilesForClusterDefault
- type ListOperatingSystemProfilesForClusterForbidden
- type ListOperatingSystemProfilesForClusterOK
- type ListOperatingSystemProfilesForClusterParams
- func NewListOperatingSystemProfilesForClusterParams() *ListOperatingSystemProfilesForClusterParams
- func NewListOperatingSystemProfilesForClusterParamsWithContext(ctx context.Context) *ListOperatingSystemProfilesForClusterParams
- func NewListOperatingSystemProfilesForClusterParamsWithHTTPClient(client *http.Client) *ListOperatingSystemProfilesForClusterParams
- func NewListOperatingSystemProfilesForClusterParamsWithTimeout(timeout time.Duration) *ListOperatingSystemProfilesForClusterParams
- func (o *ListOperatingSystemProfilesForClusterParams) SetClusterID(clusterID string)
- func (o *ListOperatingSystemProfilesForClusterParams) SetContext(ctx context.Context)
- func (o *ListOperatingSystemProfilesForClusterParams) SetDefaults()
- func (o *ListOperatingSystemProfilesForClusterParams) SetHTTPClient(client *http.Client)
- func (o *ListOperatingSystemProfilesForClusterParams) SetProjectID(projectID string)
- func (o *ListOperatingSystemProfilesForClusterParams) SetTimeout(timeout time.Duration)
- func (o *ListOperatingSystemProfilesForClusterParams) WithClusterID(clusterID string) *ListOperatingSystemProfilesForClusterParams
- func (o *ListOperatingSystemProfilesForClusterParams) WithContext(ctx context.Context) *ListOperatingSystemProfilesForClusterParams
- func (o *ListOperatingSystemProfilesForClusterParams) WithDefaults() *ListOperatingSystemProfilesForClusterParams
- func (o *ListOperatingSystemProfilesForClusterParams) WithHTTPClient(client *http.Client) *ListOperatingSystemProfilesForClusterParams
- func (o *ListOperatingSystemProfilesForClusterParams) WithProjectID(projectID string) *ListOperatingSystemProfilesForClusterParams
- func (o *ListOperatingSystemProfilesForClusterParams) WithTimeout(timeout time.Duration) *ListOperatingSystemProfilesForClusterParams
- func (o *ListOperatingSystemProfilesForClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOperatingSystemProfilesForClusterReader
- type ListOperatingSystemProfilesForClusterUnauthorized
- type ListOperatingSystemProfilesForbidden
- type ListOperatingSystemProfilesOK
- type ListOperatingSystemProfilesParams
- func NewListOperatingSystemProfilesParams() *ListOperatingSystemProfilesParams
- func NewListOperatingSystemProfilesParamsWithContext(ctx context.Context) *ListOperatingSystemProfilesParams
- func NewListOperatingSystemProfilesParamsWithHTTPClient(client *http.Client) *ListOperatingSystemProfilesParams
- func NewListOperatingSystemProfilesParamsWithTimeout(timeout time.Duration) *ListOperatingSystemProfilesParams
- func (o *ListOperatingSystemProfilesParams) SetContext(ctx context.Context)
- func (o *ListOperatingSystemProfilesParams) SetDefaults()
- func (o *ListOperatingSystemProfilesParams) SetHTTPClient(client *http.Client)
- func (o *ListOperatingSystemProfilesParams) SetSeedName(seedName string)
- func (o *ListOperatingSystemProfilesParams) SetTimeout(timeout time.Duration)
- func (o *ListOperatingSystemProfilesParams) WithContext(ctx context.Context) *ListOperatingSystemProfilesParams
- func (o *ListOperatingSystemProfilesParams) WithDefaults() *ListOperatingSystemProfilesParams
- func (o *ListOperatingSystemProfilesParams) WithHTTPClient(client *http.Client) *ListOperatingSystemProfilesParams
- func (o *ListOperatingSystemProfilesParams) WithSeedName(seedName string) *ListOperatingSystemProfilesParams
- func (o *ListOperatingSystemProfilesParams) WithTimeout(timeout time.Duration) *ListOperatingSystemProfilesParams
- func (o *ListOperatingSystemProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOperatingSystemProfilesReader
- type ListOperatingSystemProfilesUnauthorized
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 ¶
func (o *ListOperatingSystemProfilesDefault) Code() int
Code gets the status code for the list operating system profiles default response
func (*ListOperatingSystemProfilesDefault) Error ¶
func (o *ListOperatingSystemProfilesDefault) Error() string
func (*ListOperatingSystemProfilesDefault) GetPayload ¶
func (o *ListOperatingSystemProfilesDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListOperatingSystemProfilesForClusterDefault) Code() int
Code gets the status code for the list operating system profiles for cluster default response
func (*ListOperatingSystemProfilesForClusterDefault) Error ¶
func (o *ListOperatingSystemProfilesForClusterDefault) Error() string
func (*ListOperatingSystemProfilesForClusterDefault) GetPayload ¶
func (o *ListOperatingSystemProfilesForClusterDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListOperatingSystemProfilesForClusterForbidden) Error() string
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 (o *ListOperatingSystemProfilesForClusterOK) Error() string
func (*ListOperatingSystemProfilesForClusterOK) GetPayload ¶
func (o *ListOperatingSystemProfilesForClusterOK) GetPayload() []*models.OperatingSystemProfile
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 ¶
func (o *ListOperatingSystemProfilesForClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the list operating system profiles for cluster params
func (*ListOperatingSystemProfilesForClusterParams) SetDefaults ¶
func (o *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 ¶
func (o *ListOperatingSystemProfilesForClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list operating system profiles for cluster params
func (*ListOperatingSystemProfilesForClusterParams) WithClusterID ¶
func (o *ListOperatingSystemProfilesForClusterParams) WithClusterID(clusterID string) *ListOperatingSystemProfilesForClusterParams
WithClusterID adds the clusterID to the list operating system profiles for cluster params
func (*ListOperatingSystemProfilesForClusterParams) WithContext ¶
func (o *ListOperatingSystemProfilesForClusterParams) WithContext(ctx context.Context) *ListOperatingSystemProfilesForClusterParams
WithContext adds the context to the list operating system profiles for cluster params
func (*ListOperatingSystemProfilesForClusterParams) WithDefaults ¶
func (o *ListOperatingSystemProfilesForClusterParams) WithDefaults() *ListOperatingSystemProfilesForClusterParams
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 ¶
func (o *ListOperatingSystemProfilesForClusterParams) WithHTTPClient(client *http.Client) *ListOperatingSystemProfilesForClusterParams
WithHTTPClient adds the HTTPClient to the list operating system profiles for cluster params
func (*ListOperatingSystemProfilesForClusterParams) WithProjectID ¶
func (o *ListOperatingSystemProfilesForClusterParams) WithProjectID(projectID string) *ListOperatingSystemProfilesForClusterParams
WithProjectID adds the projectID to the list operating system profiles for cluster params
func (*ListOperatingSystemProfilesForClusterParams) WithTimeout ¶
func (o *ListOperatingSystemProfilesForClusterParams) WithTimeout(timeout time.Duration) *ListOperatingSystemProfilesForClusterParams
WithTimeout adds the timeout to the list operating system profiles for cluster params
func (*ListOperatingSystemProfilesForClusterParams) WriteToRequest ¶
func (o *ListOperatingSystemProfilesForClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListOperatingSystemProfilesForClusterUnauthorized) Error() string
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 ¶
func (o *ListOperatingSystemProfilesForbidden) Error() string
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 (o *ListOperatingSystemProfilesOK) Error() string
func (*ListOperatingSystemProfilesOK) GetPayload ¶
func (o *ListOperatingSystemProfilesOK) GetPayload() []*models.OperatingSystemProfile
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 ¶
func (o *ListOperatingSystemProfilesParams) SetContext(ctx context.Context)
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 ¶
func (o *ListOperatingSystemProfilesParams) WithContext(ctx context.Context) *ListOperatingSystemProfilesParams
WithContext adds the context to the list operating system profiles params
func (*ListOperatingSystemProfilesParams) WithDefaults ¶
func (o *ListOperatingSystemProfilesParams) WithDefaults() *ListOperatingSystemProfilesParams
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 ¶
func (o *ListOperatingSystemProfilesParams) WithHTTPClient(client *http.Client) *ListOperatingSystemProfilesParams
WithHTTPClient adds the HTTPClient to the list operating system profiles params
func (*ListOperatingSystemProfilesParams) WithSeedName ¶
func (o *ListOperatingSystemProfilesParams) WithSeedName(seedName string) *ListOperatingSystemProfilesParams
WithSeedName adds the seedName to the list operating system profiles params
func (*ListOperatingSystemProfilesParams) WithTimeout ¶
func (o *ListOperatingSystemProfilesParams) WithTimeout(timeout time.Duration) *ListOperatingSystemProfilesParams
WithTimeout adds the timeout to the list operating system profiles params
func (*ListOperatingSystemProfilesParams) WriteToRequest ¶
func (o *ListOperatingSystemProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListOperatingSystemProfilesUnauthorized) Error() string