platform_configuration_networking

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

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 platform configuration networking API

func (*Client) GetDefaultDeploymentDomainName

func (a *Client) GetDefaultDeploymentDomainName(params *GetDefaultDeploymentDomainNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetDefaultDeploymentDomainNameOK, error)

GetDefaultDeploymentDomainName gets default deployment domain name

Gets the default Deployment Domain Name configuration value.

func (*Client) GetResourceKindDeploymentDomainName

GetResourceKindDeploymentDomainName gets deployment domain name for a resource kind

Gets Deployment Domain Name configuration value for a resource kind.

func (*Client) SetDefaultDeploymentDomainName

func (a *Client) SetDefaultDeploymentDomainName(params *SetDefaultDeploymentDomainNameParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultDeploymentDomainNameOK, error)

SetDefaultDeploymentDomainName sets default deployment domain name

Saves the default Deployment Domain Name configuration value.

func (*Client) SetResourceKindDeploymentDomainName

SetResourceKindDeploymentDomainName sets deployment domain name for a resource kind

Saves the Deployment Domain Name configuration value for a resource kind.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetDefaultDeploymentDomainName(params *GetDefaultDeploymentDomainNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetDefaultDeploymentDomainNameOK, error)

	GetResourceKindDeploymentDomainName(params *GetResourceKindDeploymentDomainNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourceKindDeploymentDomainNameOK, error)

	SetDefaultDeploymentDomainName(params *SetDefaultDeploymentDomainNameParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultDeploymentDomainNameOK, error)

	SetResourceKindDeploymentDomainName(params *SetResourceKindDeploymentDomainNameParams, authInfo runtime.ClientAuthInfoWriter) (*SetResourceKindDeploymentDomainNameOK, 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 platform configuration networking API client.

type GetDefaultDeploymentDomainNameNotFound

type GetDefaultDeploymentDomainNameNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetDefaultDeploymentDomainNameNotFound handles this case with default header values.

There is no configured Deployment Domain Name but optimistic locking was sent. (code: `networking.cname.not_found`)

func NewGetDefaultDeploymentDomainNameNotFound

func NewGetDefaultDeploymentDomainNameNotFound() *GetDefaultDeploymentDomainNameNotFound

NewGetDefaultDeploymentDomainNameNotFound creates a GetDefaultDeploymentDomainNameNotFound with default headers values

func (*GetDefaultDeploymentDomainNameNotFound) Error

func (*GetDefaultDeploymentDomainNameNotFound) GetPayload

type GetDefaultDeploymentDomainNameOK

type GetDefaultDeploymentDomainNameOK struct {
	/*The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string
	/*The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string
	/*The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.DeploymentDomainName
}

GetDefaultDeploymentDomainNameOK handles this case with default header values.

The Deployment Domain Name was successfully retrieved

func NewGetDefaultDeploymentDomainNameOK

func NewGetDefaultDeploymentDomainNameOK() *GetDefaultDeploymentDomainNameOK

NewGetDefaultDeploymentDomainNameOK creates a GetDefaultDeploymentDomainNameOK with default headers values

func (*GetDefaultDeploymentDomainNameOK) Error

func (*GetDefaultDeploymentDomainNameOK) GetPayload

type GetDefaultDeploymentDomainNameParams

type GetDefaultDeploymentDomainNameParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDefaultDeploymentDomainNameParams contains all the parameters to send to the API endpoint for the get default deployment domain name operation typically these are written to a http.Request

func NewGetDefaultDeploymentDomainNameParams

func NewGetDefaultDeploymentDomainNameParams() *GetDefaultDeploymentDomainNameParams

NewGetDefaultDeploymentDomainNameParams creates a new GetDefaultDeploymentDomainNameParams object with the default values initialized.

func NewGetDefaultDeploymentDomainNameParamsWithContext

func NewGetDefaultDeploymentDomainNameParamsWithContext(ctx context.Context) *GetDefaultDeploymentDomainNameParams

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

func NewGetDefaultDeploymentDomainNameParamsWithHTTPClient

func NewGetDefaultDeploymentDomainNameParamsWithHTTPClient(client *http.Client) *GetDefaultDeploymentDomainNameParams

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

func NewGetDefaultDeploymentDomainNameParamsWithTimeout

func NewGetDefaultDeploymentDomainNameParamsWithTimeout(timeout time.Duration) *GetDefaultDeploymentDomainNameParams

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

func (*GetDefaultDeploymentDomainNameParams) SetContext

SetContext adds the context to the get default deployment domain name params

func (*GetDefaultDeploymentDomainNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get default deployment domain name params

func (*GetDefaultDeploymentDomainNameParams) SetTimeout

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

SetTimeout adds the timeout to the get default deployment domain name params

func (*GetDefaultDeploymentDomainNameParams) WithContext

WithContext adds the context to the get default deployment domain name params

func (*GetDefaultDeploymentDomainNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get default deployment domain name params

func (*GetDefaultDeploymentDomainNameParams) WithTimeout

WithTimeout adds the timeout to the get default deployment domain name params

func (*GetDefaultDeploymentDomainNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDefaultDeploymentDomainNameReader

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

GetDefaultDeploymentDomainNameReader is a Reader for the GetDefaultDeploymentDomainName structure.

func (*GetDefaultDeploymentDomainNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceKindDeploymentDomainNameNotFound

type GetResourceKindDeploymentDomainNameNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetResourceKindDeploymentDomainNameNotFound handles this case with default header values.

There is no configured Deployment Domain Name but optimistic locking was sent. (code: `networking.cname.not_found`)

func NewGetResourceKindDeploymentDomainNameNotFound

func NewGetResourceKindDeploymentDomainNameNotFound() *GetResourceKindDeploymentDomainNameNotFound

NewGetResourceKindDeploymentDomainNameNotFound creates a GetResourceKindDeploymentDomainNameNotFound with default headers values

func (*GetResourceKindDeploymentDomainNameNotFound) Error

func (*GetResourceKindDeploymentDomainNameNotFound) GetPayload

type GetResourceKindDeploymentDomainNameOK

type GetResourceKindDeploymentDomainNameOK struct {
	/*The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string
	/*The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string
	/*The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.DeploymentDomainName
}

GetResourceKindDeploymentDomainNameOK handles this case with default header values.

The Deployment Domain Name was successfully retrieved

func NewGetResourceKindDeploymentDomainNameOK

func NewGetResourceKindDeploymentDomainNameOK() *GetResourceKindDeploymentDomainNameOK

NewGetResourceKindDeploymentDomainNameOK creates a GetResourceKindDeploymentDomainNameOK with default headers values

func (*GetResourceKindDeploymentDomainNameOK) Error

func (*GetResourceKindDeploymentDomainNameOK) GetPayload

type GetResourceKindDeploymentDomainNameParams

type GetResourceKindDeploymentDomainNameParams struct {

	/*ResourceKind
	  The kind of resource you want to manage a Deployment Domain Name for.

	*/
	ResourceKind string

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

GetResourceKindDeploymentDomainNameParams contains all the parameters to send to the API endpoint for the get resource kind deployment domain name operation typically these are written to a http.Request

func NewGetResourceKindDeploymentDomainNameParams

func NewGetResourceKindDeploymentDomainNameParams() *GetResourceKindDeploymentDomainNameParams

NewGetResourceKindDeploymentDomainNameParams creates a new GetResourceKindDeploymentDomainNameParams object with the default values initialized.

func NewGetResourceKindDeploymentDomainNameParamsWithContext

func NewGetResourceKindDeploymentDomainNameParamsWithContext(ctx context.Context) *GetResourceKindDeploymentDomainNameParams

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

func NewGetResourceKindDeploymentDomainNameParamsWithHTTPClient

func NewGetResourceKindDeploymentDomainNameParamsWithHTTPClient(client *http.Client) *GetResourceKindDeploymentDomainNameParams

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

func NewGetResourceKindDeploymentDomainNameParamsWithTimeout

func NewGetResourceKindDeploymentDomainNameParamsWithTimeout(timeout time.Duration) *GetResourceKindDeploymentDomainNameParams

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

func (*GetResourceKindDeploymentDomainNameParams) SetContext

SetContext adds the context to the get resource kind deployment domain name params

func (*GetResourceKindDeploymentDomainNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource kind deployment domain name params

func (*GetResourceKindDeploymentDomainNameParams) SetResourceKind

func (o *GetResourceKindDeploymentDomainNameParams) SetResourceKind(resourceKind string)

SetResourceKind adds the resourceKind to the get resource kind deployment domain name params

func (*GetResourceKindDeploymentDomainNameParams) SetTimeout

SetTimeout adds the timeout to the get resource kind deployment domain name params

func (*GetResourceKindDeploymentDomainNameParams) WithContext

WithContext adds the context to the get resource kind deployment domain name params

func (*GetResourceKindDeploymentDomainNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource kind deployment domain name params

func (*GetResourceKindDeploymentDomainNameParams) WithResourceKind

WithResourceKind adds the resourceKind to the get resource kind deployment domain name params

func (*GetResourceKindDeploymentDomainNameParams) WithTimeout

WithTimeout adds the timeout to the get resource kind deployment domain name params

func (*GetResourceKindDeploymentDomainNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceKindDeploymentDomainNameReader

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

GetResourceKindDeploymentDomainNameReader is a Reader for the GetResourceKindDeploymentDomainName structure.

func (*GetResourceKindDeploymentDomainNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDefaultDeploymentDomainNameBadRequest

type SetDefaultDeploymentDomainNameBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SetDefaultDeploymentDomainNameBadRequest handles this case with default header values.

The optimistic locking version format was wrong. (code: `networking.cname.bad_version_format`)

func NewSetDefaultDeploymentDomainNameBadRequest

func NewSetDefaultDeploymentDomainNameBadRequest() *SetDefaultDeploymentDomainNameBadRequest

NewSetDefaultDeploymentDomainNameBadRequest creates a SetDefaultDeploymentDomainNameBadRequest with default headers values

func (*SetDefaultDeploymentDomainNameBadRequest) Error

func (*SetDefaultDeploymentDomainNameBadRequest) GetPayload

type SetDefaultDeploymentDomainNameConflict

type SetDefaultDeploymentDomainNameConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SetDefaultDeploymentDomainNameConflict handles this case with default header values.

There was an optimistic locking version conflict. (code: `networking.cname.version_conflict`)

func NewSetDefaultDeploymentDomainNameConflict

func NewSetDefaultDeploymentDomainNameConflict() *SetDefaultDeploymentDomainNameConflict

NewSetDefaultDeploymentDomainNameConflict creates a SetDefaultDeploymentDomainNameConflict with default headers values

func (*SetDefaultDeploymentDomainNameConflict) Error

func (*SetDefaultDeploymentDomainNameConflict) GetPayload

type SetDefaultDeploymentDomainNameNotFound

type SetDefaultDeploymentDomainNameNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SetDefaultDeploymentDomainNameNotFound handles this case with default header values.

There is no configured Deployment Domain Name but optimistic locking was sent. (code: `networking.cname.not_found`)

func NewSetDefaultDeploymentDomainNameNotFound

func NewSetDefaultDeploymentDomainNameNotFound() *SetDefaultDeploymentDomainNameNotFound

NewSetDefaultDeploymentDomainNameNotFound creates a SetDefaultDeploymentDomainNameNotFound with default headers values

func (*SetDefaultDeploymentDomainNameNotFound) Error

func (*SetDefaultDeploymentDomainNameNotFound) GetPayload

type SetDefaultDeploymentDomainNameOK

type SetDefaultDeploymentDomainNameOK struct {
	/*The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string
	/*The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string
	/*The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.DeploymentDomainName
}

SetDefaultDeploymentDomainNameOK handles this case with default header values.

The Deployment Domain Name was successfully saved.

func NewSetDefaultDeploymentDomainNameOK

func NewSetDefaultDeploymentDomainNameOK() *SetDefaultDeploymentDomainNameOK

NewSetDefaultDeploymentDomainNameOK creates a SetDefaultDeploymentDomainNameOK with default headers values

func (*SetDefaultDeploymentDomainNameOK) Error

func (*SetDefaultDeploymentDomainNameOK) GetPayload

type SetDefaultDeploymentDomainNameParams

type SetDefaultDeploymentDomainNameParams struct {

	/*Body
	  Data containing the Deployment Domain Name to set

	*/
	Body *models.DeploymentDomainName
	/*SkipCascadingOperations
	  Whether or not to skip cascading operations, such as re-provisioning the Security Deployment.

	*/
	SkipCascadingOperations *bool
	/*Version
	  If specified, then checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request). If not specified, will unconditionally upsert.

	*/
	Version *string

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

SetDefaultDeploymentDomainNameParams contains all the parameters to send to the API endpoint for the set default deployment domain name operation typically these are written to a http.Request

func NewSetDefaultDeploymentDomainNameParams

func NewSetDefaultDeploymentDomainNameParams() *SetDefaultDeploymentDomainNameParams

NewSetDefaultDeploymentDomainNameParams creates a new SetDefaultDeploymentDomainNameParams object with the default values initialized.

func NewSetDefaultDeploymentDomainNameParamsWithContext

func NewSetDefaultDeploymentDomainNameParamsWithContext(ctx context.Context) *SetDefaultDeploymentDomainNameParams

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

func NewSetDefaultDeploymentDomainNameParamsWithHTTPClient

func NewSetDefaultDeploymentDomainNameParamsWithHTTPClient(client *http.Client) *SetDefaultDeploymentDomainNameParams

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

func NewSetDefaultDeploymentDomainNameParamsWithTimeout

func NewSetDefaultDeploymentDomainNameParamsWithTimeout(timeout time.Duration) *SetDefaultDeploymentDomainNameParams

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

func (*SetDefaultDeploymentDomainNameParams) SetBody

SetBody adds the body to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) SetContext

SetContext adds the context to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) SetSkipCascadingOperations

func (o *SetDefaultDeploymentDomainNameParams) SetSkipCascadingOperations(skipCascadingOperations *bool)

SetSkipCascadingOperations adds the skipCascadingOperations to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) SetTimeout

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

SetTimeout adds the timeout to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) SetVersion

func (o *SetDefaultDeploymentDomainNameParams) SetVersion(version *string)

SetVersion adds the version to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) WithBody

WithBody adds the body to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) WithContext

WithContext adds the context to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) WithSkipCascadingOperations

