universe_management

package
v0.0.0-...-af0b780 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 11 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 universe management API

func (*Client) ConfigureUniverseAlerts

func (a *Client) ConfigureUniverseAlerts(params *ConfigureUniverseAlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigureUniverseAlertsOK, error)

ConfigureUniverseAlerts configures alerts for a universe

func (*Client) DeleteUniverse

func (a *Client) DeleteUniverse(params *DeleteUniverseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUniverseOK, error)

DeleteUniverse deletes a universe

func (*Client) GetUniverse

func (a *Client) GetUniverse(params *GetUniverseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUniverseOK, error)

GetUniverse gets a universe

func (*Client) ListUniverses

func (a *Client) ListUniverses(params *ListUniversesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUniversesOK, error)

ListUniverses lists universes

func (*Client) PauseUniverse

func (a *Client) PauseUniverse(params *PauseUniverseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PauseUniverseOK, error)

PauseUniverse pauses a universe

func (*Client) ResetUniverseVersion

func (a *Client) ResetUniverseVersion(params *ResetUniverseVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetUniverseVersionOK, error)

ResetUniverseVersion resets universe version

Requires a DUMMY body to work around issue https://yugabyte.atlassian.net/browse/PLAT-2076

func (*Client) ResumeUniverse

func (a *Client) ResumeUniverse(params *ResumeUniverseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResumeUniverseOK, error)

ResumeUniverse resumes a paused universe

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SetUniverseBackupFlag

func (a *Client) SetUniverseBackupFlag(params *SetUniverseBackupFlagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetUniverseBackupFlagOK, error)

SetUniverseBackupFlag sets a universe s backup flag

func (*Client) SetUniverseHelm3Compatible

func (a *Client) SetUniverseHelm3Compatible(params *SetUniverseHelm3CompatibleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetUniverseHelm3CompatibleOK, error)

SetUniverseHelm3Compatible flags a universe as helm 3 compatible

func (*Client) SetUniverseKey

func (a *Client) SetUniverseKey(params *SetUniverseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetUniverseKeyOK, error)

SetUniverseKey sets a universe s key

func (*Client) ToggleUniverseTLS

func (a *Client) ToggleUniverseTLS(params *ToggleUniverseTLSParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ToggleUniverseTLSOK, error)

ToggleUniverseTLS toggles a universe s TLS state