func (o *SetDefaultDeploymentDomainNameParams) WithSkipCascadingOperations(skipCascadingOperations *bool) *SetDefaultDeploymentDomainNameParams

WithSkipCascadingOperations adds the skipCascadingOperations to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) WithTimeout

WithTimeout adds the timeout to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) WithVersion

WithVersion adds the version to the set default deployment domain name params

func (*SetDefaultDeploymentDomainNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetDefaultDeploymentDomainNamePreconditionFailed

type SetDefaultDeploymentDomainNamePreconditionFailed struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SetDefaultDeploymentDomainNamePreconditionFailed handles this case with default header values.

skip_cascading_operations was false but the Security Deployment already had a pending plan. (code: `security_deployment.cluster_pending_plan_exists`)

func NewSetDefaultDeploymentDomainNamePreconditionFailed

func NewSetDefaultDeploymentDomainNamePreconditionFailed() *SetDefaultDeploymentDomainNamePreconditionFailed

NewSetDefaultDeploymentDomainNamePreconditionFailed creates a SetDefaultDeploymentDomainNamePreconditionFailed with default headers values

func (*SetDefaultDeploymentDomainNamePreconditionFailed) Error

func (*SetDefaultDeploymentDomainNamePreconditionFailed) GetPayload

type SetDefaultDeploymentDomainNameReader

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

SetDefaultDeploymentDomainNameReader is a Reader for the SetDefaultDeploymentDomainName structure.

func (*SetDefaultDeploymentDomainNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetResourceKindDeploymentDomainNameBadRequest

type SetResourceKindDeploymentDomainNameBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SetResourceKindDeploymentDomainNameBadRequest handles this case with default header values.

The optimistic locking version format was wrong. (code: `networking.cname.bad_version_format`)

func NewSetResourceKindDeploymentDomainNameBadRequest

func NewSetResourceKindDeploymentDomainNameBadRequest() *SetResourceKindDeploymentDomainNameBadRequest

NewSetResourceKindDeploymentDomainNameBadRequest creates a SetResourceKindDeploymentDomainNameBadRequest with default headers values

func (*SetResourceKindDeploymentDomainNameBadRequest) Error

func (*SetResourceKindDeploymentDomainNameBadRequest) GetPayload

type SetResourceKindDeploymentDomainNameConflict

type SetResourceKindDeploymentDomainNameConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SetResourceKindDeploymentDomainNameConflict handles this case with default header values.

There was an optimistic locking version conflict. (code: `networking.cname.version_conflict`)

func NewSetResourceKindDeploymentDomainNameConflict

func NewSetResourceKindDeploymentDomainNameConflict() *SetResourceKindDeploymentDomainNameConflict

NewSetResourceKindDeploymentDomainNameConflict creates a SetResourceKindDeploymentDomainNameConflict with default headers values

func (*SetResourceKindDeploymentDomainNameConflict) Error

func (*SetResourceKindDeploymentDomainNameConflict) GetPayload

type SetResourceKindDeploymentDomainNameNotFound

type SetResourceKindDeploymentDomainNameNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SetResourceKindDeploymentDomainNameNotFound handles this case with default header values.

There is no configured Deployment Domain Name but optimistic locking was sent. (code: `networking.cname.not_found`)

func NewSetResourceKindDeploymentDomainNameNotFound

func NewSetResourceKindDeploymentDomainNameNotFound() *SetResourceKindDeploymentDomainNameNotFound

NewSetResourceKindDeploymentDomainNameNotFound creates a SetResourceKindDeploymentDomainNameNotFound with default headers values

func (*SetResourceKindDeploymentDomainNameNotFound) Error

func (*SetResourceKindDeploymentDomainNameNotFound) GetPayload

type SetResourceKindDeploymentDomainNameOK

type SetResourceKindDeploymentDomainNameOK struct {
	/*The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string
	/*The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string
	/*The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.DeploymentDomainName
}

SetResourceKindDeploymentDomainNameOK handles this case with default header values.

The Deployment Domain Name was successfully saved.

func NewSetResourceKindDeploymentDomainNameOK

func NewSetResourceKindDeploymentDomainNameOK() *SetResourceKindDeploymentDomainNameOK

NewSetResourceKindDeploymentDomainNameOK creates a SetResourceKindDeploymentDomainNameOK with default headers values

func (*SetResourceKindDeploymentDomainNameOK) Error

func (*SetResourceKindDeploymentDomainNameOK) GetPayload

type SetResourceKindDeploymentDomainNameParams

type SetResourceKindDeploymentDomainNameParams struct {

	/*Body
	  Data containing the Deployment Domain Name to set

	*/
	Body *models.DeploymentDomainName
	/*ResourceKind
	  The kind of resource you want to manage a Deployment Domain Name for.

	*/
	ResourceKind string
	/*SkipCascadingOperations
	  Whether or not to skip cascading operations, such as re-provisioning the Security Deployment.

	*/
	SkipCascadingOperations *bool
	/*Version
	  If specified, then checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request). If not specified, will unconditionally upsert.

	*/
	Version *string

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

SetResourceKindDeploymentDomainNameParams contains all the parameters to send to the API endpoint for the set resource kind deployment domain name operation typically these are written to a http.Request

func NewSetResourceKindDeploymentDomainNameParams

func NewSetResourceKindDeploymentDomainNameParams() *SetResourceKindDeploymentDomainNameParams

NewSetResourceKindDeploymentDomainNameParams creates a new SetResourceKindDeploymentDomainNameParams object with the default values initialized.

func NewSetResourceKindDeploymentDomainNameParamsWithContext

func NewSetResourceKindDeploymentDomainNameParamsWithContext(ctx context.Context) *SetResourceKindDeploymentDomainNameParams

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

func NewSetResourceKindDeploymentDomainNameParamsWithHTTPClient

func NewSetResourceKindDeploymentDomainNameParamsWithHTTPClient(client *http.Client) *SetResourceKindDeploymentDomainNameParams

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

func NewSetResourceKindDeploymentDomainNameParamsWithTimeout

func NewSetResourceKindDeploymentDomainNameParamsWithTimeout(timeout time.Duration) *SetResourceKindDeploymentDomainNameParams

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

func (*SetResourceKindDeploymentDomainNameParams) SetBody

SetBody adds the body to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) SetContext

SetContext adds the context to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) SetResourceKind

func (o *SetResourceKindDeploymentDomainNameParams) SetResourceKind(resourceKind string)

SetResourceKind adds the resourceKind to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) SetSkipCascadingOperations