Enable or disable node-to-node and client-to-node encryption. Supports rolling and non-rolling universe upgrades.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ConfigureUniverseAlerts(params *ConfigureUniverseAlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigureUniverseAlertsOK, error)

	DeleteUniverse(params *DeleteUniverseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUniverseOK, error)

	GetUniverse(params *GetUniverseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUniverseOK, error)

	ListUniverses(params *ListUniversesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUniversesOK, error)

	PauseUniverse(params *PauseUniverseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PauseUniverseOK, error)

	ResetUniverseVersion(params *ResetUniverseVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetUniverseVersionOK, error)

	ResumeUniverse(params *ResumeUniverseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResumeUniverseOK, error)

	SetUniverseBackupFlag(params *SetUniverseBackupFlagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetUniverseBackupFlagOK, error)

	SetUniverseHelm3Compatible(params *SetUniverseHelm3CompatibleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetUniverseHelm3CompatibleOK, error)

	SetUniverseKey(params *SetUniverseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetUniverseKeyOK, error)

	ToggleUniverseTLS(params *ToggleUniverseTLSParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ToggleUniverseTLSOK, 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 universe management API client.

type ConfigureUniverseAlertsOK

type ConfigureUniverseAlertsOK struct {
	Payload *models.YBPSuccess
}
ConfigureUniverseAlertsOK describes a response with status code 200, with default header values.

successful operation

func NewConfigureUniverseAlertsOK

func NewConfigureUniverseAlertsOK() *ConfigureUniverseAlertsOK

NewConfigureUniverseAlertsOK creates a ConfigureUniverseAlertsOK with default headers values

func (*ConfigureUniverseAlertsOK) Error

func (o *ConfigureUniverseAlertsOK) Error() string

func (*ConfigureUniverseAlertsOK) GetPayload

func (o *ConfigureUniverseAlertsOK) GetPayload() *models.YBPSuccess

type ConfigureUniverseAlertsParams

type ConfigureUniverseAlertsParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

ConfigureUniverseAlertsParams contains all the parameters to send to the API endpoint

for the configure universe alerts operation.

Typically these are written to a http.Request.

func NewConfigureUniverseAlertsParams

func NewConfigureUniverseAlertsParams() *ConfigureUniverseAlertsParams

NewConfigureUniverseAlertsParams creates a new ConfigureUniverseAlertsParams 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 NewConfigureUniverseAlertsParamsWithContext

func NewConfigureUniverseAlertsParamsWithContext(ctx context.Context) *ConfigureUniverseAlertsParams

NewConfigureUniverseAlertsParamsWithContext creates a new ConfigureUniverseAlertsParams object with the ability to set a context for a request.

func NewConfigureUniverseAlertsParamsWithHTTPClient

func NewConfigureUniverseAlertsParamsWithHTTPClient(client *http.Client) *ConfigureUniverseAlertsParams

NewConfigureUniverseAlertsParamsWithHTTPClient creates a new ConfigureUniverseAlertsParams object with the ability to set a custom HTTPClient for a request.

func NewConfigureUniverseAlertsParamsWithTimeout

func NewConfigureUniverseAlertsParamsWithTimeout(timeout time.Duration) *ConfigureUniverseAlertsParams

NewConfigureUniverseAlertsParamsWithTimeout creates a new ConfigureUniverseAlertsParams object with the ability to set a timeout on a request.

func (*ConfigureUniverseAlertsParams) SetCUUID

func (o *ConfigureUniverseAlertsParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the configure universe alerts params

func (*ConfigureUniverseAlertsParams) SetContext

func (o *ConfigureUniverseAlertsParams) SetContext(ctx context.Context)

SetContext adds the context to the configure universe alerts params

func (*ConfigureUniverseAlertsParams) SetDefaults

func (o *ConfigureUniverseAlertsParams) SetDefaults()

SetDefaults hydrates default values in the configure universe alerts params (not the query body).

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

func (*ConfigureUniverseAlertsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the configure universe alerts params

func (*ConfigureUniverseAlertsParams) SetTimeout

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

SetTimeout adds the timeout to the configure universe alerts params

func (*ConfigureUniverseAlertsParams) SetUniUUID

func (o *ConfigureUniverseAlertsParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the configure universe alerts params

func (*ConfigureUniverseAlertsParams) WithCUUID

WithCUUID adds the cUUID to the configure universe alerts params

func (*ConfigureUniverseAlertsParams) WithContext

WithContext adds the context to the configure universe alerts params

func (*ConfigureUniverseAlertsParams) WithDefaults

WithDefaults hydrates default values in the configure universe alerts params (not the query body).

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

func (*ConfigureUniverseAlertsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the configure universe alerts params

func (*ConfigureUniverseAlertsParams) WithTimeout

WithTimeout adds the timeout to the configure universe alerts params

func (*ConfigureUniverseAlertsParams) WithUniUUID

WithUniUUID adds the uniUUID to the configure universe alerts params

func (*ConfigureUniverseAlertsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConfigureUniverseAlertsReader

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

ConfigureUniverseAlertsReader is a Reader for the ConfigureUniverseAlerts structure.

func (*ConfigureUniverseAlertsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUniverseOK

type DeleteUniverseOK struct {
	Payload *models.YBPTask
}
DeleteUniverseOK describes a response with status code 200, with default header values.

successful operation

func NewDeleteUniverseOK

func NewDeleteUniverseOK() *DeleteUniverseOK

NewDeleteUniverseOK creates a DeleteUniverseOK with default headers values

func (*DeleteUniverseOK) Error

func (o *DeleteUniverseOK) Error() string

func (*DeleteUniverseOK) GetPayload

func (o *DeleteUniverseOK) GetPayload() *models.YBPTask

type DeleteUniverseParams

type DeleteUniverseParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// IsDeleteAssociatedCerts.
	IsDeleteAssociatedCerts *bool

	// IsDeleteBackups.
	IsDeleteBackups *bool

	// IsForceDelete.
	IsForceDelete *bool

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

DeleteUniverseParams contains all the parameters to send to the API endpoint

for the delete universe operation.

Typically these are written to a http.Request.

func NewDeleteUniverseParams

func NewDeleteUniverseParams() *DeleteUniverseParams

NewDeleteUniverseParams creates a new DeleteUniverseParams 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 NewDeleteUniverseParamsWithContext

func NewDeleteUniverseParamsWithContext(ctx context.Context) *DeleteUniverseParams

NewDeleteUniverseParamsWithContext creates a new DeleteUniverseParams object with the ability to set a context for a request.

func NewDeleteUniverseParamsWithHTTPClient

func NewDeleteUniverseParamsWithHTTPClient(client *http.Client) *DeleteUniverseParams

NewDeleteUniverseParamsWithHTTPClient creates a new DeleteUniverseParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUniverseParamsWithTimeout

func NewDeleteUniverseParamsWithTimeout(timeout time.Duration) *DeleteUniverseParams

NewDeleteUniverseParamsWithTimeout creates a new DeleteUniverseParams object with the ability to set a timeout on a request.

func (*DeleteUniverseParams) SetCUUID

func (o *DeleteUniverseParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the delete universe params

func (*DeleteUniverseParams) SetContext

func (o *DeleteUniverseParams) SetContext(ctx context.Context)

SetContext adds the context to the delete universe params

func (*DeleteUniverseParams) SetDefaults

func (o *DeleteUniverseParams) SetDefaults()

SetDefaults hydrates default values in the delete universe params (not the query body).

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

func (*DeleteUniverseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete universe params

func (*DeleteUniverseParams) SetIsDeleteAssociatedCerts

func (o *DeleteUniverseParams) SetIsDeleteAssociatedCerts(isDeleteAssociatedCerts *bool)

SetIsDeleteAssociatedCerts adds the isDeleteAssociatedCerts to the delete universe params

func (*DeleteUniverseParams) SetIsDeleteBackups

func (o *DeleteUniverseParams) SetIsDeleteBackups(isDeleteBackups *bool)

SetIsDeleteBackups adds the isDeleteBackups to the delete universe params

func (*DeleteUniverseParams) SetIsForceDelete

func (o *DeleteUniverseParams) SetIsForceDelete(isForceDelete *bool)

SetIsForceDelete adds the isForceDelete to the delete universe params

func (*DeleteUniverseParams) SetTimeout

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

SetTimeout adds the timeout to the delete universe params

func (*DeleteUniverseParams) SetUniUUID

func (o *DeleteUniverseParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the delete universe params

func (*DeleteUniverseParams) WithCUUID

WithCUUID adds the cUUID to the delete universe params

func (*DeleteUniverseParams) WithContext

WithContext adds the context to the delete universe params

func (*DeleteUniverseParams) WithDefaults

func (o *DeleteUniverseParams) WithDefaults() *DeleteUniverseParams

WithDefaults hydrates default values in the delete universe params (not the query body).

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

func (*DeleteUniverseParams) WithHTTPClient

func (o *DeleteUniverseParams) WithHTTPClient(client *http.Client) *DeleteUniverseParams

WithHTTPClient adds the HTTPClient to the delete universe params

func (*DeleteUniverseParams) WithIsDeleteAssociatedCerts

func (o *DeleteUniverseParams) WithIsDeleteAssociatedCerts(isDeleteAssociatedCerts *bool) *DeleteUniverseParams

WithIsDeleteAssociatedCerts adds the isDeleteAssociatedCerts to the delete universe params

func (*DeleteUniverseParams) WithIsDeleteBackups

func (o *DeleteUniverseParams) WithIsDeleteBackups(isDeleteBackups *bool) *DeleteUniverseParams

WithIsDeleteBackups adds the isDeleteBackups to the delete universe params

func (*DeleteUniverseParams) WithIsForceDelete

func (o *DeleteUniverseParams) WithIsForceDelete(isForceDelete *bool) *DeleteUniverseParams

WithIsForceDelete adds the isForceDelete to the delete universe params

func (*DeleteUniverseParams) WithTimeout

func (o *DeleteUniverseParams) WithTimeout(timeout time.Duration) *DeleteUniverseParams

WithTimeout adds the timeout to the delete universe params

func (*DeleteUniverseParams) WithUniUUID

func (o *DeleteUniverseParams) WithUniUUID(uniUUID strfmt.UUID) *DeleteUniverseParams

WithUniUUID adds the uniUUID to the delete universe params

func (*DeleteUniverseParams) WriteToRequest

func (o *DeleteUniverseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteUniverseReader

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

DeleteUniverseReader is a Reader for the DeleteUniverse structure.

func (*DeleteUniverseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUniverseOK

type GetUniverseOK struct {
	Payload *models.UniverseResp
}
GetUniverseOK describes a response with status code 200, with default header values.

successful operation

func NewGetUniverseOK

func NewGetUniverseOK() *GetUniverseOK

NewGetUniverseOK creates a GetUniverseOK with default headers values

func (*GetUniverseOK) Error

func (o *GetUniverseOK) Error() string

func (*GetUniverseOK) GetPayload

func (o *GetUniverseOK) GetPayload() *models.UniverseResp

type GetUniverseParams

type GetUniverseParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

GetUniverseParams contains all the parameters to send to the API endpoint

for the get universe operation.

Typically these are written to a http.Request.

func NewGetUniverseParams

func NewGetUniverseParams() *GetUniverseParams

NewGetUniverseParams creates a new GetUniverseParams 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 NewGetUniverseParamsWithContext

func NewGetUniverseParamsWithContext(ctx context.Context) *GetUniverseParams

NewGetUniverseParamsWithContext creates a new GetUniverseParams object with the ability to set a context for a request.

func NewGetUniverseParamsWithHTTPClient

func NewGetUniverseParamsWithHTTPClient(client *http.Client) *GetUniverseParams

NewGetUniverseParamsWithHTTPClient creates a new GetUniverseParams object with the ability to set a custom HTTPClient for a request.

func NewGetUniverseParamsWithTimeout

func NewGetUniverseParamsWithTimeout(timeout time.Duration) *GetUniverseParams

NewGetUniverseParamsWithTimeout creates a new GetUniverseParams object with the ability to set a timeout on a request.

func (*GetUniverseParams) SetCUUID

func (o *GetUniverseParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the get universe params

func (*GetUniverseParams) SetContext

func (o *GetUniverseParams) SetContext(ctx context.Context)

SetContext adds the context to the get universe params

func (*GetUniverseParams) SetDefaults

func (o *GetUniverseParams) SetDefaults()

SetDefaults hydrates default values in the get universe params (not the query body).

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

func (*GetUniverseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get universe params

func (*GetUniverseParams) SetTimeout

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

SetTimeout adds the timeout to the get universe params

func (*GetUniverseParams) SetUniUUID

func (o *GetUniverseParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the get universe params

func (*GetUniverseParams) WithCUUID

func (o *GetUniverseParams) WithCUUID(cUUID strfmt.UUID) *GetUniverseParams

WithCUUID adds the cUUID to the get universe params

func (*GetUniverseParams) WithContext

func (o *GetUniverseParams) WithContext(ctx context.Context) *GetUniverseParams

WithContext adds the context to the get universe params

func (*GetUniverseParams) WithDefaults

func (o *GetUniverseParams) WithDefaults() *GetUniverseParams

WithDefaults hydrates default values in the get universe params (not the query body).

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

func (*GetUniverseParams) WithHTTPClient

func (o *GetUniverseParams) WithHTTPClient(client *http.Client) *GetUniverseParams

WithHTTPClient adds the HTTPClient to the get universe params

func (*GetUniverseParams) WithTimeout

func (o *GetUniverseParams) WithTimeout(timeout time.Duration) *GetUniverseParams

WithTimeout adds the timeout to the get universe params

func (*GetUniverseParams) WithUniUUID

func (o *GetUniverseParams) WithUniUUID(uniUUID strfmt.UUID) *GetUniverseParams

WithUniUUID adds the uniUUID to the get universe params

func (*GetUniverseParams) WriteToRequest

func (o *GetUniverseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUniverseReader

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

GetUniverseReader is a Reader for the GetUniverse structure.

func (*GetUniverseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUniversesOK

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

successful operation

func NewListUniversesOK

func NewListUniversesOK() *ListUniversesOK

NewListUniversesOK creates a ListUniversesOK with default headers values

func (*ListUniversesOK) Error

func (o *ListUniversesOK) Error() string

func (*ListUniversesOK) GetPayload

func (o *ListUniversesOK) GetPayload() []*models.UniverseResp

type ListUniversesParams

type ListUniversesParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// Name.
	//
	// Default: "null"
	Name *string

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

ListUniversesParams contains all the parameters to send to the API endpoint

for the list universes operation.

Typically these are written to a http.Request.

func NewListUniversesParams

func NewListUniversesParams() *ListUniversesParams

NewListUniversesParams creates a new ListUniversesParams 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 NewListUniversesParamsWithContext

func NewListUniversesParamsWithContext(ctx context.Context) *ListUniversesParams

NewListUniversesParamsWithContext creates a new ListUniversesParams object with the ability to set a context for a request.

func NewListUniversesParamsWithHTTPClient

func NewListUniversesParamsWithHTTPClient(client *http.Client) *ListUniversesParams

NewListUniversesParamsWithHTTPClient creates a new ListUniversesParams object with the ability to set a custom HTTPClient for a request.

func NewListUniversesParamsWithTimeout

func NewListUniversesParamsWithTimeout(timeout time.Duration) *ListUniversesParams

NewListUniversesParamsWithTimeout creates a new ListUniversesParams object with the ability to set a timeout on a request.

func (*ListUniversesParams) SetCUUID

func (o *ListUniversesParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the list universes params

func (*ListUniversesParams) SetContext

func (o *ListUniversesParams) SetContext(ctx context.Context)

SetContext adds the context to the list universes params

func (*ListUniversesParams) SetDefaults

func (o *ListUniversesParams) SetDefaults()

SetDefaults hydrates default values in the list universes params (not the query body).

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

func (*ListUniversesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list universes params

func (*ListUniversesParams) SetName

func (o *ListUniversesParams) SetName(name *string)

SetName adds the name to the list universes params

func (*ListUniversesParams) SetTimeout

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

SetTimeout adds the timeout to the list universes params

func (*ListUniversesParams) WithCUUID

func (o *ListUniversesParams) WithCUUID(cUUID strfmt.UUID) *ListUniversesParams

WithCUUID adds the cUUID to the list universes params

func (*ListUniversesParams) WithContext

WithContext adds the context to the list universes params

func (*ListUniversesParams) WithDefaults

func (o *ListUniversesParams) WithDefaults() *ListUniversesParams

WithDefaults hydrates default values in the list universes params (not the query body).

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

func (*ListUniversesParams) WithHTTPClient

func (o *ListUniversesParams) WithHTTPClient(client *http.Client) *ListUniversesParams

WithHTTPClient adds the HTTPClient to the list universes params

func (*ListUniversesParams) WithName

func (o *ListUniversesParams) WithName(name *string) *ListUniversesParams

WithName adds the name to the list universes params

func (*ListUniversesParams) WithTimeout

func (o *ListUniversesParams) WithTimeout(timeout time.Duration) *ListUniversesParams

WithTimeout adds the timeout to the list universes params

func (*ListUniversesParams) WriteToRequest

func (o *ListUniversesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListUniversesReader

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

ListUniversesReader is a Reader for the ListUniverses structure.

func (*ListUniversesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PauseUniverseOK

type PauseUniverseOK struct {
	Payload *models.YBPTask
}
PauseUniverseOK describes a response with status code 200, with default header values.

successful operation

func NewPauseUniverseOK

func NewPauseUniverseOK() *PauseUniverseOK

NewPauseUniverseOK creates a PauseUniverseOK with default headers values

func (*PauseUniverseOK) Error

func (o *PauseUniverseOK) Error() string

func (*PauseUniverseOK) GetPayload

func (o *PauseUniverseOK) GetPayload() *models.YBPTask

type PauseUniverseParams

type PauseUniverseParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

PauseUniverseParams contains all the parameters to send to the API endpoint

for the pause universe operation.

Typically these are written to a http.Request.

func NewPauseUniverseParams

func NewPauseUniverseParams() *PauseUniverseParams

NewPauseUniverseParams creates a new PauseUniverseParams 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 NewPauseUniverseParamsWithContext

func NewPauseUniverseParamsWithContext(ctx context.Context) *PauseUniverseParams

NewPauseUniverseParamsWithContext creates a new PauseUniverseParams object with the ability to set a context for a request.

func NewPauseUniverseParamsWithHTTPClient

func NewPauseUniverseParamsWithHTTPClient(client *http.Client) *PauseUniverseParams

NewPauseUniverseParamsWithHTTPClient creates a new PauseUniverseParams object with the ability to set a custom HTTPClient for a request.

func NewPauseUniverseParamsWithTimeout

func NewPauseUniverseParamsWithTimeout(timeout time.Duration) *PauseUniverseParams

NewPauseUniverseParamsWithTimeout creates a new PauseUniverseParams object with the ability to set a timeout on a request.

func (*PauseUniverseParams) SetCUUID

func (o *PauseUniverseParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the pause universe params

func (*PauseUniverseParams) SetContext

func (o *PauseUniverseParams) SetContext(ctx context.Context)

SetContext adds the context to the pause universe params

func (*PauseUniverseParams) SetDefaults

func (o *PauseUniverseParams) SetDefaults()

SetDefaults hydrates default values in the pause universe params (not the query body).

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

func (*PauseUniverseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pause universe params

func (*PauseUniverseParams) SetTimeout

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

SetTimeout adds the timeout to the pause universe params

func (*PauseUniverseParams) SetUniUUID

func (o *PauseUniverseParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the pause universe params

func (*PauseUniverseParams) WithCUUID

func (o *PauseUniverseParams) WithCUUID(cUUID strfmt.UUID) *PauseUniverseParams

WithCUUID adds the cUUID to the pause universe params

func (*PauseUniverseParams) WithContext

WithContext adds the context to the pause universe params

func (*PauseUniverseParams) WithDefaults

func (o *PauseUniverseParams) WithDefaults() *PauseUniverseParams

WithDefaults hydrates default values in the pause universe params (not the query body).

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

func (*PauseUniverseParams) WithHTTPClient

func (o *PauseUniverseParams) WithHTTPClient(client *http.Client) *PauseUniverseParams

WithHTTPClient adds the HTTPClient to the pause universe params

func (*PauseUniverseParams) WithTimeout

func (o *PauseUniverseParams) WithTimeout(timeout time.Duration) *PauseUniverseParams

WithTimeout adds the timeout to the pause universe params

func (*PauseUniverseParams) WithUniUUID

func (o *PauseUniverseParams) WithUniUUID(uniUUID strfmt.UUID) *PauseUniverseParams

WithUniUUID adds the uniUUID to the pause universe params

func (*PauseUniverseParams) WriteToRequest

func (o *PauseUniverseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PauseUniverseReader

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

PauseUniverseReader is a Reader for the PauseUniverse structure.

func (*PauseUniverseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetUniverseVersionOK

type ResetUniverseVersionOK struct {
	Payload *models.YBPSuccess
}
ResetUniverseVersionOK describes a response with status code 200, with default header values.

successful operation

func NewResetUniverseVersionOK

func NewResetUniverseVersionOK() *ResetUniverseVersionOK

NewResetUniverseVersionOK creates a ResetUniverseVersionOK with default headers values

func (*ResetUniverseVersionOK) Error

func (o *ResetUniverseVersionOK) Error() string

func (*ResetUniverseVersionOK) GetPayload

func (o *ResetUniverseVersionOK) GetPayload() *models.YBPSuccess

type ResetUniverseVersionParams

type ResetUniverseVersionParams struct {

	/* Dummy.

	   Dummy value to work around platform bug PLAT-2076
	*/
	Dummy *models.DummyBody

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

ResetUniverseVersionParams contains all the parameters to send to the API endpoint

for the reset universe version operation.

Typically these are written to a http.Request.

func NewResetUniverseVersionParams

func NewResetUniverseVersionParams() *ResetUniverseVersionParams

NewResetUniverseVersionParams creates a new ResetUniverseVersionParams 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 NewResetUniverseVersionParamsWithContext

func NewResetUniverseVersionParamsWithContext(ctx context.Context) *ResetUniverseVersionParams

NewResetUniverseVersionParamsWithContext creates a new ResetUniverseVersionParams object with the ability to set a context for a request.

func NewResetUniverseVersionParamsWithHTTPClient

func NewResetUniverseVersionParamsWithHTTPClient(client *http.Client) *ResetUniverseVersionParams

NewResetUniverseVersionParamsWithHTTPClient creates a new ResetUniverseVersionParams object with the ability to set a custom HTTPClient for a request.

func NewResetUniverseVersionParamsWithTimeout

func NewResetUniverseVersionParamsWithTimeout(timeout time.Duration) *ResetUniverseVersionParams

NewResetUniverseVersionParamsWithTimeout creates a new ResetUniverseVersionParams object with the ability to set a timeout on a request.

func (*ResetUniverseVersionParams) SetCUUID

func (o *ResetUniverseVersionParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the reset universe version params

func (*ResetUniverseVersionParams) SetContext

func (o *ResetUniverseVersionParams) SetContext(ctx context.Context)

SetContext adds the context to the reset universe version params

func (*ResetUniverseVersionParams) SetDefaults

func (o *ResetUniverseVersionParams) SetDefaults()

SetDefaults hydrates default values in the reset universe version params (not the query body).

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

func (*ResetUniverseVersionParams) SetDummy

func (o *ResetUniverseVersionParams) SetDummy(dummy *models.DummyBody)

SetDummy adds the dummy to the reset universe version params

func (*ResetUniverseVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset universe version params

func (*ResetUniverseVersionParams) SetTimeout

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

SetTimeout adds the timeout to the reset universe version params

func (*ResetUniverseVersionParams) SetUniUUID

func (o *ResetUniverseVersionParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the reset universe version params

func (*ResetUniverseVersionParams) WithCUUID

WithCUUID adds the cUUID to the reset universe version params

func (*ResetUniverseVersionParams) WithContext

WithContext adds the context to the reset universe version params

func (*ResetUniverseVersionParams) WithDefaults

WithDefaults hydrates default values in the reset universe version params (not the query body).

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

func (*ResetUniverseVersionParams) WithDummy

WithDummy adds the dummy to the reset universe version params

func (*ResetUniverseVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reset universe version params

func (*ResetUniverseVersionParams) WithTimeout

WithTimeout adds the timeout to the reset universe version params

func (*ResetUniverseVersionParams) WithUniUUID

WithUniUUID adds the uniUUID to the reset universe version params

func (*ResetUniverseVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResetUniverseVersionReader

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

ResetUniverseVersionReader is a Reader for the ResetUniverseVersion structure.

func (*ResetUniverseVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResumeUniverseOK

type ResumeUniverseOK struct {
	Payload *models.YBPTask
}
ResumeUniverseOK describes a response with status code 200, with default header values.

successful operation

func NewResumeUniverseOK

func NewResumeUniverseOK() *ResumeUniverseOK

NewResumeUniverseOK creates a ResumeUniverseOK with default headers values

func (*ResumeUniverseOK) Error

func (o *ResumeUniverseOK) Error() string

func (*ResumeUniverseOK) GetPayload

func (o *ResumeUniverseOK) GetPayload() *models.YBPTask

type ResumeUniverseParams

type ResumeUniverseParams struct {

	/* Dummy.

	   Dummy value to work around platform bug PLAT-2076
	*/
	Dummy *models.DummyBody

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

ResumeUniverseParams contains all the parameters to send to the API endpoint

for the resume universe operation.

Typically these are written to a http.Request.

func NewResumeUniverseParams

func NewResumeUniverseParams() *ResumeUniverseParams

NewResumeUniverseParams creates a new ResumeUniverseParams 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 NewResumeUniverseParamsWithContext

func NewResumeUniverseParamsWithContext(ctx context.Context) *ResumeUniverseParams

NewResumeUniverseParamsWithContext creates a new ResumeUniverseParams object with the ability to set a context for a request.

func NewResumeUniverseParamsWithHTTPClient

func NewResumeUniverseParamsWithHTTPClient(client *http.Client) *ResumeUniverseParams

NewResumeUniverseParamsWithHTTPClient creates a new ResumeUniverseParams object with the ability to set a custom HTTPClient for a request.

func NewResumeUniverseParamsWithTimeout

func NewResumeUniverseParamsWithTimeout(timeout time.Duration) *ResumeUniverseParams

NewResumeUniverseParamsWithTimeout creates a new ResumeUniverseParams object with the ability to set a timeout on a request.

func (*ResumeUniverseParams) SetCUUID

func (o *ResumeUniverseParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the resume universe params

func (*ResumeUniverseParams) SetContext

func (o *ResumeUniverseParams) SetContext(ctx context.Context)

SetContext adds the context to the resume universe params

func (*ResumeUniverseParams) SetDefaults

func (o *ResumeUniverseParams) SetDefaults()

SetDefaults hydrates default values in the resume universe params (not the query body).

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

func (*ResumeUniverseParams) SetDummy

func (o *ResumeUniverseParams) SetDummy(dummy *models.DummyBody)

SetDummy adds the dummy to the resume universe params

func (*ResumeUniverseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resume universe params

func (*ResumeUniverseParams) SetTimeout

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

SetTimeout adds the timeout to the resume universe params

func (*ResumeUniverseParams) SetUniUUID

func (o *ResumeUniverseParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the resume universe params

func (*ResumeUniverseParams) WithCUUID

WithCUUID adds the cUUID to the resume universe params

func (*ResumeUniverseParams) WithContext

WithContext adds the context to the resume universe params

func (*ResumeUniverseParams) WithDefaults

func (o *ResumeUniverseParams) WithDefaults() *ResumeUniverseParams

WithDefaults hydrates default values in the resume universe params (not the query body).

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

func (*ResumeUniverseParams) WithDummy

WithDummy adds the dummy to the resume universe params

func (*ResumeUniverseParams) WithHTTPClient

func (o *ResumeUniverseParams) WithHTTPClient(client *http.Client) *ResumeUniverseParams

WithHTTPClient adds the HTTPClient to the resume universe params

func (*ResumeUniverseParams) WithTimeout

func (o *ResumeUniverseParams) WithTimeout(timeout time.Duration) *ResumeUniverseParams

WithTimeout adds the timeout to the resume universe params

func (*ResumeUniverseParams) WithUniUUID

func (o *ResumeUniverseParams) WithUniUUID(uniUUID strfmt.UUID) *ResumeUniverseParams

WithUniUUID adds the uniUUID to the resume universe params

func (*ResumeUniverseParams) WriteToRequest

func (o *ResumeUniverseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResumeUniverseReader

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

ResumeUniverseReader is a Reader for the ResumeUniverse structure.

func (*ResumeUniverseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetUniverseBackupFlagOK

type SetUniverseBackupFlagOK struct {
	Payload *models.YBPSuccess
}
SetUniverseBackupFlagOK describes a response with status code 200, with default header values.

successful operation

func NewSetUniverseBackupFlagOK

func NewSetUniverseBackupFlagOK() *SetUniverseBackupFlagOK

NewSetUniverseBackupFlagOK creates a SetUniverseBackupFlagOK with default headers values

func (*SetUniverseBackupFlagOK) Error

func (o *SetUniverseBackupFlagOK) Error() string

func (*SetUniverseBackupFlagOK) GetPayload

func (o *SetUniverseBackupFlagOK) GetPayload() *models.YBPSuccess

type SetUniverseBackupFlagParams

type SetUniverseBackupFlagParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// MarkActive.
	MarkActive *bool

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

SetUniverseBackupFlagParams contains all the parameters to send to the API endpoint

for the set universe backup flag operation.

Typically these are written to a http.Request.

func NewSetUniverseBackupFlagParams

func NewSetUniverseBackupFlagParams() *SetUniverseBackupFlagParams

NewSetUniverseBackupFlagParams creates a new SetUniverseBackupFlagParams 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 NewSetUniverseBackupFlagParamsWithContext

func NewSetUniverseBackupFlagParamsWithContext(ctx context.Context) *SetUniverseBackupFlagParams

NewSetUniverseBackupFlagParamsWithContext creates a new SetUniverseBackupFlagParams object with the ability to set a context for a request.

func NewSetUniverseBackupFlagParamsWithHTTPClient

func NewSetUniverseBackupFlagParamsWithHTTPClient(client *http.Client) *SetUniverseBackupFlagParams

NewSetUniverseBackupFlagParamsWithHTTPClient creates a new SetUniverseBackupFlagParams object with the ability to set a custom HTTPClient for a request.

func NewSetUniverseBackupFlagParamsWithTimeout

func NewSetUniverseBackupFlagParamsWithTimeout(timeout time.Duration) *SetUniverseBackupFlagParams

NewSetUniverseBackupFlagParamsWithTimeout creates a new SetUniverseBackupFlagParams object with the ability to set a timeout on a request.

func (*SetUniverseBackupFlagParams) SetCUUID

func (o *SetUniverseBackupFlagParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the set universe backup flag params

func (*SetUniverseBackupFlagParams) SetContext

func (o *SetUniverseBackupFlagParams) SetContext(ctx context.Context)

SetContext adds the context to the set universe backup flag params

func (*SetUniverseBackupFlagParams) SetDefaults

func (o *SetUniverseBackupFlagParams) SetDefaults()

SetDefaults hydrates default values in the set universe backup flag params (not the query body).

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

func (*SetUniverseBackupFlagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set universe backup flag params

func (*SetUniverseBackupFlagParams) SetMarkActive

func (o *SetUniverseBackupFlagParams) SetMarkActive(markActive *bool)

SetMarkActive adds the markActive to the set universe backup flag params

func (*SetUniverseBackupFlagParams) SetTimeout

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

SetTimeout adds the timeout to the set universe backup flag params

func (*SetUniverseBackupFlagParams) SetUniUUID

func (o *SetUniverseBackupFlagParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the set universe backup flag params

func (*SetUniverseBackupFlagParams) WithCUUID

WithCUUID adds the cUUID to the set universe backup flag params

func (*SetUniverseBackupFlagParams) WithContext

WithContext adds the context to the set universe backup flag params

func (*SetUniverseBackupFlagParams) WithDefaults

WithDefaults hydrates default values in the set universe backup flag params (not the query body).

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

func (*SetUniverseBackupFlagParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set universe backup flag params

func (*SetUniverseBackupFlagParams) WithMarkActive

func (o *SetUniverseBackupFlagParams) WithMarkActive(markActive *bool) *SetUniverseBackupFlagParams

WithMarkActive adds the markActive to the set universe backup flag params

func (*SetUniverseBackupFlagParams) WithTimeout

WithTimeout adds the timeout to the set universe backup flag params

func (*SetUniverseBackupFlagParams) WithUniUUID

WithUniUUID adds the uniUUID to the set universe backup flag params

func (*SetUniverseBackupFlagParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetUniverseBackupFlagReader

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

SetUniverseBackupFlagReader is a Reader for the SetUniverseBackupFlag structure.

func (*SetUniverseBackupFlagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetUniverseHelm3CompatibleOK

type SetUniverseHelm3CompatibleOK struct {
	Payload *models.YBPSuccess
}
SetUniverseHelm3CompatibleOK describes a response with status code 200, with default header values.

successful operation

func NewSetUniverseHelm3CompatibleOK

func NewSetUniverseHelm3CompatibleOK() *SetUniverseHelm3CompatibleOK

NewSetUniverseHelm3CompatibleOK creates a SetUniverseHelm3CompatibleOK with default headers values

func (*SetUniverseHelm3CompatibleOK) Error

func (*SetUniverseHelm3CompatibleOK) GetPayload

type SetUniverseHelm3CompatibleParams

type SetUniverseHelm3CompatibleParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

SetUniverseHelm3CompatibleParams contains all the parameters to send to the API endpoint

for the set universe helm3 compatible operation.

Typically these are written to a http.Request.

func NewSetUniverseHelm3CompatibleParams

func NewSetUniverseHelm3CompatibleParams() *SetUniverseHelm3CompatibleParams

NewSetUniverseHelm3CompatibleParams creates a new SetUniverseHelm3CompatibleParams 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 NewSetUniverseHelm3CompatibleParamsWithContext

func NewSetUniverseHelm3CompatibleParamsWithContext(ctx context.Context) *SetUniverseHelm3CompatibleParams

NewSetUniverseHelm3CompatibleParamsWithContext creates a new SetUniverseHelm3CompatibleParams object with the ability to set a context for a request.

func NewSetUniverseHelm3CompatibleParamsWithHTTPClient

func NewSetUniverseHelm3CompatibleParamsWithHTTPClient(client *http.Client) *SetUniverseHelm3CompatibleParams

NewSetUniverseHelm3CompatibleParamsWithHTTPClient creates a new SetUniverseHelm3CompatibleParams object with the ability to set a custom HTTPClient for a request.

func NewSetUniverseHelm3CompatibleParamsWithTimeout

func NewSetUniverseHelm3CompatibleParamsWithTimeout(timeout time.Duration) *SetUniverseHelm3CompatibleParams

NewSetUniverseHelm3CompatibleParamsWithTimeout creates a new SetUniverseHelm3CompatibleParams object with the ability to set a timeout on a request.

func (*SetUniverseHelm3CompatibleParams) SetCUUID

func (o *SetUniverseHelm3CompatibleParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the set universe helm3 compatible params

func (*SetUniverseHelm3CompatibleParams) SetContext

SetContext adds the context to the set universe helm3 compatible params

func (*SetUniverseHelm3CompatibleParams) SetDefaults

func (o *SetUniverseHelm3CompatibleParams) SetDefaults()

SetDefaults hydrates default values in the set universe helm3 compatible params (not the query body).

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

func (*SetUniverseHelm3CompatibleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set universe helm3 compatible params

func (*SetUniverseHelm3CompatibleParams) SetTimeout

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

SetTimeout adds the timeout to the set universe helm3 compatible params

func (*SetUniverseHelm3CompatibleParams) SetUniUUID

func (o *SetUniverseHelm3CompatibleParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the set universe helm3 compatible params

func (*SetUniverseHelm3CompatibleParams) WithCUUID

WithCUUID adds the cUUID to the set universe helm3 compatible params

func (*SetUniverseHelm3CompatibleParams) WithContext

WithContext adds the context to the set universe helm3 compatible params

func (*SetUniverseHelm3CompatibleParams) WithDefaults

WithDefaults hydrates default values in the set universe helm3 compatible params (not the query body).

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

func (*SetUniverseHelm3CompatibleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set universe helm3 compatible params

func (*SetUniverseHelm3CompatibleParams) WithTimeout

WithTimeout adds the timeout to the set universe helm3 compatible params

func (*SetUniverseHelm3CompatibleParams) WithUniUUID

WithUniUUID adds the uniUUID to the set universe helm3 compatible params

func (*SetUniverseHelm3CompatibleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetUniverseHelm3CompatibleReader

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

SetUniverseHelm3CompatibleReader is a Reader for the SetUniverseHelm3Compatible structure.

func (*SetUniverseHelm3CompatibleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetUniverseKeyOK

type SetUniverseKeyOK struct {
	Payload *models.UniverseResp
}
SetUniverseKeyOK describes a response with status code 200, with default header values.

successful operation

func NewSetUniverseKeyOK

func NewSetUniverseKeyOK() *SetUniverseKeyOK

NewSetUniverseKeyOK creates a SetUniverseKeyOK with default headers values

func (*SetUniverseKeyOK) Error

func (o *SetUniverseKeyOK) Error() string

func (*SetUniverseKeyOK) GetPayload

func (o *SetUniverseKeyOK) GetPayload() *models.UniverseResp

type SetUniverseKeyParams

type SetUniverseKeyParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

SetUniverseKeyParams contains all the parameters to send to the API endpoint

for the set universe key operation.

Typically these are written to a http.Request.

func NewSetUniverseKeyParams

func NewSetUniverseKeyParams() *SetUniverseKeyParams

NewSetUniverseKeyParams creates a new SetUniverseKeyParams 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 NewSetUniverseKeyParamsWithContext

func NewSetUniverseKeyParamsWithContext(ctx context.Context) *SetUniverseKeyParams

NewSetUniverseKeyParamsWithContext creates a new SetUniverseKeyParams object with the ability to set a context for a request.

func NewSetUniverseKeyParamsWithHTTPClient

func NewSetUniverseKeyParamsWithHTTPClient(client *http.Client) *SetUniverseKeyParams

NewSetUniverseKeyParamsWithHTTPClient creates a new SetUniverseKeyParams object with the ability to set a custom HTTPClient for a request.

func NewSetUniverseKeyParamsWithTimeout

func NewSetUniverseKeyParamsWithTimeout(timeout time.Duration) *SetUniverseKeyParams

NewSetUniverseKeyParamsWithTimeout creates a new SetUniverseKeyParams object with the ability to set a timeout on a request.

func (*SetUniverseKeyParams) SetCUUID

func (o *SetUniverseKeyParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the set universe key params

func (*SetUniverseKeyParams) SetContext

func (o *SetUniverseKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the set universe key params

func (*SetUniverseKeyParams) SetDefaults

func (o *SetUniverseKeyParams) SetDefaults()

SetDefaults hydrates default values in the set universe key params (not the query body).

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

func (*SetUniverseKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set universe key params

func (*SetUniverseKeyParams) SetTimeout

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

SetTimeout adds the timeout to the set universe key params

func (*SetUniverseKeyParams) SetUniUUID

func (o *SetUniverseKeyParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the set universe key params

func (*SetUniverseKeyParams) WithCUUID

WithCUUID adds the cUUID to the set universe key params

func (*SetUniverseKeyParams) WithContext

WithContext adds the context to the set universe key params

func (*SetUniverseKeyParams) WithDefaults

func (o *SetUniverseKeyParams) WithDefaults() *SetUniverseKeyParams

WithDefaults hydrates default values in the set universe key params (not the query body).

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

func (*SetUniverseKeyParams) WithHTTPClient

func (o *SetUniverseKeyParams) WithHTTPClient(client *http.Client) *SetUniverseKeyParams

WithHTTPClient adds the HTTPClient to the set universe key params

func (*SetUniverseKeyParams) WithTimeout

func (o *SetUniverseKeyParams) WithTimeout(timeout time.Duration) *SetUniverseKeyParams

WithTimeout adds the timeout to the set universe key params

func (*SetUniverseKeyParams) WithUniUUID

func (o *SetUniverseKeyParams) WithUniUUID(uniUUID strfmt.UUID) *SetUniverseKeyParams

WithUniUUID adds the uniUUID to the set universe key params

func (*SetUniverseKeyParams) WriteToRequest

func (o *SetUniverseKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SetUniverseKeyReader

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

SetUniverseKeyReader is a Reader for the SetUniverseKey structure.

func (*SetUniverseKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ToggleUniverseTLSOK

type ToggleUniverseTLSOK struct {
	Payload *models.UniverseResp
}
ToggleUniverseTLSOK describes a response with status code 200, with default header values.

successful operation

func NewToggleUniverseTLSOK

func NewToggleUniverseTLSOK() *ToggleUniverseTLSOK

NewToggleUniverseTLSOK creates a ToggleUniverseTLSOK with default headers values

func (*ToggleUniverseTLSOK) Error

func (o *ToggleUniverseTLSOK) Error() string

func (*ToggleUniverseTLSOK) GetPayload

func (o *ToggleUniverseTLSOK) GetPayload() *models.UniverseResp

type ToggleUniverseTLSParams

type ToggleUniverseTLSParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

ToggleUniverseTLSParams contains all the parameters to send to the API endpoint

for the toggle universe TLS operation.

Typically these are written to a http.Request.

func NewToggleUniverseTLSParams

func NewToggleUniverseTLSParams() *ToggleUniverseTLSParams

NewToggleUniverseTLSParams creates a new ToggleUniverseTLSParams 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 NewToggleUniverseTLSParamsWithContext

func NewToggleUniverseTLSParamsWithContext(ctx context.Context) *ToggleUniverseTLSParams

NewToggleUniverseTLSParamsWithContext creates a new ToggleUniverseTLSParams object with the ability to set a context for a request.

func NewToggleUniverseTLSParamsWithHTTPClient

func NewToggleUniverseTLSParamsWithHTTPClient(client *http.Client) *ToggleUniverseTLSParams

NewToggleUniverseTLSParamsWithHTTPClient creates a new ToggleUniverseTLSParams object with the ability to set a custom HTTPClient for a request.

func NewToggleUniverseTLSParamsWithTimeout

func NewToggleUniverseTLSParamsWithTimeout(timeout time.Duration) *ToggleUniverseTLSParams

NewToggleUniverseTLSParamsWithTimeout creates a new ToggleUniverseTLSParams object with the ability to set a timeout on a request.

func (*ToggleUniverseTLSParams) SetCUUID

func (o *ToggleUniverseTLSParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the toggle universe TLS params

func (*ToggleUniverseTLSParams) SetContext

func (o *ToggleUniverseTLSParams) SetContext(ctx context.Context)

SetContext adds the context to the toggle universe TLS params

func (*ToggleUniverseTLSParams) SetDefaults

func (o *ToggleUniverseTLSParams) SetDefaults()

SetDefaults hydrates default values in the toggle universe TLS params (not the query body).

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

func (*ToggleUniverseTLSParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the toggle universe TLS params

func (*ToggleUniverseTLSParams) SetTimeout

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

SetTimeout adds the timeout to the toggle universe TLS params

func (*ToggleUniverseTLSParams) SetUniUUID

func (o *ToggleUniverseTLSParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the toggle universe TLS params

func (*ToggleUniverseTLSParams) WithCUUID

WithCUUID adds the cUUID to the toggle universe TLS params

func (*ToggleUniverseTLSParams) WithContext

WithContext adds the context to the toggle universe TLS params

func (*ToggleUniverseTLSParams) WithDefaults

WithDefaults hydrates default values in the toggle universe TLS params (not the query body).

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

func (*ToggleUniverseTLSParams) WithHTTPClient

func (o *ToggleUniverseTLSParams) WithHTTPClient(client *http.Client) *ToggleUniverseTLSParams

WithHTTPClient adds the HTTPClient to the toggle universe TLS params

func (*ToggleUniverseTLSParams) WithTimeout

WithTimeout adds the timeout to the toggle universe TLS params

func (*ToggleUniverseTLSParams) WithUniUUID

WithUniUUID adds the uniUUID to the toggle universe TLS params

func (*ToggleUniverseTLSParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ToggleUniverseTLSReader

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

ToggleUniverseTLSReader is a Reader for the ToggleUniverseTLS structure.

func (*ToggleUniverseTLSReader) ReadResponse

func (o *ToggleUniverseTLSReader) 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