func (o *SetResourceKindDeploymentDomainNameParams) SetSkipCascadingOperations(skipCascadingOperations *bool)

SetSkipCascadingOperations adds the skipCascadingOperations to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) SetTimeout

SetTimeout adds the timeout to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) SetVersion

func (o *SetResourceKindDeploymentDomainNameParams) SetVersion(version *string)

SetVersion adds the version to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) WithBody

WithBody adds the body to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) WithContext

WithContext adds the context to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) WithResourceKind

WithResourceKind adds the resourceKind to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) WithSkipCascadingOperations

func (o *SetResourceKindDeploymentDomainNameParams) WithSkipCascadingOperations(skipCascadingOperations *bool) *SetResourceKindDeploymentDomainNameParams

WithSkipCascadingOperations adds the skipCascadingOperations to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) WithTimeout

WithTimeout adds the timeout to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) WithVersion

WithVersion adds the version to the set resource kind deployment domain name params

func (*SetResourceKindDeploymentDomainNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetResourceKindDeploymentDomainNamePreconditionFailed

type SetResourceKindDeploymentDomainNamePreconditionFailed struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SetResourceKindDeploymentDomainNamePreconditionFailed handles this case with default header values.

skip_cascading_operations was false but the Security Deployment already had a pending plan. (code: `security_deployment.cluster_pending_plan_exists`)

func NewSetResourceKindDeploymentDomainNamePreconditionFailed

func NewSetResourceKindDeploymentDomainNamePreconditionFailed() *SetResourceKindDeploymentDomainNamePreconditionFailed

NewSetResourceKindDeploymentDomainNamePreconditionFailed creates a SetResourceKindDeploymentDomainNamePreconditionFailed with default headers values

func (*SetResourceKindDeploymentDomainNamePreconditionFailed) Error

func (*SetResourceKindDeploymentDomainNamePreconditionFailed) GetPayload

type SetResourceKindDeploymentDomainNameReader

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

SetResourceKindDeploymentDomainNameReader is a Reader for the SetResourceKindDeploymentDomainName structure.

func (*SetResourceKindDeploymentDomainNameReader) ReadResponse

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