Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) CreateAwsCmek(params *CreateAwsCmekParams, opts ...ClientOption) (*CreateAwsCmekOK, error)
- func (a *Client) CreateCluster(params *CreateClusterParams, opts ...ClientOption) (*CreateClusterOK, error)
- func (a *Client) CreatePrivateEndpoint(params *CreatePrivateEndpointParams, opts ...ClientOption) (*CreatePrivateEndpointOK, error)
- func (a *Client) CreatePrivateEndpointService(params *CreatePrivateEndpointServiceParams, opts ...ClientOption) (*CreatePrivateEndpointServiceOK, error)
- func (a *Client) DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error)
- func (a *Client) DeletePrivateEndpoint(params *DeletePrivateEndpointParams, opts ...ClientOption) (*DeletePrivateEndpointOK, error)
- func (a *Client) GetCluster(params *GetClusterParams, opts ...ClientOption) (*GetClusterOK, error)
- func (a *Client) GetPrivateEndpointService(params *GetPrivateEndpointServiceParams, opts ...ClientOption) (*GetPrivateEndpointServiceOK, error)
- func (a *Client) ListAwsCmek(params *ListAwsCmekParams, opts ...ClientOption) (*ListAwsCmekOK, error)
- func (a *Client) ListClustersOfProject(params *ListClustersOfProjectParams, opts ...ClientOption) (*ListClustersOfProjectOK, error)
- func (a *Client) ListPrivateEndpoints(params *ListPrivateEndpointsParams, opts ...ClientOption) (*ListPrivateEndpointsOK, error)
- func (a *Client) ListPrivateEndpointsOfProject(params *ListPrivateEndpointsOfProjectParams, opts ...ClientOption) (*ListPrivateEndpointsOfProjectOK, error)
- func (a *Client) ListProviderRegions(params *ListProviderRegionsParams, opts ...ClientOption) (*ListProviderRegionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error)
- type ClientOption
- type ClientService
- type CreateAwsCmekBadRequest
- func (o *CreateAwsCmekBadRequest) Code() int
- func (o *CreateAwsCmekBadRequest) Error() string
- func (o *CreateAwsCmekBadRequest) GetPayload() *CreateAwsCmekBadRequestBody
- func (o *CreateAwsCmekBadRequest) IsClientError() bool
- func (o *CreateAwsCmekBadRequest) IsCode(code int) bool
- func (o *CreateAwsCmekBadRequest) IsRedirect() bool
- func (o *CreateAwsCmekBadRequest) IsServerError() bool
- func (o *CreateAwsCmekBadRequest) IsSuccess() bool
- func (o *CreateAwsCmekBadRequest) String() string
- type CreateAwsCmekBadRequestBody
- func (o *CreateAwsCmekBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateAwsCmekBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *CreateAwsCmekBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *CreateAwsCmekBadRequestBody) Validate(formats strfmt.Registry) error
- type CreateAwsCmekBody
- type CreateAwsCmekDefault
- func (o *CreateAwsCmekDefault) Code() int
- func (o *CreateAwsCmekDefault) Error() string
- func (o *CreateAwsCmekDefault) GetPayload() *CreateAwsCmekDefaultBody
- func (o *CreateAwsCmekDefault) IsClientError() bool
- func (o *CreateAwsCmekDefault) IsCode(code int) bool
- func (o *CreateAwsCmekDefault) IsRedirect() bool
- func (o *CreateAwsCmekDefault) IsServerError() bool
- func (o *CreateAwsCmekDefault) IsSuccess() bool
- func (o *CreateAwsCmekDefault) String() string
- type CreateAwsCmekDefaultBody
- func (o *CreateAwsCmekDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateAwsCmekDefaultBody) MarshalBinary() ([]byte, error)
- func (o *CreateAwsCmekDefaultBody) UnmarshalBinary(b []byte) error
- func (o *CreateAwsCmekDefaultBody) Validate(formats strfmt.Registry) error
- type CreateAwsCmekDefaultBodyDetailsItems0
- func (o *CreateAwsCmekDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateAwsCmekDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateAwsCmekDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateAwsCmekDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type CreateAwsCmekForbidden
- func (o *CreateAwsCmekForbidden) Code() int
- func (o *CreateAwsCmekForbidden) Error() string
- func (o *CreateAwsCmekForbidden) GetPayload() *CreateAwsCmekForbiddenBody
- func (o *CreateAwsCmekForbidden) IsClientError() bool
- func (o *CreateAwsCmekForbidden) IsCode(code int) bool
- func (o *CreateAwsCmekForbidden) IsRedirect() bool
- func (o *CreateAwsCmekForbidden) IsServerError() bool
- func (o *CreateAwsCmekForbidden) IsSuccess() bool
- func (o *CreateAwsCmekForbidden) String() string
- type CreateAwsCmekForbiddenBody
- func (o *CreateAwsCmekForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateAwsCmekForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *CreateAwsCmekForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *CreateAwsCmekForbiddenBody) Validate(formats strfmt.Registry) error
- type CreateAwsCmekInternalServerError
- func (o *CreateAwsCmekInternalServerError) Code() int
- func (o *CreateAwsCmekInternalServerError) Error() string
- func (o *CreateAwsCmekInternalServerError) GetPayload() *CreateAwsCmekInternalServerErrorBody
- func (o *CreateAwsCmekInternalServerError) IsClientError() bool
- func (o *CreateAwsCmekInternalServerError) IsCode(code int) bool
- func (o *CreateAwsCmekInternalServerError) IsRedirect() bool
- func (o *CreateAwsCmekInternalServerError) IsServerError() bool
- func (o *CreateAwsCmekInternalServerError) IsSuccess() bool
- func (o *CreateAwsCmekInternalServerError) String() string
- type CreateAwsCmekInternalServerErrorBody
- func (o *CreateAwsCmekInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateAwsCmekInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *CreateAwsCmekInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *CreateAwsCmekInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type CreateAwsCmekNotFound
- func (o *CreateAwsCmekNotFound) Code() int
- func (o *CreateAwsCmekNotFound) Error() string
- func (o *CreateAwsCmekNotFound) GetPayload() *CreateAwsCmekNotFoundBody
- func (o *CreateAwsCmekNotFound) IsClientError() bool
- func (o *CreateAwsCmekNotFound) IsCode(code int) bool
- func (o *CreateAwsCmekNotFound) IsRedirect() bool
- func (o *CreateAwsCmekNotFound) IsServerError() bool
- func (o *CreateAwsCmekNotFound) IsSuccess() bool
- func (o *CreateAwsCmekNotFound) String() string
- type CreateAwsCmekNotFoundBody
- func (o *CreateAwsCmekNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateAwsCmekNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *CreateAwsCmekNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *CreateAwsCmekNotFoundBody) Validate(formats strfmt.Registry) error
- type CreateAwsCmekOK
- func (o *CreateAwsCmekOK) Code() int
- func (o *CreateAwsCmekOK) Error() string
- func (o *CreateAwsCmekOK) GetPayload() interface{}
- func (o *CreateAwsCmekOK) IsClientError() bool
- func (o *CreateAwsCmekOK) IsCode(code int) bool
- func (o *CreateAwsCmekOK) IsRedirect() bool
- func (o *CreateAwsCmekOK) IsServerError() bool
- func (o *CreateAwsCmekOK) IsSuccess() bool
- func (o *CreateAwsCmekOK) String() string
- type CreateAwsCmekParams
- func (o *CreateAwsCmekParams) SetBody(body CreateAwsCmekBody)
- func (o *CreateAwsCmekParams) SetContext(ctx context.Context)
- func (o *CreateAwsCmekParams) SetDefaults()
- func (o *CreateAwsCmekParams) SetHTTPClient(client *http.Client)
- func (o *CreateAwsCmekParams) SetProjectID(projectID string)
- func (o *CreateAwsCmekParams) SetTimeout(timeout time.Duration)
- func (o *CreateAwsCmekParams) WithBody(body CreateAwsCmekBody) *CreateAwsCmekParams
- func (o *CreateAwsCmekParams) WithContext(ctx context.Context) *CreateAwsCmekParams
- func (o *CreateAwsCmekParams) WithDefaults() *CreateAwsCmekParams
- func (o *CreateAwsCmekParams) WithHTTPClient(client *http.Client) *CreateAwsCmekParams
- func (o *CreateAwsCmekParams) WithProjectID(projectID string) *CreateAwsCmekParams
- func (o *CreateAwsCmekParams) WithTimeout(timeout time.Duration) *CreateAwsCmekParams
- func (o *CreateAwsCmekParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAwsCmekParamsBodySpecsItems0
- func (o *CreateAwsCmekParamsBodySpecsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateAwsCmekParamsBodySpecsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateAwsCmekParamsBodySpecsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateAwsCmekParamsBodySpecsItems0) Validate(formats strfmt.Registry) error
- type CreateAwsCmekReader
- type CreateAwsCmekTooManyRequests
- func (o *CreateAwsCmekTooManyRequests) Code() int
- func (o *CreateAwsCmekTooManyRequests) Error() string
- func (o *CreateAwsCmekTooManyRequests) GetPayload() *CreateAwsCmekTooManyRequestsBody
- func (o *CreateAwsCmekTooManyRequests) IsClientError() bool
- func (o *CreateAwsCmekTooManyRequests) IsCode(code int) bool
- func (o *CreateAwsCmekTooManyRequests) IsRedirect() bool
- func (o *CreateAwsCmekTooManyRequests) IsServerError() bool
- func (o *CreateAwsCmekTooManyRequests) IsSuccess() bool
- func (o *CreateAwsCmekTooManyRequests) String() string
- type CreateAwsCmekTooManyRequestsBody
- func (o *CreateAwsCmekTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateAwsCmekTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *CreateAwsCmekTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *CreateAwsCmekTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type CreateAwsCmekUnauthorized
- func (o *CreateAwsCmekUnauthorized) Code() int
- func (o *CreateAwsCmekUnauthorized) Error() string
- func (o *CreateAwsCmekUnauthorized) GetPayload() interface{}
- func (o *CreateAwsCmekUnauthorized) IsClientError() bool
- func (o *CreateAwsCmekUnauthorized) IsCode(code int) bool
- func (o *CreateAwsCmekUnauthorized) IsRedirect() bool
- func (o *CreateAwsCmekUnauthorized) IsServerError() bool
- func (o *CreateAwsCmekUnauthorized) IsSuccess() bool
- func (o *CreateAwsCmekUnauthorized) String() string
- type CreateClusterBadRequest
- func (o *CreateClusterBadRequest) Code() int
- func (o *CreateClusterBadRequest) Error() string
- func (o *CreateClusterBadRequest) GetPayload() *CreateClusterBadRequestBody
- func (o *CreateClusterBadRequest) IsClientError() bool
- func (o *CreateClusterBadRequest) IsCode(code int) bool
- func (o *CreateClusterBadRequest) IsRedirect() bool
- func (o *CreateClusterBadRequest) IsServerError() bool
- func (o *CreateClusterBadRequest) IsSuccess() bool
- func (o *CreateClusterBadRequest) String() string
- type CreateClusterBadRequestBody
- func (o *CreateClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *CreateClusterBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *CreateClusterBadRequestBody) Validate(formats strfmt.Registry) error
- type CreateClusterBody
- type CreateClusterDefault
- func (o *CreateClusterDefault) Code() int
- func (o *CreateClusterDefault) Error() string
- func (o *CreateClusterDefault) GetPayload() *CreateClusterDefaultBody
- func (o *CreateClusterDefault) IsClientError() bool
- func (o *CreateClusterDefault) IsCode(code int) bool
- func (o *CreateClusterDefault) IsRedirect() bool
- func (o *CreateClusterDefault) IsServerError() bool
- func (o *CreateClusterDefault) IsSuccess() bool
- func (o *CreateClusterDefault) String() string
- type CreateClusterDefaultBody
- func (o *CreateClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterDefaultBody) MarshalBinary() ([]byte, error)
- func (o *CreateClusterDefaultBody) UnmarshalBinary(b []byte) error
- func (o *CreateClusterDefaultBody) Validate(formats strfmt.Registry) error
- type CreateClusterDefaultBodyDetailsItems0
- func (o *CreateClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateClusterDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type CreateClusterForbidden
- func (o *CreateClusterForbidden) Code() int
- func (o *CreateClusterForbidden) Error() string
- func (o *CreateClusterForbidden) GetPayload() *CreateClusterForbiddenBody
- func (o *CreateClusterForbidden) IsClientError() bool
- func (o *CreateClusterForbidden) IsCode(code int) bool
- func (o *CreateClusterForbidden) IsRedirect() bool
- func (o *CreateClusterForbidden) IsServerError() bool
- func (o *CreateClusterForbidden) IsSuccess() bool
- func (o *CreateClusterForbidden) String() string
- type CreateClusterForbiddenBody
- func (o *CreateClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *CreateClusterForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *CreateClusterForbiddenBody) Validate(formats strfmt.Registry) error
- type CreateClusterInternalServerError
- func (o *CreateClusterInternalServerError) Code() int
- func (o *CreateClusterInternalServerError) Error() string
- func (o *CreateClusterInternalServerError) GetPayload() *CreateClusterInternalServerErrorBody
- func (o *CreateClusterInternalServerError) IsClientError() bool
- func (o *CreateClusterInternalServerError) IsCode(code int) bool
- func (o *CreateClusterInternalServerError) IsRedirect() bool
- func (o *CreateClusterInternalServerError) IsServerError() bool
- func (o *CreateClusterInternalServerError) IsSuccess() bool
- func (o *CreateClusterInternalServerError) String() string
- type CreateClusterInternalServerErrorBody
- func (o *CreateClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *CreateClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *CreateClusterInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type CreateClusterNotFound
- func (o *CreateClusterNotFound) Code() int
- func (o *CreateClusterNotFound) Error() string
- func (o *CreateClusterNotFound) GetPayload() *CreateClusterNotFoundBody
- func (o *CreateClusterNotFound) IsClientError() bool
- func (o *CreateClusterNotFound) IsCode(code int) bool
- func (o *CreateClusterNotFound) IsRedirect() bool
- func (o *CreateClusterNotFound) IsServerError() bool
- func (o *CreateClusterNotFound) IsSuccess() bool
- func (o *CreateClusterNotFound) String() string
- type CreateClusterNotFoundBody
- func (o *CreateClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *CreateClusterNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *CreateClusterNotFoundBody) Validate(formats strfmt.Registry) error
- type CreateClusterOK
- func (o *CreateClusterOK) Code() int
- func (o *CreateClusterOK) Error() string
- func (o *CreateClusterOK) GetPayload() *CreateClusterOKBody
- func (o *CreateClusterOK) IsClientError() bool
- func (o *CreateClusterOK) IsCode(code int) bool
- func (o *CreateClusterOK) IsRedirect() bool
- func (o *CreateClusterOK) IsServerError() bool
- func (o *CreateClusterOK) IsSuccess() bool
- func (o *CreateClusterOK) String() string
- type CreateClusterOKBody
- type CreateClusterParams
- func (o *CreateClusterParams) SetBody(body CreateClusterBody)
- func (o *CreateClusterParams) SetContext(ctx context.Context)
- func (o *CreateClusterParams) SetDefaults()
- func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterParams) SetProjectID(projectID string)
- func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterParams) WithBody(body CreateClusterBody) *CreateClusterParams
- func (o *CreateClusterParams) WithContext(ctx context.Context) *CreateClusterParams
- func (o *CreateClusterParams) WithDefaults() *CreateClusterParams
- func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams
- func (o *CreateClusterParams) WithProjectID(projectID string) *CreateClusterParams
- func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams
- func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterParamsBodyConfig
- func (o *CreateClusterParamsBodyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterParamsBodyConfig) MarshalBinary() ([]byte, error)
- func (o *CreateClusterParamsBodyConfig) UnmarshalBinary(b []byte) error
- func (o *CreateClusterParamsBodyConfig) Validate(formats strfmt.Registry) error
- type CreateClusterParamsBodyConfigComponents
- func (o *CreateClusterParamsBodyConfigComponents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterParamsBodyConfigComponents) MarshalBinary() ([]byte, error)
- func (o *CreateClusterParamsBodyConfigComponents) UnmarshalBinary(b []byte) error
- func (o *CreateClusterParamsBodyConfigComponents) Validate(formats strfmt.Registry) error
- type CreateClusterParamsBodyConfigComponentsTidb
- func (o *CreateClusterParamsBodyConfigComponentsTidb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterParamsBodyConfigComponentsTidb) MarshalBinary() ([]byte, error)
- func (o *CreateClusterParamsBodyConfigComponentsTidb) UnmarshalBinary(b []byte) error
- func (o *CreateClusterParamsBodyConfigComponentsTidb) Validate(formats strfmt.Registry) error
- type CreateClusterParamsBodyConfigComponentsTiflash
- func (o *CreateClusterParamsBodyConfigComponentsTiflash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterParamsBodyConfigComponentsTiflash) MarshalBinary() ([]byte, error)
- func (o *CreateClusterParamsBodyConfigComponentsTiflash) UnmarshalBinary(b []byte) error
- func (o *CreateClusterParamsBodyConfigComponentsTiflash) Validate(formats strfmt.Registry) error
- type CreateClusterParamsBodyConfigComponentsTikv
- func (o *CreateClusterParamsBodyConfigComponentsTikv) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterParamsBodyConfigComponentsTikv) MarshalBinary() ([]byte, error)
- func (o *CreateClusterParamsBodyConfigComponentsTikv) UnmarshalBinary(b []byte) error
- func (o *CreateClusterParamsBodyConfigComponentsTikv) Validate(formats strfmt.Registry) error
- type CreateClusterParamsBodyConfigIPAccessListItems0
- func (o *CreateClusterParamsBodyConfigIPAccessListItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterParamsBodyConfigIPAccessListItems0) MarshalBinary() ([]byte, error)
- func (o *CreateClusterParamsBodyConfigIPAccessListItems0) UnmarshalBinary(b []byte) error
- func (o *CreateClusterParamsBodyConfigIPAccessListItems0) Validate(formats strfmt.Registry) error
- type CreateClusterReader
- type CreateClusterTooManyRequests
- func (o *CreateClusterTooManyRequests) Code() int
- func (o *CreateClusterTooManyRequests) Error() string
- func (o *CreateClusterTooManyRequests) GetPayload() *CreateClusterTooManyRequestsBody
- func (o *CreateClusterTooManyRequests) IsClientError() bool
- func (o *CreateClusterTooManyRequests) IsCode(code int) bool
- func (o *CreateClusterTooManyRequests) IsRedirect() bool
- func (o *CreateClusterTooManyRequests) IsServerError() bool
- func (o *CreateClusterTooManyRequests) IsSuccess() bool
- func (o *CreateClusterTooManyRequests) String() string
- type CreateClusterTooManyRequestsBody
- func (o *CreateClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *CreateClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *CreateClusterTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type CreateClusterUnauthorized
- func (o *CreateClusterUnauthorized) Code() int
- func (o *CreateClusterUnauthorized) Error() string
- func (o *CreateClusterUnauthorized) GetPayload() interface{}
- func (o *CreateClusterUnauthorized) IsClientError() bool
- func (o *CreateClusterUnauthorized) IsCode(code int) bool
- func (o *CreateClusterUnauthorized) IsRedirect() bool
- func (o *CreateClusterUnauthorized) IsServerError() bool
- func (o *CreateClusterUnauthorized) IsSuccess() bool
- func (o *CreateClusterUnauthorized) String() string
- type CreatePrivateEndpointBadRequest
- func (o *CreatePrivateEndpointBadRequest) Code() int
- func (o *CreatePrivateEndpointBadRequest) Error() string
- func (o *CreatePrivateEndpointBadRequest) GetPayload() *CreatePrivateEndpointBadRequestBody
- func (o *CreatePrivateEndpointBadRequest) IsClientError() bool
- func (o *CreatePrivateEndpointBadRequest) IsCode(code int) bool
- func (o *CreatePrivateEndpointBadRequest) IsRedirect() bool
- func (o *CreatePrivateEndpointBadRequest) IsServerError() bool
- func (o *CreatePrivateEndpointBadRequest) IsSuccess() bool
- func (o *CreatePrivateEndpointBadRequest) String() string
- type CreatePrivateEndpointBadRequestBody
- func (o *CreatePrivateEndpointBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointBadRequestBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointBody
- func (o *CreatePrivateEndpointBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointDefault
- func (o *CreatePrivateEndpointDefault) Code() int
- func (o *CreatePrivateEndpointDefault) Error() string
- func (o *CreatePrivateEndpointDefault) GetPayload() *CreatePrivateEndpointDefaultBody
- func (o *CreatePrivateEndpointDefault) IsClientError() bool
- func (o *CreatePrivateEndpointDefault) IsCode(code int) bool
- func (o *CreatePrivateEndpointDefault) IsRedirect() bool
- func (o *CreatePrivateEndpointDefault) IsServerError() bool
- func (o *CreatePrivateEndpointDefault) IsSuccess() bool
- func (o *CreatePrivateEndpointDefault) String() string
- type CreatePrivateEndpointDefaultBody
- func (o *CreatePrivateEndpointDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointDefaultBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointDefaultBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointDefaultBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointDefaultBodyDetailsItems0
- func (o *CreatePrivateEndpointDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointForbidden
- func (o *CreatePrivateEndpointForbidden) Code() int
- func (o *CreatePrivateEndpointForbidden) Error() string
- func (o *CreatePrivateEndpointForbidden) GetPayload() *CreatePrivateEndpointForbiddenBody
- func (o *CreatePrivateEndpointForbidden) IsClientError() bool
- func (o *CreatePrivateEndpointForbidden) IsCode(code int) bool
- func (o *CreatePrivateEndpointForbidden) IsRedirect() bool
- func (o *CreatePrivateEndpointForbidden) IsServerError() bool
- func (o *CreatePrivateEndpointForbidden) IsSuccess() bool
- func (o *CreatePrivateEndpointForbidden) String() string
- type CreatePrivateEndpointForbiddenBody
- func (o *CreatePrivateEndpointForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointForbiddenBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointInternalServerError
- func (o *CreatePrivateEndpointInternalServerError) Code() int
- func (o *CreatePrivateEndpointInternalServerError) Error() string
- func (o *CreatePrivateEndpointInternalServerError) GetPayload() *CreatePrivateEndpointInternalServerErrorBody
- func (o *CreatePrivateEndpointInternalServerError) IsClientError() bool
- func (o *CreatePrivateEndpointInternalServerError) IsCode(code int) bool
- func (o *CreatePrivateEndpointInternalServerError) IsRedirect() bool
- func (o *CreatePrivateEndpointInternalServerError) IsServerError() bool
- func (o *CreatePrivateEndpointInternalServerError) IsSuccess() bool
- func (o *CreatePrivateEndpointInternalServerError) String() string
- type CreatePrivateEndpointInternalServerErrorBody
- func (o *CreatePrivateEndpointInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointNotFound
- func (o *CreatePrivateEndpointNotFound) Code() int
- func (o *CreatePrivateEndpointNotFound) Error() string
- func (o *CreatePrivateEndpointNotFound) GetPayload() *CreatePrivateEndpointNotFoundBody
- func (o *CreatePrivateEndpointNotFound) IsClientError() bool
- func (o *CreatePrivateEndpointNotFound) IsCode(code int) bool
- func (o *CreatePrivateEndpointNotFound) IsRedirect() bool
- func (o *CreatePrivateEndpointNotFound) IsServerError() bool
- func (o *CreatePrivateEndpointNotFound) IsSuccess() bool
- func (o *CreatePrivateEndpointNotFound) String() string
- type CreatePrivateEndpointNotFoundBody
- func (o *CreatePrivateEndpointNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointNotFoundBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointOK
- func (o *CreatePrivateEndpointOK) Code() int
- func (o *CreatePrivateEndpointOK) Error() string
- func (o *CreatePrivateEndpointOK) GetPayload() *CreatePrivateEndpointOKBody
- func (o *CreatePrivateEndpointOK) IsClientError() bool
- func (o *CreatePrivateEndpointOK) IsCode(code int) bool
- func (o *CreatePrivateEndpointOK) IsRedirect() bool
- func (o *CreatePrivateEndpointOK) IsServerError() bool
- func (o *CreatePrivateEndpointOK) IsSuccess() bool
- func (o *CreatePrivateEndpointOK) String() string
- type CreatePrivateEndpointOKBody
- func (o *CreatePrivateEndpointOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointOKBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointOKBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointOKBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointOKBodyPrivateEndpoint
- func (o *CreatePrivateEndpointOKBodyPrivateEndpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointOKBodyPrivateEndpoint) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointOKBodyPrivateEndpoint) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointOKBodyPrivateEndpoint) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointParams
- func NewCreatePrivateEndpointParams() *CreatePrivateEndpointParams
- func NewCreatePrivateEndpointParamsWithContext(ctx context.Context) *CreatePrivateEndpointParams
- func NewCreatePrivateEndpointParamsWithHTTPClient(client *http.Client) *CreatePrivateEndpointParams
- func NewCreatePrivateEndpointParamsWithTimeout(timeout time.Duration) *CreatePrivateEndpointParams
- func (o *CreatePrivateEndpointParams) SetClusterID(clusterID string)
- func (o *CreatePrivateEndpointParams) SetContext(ctx context.Context)
- func (o *CreatePrivateEndpointParams) SetDefaults()
- func (o *CreatePrivateEndpointParams) SetHTTPClient(client *http.Client)
- func (o *CreatePrivateEndpointParams) SetPrivateEndpoint(privateEndpoint CreatePrivateEndpointBody)
- func (o *CreatePrivateEndpointParams) SetProjectID(projectID string)
- func (o *CreatePrivateEndpointParams) SetTimeout(timeout time.Duration)
- func (o *CreatePrivateEndpointParams) WithClusterID(clusterID string) *CreatePrivateEndpointParams
- func (o *CreatePrivateEndpointParams) WithContext(ctx context.Context) *CreatePrivateEndpointParams
- func (o *CreatePrivateEndpointParams) WithDefaults() *CreatePrivateEndpointParams
- func (o *CreatePrivateEndpointParams) WithHTTPClient(client *http.Client) *CreatePrivateEndpointParams
- func (o *CreatePrivateEndpointParams) WithPrivateEndpoint(privateEndpoint CreatePrivateEndpointBody) *CreatePrivateEndpointParams
- func (o *CreatePrivateEndpointParams) WithProjectID(projectID string) *CreatePrivateEndpointParams
- func (o *CreatePrivateEndpointParams) WithTimeout(timeout time.Duration) *CreatePrivateEndpointParams
- func (o *CreatePrivateEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePrivateEndpointReader
- type CreatePrivateEndpointServiceBadRequest
- func (o *CreatePrivateEndpointServiceBadRequest) Code() int
- func (o *CreatePrivateEndpointServiceBadRequest) Error() string
- func (o *CreatePrivateEndpointServiceBadRequest) GetPayload() *CreatePrivateEndpointServiceBadRequestBody
- func (o *CreatePrivateEndpointServiceBadRequest) IsClientError() bool
- func (o *CreatePrivateEndpointServiceBadRequest) IsCode(code int) bool
- func (o *CreatePrivateEndpointServiceBadRequest) IsRedirect() bool
- func (o *CreatePrivateEndpointServiceBadRequest) IsServerError() bool
- func (o *CreatePrivateEndpointServiceBadRequest) IsSuccess() bool
- func (o *CreatePrivateEndpointServiceBadRequest) String() string
- type CreatePrivateEndpointServiceBadRequestBody
- func (o *CreatePrivateEndpointServiceBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointServiceBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointServiceBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointServiceBadRequestBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointServiceDefault
- func (o *CreatePrivateEndpointServiceDefault) Code() int
- func (o *CreatePrivateEndpointServiceDefault) Error() string
- func (o *CreatePrivateEndpointServiceDefault) GetPayload() *CreatePrivateEndpointServiceDefaultBody
- func (o *CreatePrivateEndpointServiceDefault) IsClientError() bool
- func (o *CreatePrivateEndpointServiceDefault) IsCode(code int) bool
- func (o *CreatePrivateEndpointServiceDefault) IsRedirect() bool
- func (o *CreatePrivateEndpointServiceDefault) IsServerError() bool
- func (o *CreatePrivateEndpointServiceDefault) IsSuccess() bool
- func (o *CreatePrivateEndpointServiceDefault) String() string
- type CreatePrivateEndpointServiceDefaultBody
- func (o *CreatePrivateEndpointServiceDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointServiceDefaultBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointServiceDefaultBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointServiceDefaultBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointServiceDefaultBodyDetailsItems0
- func (o *CreatePrivateEndpointServiceDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointServiceDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointServiceDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointServiceDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointServiceForbidden
- func (o *CreatePrivateEndpointServiceForbidden) Code() int
- func (o *CreatePrivateEndpointServiceForbidden) Error() string
- func (o *CreatePrivateEndpointServiceForbidden) GetPayload() *CreatePrivateEndpointServiceForbiddenBody
- func (o *CreatePrivateEndpointServiceForbidden) IsClientError() bool
- func (o *CreatePrivateEndpointServiceForbidden) IsCode(code int) bool
- func (o *CreatePrivateEndpointServiceForbidden) IsRedirect() bool
- func (o *CreatePrivateEndpointServiceForbidden) IsServerError() bool
- func (o *CreatePrivateEndpointServiceForbidden) IsSuccess() bool
- func (o *CreatePrivateEndpointServiceForbidden) String() string
- type CreatePrivateEndpointServiceForbiddenBody
- func (o *CreatePrivateEndpointServiceForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointServiceForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointServiceForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointServiceForbiddenBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointServiceInternalServerError
- func (o *CreatePrivateEndpointServiceInternalServerError) Code() int
- func (o *CreatePrivateEndpointServiceInternalServerError) Error() string
- func (o *CreatePrivateEndpointServiceInternalServerError) GetPayload() *CreatePrivateEndpointServiceInternalServerErrorBody
- func (o *CreatePrivateEndpointServiceInternalServerError) IsClientError() bool
- func (o *CreatePrivateEndpointServiceInternalServerError) IsCode(code int) bool
- func (o *CreatePrivateEndpointServiceInternalServerError) IsRedirect() bool
- func (o *CreatePrivateEndpointServiceInternalServerError) IsServerError() bool
- func (o *CreatePrivateEndpointServiceInternalServerError) IsSuccess() bool
- func (o *CreatePrivateEndpointServiceInternalServerError) String() string
- type CreatePrivateEndpointServiceInternalServerErrorBody
- func (o *CreatePrivateEndpointServiceInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointServiceInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointServiceInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointServiceInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointServiceNotFound
- func (o *CreatePrivateEndpointServiceNotFound) Code() int
- func (o *CreatePrivateEndpointServiceNotFound) Error() string
- func (o *CreatePrivateEndpointServiceNotFound) GetPayload() *CreatePrivateEndpointServiceNotFoundBody
- func (o *CreatePrivateEndpointServiceNotFound) IsClientError() bool
- func (o *CreatePrivateEndpointServiceNotFound) IsCode(code int) bool
- func (o *CreatePrivateEndpointServiceNotFound) IsRedirect() bool
- func (o *CreatePrivateEndpointServiceNotFound) IsServerError() bool
- func (o *CreatePrivateEndpointServiceNotFound) IsSuccess() bool
- func (o *CreatePrivateEndpointServiceNotFound) String() string
- type CreatePrivateEndpointServiceNotFoundBody
- func (o *CreatePrivateEndpointServiceNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointServiceNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointServiceNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointServiceNotFoundBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointServiceOK
- func (o *CreatePrivateEndpointServiceOK) Code() int
- func (o *CreatePrivateEndpointServiceOK) Error() string
- func (o *CreatePrivateEndpointServiceOK) GetPayload() *CreatePrivateEndpointServiceOKBody
- func (o *CreatePrivateEndpointServiceOK) IsClientError() bool
- func (o *CreatePrivateEndpointServiceOK) IsCode(code int) bool
- func (o *CreatePrivateEndpointServiceOK) IsRedirect() bool
- func (o *CreatePrivateEndpointServiceOK) IsServerError() bool
- func (o *CreatePrivateEndpointServiceOK) IsSuccess() bool
- func (o *CreatePrivateEndpointServiceOK) String() string
- type CreatePrivateEndpointServiceOKBody
- func (o *CreatePrivateEndpointServiceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointServiceOKBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointServiceOKBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointServiceOKBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointServiceOKBodyPrivateEndpointService
- func (o *CreatePrivateEndpointServiceOKBodyPrivateEndpointService) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointServiceOKBodyPrivateEndpointService) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointServiceOKBodyPrivateEndpointService) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointServiceOKBodyPrivateEndpointService) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointServiceParams
- func NewCreatePrivateEndpointServiceParams() *CreatePrivateEndpointServiceParams
- func NewCreatePrivateEndpointServiceParamsWithContext(ctx context.Context) *CreatePrivateEndpointServiceParams
- func NewCreatePrivateEndpointServiceParamsWithHTTPClient(client *http.Client) *CreatePrivateEndpointServiceParams
- func NewCreatePrivateEndpointServiceParamsWithTimeout(timeout time.Duration) *CreatePrivateEndpointServiceParams
- func (o *CreatePrivateEndpointServiceParams) SetBody(body interface{})
- func (o *CreatePrivateEndpointServiceParams) SetClusterID(clusterID string)
- func (o *CreatePrivateEndpointServiceParams) SetContext(ctx context.Context)
- func (o *CreatePrivateEndpointServiceParams) SetDefaults()
- func (o *CreatePrivateEndpointServiceParams) SetHTTPClient(client *http.Client)
- func (o *CreatePrivateEndpointServiceParams) SetProjectID(projectID string)
- func (o *CreatePrivateEndpointServiceParams) SetTimeout(timeout time.Duration)
- func (o *CreatePrivateEndpointServiceParams) WithBody(body interface{}) *CreatePrivateEndpointServiceParams
- func (o *CreatePrivateEndpointServiceParams) WithClusterID(clusterID string) *CreatePrivateEndpointServiceParams
- func (o *CreatePrivateEndpointServiceParams) WithContext(ctx context.Context) *CreatePrivateEndpointServiceParams
- func (o *CreatePrivateEndpointServiceParams) WithDefaults() *CreatePrivateEndpointServiceParams
- func (o *CreatePrivateEndpointServiceParams) WithHTTPClient(client *http.Client) *CreatePrivateEndpointServiceParams
- func (o *CreatePrivateEndpointServiceParams) WithProjectID(projectID string) *CreatePrivateEndpointServiceParams
- func (o *CreatePrivateEndpointServiceParams) WithTimeout(timeout time.Duration) *CreatePrivateEndpointServiceParams
- func (o *CreatePrivateEndpointServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePrivateEndpointServiceReader
- type CreatePrivateEndpointServiceTooManyRequests
- func (o *CreatePrivateEndpointServiceTooManyRequests) Code() int
- func (o *CreatePrivateEndpointServiceTooManyRequests) Error() string
- func (o *CreatePrivateEndpointServiceTooManyRequests) GetPayload() *CreatePrivateEndpointServiceTooManyRequestsBody
- func (o *CreatePrivateEndpointServiceTooManyRequests) IsClientError() bool
- func (o *CreatePrivateEndpointServiceTooManyRequests) IsCode(code int) bool
- func (o *CreatePrivateEndpointServiceTooManyRequests) IsRedirect() bool
- func (o *CreatePrivateEndpointServiceTooManyRequests) IsServerError() bool
- func (o *CreatePrivateEndpointServiceTooManyRequests) IsSuccess() bool
- func (o *CreatePrivateEndpointServiceTooManyRequests) String() string
- type CreatePrivateEndpointServiceTooManyRequestsBody
- func (o *CreatePrivateEndpointServiceTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointServiceTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointServiceTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointServiceTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointServiceUnauthorized
- func (o *CreatePrivateEndpointServiceUnauthorized) Code() int
- func (o *CreatePrivateEndpointServiceUnauthorized) Error() string
- func (o *CreatePrivateEndpointServiceUnauthorized) GetPayload() interface{}
- func (o *CreatePrivateEndpointServiceUnauthorized) IsClientError() bool
- func (o *CreatePrivateEndpointServiceUnauthorized) IsCode(code int) bool
- func (o *CreatePrivateEndpointServiceUnauthorized) IsRedirect() bool
- func (o *CreatePrivateEndpointServiceUnauthorized) IsServerError() bool
- func (o *CreatePrivateEndpointServiceUnauthorized) IsSuccess() bool
- func (o *CreatePrivateEndpointServiceUnauthorized) String() string
- type CreatePrivateEndpointTooManyRequests
- func (o *CreatePrivateEndpointTooManyRequests) Code() int
- func (o *CreatePrivateEndpointTooManyRequests) Error() string
- func (o *CreatePrivateEndpointTooManyRequests) GetPayload() *CreatePrivateEndpointTooManyRequestsBody
- func (o *CreatePrivateEndpointTooManyRequests) IsClientError() bool
- func (o *CreatePrivateEndpointTooManyRequests) IsCode(code int) bool
- func (o *CreatePrivateEndpointTooManyRequests) IsRedirect() bool
- func (o *CreatePrivateEndpointTooManyRequests) IsServerError() bool
- func (o *CreatePrivateEndpointTooManyRequests) IsSuccess() bool
- func (o *CreatePrivateEndpointTooManyRequests) String() string
- type CreatePrivateEndpointTooManyRequestsBody
- func (o *CreatePrivateEndpointTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreatePrivateEndpointTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *CreatePrivateEndpointTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *CreatePrivateEndpointTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type CreatePrivateEndpointUnauthorized
- func (o *CreatePrivateEndpointUnauthorized) Code() int
- func (o *CreatePrivateEndpointUnauthorized) Error() string
- func (o *CreatePrivateEndpointUnauthorized) GetPayload() interface{}
- func (o *CreatePrivateEndpointUnauthorized) IsClientError() bool
- func (o *CreatePrivateEndpointUnauthorized) IsCode(code int) bool
- func (o *CreatePrivateEndpointUnauthorized) IsRedirect() bool
- func (o *CreatePrivateEndpointUnauthorized) IsServerError() bool
- func (o *CreatePrivateEndpointUnauthorized) IsSuccess() bool
- func (o *CreatePrivateEndpointUnauthorized) String() string
- type DeleteClusterBadRequest
- func (o *DeleteClusterBadRequest) Code() int
- func (o *DeleteClusterBadRequest) Error() string
- func (o *DeleteClusterBadRequest) GetPayload() *DeleteClusterBadRequestBody
- func (o *DeleteClusterBadRequest) IsClientError() bool
- func (o *DeleteClusterBadRequest) IsCode(code int) bool
- func (o *DeleteClusterBadRequest) IsRedirect() bool
- func (o *DeleteClusterBadRequest) IsServerError() bool
- func (o *DeleteClusterBadRequest) IsSuccess() bool
- func (o *DeleteClusterBadRequest) String() string
- type DeleteClusterBadRequestBody
- func (o *DeleteClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteClusterBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *DeleteClusterBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *DeleteClusterBadRequestBody) Validate(formats strfmt.Registry) error
- type DeleteClusterDefault
- func (o *DeleteClusterDefault) Code() int
- func (o *DeleteClusterDefault) Error() string
- func (o *DeleteClusterDefault) GetPayload() *DeleteClusterDefaultBody
- func (o *DeleteClusterDefault) IsClientError() bool
- func (o *DeleteClusterDefault) IsCode(code int) bool
- func (o *DeleteClusterDefault) IsRedirect() bool
- func (o *DeleteClusterDefault) IsServerError() bool
- func (o *DeleteClusterDefault) IsSuccess() bool
- func (o *DeleteClusterDefault) String() string
- type DeleteClusterDefaultBody
- func (o *DeleteClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteClusterDefaultBody) MarshalBinary() ([]byte, error)
- func (o *DeleteClusterDefaultBody) UnmarshalBinary(b []byte) error
- func (o *DeleteClusterDefaultBody) Validate(formats strfmt.Registry) error
- type DeleteClusterDefaultBodyDetailsItems0
- func (o *DeleteClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteClusterDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type DeleteClusterForbidden
- func (o *DeleteClusterForbidden) Code() int
- func (o *DeleteClusterForbidden) Error() string
- func (o *DeleteClusterForbidden) GetPayload() *DeleteClusterForbiddenBody
- func (o *DeleteClusterForbidden) IsClientError() bool
- func (o *DeleteClusterForbidden) IsCode(code int) bool
- func (o *DeleteClusterForbidden) IsRedirect() bool
- func (o *DeleteClusterForbidden) IsServerError() bool
- func (o *DeleteClusterForbidden) IsSuccess() bool
- func (o *DeleteClusterForbidden) String() string
- type DeleteClusterForbiddenBody
- func (o *DeleteClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteClusterForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *DeleteClusterForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *DeleteClusterForbiddenBody) Validate(formats strfmt.Registry) error
- type DeleteClusterInternalServerError
- func (o *DeleteClusterInternalServerError) Code() int
- func (o *DeleteClusterInternalServerError) Error() string
- func (o *DeleteClusterInternalServerError) GetPayload() *DeleteClusterInternalServerErrorBody
- func (o *DeleteClusterInternalServerError) IsClientError() bool
- func (o *DeleteClusterInternalServerError) IsCode(code int) bool
- func (o *DeleteClusterInternalServerError) IsRedirect() bool
- func (o *DeleteClusterInternalServerError) IsServerError() bool
- func (o *DeleteClusterInternalServerError) IsSuccess() bool
- func (o *DeleteClusterInternalServerError) String() string
- type DeleteClusterInternalServerErrorBody
- func (o *DeleteClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *DeleteClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *DeleteClusterInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type DeleteClusterNotFound
- func (o *DeleteClusterNotFound) Code() int
- func (o *DeleteClusterNotFound) Error() string
- func (o *DeleteClusterNotFound) GetPayload() *DeleteClusterNotFoundBody
- func (o *DeleteClusterNotFound) IsClientError() bool
- func (o *DeleteClusterNotFound) IsCode(code int) bool
- func (o *DeleteClusterNotFound) IsRedirect() bool
- func (o *DeleteClusterNotFound) IsServerError() bool
- func (o *DeleteClusterNotFound) IsSuccess() bool
- func (o *DeleteClusterNotFound) String() string
- type DeleteClusterNotFoundBody
- func (o *DeleteClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteClusterNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *DeleteClusterNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *DeleteClusterNotFoundBody) Validate(formats strfmt.Registry) error
- type DeleteClusterOK
- func (o *DeleteClusterOK) Code() int
- func (o *DeleteClusterOK) Error() string
- func (o *DeleteClusterOK) GetPayload() interface{}
- func (o *DeleteClusterOK) IsClientError() bool
- func (o *DeleteClusterOK) IsCode(code int) bool
- func (o *DeleteClusterOK) IsRedirect() bool
- func (o *DeleteClusterOK) IsServerError() bool
- func (o *DeleteClusterOK) IsSuccess() bool
- func (o *DeleteClusterOK) String() string
- type DeleteClusterParams
- func (o *DeleteClusterParams) SetClusterID(clusterID string)
- func (o *DeleteClusterParams) SetContext(ctx context.Context)
- func (o *DeleteClusterParams) SetDefaults()
- func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterParams) SetProjectID(projectID string)
- func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterParams) WithClusterID(clusterID string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
- func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
- func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
- func (o *DeleteClusterParams) WithProjectID(projectID string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
- func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterReader
- type DeleteClusterTooManyRequests
- func (o *DeleteClusterTooManyRequests) Code() int
- func (o *DeleteClusterTooManyRequests) Error() string
- func (o *DeleteClusterTooManyRequests) GetPayload() *DeleteClusterTooManyRequestsBody
- func (o *DeleteClusterTooManyRequests) IsClientError() bool
- func (o *DeleteClusterTooManyRequests) IsCode(code int) bool
- func (o *DeleteClusterTooManyRequests) IsRedirect() bool
- func (o *DeleteClusterTooManyRequests) IsServerError() bool
- func (o *DeleteClusterTooManyRequests) IsSuccess() bool
- func (o *DeleteClusterTooManyRequests) String() string
- type DeleteClusterTooManyRequestsBody
- func (o *DeleteClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *DeleteClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *DeleteClusterTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type DeleteClusterUnauthorized
- func (o *DeleteClusterUnauthorized) Code() int
- func (o *DeleteClusterUnauthorized) Error() string
- func (o *DeleteClusterUnauthorized) GetPayload() interface{}
- func (o *DeleteClusterUnauthorized) IsClientError() bool
- func (o *DeleteClusterUnauthorized) IsCode(code int) bool
- func (o *DeleteClusterUnauthorized) IsRedirect() bool
- func (o *DeleteClusterUnauthorized) IsServerError() bool
- func (o *DeleteClusterUnauthorized) IsSuccess() bool
- func (o *DeleteClusterUnauthorized) String() string
- type DeletePrivateEndpointBadRequest
- func (o *DeletePrivateEndpointBadRequest) Code() int
- func (o *DeletePrivateEndpointBadRequest) Error() string
- func (o *DeletePrivateEndpointBadRequest) GetPayload() *DeletePrivateEndpointBadRequestBody
- func (o *DeletePrivateEndpointBadRequest) IsClientError() bool
- func (o *DeletePrivateEndpointBadRequest) IsCode(code int) bool
- func (o *DeletePrivateEndpointBadRequest) IsRedirect() bool
- func (o *DeletePrivateEndpointBadRequest) IsServerError() bool
- func (o *DeletePrivateEndpointBadRequest) IsSuccess() bool
- func (o *DeletePrivateEndpointBadRequest) String() string
- type DeletePrivateEndpointBadRequestBody
- func (o *DeletePrivateEndpointBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeletePrivateEndpointBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *DeletePrivateEndpointBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *DeletePrivateEndpointBadRequestBody) Validate(formats strfmt.Registry) error
- type DeletePrivateEndpointDefault
- func (o *DeletePrivateEndpointDefault) Code() int
- func (o *DeletePrivateEndpointDefault) Error() string
- func (o *DeletePrivateEndpointDefault) GetPayload() *DeletePrivateEndpointDefaultBody
- func (o *DeletePrivateEndpointDefault) IsClientError() bool
- func (o *DeletePrivateEndpointDefault) IsCode(code int) bool
- func (o *DeletePrivateEndpointDefault) IsRedirect() bool
- func (o *DeletePrivateEndpointDefault) IsServerError() bool
- func (o *DeletePrivateEndpointDefault) IsSuccess() bool
- func (o *DeletePrivateEndpointDefault) String() string
- type DeletePrivateEndpointDefaultBody
- func (o *DeletePrivateEndpointDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeletePrivateEndpointDefaultBody) MarshalBinary() ([]byte, error)
- func (o *DeletePrivateEndpointDefaultBody) UnmarshalBinary(b []byte) error
- func (o *DeletePrivateEndpointDefaultBody) Validate(formats strfmt.Registry) error
- type DeletePrivateEndpointDefaultBodyDetailsItems0
- func (o *DeletePrivateEndpointDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeletePrivateEndpointDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *DeletePrivateEndpointDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *DeletePrivateEndpointDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type DeletePrivateEndpointForbidden
- func (o *DeletePrivateEndpointForbidden) Code() int
- func (o *DeletePrivateEndpointForbidden) Error() string
- func (o *DeletePrivateEndpointForbidden) GetPayload() *DeletePrivateEndpointForbiddenBody
- func (o *DeletePrivateEndpointForbidden) IsClientError() bool
- func (o *DeletePrivateEndpointForbidden) IsCode(code int) bool
- func (o *DeletePrivateEndpointForbidden) IsRedirect() bool
- func (o *DeletePrivateEndpointForbidden) IsServerError() bool
- func (o *DeletePrivateEndpointForbidden) IsSuccess() bool
- func (o *DeletePrivateEndpointForbidden) String() string
- type DeletePrivateEndpointForbiddenBody
- func (o *DeletePrivateEndpointForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeletePrivateEndpointForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *DeletePrivateEndpointForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *DeletePrivateEndpointForbiddenBody) Validate(formats strfmt.Registry) error
- type DeletePrivateEndpointInternalServerError
- func (o *DeletePrivateEndpointInternalServerError) Code() int
- func (o *DeletePrivateEndpointInternalServerError) Error() string
- func (o *DeletePrivateEndpointInternalServerError) GetPayload() *DeletePrivateEndpointInternalServerErrorBody
- func (o *DeletePrivateEndpointInternalServerError) IsClientError() bool
- func (o *DeletePrivateEndpointInternalServerError) IsCode(code int) bool
- func (o *DeletePrivateEndpointInternalServerError) IsRedirect() bool
- func (o *DeletePrivateEndpointInternalServerError) IsServerError() bool
- func (o *DeletePrivateEndpointInternalServerError) IsSuccess() bool
- func (o *DeletePrivateEndpointInternalServerError) String() string
- type DeletePrivateEndpointInternalServerErrorBody
- func (o *DeletePrivateEndpointInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeletePrivateEndpointInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *DeletePrivateEndpointInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *DeletePrivateEndpointInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type DeletePrivateEndpointNotFound
- func (o *DeletePrivateEndpointNotFound) Code() int
- func (o *DeletePrivateEndpointNotFound) Error() string
- func (o *DeletePrivateEndpointNotFound) GetPayload() *DeletePrivateEndpointNotFoundBody
- func (o *DeletePrivateEndpointNotFound) IsClientError() bool
- func (o *DeletePrivateEndpointNotFound) IsCode(code int) bool
- func (o *DeletePrivateEndpointNotFound) IsRedirect() bool
- func (o *DeletePrivateEndpointNotFound) IsServerError() bool
- func (o *DeletePrivateEndpointNotFound) IsSuccess() bool
- func (o *DeletePrivateEndpointNotFound) String() string
- type DeletePrivateEndpointNotFoundBody
- func (o *DeletePrivateEndpointNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeletePrivateEndpointNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *DeletePrivateEndpointNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *DeletePrivateEndpointNotFoundBody) Validate(formats strfmt.Registry) error
- type DeletePrivateEndpointOK
- func (o *DeletePrivateEndpointOK) Code() int
- func (o *DeletePrivateEndpointOK) Error() string
- func (o *DeletePrivateEndpointOK) GetPayload() interface{}
- func (o *DeletePrivateEndpointOK) IsClientError() bool
- func (o *DeletePrivateEndpointOK) IsCode(code int) bool
- func (o *DeletePrivateEndpointOK) IsRedirect() bool
- func (o *DeletePrivateEndpointOK) IsServerError() bool
- func (o *DeletePrivateEndpointOK) IsSuccess() bool
- func (o *DeletePrivateEndpointOK) String() string
- type DeletePrivateEndpointParams
- func NewDeletePrivateEndpointParams() *DeletePrivateEndpointParams
- func NewDeletePrivateEndpointParamsWithContext(ctx context.Context) *DeletePrivateEndpointParams
- func NewDeletePrivateEndpointParamsWithHTTPClient(client *http.Client) *DeletePrivateEndpointParams
- func NewDeletePrivateEndpointParamsWithTimeout(timeout time.Duration) *DeletePrivateEndpointParams
- func (o *DeletePrivateEndpointParams) SetClusterID(clusterID string)
- func (o *DeletePrivateEndpointParams) SetContext(ctx context.Context)
- func (o *DeletePrivateEndpointParams) SetDefaults()
- func (o *DeletePrivateEndpointParams) SetEndpointID(endpointID string)
- func (o *DeletePrivateEndpointParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrivateEndpointParams) SetProjectID(projectID string)
- func (o *DeletePrivateEndpointParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrivateEndpointParams) WithClusterID(clusterID string) *DeletePrivateEndpointParams
- func (o *DeletePrivateEndpointParams) WithContext(ctx context.Context) *DeletePrivateEndpointParams
- func (o *DeletePrivateEndpointParams) WithDefaults() *DeletePrivateEndpointParams
- func (o *DeletePrivateEndpointParams) WithEndpointID(endpointID string) *DeletePrivateEndpointParams
- func (o *DeletePrivateEndpointParams) WithHTTPClient(client *http.Client) *DeletePrivateEndpointParams
- func (o *DeletePrivateEndpointParams) WithProjectID(projectID string) *DeletePrivateEndpointParams
- func (o *DeletePrivateEndpointParams) WithTimeout(timeout time.Duration) *DeletePrivateEndpointParams
- func (o *DeletePrivateEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrivateEndpointReader
- type DeletePrivateEndpointTooManyRequests
- func (o *DeletePrivateEndpointTooManyRequests) Code() int
- func (o *DeletePrivateEndpointTooManyRequests) Error() string
- func (o *DeletePrivateEndpointTooManyRequests) GetPayload() *DeletePrivateEndpointTooManyRequestsBody
- func (o *DeletePrivateEndpointTooManyRequests) IsClientError() bool
- func (o *DeletePrivateEndpointTooManyRequests) IsCode(code int) bool
- func (o *DeletePrivateEndpointTooManyRequests) IsRedirect() bool
- func (o *DeletePrivateEndpointTooManyRequests) IsServerError() bool
- func (o *DeletePrivateEndpointTooManyRequests) IsSuccess() bool
- func (o *DeletePrivateEndpointTooManyRequests) String() string
- type DeletePrivateEndpointTooManyRequestsBody
- func (o *DeletePrivateEndpointTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeletePrivateEndpointTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *DeletePrivateEndpointTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *DeletePrivateEndpointTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type DeletePrivateEndpointUnauthorized
- func (o *DeletePrivateEndpointUnauthorized) Code() int
- func (o *DeletePrivateEndpointUnauthorized) Error() string
- func (o *DeletePrivateEndpointUnauthorized) GetPayload() interface{}
- func (o *DeletePrivateEndpointUnauthorized) IsClientError() bool
- func (o *DeletePrivateEndpointUnauthorized) IsCode(code int) bool
- func (o *DeletePrivateEndpointUnauthorized) IsRedirect() bool
- func (o *DeletePrivateEndpointUnauthorized) IsServerError() bool
- func (o *DeletePrivateEndpointUnauthorized) IsSuccess() bool
- func (o *DeletePrivateEndpointUnauthorized) String() string
- type GetClusterBadRequest
- func (o *GetClusterBadRequest) Code() int
- func (o *GetClusterBadRequest) Error() string
- func (o *GetClusterBadRequest) GetPayload() *GetClusterBadRequestBody
- func (o *GetClusterBadRequest) IsClientError() bool
- func (o *GetClusterBadRequest) IsCode(code int) bool
- func (o *GetClusterBadRequest) IsRedirect() bool
- func (o *GetClusterBadRequest) IsServerError() bool
- func (o *GetClusterBadRequest) IsSuccess() bool
- func (o *GetClusterBadRequest) String() string
- type GetClusterBadRequestBody
- func (o *GetClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *GetClusterBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *GetClusterBadRequestBody) Validate(formats strfmt.Registry) error
- type GetClusterDefault
- func (o *GetClusterDefault) Code() int
- func (o *GetClusterDefault) Error() string
- func (o *GetClusterDefault) GetPayload() *GetClusterDefaultBody
- func (o *GetClusterDefault) IsClientError() bool
- func (o *GetClusterDefault) IsCode(code int) bool
- func (o *GetClusterDefault) IsRedirect() bool
- func (o *GetClusterDefault) IsServerError() bool
- func (o *GetClusterDefault) IsSuccess() bool
- func (o *GetClusterDefault) String() string
- type GetClusterDefaultBody
- type GetClusterDefaultBodyDetailsItems0
- func (o *GetClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *GetClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *GetClusterDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type GetClusterForbidden
- func (o *GetClusterForbidden) Code() int
- func (o *GetClusterForbidden) Error() string
- func (o *GetClusterForbidden) GetPayload() *GetClusterForbiddenBody
- func (o *GetClusterForbidden) IsClientError() bool
- func (o *GetClusterForbidden) IsCode(code int) bool
- func (o *GetClusterForbidden) IsRedirect() bool
- func (o *GetClusterForbidden) IsServerError() bool
- func (o *GetClusterForbidden) IsSuccess() bool
- func (o *GetClusterForbidden) String() string
- type GetClusterForbiddenBody
- func (o *GetClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *GetClusterForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *GetClusterForbiddenBody) Validate(formats strfmt.Registry) error
- type GetClusterInternalServerError
- func (o *GetClusterInternalServerError) Code() int
- func (o *GetClusterInternalServerError) Error() string
- func (o *GetClusterInternalServerError) GetPayload() *GetClusterInternalServerErrorBody
- func (o *GetClusterInternalServerError) IsClientError() bool
- func (o *GetClusterInternalServerError) IsCode(code int) bool
- func (o *GetClusterInternalServerError) IsRedirect() bool
- func (o *GetClusterInternalServerError) IsServerError() bool
- func (o *GetClusterInternalServerError) IsSuccess() bool
- func (o *GetClusterInternalServerError) String() string
- type GetClusterInternalServerErrorBody
- func (o *GetClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *GetClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *GetClusterInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type GetClusterNotFound
- func (o *GetClusterNotFound) Code() int
- func (o *GetClusterNotFound) Error() string
- func (o *GetClusterNotFound) GetPayload() *GetClusterNotFoundBody
- func (o *GetClusterNotFound) IsClientError() bool
- func (o *GetClusterNotFound) IsCode(code int) bool
- func (o *GetClusterNotFound) IsRedirect() bool
- func (o *GetClusterNotFound) IsServerError() bool
- func (o *GetClusterNotFound) IsSuccess() bool
- func (o *GetClusterNotFound) String() string
- type GetClusterNotFoundBody
- func (o *GetClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetClusterNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetClusterNotFoundBody) Validate(formats strfmt.Registry) error
- type GetClusterOK
- func (o *GetClusterOK) Code() int
- func (o *GetClusterOK) Error() string
- func (o *GetClusterOK) GetPayload() *GetClusterOKBody
- func (o *GetClusterOK) IsClientError() bool
- func (o *GetClusterOK) IsCode(code int) bool
- func (o *GetClusterOK) IsRedirect() bool
- func (o *GetClusterOK) IsServerError() bool
- func (o *GetClusterOK) IsSuccess() bool
- func (o *GetClusterOK) String() string
- type GetClusterOKBody
- type GetClusterOKBodyConfig
- func (o *GetClusterOKBodyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyConfig) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyConfig) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyConfig) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyConfigComponents
- func (o *GetClusterOKBodyConfigComponents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyConfigComponents) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyConfigComponents) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyConfigComponents) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyConfigComponentsTidb
- func (o *GetClusterOKBodyConfigComponentsTidb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyConfigComponentsTidb) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyConfigComponentsTidb) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyConfigComponentsTidb) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyConfigComponentsTiflash
- func (o *GetClusterOKBodyConfigComponentsTiflash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyConfigComponentsTiflash) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyConfigComponentsTiflash) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyConfigComponentsTiflash) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyConfigComponentsTikv
- func (o *GetClusterOKBodyConfigComponentsTikv) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyConfigComponentsTikv) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyConfigComponentsTikv) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyConfigComponentsTikv) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyStatus
- func (o *GetClusterOKBodyStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyStatus) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyStatus) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyStatus) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyStatusConnectionStrings
- func (o *GetClusterOKBodyStatusConnectionStrings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyStatusConnectionStrings) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyStatusConnectionStrings) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyStatusConnectionStrings) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyStatusConnectionStringsStandard
- func (o *GetClusterOKBodyStatusConnectionStringsStandard) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyStatusConnectionStringsStandard) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyStatusConnectionStringsStandard) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyStatusConnectionStringsStandard) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyStatusConnectionStringsVpcPeering
- func (o *GetClusterOKBodyStatusConnectionStringsVpcPeering) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyStatusConnectionStringsVpcPeering) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyStatusConnectionStringsVpcPeering) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyStatusConnectionStringsVpcPeering) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyStatusNodeMap
- func (o *GetClusterOKBodyStatusNodeMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyStatusNodeMap) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyStatusNodeMap) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyStatusNodeMap) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyStatusNodeMapTidbItems0
- func (o *GetClusterOKBodyStatusNodeMapTidbItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyStatusNodeMapTidbItems0) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyStatusNodeMapTidbItems0) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyStatusNodeMapTidbItems0) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyStatusNodeMapTiflashItems0
- func (o *GetClusterOKBodyStatusNodeMapTiflashItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyStatusNodeMapTiflashItems0) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyStatusNodeMapTiflashItems0) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyStatusNodeMapTiflashItems0) Validate(formats strfmt.Registry) error
- type GetClusterOKBodyStatusNodeMapTikvItems0
- func (o *GetClusterOKBodyStatusNodeMapTikvItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterOKBodyStatusNodeMapTikvItems0) MarshalBinary() ([]byte, error)
- func (o *GetClusterOKBodyStatusNodeMapTikvItems0) UnmarshalBinary(b []byte) error
- func (o *GetClusterOKBodyStatusNodeMapTikvItems0) Validate(formats strfmt.Registry) error
- type GetClusterParams
- func (o *GetClusterParams) SetClusterID(clusterID string)
- func (o *GetClusterParams) SetContext(ctx context.Context)
- func (o *GetClusterParams) SetDefaults()
- func (o *GetClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterParams) SetProjectID(projectID string)
- func (o *GetClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterParams) WithClusterID(clusterID string) *GetClusterParams
- func (o *GetClusterParams) WithContext(ctx context.Context) *GetClusterParams
- func (o *GetClusterParams) WithDefaults() *GetClusterParams
- func (o *GetClusterParams) WithHTTPClient(client *http.Client) *GetClusterParams
- func (o *GetClusterParams) WithProjectID(projectID string) *GetClusterParams
- func (o *GetClusterParams) WithTimeout(timeout time.Duration) *GetClusterParams
- func (o *GetClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterReader
- type GetClusterTooManyRequests
- func (o *GetClusterTooManyRequests) Code() int
- func (o *GetClusterTooManyRequests) Error() string
- func (o *GetClusterTooManyRequests) GetPayload() *GetClusterTooManyRequestsBody
- func (o *GetClusterTooManyRequests) IsClientError() bool
- func (o *GetClusterTooManyRequests) IsCode(code int) bool
- func (o *GetClusterTooManyRequests) IsRedirect() bool
- func (o *GetClusterTooManyRequests) IsServerError() bool
- func (o *GetClusterTooManyRequests) IsSuccess() bool
- func (o *GetClusterTooManyRequests) String() string
- type GetClusterTooManyRequestsBody
- func (o *GetClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *GetClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *GetClusterTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type GetClusterUnauthorized
- func (o *GetClusterUnauthorized) Code() int
- func (o *GetClusterUnauthorized) Error() string
- func (o *GetClusterUnauthorized) GetPayload() interface{}
- func (o *GetClusterUnauthorized) IsClientError() bool
- func (o *GetClusterUnauthorized) IsCode(code int) bool
- func (o *GetClusterUnauthorized) IsRedirect() bool
- func (o *GetClusterUnauthorized) IsServerError() bool
- func (o *GetClusterUnauthorized) IsSuccess() bool
- func (o *GetClusterUnauthorized) String() string
- type GetPrivateEndpointServiceBadRequest
- func (o *GetPrivateEndpointServiceBadRequest) Code() int
- func (o *GetPrivateEndpointServiceBadRequest) Error() string
- func (o *GetPrivateEndpointServiceBadRequest) GetPayload() *GetPrivateEndpointServiceBadRequestBody
- func (o *GetPrivateEndpointServiceBadRequest) IsClientError() bool
- func (o *GetPrivateEndpointServiceBadRequest) IsCode(code int) bool
- func (o *GetPrivateEndpointServiceBadRequest) IsRedirect() bool
- func (o *GetPrivateEndpointServiceBadRequest) IsServerError() bool
- func (o *GetPrivateEndpointServiceBadRequest) IsSuccess() bool
- func (o *GetPrivateEndpointServiceBadRequest) String() string
- type GetPrivateEndpointServiceBadRequestBody
- func (o *GetPrivateEndpointServiceBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPrivateEndpointServiceBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *GetPrivateEndpointServiceBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *GetPrivateEndpointServiceBadRequestBody) Validate(formats strfmt.Registry) error
- type GetPrivateEndpointServiceDefault
- func (o *GetPrivateEndpointServiceDefault) Code() int
- func (o *GetPrivateEndpointServiceDefault) Error() string
- func (o *GetPrivateEndpointServiceDefault) GetPayload() *GetPrivateEndpointServiceDefaultBody
- func (o *GetPrivateEndpointServiceDefault) IsClientError() bool
- func (o *GetPrivateEndpointServiceDefault) IsCode(code int) bool
- func (o *GetPrivateEndpointServiceDefault) IsRedirect() bool
- func (o *GetPrivateEndpointServiceDefault) IsServerError() bool
- func (o *GetPrivateEndpointServiceDefault) IsSuccess() bool
- func (o *GetPrivateEndpointServiceDefault) String() string
- type GetPrivateEndpointServiceDefaultBody
- func (o *GetPrivateEndpointServiceDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPrivateEndpointServiceDefaultBody) MarshalBinary() ([]byte, error)
- func (o *GetPrivateEndpointServiceDefaultBody) UnmarshalBinary(b []byte) error
- func (o *GetPrivateEndpointServiceDefaultBody) Validate(formats strfmt.Registry) error
- type GetPrivateEndpointServiceDefaultBodyDetailsItems0
- func (o *GetPrivateEndpointServiceDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPrivateEndpointServiceDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *GetPrivateEndpointServiceDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *GetPrivateEndpointServiceDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type GetPrivateEndpointServiceForbidden
- func (o *GetPrivateEndpointServiceForbidden) Code() int
- func (o *GetPrivateEndpointServiceForbidden) Error() string
- func (o *GetPrivateEndpointServiceForbidden) GetPayload() *GetPrivateEndpointServiceForbiddenBody
- func (o *GetPrivateEndpointServiceForbidden) IsClientError() bool
- func (o *GetPrivateEndpointServiceForbidden) IsCode(code int) bool
- func (o *GetPrivateEndpointServiceForbidden) IsRedirect() bool
- func (o *GetPrivateEndpointServiceForbidden) IsServerError() bool
- func (o *GetPrivateEndpointServiceForbidden) IsSuccess() bool
- func (o *GetPrivateEndpointServiceForbidden) String() string
- type GetPrivateEndpointServiceForbiddenBody
- func (o *GetPrivateEndpointServiceForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPrivateEndpointServiceForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *GetPrivateEndpointServiceForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *GetPrivateEndpointServiceForbiddenBody) Validate(formats strfmt.Registry) error
- type GetPrivateEndpointServiceInternalServerError
- func (o *GetPrivateEndpointServiceInternalServerError) Code() int
- func (o *GetPrivateEndpointServiceInternalServerError) Error() string
- func (o *GetPrivateEndpointServiceInternalServerError) GetPayload() *GetPrivateEndpointServiceInternalServerErrorBody
- func (o *GetPrivateEndpointServiceInternalServerError) IsClientError() bool
- func (o *GetPrivateEndpointServiceInternalServerError) IsCode(code int) bool
- func (o *GetPrivateEndpointServiceInternalServerError) IsRedirect() bool
- func (o *GetPrivateEndpointServiceInternalServerError) IsServerError() bool
- func (o *GetPrivateEndpointServiceInternalServerError) IsSuccess() bool
- func (o *GetPrivateEndpointServiceInternalServerError) String() string
- type GetPrivateEndpointServiceInternalServerErrorBody
- func (o *GetPrivateEndpointServiceInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPrivateEndpointServiceInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *GetPrivateEndpointServiceInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *GetPrivateEndpointServiceInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type GetPrivateEndpointServiceNotFound
- func (o *GetPrivateEndpointServiceNotFound) Code() int
- func (o *GetPrivateEndpointServiceNotFound) Error() string
- func (o *GetPrivateEndpointServiceNotFound) GetPayload() *GetPrivateEndpointServiceNotFoundBody
- func (o *GetPrivateEndpointServiceNotFound) IsClientError() bool
- func (o *GetPrivateEndpointServiceNotFound) IsCode(code int) bool
- func (o *GetPrivateEndpointServiceNotFound) IsRedirect() bool
- func (o *GetPrivateEndpointServiceNotFound) IsServerError() bool
- func (o *GetPrivateEndpointServiceNotFound) IsSuccess() bool
- func (o *GetPrivateEndpointServiceNotFound) String() string
- type GetPrivateEndpointServiceNotFoundBody
- func (o *GetPrivateEndpointServiceNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPrivateEndpointServiceNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetPrivateEndpointServiceNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetPrivateEndpointServiceNotFoundBody) Validate(formats strfmt.Registry) error
- type GetPrivateEndpointServiceOK
- func (o *GetPrivateEndpointServiceOK) Code() int
- func (o *GetPrivateEndpointServiceOK) Error() string
- func (o *GetPrivateEndpointServiceOK) GetPayload() *GetPrivateEndpointServiceOKBody
- func (o *GetPrivateEndpointServiceOK) IsClientError() bool
- func (o *GetPrivateEndpointServiceOK) IsCode(code int) bool
- func (o *GetPrivateEndpointServiceOK) IsRedirect() bool
- func (o *GetPrivateEndpointServiceOK) IsServerError() bool
- func (o *GetPrivateEndpointServiceOK) IsSuccess() bool
- func (o *GetPrivateEndpointServiceOK) String() string
- type GetPrivateEndpointServiceOKBody
- func (o *GetPrivateEndpointServiceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPrivateEndpointServiceOKBody) MarshalBinary() ([]byte, error)
- func (o *GetPrivateEndpointServiceOKBody) UnmarshalBinary(b []byte) error
- func (o *GetPrivateEndpointServiceOKBody) Validate(formats strfmt.Registry) error
- type GetPrivateEndpointServiceOKBodyPrivateEndpointService
- func (o *GetPrivateEndpointServiceOKBodyPrivateEndpointService) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPrivateEndpointServiceOKBodyPrivateEndpointService) MarshalBinary() ([]byte, error)
- func (o *GetPrivateEndpointServiceOKBodyPrivateEndpointService) UnmarshalBinary(b []byte) error
- func (o *GetPrivateEndpointServiceOKBodyPrivateEndpointService) Validate(formats strfmt.Registry) error
- type GetPrivateEndpointServiceParams
- func NewGetPrivateEndpointServiceParams() *GetPrivateEndpointServiceParams
- func NewGetPrivateEndpointServiceParamsWithContext(ctx context.Context) *GetPrivateEndpointServiceParams
- func NewGetPrivateEndpointServiceParamsWithHTTPClient(client *http.Client) *GetPrivateEndpointServiceParams
- func NewGetPrivateEndpointServiceParamsWithTimeout(timeout time.Duration) *GetPrivateEndpointServiceParams
- func (o *GetPrivateEndpointServiceParams) SetClusterID(clusterID string)
- func (o *GetPrivateEndpointServiceParams) SetContext(ctx context.Context)
- func (o *GetPrivateEndpointServiceParams) SetDefaults()
- func (o *GetPrivateEndpointServiceParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateEndpointServiceParams) SetProjectID(projectID string)
- func (o *GetPrivateEndpointServiceParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateEndpointServiceParams) WithClusterID(clusterID string) *GetPrivateEndpointServiceParams
- func (o *GetPrivateEndpointServiceParams) WithContext(ctx context.Context) *GetPrivateEndpointServiceParams
- func (o *GetPrivateEndpointServiceParams) WithDefaults() *GetPrivateEndpointServiceParams
- func (o *GetPrivateEndpointServiceParams) WithHTTPClient(client *http.Client) *GetPrivateEndpointServiceParams
- func (o *GetPrivateEndpointServiceParams) WithProjectID(projectID string) *GetPrivateEndpointServiceParams
- func (o *GetPrivateEndpointServiceParams) WithTimeout(timeout time.Duration) *GetPrivateEndpointServiceParams
- func (o *GetPrivateEndpointServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateEndpointServiceReader
- type GetPrivateEndpointServiceTooManyRequests
- func (o *GetPrivateEndpointServiceTooManyRequests) Code() int
- func (o *GetPrivateEndpointServiceTooManyRequests) Error() string
- func (o *GetPrivateEndpointServiceTooManyRequests) GetPayload() *GetPrivateEndpointServiceTooManyRequestsBody
- func (o *GetPrivateEndpointServiceTooManyRequests) IsClientError() bool
- func (o *GetPrivateEndpointServiceTooManyRequests) IsCode(code int) bool
- func (o *GetPrivateEndpointServiceTooManyRequests) IsRedirect() bool
- func (o *GetPrivateEndpointServiceTooManyRequests) IsServerError() bool
- func (o *GetPrivateEndpointServiceTooManyRequests) IsSuccess() bool
- func (o *GetPrivateEndpointServiceTooManyRequests) String() string
- type GetPrivateEndpointServiceTooManyRequestsBody
- func (o *GetPrivateEndpointServiceTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPrivateEndpointServiceTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *GetPrivateEndpointServiceTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *GetPrivateEndpointServiceTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type GetPrivateEndpointServiceUnauthorized
- func (o *GetPrivateEndpointServiceUnauthorized) Code() int
- func (o *GetPrivateEndpointServiceUnauthorized) Error() string
- func (o *GetPrivateEndpointServiceUnauthorized) GetPayload() interface{}
- func (o *GetPrivateEndpointServiceUnauthorized) IsClientError() bool
- func (o *GetPrivateEndpointServiceUnauthorized) IsCode(code int) bool
- func (o *GetPrivateEndpointServiceUnauthorized) IsRedirect() bool
- func (o *GetPrivateEndpointServiceUnauthorized) IsServerError() bool
- func (o *GetPrivateEndpointServiceUnauthorized) IsSuccess() bool
- func (o *GetPrivateEndpointServiceUnauthorized) String() string
- type ListAwsCmekBadRequest
- func (o *ListAwsCmekBadRequest) Code() int
- func (o *ListAwsCmekBadRequest) Error() string
- func (o *ListAwsCmekBadRequest) GetPayload() *ListAwsCmekBadRequestBody
- func (o *ListAwsCmekBadRequest) IsClientError() bool
- func (o *ListAwsCmekBadRequest) IsCode(code int) bool
- func (o *ListAwsCmekBadRequest) IsRedirect() bool
- func (o *ListAwsCmekBadRequest) IsServerError() bool
- func (o *ListAwsCmekBadRequest) IsSuccess() bool
- func (o *ListAwsCmekBadRequest) String() string
- type ListAwsCmekBadRequestBody
- func (o *ListAwsCmekBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListAwsCmekBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListAwsCmekBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListAwsCmekBadRequestBody) Validate(formats strfmt.Registry) error
- type ListAwsCmekDefault
- func (o *ListAwsCmekDefault) Code() int
- func (o *ListAwsCmekDefault) Error() string
- func (o *ListAwsCmekDefault) GetPayload() *ListAwsCmekDefaultBody
- func (o *ListAwsCmekDefault) IsClientError() bool
- func (o *ListAwsCmekDefault) IsCode(code int) bool
- func (o *ListAwsCmekDefault) IsRedirect() bool
- func (o *ListAwsCmekDefault) IsServerError() bool
- func (o *ListAwsCmekDefault) IsSuccess() bool
- func (o *ListAwsCmekDefault) String() string
- type ListAwsCmekDefaultBody
- func (o *ListAwsCmekDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListAwsCmekDefaultBody) MarshalBinary() ([]byte, error)
- func (o *ListAwsCmekDefaultBody) UnmarshalBinary(b []byte) error
- func (o *ListAwsCmekDefaultBody) Validate(formats strfmt.Registry) error
- type ListAwsCmekDefaultBodyDetailsItems0
- func (o *ListAwsCmekDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListAwsCmekDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *ListAwsCmekDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *ListAwsCmekDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type ListAwsCmekForbidden
- func (o *ListAwsCmekForbidden) Code() int
- func (o *ListAwsCmekForbidden) Error() string
- func (o *ListAwsCmekForbidden) GetPayload() *ListAwsCmekForbiddenBody
- func (o *ListAwsCmekForbidden) IsClientError() bool
- func (o *ListAwsCmekForbidden) IsCode(code int) bool
- func (o *ListAwsCmekForbidden) IsRedirect() bool
- func (o *ListAwsCmekForbidden) IsServerError() bool
- func (o *ListAwsCmekForbidden) IsSuccess() bool
- func (o *ListAwsCmekForbidden) String() string
- type ListAwsCmekForbiddenBody
- func (o *ListAwsCmekForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListAwsCmekForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *ListAwsCmekForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *ListAwsCmekForbiddenBody) Validate(formats strfmt.Registry) error
- type ListAwsCmekInternalServerError
- func (o *ListAwsCmekInternalServerError) Code() int
- func (o *ListAwsCmekInternalServerError) Error() string
- func (o *ListAwsCmekInternalServerError) GetPayload() *ListAwsCmekInternalServerErrorBody
- func (o *ListAwsCmekInternalServerError) IsClientError() bool
- func (o *ListAwsCmekInternalServerError) IsCode(code int) bool
- func (o *ListAwsCmekInternalServerError) IsRedirect() bool
- func (o *ListAwsCmekInternalServerError) IsServerError() bool
- func (o *ListAwsCmekInternalServerError) IsSuccess() bool
- func (o *ListAwsCmekInternalServerError) String() string
- type ListAwsCmekInternalServerErrorBody
- func (o *ListAwsCmekInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListAwsCmekInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListAwsCmekInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListAwsCmekInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListAwsCmekNotFound
- func (o *ListAwsCmekNotFound) Code() int
- func (o *ListAwsCmekNotFound) Error() string
- func (o *ListAwsCmekNotFound) GetPayload() *ListAwsCmekNotFoundBody
- func (o *ListAwsCmekNotFound) IsClientError() bool
- func (o *ListAwsCmekNotFound) IsCode(code int) bool
- func (o *ListAwsCmekNotFound) IsRedirect() bool
- func (o *ListAwsCmekNotFound) IsServerError() bool
- func (o *ListAwsCmekNotFound) IsSuccess() bool
- func (o *ListAwsCmekNotFound) String() string
- type ListAwsCmekNotFoundBody
- func (o *ListAwsCmekNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListAwsCmekNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ListAwsCmekNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ListAwsCmekNotFoundBody) Validate(formats strfmt.Registry) error
- type ListAwsCmekOK
- func (o *ListAwsCmekOK) Code() int
- func (o *ListAwsCmekOK) Error() string
- func (o *ListAwsCmekOK) GetPayload() *ListAwsCmekOKBody
- func (o *ListAwsCmekOK) IsClientError() bool
- func (o *ListAwsCmekOK) IsCode(code int) bool
- func (o *ListAwsCmekOK) IsRedirect() bool
- func (o *ListAwsCmekOK) IsServerError() bool
- func (o *ListAwsCmekOK) IsSuccess() bool
- func (o *ListAwsCmekOK) String() string
- type ListAwsCmekOKBody
- type ListAwsCmekOKBodyItemsItems0
- func (o *ListAwsCmekOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListAwsCmekOKBodyItemsItems0) MarshalBinary() ([]byte, error)
- func (o *ListAwsCmekOKBodyItemsItems0) UnmarshalBinary(b []byte) error
- func (o *ListAwsCmekOKBodyItemsItems0) Validate(formats strfmt.Registry) error
- type ListAwsCmekParams
- func (o *ListAwsCmekParams) SetContext(ctx context.Context)
- func (o *ListAwsCmekParams) SetDefaults()
- func (o *ListAwsCmekParams) SetHTTPClient(client *http.Client)
- func (o *ListAwsCmekParams) SetProjectID(projectID string)
- func (o *ListAwsCmekParams) SetTimeout(timeout time.Duration)
- func (o *ListAwsCmekParams) WithContext(ctx context.Context) *ListAwsCmekParams
- func (o *ListAwsCmekParams) WithDefaults() *ListAwsCmekParams
- func (o *ListAwsCmekParams) WithHTTPClient(client *http.Client) *ListAwsCmekParams
- func (o *ListAwsCmekParams) WithProjectID(projectID string) *ListAwsCmekParams
- func (o *ListAwsCmekParams) WithTimeout(timeout time.Duration) *ListAwsCmekParams
- func (o *ListAwsCmekParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAwsCmekReader
- type ListAwsCmekTooManyRequests
- func (o *ListAwsCmekTooManyRequests) Code() int
- func (o *ListAwsCmekTooManyRequests) Error() string
- func (o *ListAwsCmekTooManyRequests) GetPayload() *ListAwsCmekTooManyRequestsBody
- func (o *ListAwsCmekTooManyRequests) IsClientError() bool
- func (o *ListAwsCmekTooManyRequests) IsCode(code int) bool
- func (o *ListAwsCmekTooManyRequests) IsRedirect() bool
- func (o *ListAwsCmekTooManyRequests) IsServerError() bool
- func (o *ListAwsCmekTooManyRequests) IsSuccess() bool
- func (o *ListAwsCmekTooManyRequests) String() string
- type ListAwsCmekTooManyRequestsBody
- func (o *ListAwsCmekTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListAwsCmekTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *ListAwsCmekTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *ListAwsCmekTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type ListAwsCmekUnauthorized
- func (o *ListAwsCmekUnauthorized) Code() int
- func (o *ListAwsCmekUnauthorized) Error() string
- func (o *ListAwsCmekUnauthorized) GetPayload() interface{}
- func (o *ListAwsCmekUnauthorized) IsClientError() bool
- func (o *ListAwsCmekUnauthorized) IsCode(code int) bool
- func (o *ListAwsCmekUnauthorized) IsRedirect() bool
- func (o *ListAwsCmekUnauthorized) IsServerError() bool
- func (o *ListAwsCmekUnauthorized) IsSuccess() bool
- func (o *ListAwsCmekUnauthorized) String() string
- type ListClustersOfProjectBadRequest
- func (o *ListClustersOfProjectBadRequest) Code() int
- func (o *ListClustersOfProjectBadRequest) Error() string
- func (o *ListClustersOfProjectBadRequest) GetPayload() *ListClustersOfProjectBadRequestBody
- func (o *ListClustersOfProjectBadRequest) IsClientError() bool
- func (o *ListClustersOfProjectBadRequest) IsCode(code int) bool
- func (o *ListClustersOfProjectBadRequest) IsRedirect() bool
- func (o *ListClustersOfProjectBadRequest) IsServerError() bool
- func (o *ListClustersOfProjectBadRequest) IsSuccess() bool
- func (o *ListClustersOfProjectBadRequest) String() string
- type ListClustersOfProjectBadRequestBody
- func (o *ListClustersOfProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectBadRequestBody) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectDefault
- func (o *ListClustersOfProjectDefault) Code() int
- func (o *ListClustersOfProjectDefault) Error() string
- func (o *ListClustersOfProjectDefault) GetPayload() *ListClustersOfProjectDefaultBody
- func (o *ListClustersOfProjectDefault) IsClientError() bool
- func (o *ListClustersOfProjectDefault) IsCode(code int) bool
- func (o *ListClustersOfProjectDefault) IsRedirect() bool
- func (o *ListClustersOfProjectDefault) IsServerError() bool
- func (o *ListClustersOfProjectDefault) IsSuccess() bool
- func (o *ListClustersOfProjectDefault) String() string
- type ListClustersOfProjectDefaultBody
- func (o *ListClustersOfProjectDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectDefaultBody) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectDefaultBody) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectDefaultBody) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectDefaultBodyDetailsItems0
- func (o *ListClustersOfProjectDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectForbidden
- func (o *ListClustersOfProjectForbidden) Code() int
- func (o *ListClustersOfProjectForbidden) Error() string
- func (o *ListClustersOfProjectForbidden) GetPayload() *ListClustersOfProjectForbiddenBody
- func (o *ListClustersOfProjectForbidden) IsClientError() bool
- func (o *ListClustersOfProjectForbidden) IsCode(code int) bool
- func (o *ListClustersOfProjectForbidden) IsRedirect() bool
- func (o *ListClustersOfProjectForbidden) IsServerError() bool
- func (o *ListClustersOfProjectForbidden) IsSuccess() bool
- func (o *ListClustersOfProjectForbidden) String() string
- type ListClustersOfProjectForbiddenBody
- func (o *ListClustersOfProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectForbiddenBody) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectInternalServerError
- func (o *ListClustersOfProjectInternalServerError) Code() int
- func (o *ListClustersOfProjectInternalServerError) Error() string
- func (o *ListClustersOfProjectInternalServerError) GetPayload() *ListClustersOfProjectInternalServerErrorBody
- func (o *ListClustersOfProjectInternalServerError) IsClientError() bool
- func (o *ListClustersOfProjectInternalServerError) IsCode(code int) bool
- func (o *ListClustersOfProjectInternalServerError) IsRedirect() bool
- func (o *ListClustersOfProjectInternalServerError) IsServerError() bool
- func (o *ListClustersOfProjectInternalServerError) IsSuccess() bool
- func (o *ListClustersOfProjectInternalServerError) String() string
- type ListClustersOfProjectInternalServerErrorBody
- func (o *ListClustersOfProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectNotFound
- func (o *ListClustersOfProjectNotFound) Code() int
- func (o *ListClustersOfProjectNotFound) Error() string
- func (o *ListClustersOfProjectNotFound) GetPayload() *ListClustersOfProjectNotFoundBody
- func (o *ListClustersOfProjectNotFound) IsClientError() bool
- func (o *ListClustersOfProjectNotFound) IsCode(code int) bool
- func (o *ListClustersOfProjectNotFound) IsRedirect() bool
- func (o *ListClustersOfProjectNotFound) IsServerError() bool
- func (o *ListClustersOfProjectNotFound) IsSuccess() bool
- func (o *ListClustersOfProjectNotFound) String() string
- type ListClustersOfProjectNotFoundBody
- func (o *ListClustersOfProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectNotFoundBody) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOK
- func (o *ListClustersOfProjectOK) Code() int
- func (o *ListClustersOfProjectOK) Error() string
- func (o *ListClustersOfProjectOK) GetPayload() *ListClustersOfProjectOKBody
- func (o *ListClustersOfProjectOK) IsClientError() bool
- func (o *ListClustersOfProjectOK) IsCode(code int) bool
- func (o *ListClustersOfProjectOK) IsRedirect() bool
- func (o *ListClustersOfProjectOK) IsServerError() bool
- func (o *ListClustersOfProjectOK) IsSuccess() bool
- func (o *ListClustersOfProjectOK) String() string
- type ListClustersOfProjectOKBody
- func (o *ListClustersOfProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBody) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBody) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBody) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0
- func (o *ListClustersOfProjectOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0Config
- func (o *ListClustersOfProjectOKBodyItemsItems0Config) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0Config) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0Config) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0Config) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0ConfigComponents
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponents) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponents) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponents) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0Status
- func (o *ListClustersOfProjectOKBodyItemsItems0Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0Status) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0Status) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0Status) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0StatusNodeMap
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectParams
- func NewListClustersOfProjectParams() *ListClustersOfProjectParams
- func NewListClustersOfProjectParamsWithContext(ctx context.Context) *ListClustersOfProjectParams
- func NewListClustersOfProjectParamsWithHTTPClient(client *http.Client) *ListClustersOfProjectParams
- func NewListClustersOfProjectParamsWithTimeout(timeout time.Duration) *ListClustersOfProjectParams
- func (o *ListClustersOfProjectParams) SetContext(ctx context.Context)
- func (o *ListClustersOfProjectParams) SetDefaults()
- func (o *ListClustersOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *ListClustersOfProjectParams) SetPage(page *int64)
- func (o *ListClustersOfProjectParams) SetPageSize(pageSize *int64)
- func (o *ListClustersOfProjectParams) SetProjectID(projectID string)
- func (o *ListClustersOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *ListClustersOfProjectParams) WithContext(ctx context.Context) *ListClustersOfProjectParams
- func (o *ListClustersOfProjectParams) WithDefaults() *ListClustersOfProjectParams
- func (o *ListClustersOfProjectParams) WithHTTPClient(client *http.Client) *ListClustersOfProjectParams
- func (o *ListClustersOfProjectParams) WithPage(page *int64) *ListClustersOfProjectParams
- func (o *ListClustersOfProjectParams) WithPageSize(pageSize *int64) *ListClustersOfProjectParams
- func (o *ListClustersOfProjectParams) WithProjectID(projectID string) *ListClustersOfProjectParams
- func (o *ListClustersOfProjectParams) WithTimeout(timeout time.Duration) *ListClustersOfProjectParams
- func (o *ListClustersOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClustersOfProjectReader
- type ListClustersOfProjectTooManyRequests
- func (o *ListClustersOfProjectTooManyRequests) Code() int
- func (o *ListClustersOfProjectTooManyRequests) Error() string
- func (o *ListClustersOfProjectTooManyRequests) GetPayload() *ListClustersOfProjectTooManyRequestsBody
- func (o *ListClustersOfProjectTooManyRequests) IsClientError() bool
- func (o *ListClustersOfProjectTooManyRequests) IsCode(code int) bool
- func (o *ListClustersOfProjectTooManyRequests) IsRedirect() bool
- func (o *ListClustersOfProjectTooManyRequests) IsServerError() bool
- func (o *ListClustersOfProjectTooManyRequests) IsSuccess() bool
- func (o *ListClustersOfProjectTooManyRequests) String() string
- type ListClustersOfProjectTooManyRequestsBody
- func (o *ListClustersOfProjectTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListClustersOfProjectTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *ListClustersOfProjectTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *ListClustersOfProjectTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type ListClustersOfProjectUnauthorized
- func (o *ListClustersOfProjectUnauthorized) Code() int
- func (o *ListClustersOfProjectUnauthorized) Error() string
- func (o *ListClustersOfProjectUnauthorized) GetPayload() interface{}
- func (o *ListClustersOfProjectUnauthorized) IsClientError() bool
- func (o *ListClustersOfProjectUnauthorized) IsCode(code int) bool
- func (o *ListClustersOfProjectUnauthorized) IsRedirect() bool
- func (o *ListClustersOfProjectUnauthorized) IsServerError() bool
- func (o *ListClustersOfProjectUnauthorized) IsSuccess() bool
- func (o *ListClustersOfProjectUnauthorized) String() string
- type ListPrivateEndpointsBadRequest
- func (o *ListPrivateEndpointsBadRequest) Code() int
- func (o *ListPrivateEndpointsBadRequest) Error() string
- func (o *ListPrivateEndpointsBadRequest) GetPayload() *ListPrivateEndpointsBadRequestBody
- func (o *ListPrivateEndpointsBadRequest) IsClientError() bool
- func (o *ListPrivateEndpointsBadRequest) IsCode(code int) bool
- func (o *ListPrivateEndpointsBadRequest) IsRedirect() bool
- func (o *ListPrivateEndpointsBadRequest) IsServerError() bool
- func (o *ListPrivateEndpointsBadRequest) IsSuccess() bool
- func (o *ListPrivateEndpointsBadRequest) String() string
- type ListPrivateEndpointsBadRequestBody
- func (o *ListPrivateEndpointsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsBadRequestBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsDefault
- func (o *ListPrivateEndpointsDefault) Code() int
- func (o *ListPrivateEndpointsDefault) Error() string
- func (o *ListPrivateEndpointsDefault) GetPayload() *ListPrivateEndpointsDefaultBody
- func (o *ListPrivateEndpointsDefault) IsClientError() bool
- func (o *ListPrivateEndpointsDefault) IsCode(code int) bool
- func (o *ListPrivateEndpointsDefault) IsRedirect() bool
- func (o *ListPrivateEndpointsDefault) IsServerError() bool
- func (o *ListPrivateEndpointsDefault) IsSuccess() bool
- func (o *ListPrivateEndpointsDefault) String() string
- type ListPrivateEndpointsDefaultBody
- func (o *ListPrivateEndpointsDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsDefaultBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsDefaultBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsDefaultBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsDefaultBodyDetailsItems0
- func (o *ListPrivateEndpointsDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsForbidden
- func (o *ListPrivateEndpointsForbidden) Code() int
- func (o *ListPrivateEndpointsForbidden) Error() string
- func (o *ListPrivateEndpointsForbidden) GetPayload() *ListPrivateEndpointsForbiddenBody
- func (o *ListPrivateEndpointsForbidden) IsClientError() bool
- func (o *ListPrivateEndpointsForbidden) IsCode(code int) bool
- func (o *ListPrivateEndpointsForbidden) IsRedirect() bool
- func (o *ListPrivateEndpointsForbidden) IsServerError() bool
- func (o *ListPrivateEndpointsForbidden) IsSuccess() bool
- func (o *ListPrivateEndpointsForbidden) String() string
- type ListPrivateEndpointsForbiddenBody
- func (o *ListPrivateEndpointsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsForbiddenBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsInternalServerError
- func (o *ListPrivateEndpointsInternalServerError) Code() int
- func (o *ListPrivateEndpointsInternalServerError) Error() string
- func (o *ListPrivateEndpointsInternalServerError) GetPayload() *ListPrivateEndpointsInternalServerErrorBody
- func (o *ListPrivateEndpointsInternalServerError) IsClientError() bool
- func (o *ListPrivateEndpointsInternalServerError) IsCode(code int) bool
- func (o *ListPrivateEndpointsInternalServerError) IsRedirect() bool
- func (o *ListPrivateEndpointsInternalServerError) IsServerError() bool
- func (o *ListPrivateEndpointsInternalServerError) IsSuccess() bool
- func (o *ListPrivateEndpointsInternalServerError) String() string
- type ListPrivateEndpointsInternalServerErrorBody
- func (o *ListPrivateEndpointsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsNotFound
- func (o *ListPrivateEndpointsNotFound) Code() int
- func (o *ListPrivateEndpointsNotFound) Error() string
- func (o *ListPrivateEndpointsNotFound) GetPayload() *ListPrivateEndpointsNotFoundBody
- func (o *ListPrivateEndpointsNotFound) IsClientError() bool
- func (o *ListPrivateEndpointsNotFound) IsCode(code int) bool
- func (o *ListPrivateEndpointsNotFound) IsRedirect() bool
- func (o *ListPrivateEndpointsNotFound) IsServerError() bool
- func (o *ListPrivateEndpointsNotFound) IsSuccess() bool
- func (o *ListPrivateEndpointsNotFound) String() string
- type ListPrivateEndpointsNotFoundBody
- func (o *ListPrivateEndpointsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsNotFoundBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOK
- func (o *ListPrivateEndpointsOK) Code() int
- func (o *ListPrivateEndpointsOK) Error() string
- func (o *ListPrivateEndpointsOK) GetPayload() *ListPrivateEndpointsOKBody
- func (o *ListPrivateEndpointsOK) IsClientError() bool
- func (o *ListPrivateEndpointsOK) IsCode(code int) bool
- func (o *ListPrivateEndpointsOK) IsRedirect() bool
- func (o *ListPrivateEndpointsOK) IsServerError() bool
- func (o *ListPrivateEndpointsOK) IsSuccess() bool
- func (o *ListPrivateEndpointsOK) String() string
- type ListPrivateEndpointsOKBody
- func (o *ListPrivateEndpointsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOKBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOKBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOKBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOKBodyEndpointsItems0
- func (o *ListPrivateEndpointsOKBodyEndpointsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOKBodyEndpointsItems0) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOKBodyEndpointsItems0) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOKBodyEndpointsItems0) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOfProjectBadRequest
- func (o *ListPrivateEndpointsOfProjectBadRequest) Code() int
- func (o *ListPrivateEndpointsOfProjectBadRequest) Error() string
- func (o *ListPrivateEndpointsOfProjectBadRequest) GetPayload() *ListPrivateEndpointsOfProjectBadRequestBody
- func (o *ListPrivateEndpointsOfProjectBadRequest) IsClientError() bool
- func (o *ListPrivateEndpointsOfProjectBadRequest) IsCode(code int) bool
- func (o *ListPrivateEndpointsOfProjectBadRequest) IsRedirect() bool
- func (o *ListPrivateEndpointsOfProjectBadRequest) IsServerError() bool
- func (o *ListPrivateEndpointsOfProjectBadRequest) IsSuccess() bool
- func (o *ListPrivateEndpointsOfProjectBadRequest) String() string
- type ListPrivateEndpointsOfProjectBadRequestBody
- func (o *ListPrivateEndpointsOfProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOfProjectBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOfProjectBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOfProjectBadRequestBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOfProjectDefault
- func (o *ListPrivateEndpointsOfProjectDefault) Code() int
- func (o *ListPrivateEndpointsOfProjectDefault) Error() string
- func (o *ListPrivateEndpointsOfProjectDefault) GetPayload() *ListPrivateEndpointsOfProjectDefaultBody
- func (o *ListPrivateEndpointsOfProjectDefault) IsClientError() bool
- func (o *ListPrivateEndpointsOfProjectDefault) IsCode(code int) bool
- func (o *ListPrivateEndpointsOfProjectDefault) IsRedirect() bool
- func (o *ListPrivateEndpointsOfProjectDefault) IsServerError() bool
- func (o *ListPrivateEndpointsOfProjectDefault) IsSuccess() bool
- func (o *ListPrivateEndpointsOfProjectDefault) String() string
- type ListPrivateEndpointsOfProjectDefaultBody
- func (o *ListPrivateEndpointsOfProjectDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOfProjectDefaultBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOfProjectDefaultBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOfProjectDefaultBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0
- func (o *ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOfProjectForbidden
- func (o *ListPrivateEndpointsOfProjectForbidden) Code() int
- func (o *ListPrivateEndpointsOfProjectForbidden) Error() string
- func (o *ListPrivateEndpointsOfProjectForbidden) GetPayload() *ListPrivateEndpointsOfProjectForbiddenBody
- func (o *ListPrivateEndpointsOfProjectForbidden) IsClientError() bool
- func (o *ListPrivateEndpointsOfProjectForbidden) IsCode(code int) bool
- func (o *ListPrivateEndpointsOfProjectForbidden) IsRedirect() bool
- func (o *ListPrivateEndpointsOfProjectForbidden) IsServerError() bool
- func (o *ListPrivateEndpointsOfProjectForbidden) IsSuccess() bool
- func (o *ListPrivateEndpointsOfProjectForbidden) String() string
- type ListPrivateEndpointsOfProjectForbiddenBody
- func (o *ListPrivateEndpointsOfProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOfProjectForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOfProjectForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOfProjectForbiddenBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOfProjectInternalServerError
- func (o *ListPrivateEndpointsOfProjectInternalServerError) Code() int
- func (o *ListPrivateEndpointsOfProjectInternalServerError) Error() string
- func (o *ListPrivateEndpointsOfProjectInternalServerError) GetPayload() *ListPrivateEndpointsOfProjectInternalServerErrorBody
- func (o *ListPrivateEndpointsOfProjectInternalServerError) IsClientError() bool
- func (o *ListPrivateEndpointsOfProjectInternalServerError) IsCode(code int) bool
- func (o *ListPrivateEndpointsOfProjectInternalServerError) IsRedirect() bool
- func (o *ListPrivateEndpointsOfProjectInternalServerError) IsServerError() bool
- func (o *ListPrivateEndpointsOfProjectInternalServerError) IsSuccess() bool
- func (o *ListPrivateEndpointsOfProjectInternalServerError) String() string
- type ListPrivateEndpointsOfProjectInternalServerErrorBody
- func (o *ListPrivateEndpointsOfProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOfProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOfProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOfProjectInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOfProjectNotFound
- func (o *ListPrivateEndpointsOfProjectNotFound) Code() int
- func (o *ListPrivateEndpointsOfProjectNotFound) Error() string
- func (o *ListPrivateEndpointsOfProjectNotFound) GetPayload() *ListPrivateEndpointsOfProjectNotFoundBody
- func (o *ListPrivateEndpointsOfProjectNotFound) IsClientError() bool
- func (o *ListPrivateEndpointsOfProjectNotFound) IsCode(code int) bool
- func (o *ListPrivateEndpointsOfProjectNotFound) IsRedirect() bool
- func (o *ListPrivateEndpointsOfProjectNotFound) IsServerError() bool
- func (o *ListPrivateEndpointsOfProjectNotFound) IsSuccess() bool
- func (o *ListPrivateEndpointsOfProjectNotFound) String() string
- type ListPrivateEndpointsOfProjectNotFoundBody
- func (o *ListPrivateEndpointsOfProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOfProjectNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOfProjectNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOfProjectNotFoundBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOfProjectOK
- func (o *ListPrivateEndpointsOfProjectOK) Code() int
- func (o *ListPrivateEndpointsOfProjectOK) Error() string
- func (o *ListPrivateEndpointsOfProjectOK) GetPayload() *ListPrivateEndpointsOfProjectOKBody
- func (o *ListPrivateEndpointsOfProjectOK) IsClientError() bool
- func (o *ListPrivateEndpointsOfProjectOK) IsCode(code int) bool
- func (o *ListPrivateEndpointsOfProjectOK) IsRedirect() bool
- func (o *ListPrivateEndpointsOfProjectOK) IsServerError() bool
- func (o *ListPrivateEndpointsOfProjectOK) IsSuccess() bool
- func (o *ListPrivateEndpointsOfProjectOK) String() string
- type ListPrivateEndpointsOfProjectOKBody
- func (o *ListPrivateEndpointsOfProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOfProjectOKBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOfProjectOKBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOfProjectOKBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOfProjectOKBodyEndpointsItems0
- func (o *ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOfProjectParams
- func NewListPrivateEndpointsOfProjectParams() *ListPrivateEndpointsOfProjectParams
- func NewListPrivateEndpointsOfProjectParamsWithContext(ctx context.Context) *ListPrivateEndpointsOfProjectParams
- func NewListPrivateEndpointsOfProjectParamsWithHTTPClient(client *http.Client) *ListPrivateEndpointsOfProjectParams
- func NewListPrivateEndpointsOfProjectParamsWithTimeout(timeout time.Duration) *ListPrivateEndpointsOfProjectParams
- func (o *ListPrivateEndpointsOfProjectParams) SetContext(ctx context.Context)
- func (o *ListPrivateEndpointsOfProjectParams) SetDefaults()
- func (o *ListPrivateEndpointsOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *ListPrivateEndpointsOfProjectParams) SetProjectID(projectID string)
- func (o *ListPrivateEndpointsOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *ListPrivateEndpointsOfProjectParams) WithContext(ctx context.Context) *ListPrivateEndpointsOfProjectParams
- func (o *ListPrivateEndpointsOfProjectParams) WithDefaults() *ListPrivateEndpointsOfProjectParams
- func (o *ListPrivateEndpointsOfProjectParams) WithHTTPClient(client *http.Client) *ListPrivateEndpointsOfProjectParams
- func (o *ListPrivateEndpointsOfProjectParams) WithProjectID(projectID string) *ListPrivateEndpointsOfProjectParams
- func (o *ListPrivateEndpointsOfProjectParams) WithTimeout(timeout time.Duration) *ListPrivateEndpointsOfProjectParams
- func (o *ListPrivateEndpointsOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPrivateEndpointsOfProjectReader
- type ListPrivateEndpointsOfProjectTooManyRequests
- func (o *ListPrivateEndpointsOfProjectTooManyRequests) Code() int
- func (o *ListPrivateEndpointsOfProjectTooManyRequests) Error() string
- func (o *ListPrivateEndpointsOfProjectTooManyRequests) GetPayload() *ListPrivateEndpointsOfProjectTooManyRequestsBody
- func (o *ListPrivateEndpointsOfProjectTooManyRequests) IsClientError() bool
- func (o *ListPrivateEndpointsOfProjectTooManyRequests) IsCode(code int) bool
- func (o *ListPrivateEndpointsOfProjectTooManyRequests) IsRedirect() bool
- func (o *ListPrivateEndpointsOfProjectTooManyRequests) IsServerError() bool
- func (o *ListPrivateEndpointsOfProjectTooManyRequests) IsSuccess() bool
- func (o *ListPrivateEndpointsOfProjectTooManyRequests) String() string
- type ListPrivateEndpointsOfProjectTooManyRequestsBody
- func (o *ListPrivateEndpointsOfProjectTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsOfProjectTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsOfProjectTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsOfProjectTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsOfProjectUnauthorized
- func (o *ListPrivateEndpointsOfProjectUnauthorized) Code() int
- func (o *ListPrivateEndpointsOfProjectUnauthorized) Error() string
- func (o *ListPrivateEndpointsOfProjectUnauthorized) GetPayload() interface{}
- func (o *ListPrivateEndpointsOfProjectUnauthorized) IsClientError() bool
- func (o *ListPrivateEndpointsOfProjectUnauthorized) IsCode(code int) bool
- func (o *ListPrivateEndpointsOfProjectUnauthorized) IsRedirect() bool
- func (o *ListPrivateEndpointsOfProjectUnauthorized) IsServerError() bool
- func (o *ListPrivateEndpointsOfProjectUnauthorized) IsSuccess() bool
- func (o *ListPrivateEndpointsOfProjectUnauthorized) String() string
- type ListPrivateEndpointsParams
- func NewListPrivateEndpointsParams() *ListPrivateEndpointsParams
- func NewListPrivateEndpointsParamsWithContext(ctx context.Context) *ListPrivateEndpointsParams
- func NewListPrivateEndpointsParamsWithHTTPClient(client *http.Client) *ListPrivateEndpointsParams
- func NewListPrivateEndpointsParamsWithTimeout(timeout time.Duration) *ListPrivateEndpointsParams
- func (o *ListPrivateEndpointsParams) SetClusterID(clusterID string)
- func (o *ListPrivateEndpointsParams) SetContext(ctx context.Context)
- func (o *ListPrivateEndpointsParams) SetDefaults()
- func (o *ListPrivateEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *ListPrivateEndpointsParams) SetProjectID(projectID string)
- func (o *ListPrivateEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *ListPrivateEndpointsParams) WithClusterID(clusterID string) *ListPrivateEndpointsParams
- func (o *ListPrivateEndpointsParams) WithContext(ctx context.Context) *ListPrivateEndpointsParams
- func (o *ListPrivateEndpointsParams) WithDefaults() *ListPrivateEndpointsParams
- func (o *ListPrivateEndpointsParams) WithHTTPClient(client *http.Client) *ListPrivateEndpointsParams
- func (o *ListPrivateEndpointsParams) WithProjectID(projectID string) *ListPrivateEndpointsParams
- func (o *ListPrivateEndpointsParams) WithTimeout(timeout time.Duration) *ListPrivateEndpointsParams
- func (o *ListPrivateEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPrivateEndpointsReader
- type ListPrivateEndpointsTooManyRequests
- func (o *ListPrivateEndpointsTooManyRequests) Code() int
- func (o *ListPrivateEndpointsTooManyRequests) Error() string
- func (o *ListPrivateEndpointsTooManyRequests) GetPayload() *ListPrivateEndpointsTooManyRequestsBody
- func (o *ListPrivateEndpointsTooManyRequests) IsClientError() bool
- func (o *ListPrivateEndpointsTooManyRequests) IsCode(code int) bool
- func (o *ListPrivateEndpointsTooManyRequests) IsRedirect() bool
- func (o *ListPrivateEndpointsTooManyRequests) IsServerError() bool
- func (o *ListPrivateEndpointsTooManyRequests) IsSuccess() bool
- func (o *ListPrivateEndpointsTooManyRequests) String() string
- type ListPrivateEndpointsTooManyRequestsBody
- func (o *ListPrivateEndpointsTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListPrivateEndpointsTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *ListPrivateEndpointsTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *ListPrivateEndpointsTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type ListPrivateEndpointsUnauthorized
- func (o *ListPrivateEndpointsUnauthorized) Code() int
- func (o *ListPrivateEndpointsUnauthorized) Error() string
- func (o *ListPrivateEndpointsUnauthorized) GetPayload() interface{}
- func (o *ListPrivateEndpointsUnauthorized) IsClientError() bool
- func (o *ListPrivateEndpointsUnauthorized) IsCode(code int) bool
- func (o *ListPrivateEndpointsUnauthorized) IsRedirect() bool
- func (o *ListPrivateEndpointsUnauthorized) IsServerError() bool
- func (o *ListPrivateEndpointsUnauthorized) IsSuccess() bool
- func (o *ListPrivateEndpointsUnauthorized) String() string
- type ListProviderRegionsBadRequest
- func (o *ListProviderRegionsBadRequest) Code() int
- func (o *ListProviderRegionsBadRequest) Error() string
- func (o *ListProviderRegionsBadRequest) GetPayload() *ListProviderRegionsBadRequestBody
- func (o *ListProviderRegionsBadRequest) IsClientError() bool
- func (o *ListProviderRegionsBadRequest) IsCode(code int) bool
- func (o *ListProviderRegionsBadRequest) IsRedirect() bool
- func (o *ListProviderRegionsBadRequest) IsServerError() bool
- func (o *ListProviderRegionsBadRequest) IsSuccess() bool
- func (o *ListProviderRegionsBadRequest) String() string
- type ListProviderRegionsBadRequestBody
- func (o *ListProviderRegionsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsBadRequestBody) Validate(formats strfmt.Registry) error
- type ListProviderRegionsDefault
- func (o *ListProviderRegionsDefault) Code() int
- func (o *ListProviderRegionsDefault) Error() string
- func (o *ListProviderRegionsDefault) GetPayload() *ListProviderRegionsDefaultBody
- func (o *ListProviderRegionsDefault) IsClientError() bool
- func (o *ListProviderRegionsDefault) IsCode(code int) bool
- func (o *ListProviderRegionsDefault) IsRedirect() bool
- func (o *ListProviderRegionsDefault) IsServerError() bool
- func (o *ListProviderRegionsDefault) IsSuccess() bool
- func (o *ListProviderRegionsDefault) String() string
- type ListProviderRegionsDefaultBody
- func (o *ListProviderRegionsDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsDefaultBody) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsDefaultBody) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsDefaultBody) Validate(formats strfmt.Registry) error
- type ListProviderRegionsDefaultBodyDetailsItems0
- func (o *ListProviderRegionsDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type ListProviderRegionsForbidden
- func (o *ListProviderRegionsForbidden) Code() int
- func (o *ListProviderRegionsForbidden) Error() string
- func (o *ListProviderRegionsForbidden) GetPayload() *ListProviderRegionsForbiddenBody
- func (o *ListProviderRegionsForbidden) IsClientError() bool
- func (o *ListProviderRegionsForbidden) IsCode(code int) bool
- func (o *ListProviderRegionsForbidden) IsRedirect() bool
- func (o *ListProviderRegionsForbidden) IsServerError() bool
- func (o *ListProviderRegionsForbidden) IsSuccess() bool
- func (o *ListProviderRegionsForbidden) String() string
- type ListProviderRegionsForbiddenBody
- func (o *ListProviderRegionsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsForbiddenBody) Validate(formats strfmt.Registry) error
- type ListProviderRegionsInternalServerError
- func (o *ListProviderRegionsInternalServerError) Code() int
- func (o *ListProviderRegionsInternalServerError) Error() string
- func (o *ListProviderRegionsInternalServerError) GetPayload() *ListProviderRegionsInternalServerErrorBody
- func (o *ListProviderRegionsInternalServerError) IsClientError() bool
- func (o *ListProviderRegionsInternalServerError) IsCode(code int) bool
- func (o *ListProviderRegionsInternalServerError) IsRedirect() bool
- func (o *ListProviderRegionsInternalServerError) IsServerError() bool
- func (o *ListProviderRegionsInternalServerError) IsSuccess() bool
- func (o *ListProviderRegionsInternalServerError) String() string
- type ListProviderRegionsInternalServerErrorBody
- func (o *ListProviderRegionsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListProviderRegionsNotFound
- func (o *ListProviderRegionsNotFound) Code() int
- func (o *ListProviderRegionsNotFound) Error() string
- func (o *ListProviderRegionsNotFound) GetPayload() *ListProviderRegionsNotFoundBody
- func (o *ListProviderRegionsNotFound) IsClientError() bool
- func (o *ListProviderRegionsNotFound) IsCode(code int) bool
- func (o *ListProviderRegionsNotFound) IsRedirect() bool
- func (o *ListProviderRegionsNotFound) IsServerError() bool
- func (o *ListProviderRegionsNotFound) IsSuccess() bool
- func (o *ListProviderRegionsNotFound) String() string
- type ListProviderRegionsNotFoundBody
- func (o *ListProviderRegionsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsNotFoundBody) Validate(formats strfmt.Registry) error
- type ListProviderRegionsOK
- func (o *ListProviderRegionsOK) Code() int
- func (o *ListProviderRegionsOK) Error() string
- func (o *ListProviderRegionsOK) GetPayload() *ListProviderRegionsOKBody
- func (o *ListProviderRegionsOK) IsClientError() bool
- func (o *ListProviderRegionsOK) IsCode(code int) bool
- func (o *ListProviderRegionsOK) IsRedirect() bool
- func (o *ListProviderRegionsOK) IsServerError() bool
- func (o *ListProviderRegionsOK) IsSuccess() bool
- func (o *ListProviderRegionsOK) String() string
- type ListProviderRegionsOKBody
- func (o *ListProviderRegionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsOKBody) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsOKBody) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsOKBody) Validate(formats strfmt.Registry) error
- type ListProviderRegionsOKBodyItemsItems0
- func (o *ListProviderRegionsOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsOKBodyItemsItems0) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsOKBodyItemsItems0) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsOKBodyItemsItems0) Validate(formats strfmt.Registry) error
- type ListProviderRegionsOKBodyItemsItems0TidbItems0
- func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0) Validate(formats strfmt.Registry) error
- type ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange
- func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) Validate(formats strfmt.Registry) error
- type ListProviderRegionsOKBodyItemsItems0TiflashItems0
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0) Validate(formats strfmt.Registry) error
- type ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) Validate(formats strfmt.Registry) error
- type ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) Validate(formats strfmt.Registry) error
- type ListProviderRegionsOKBodyItemsItems0TikvItems0
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0) Validate(formats strfmt.Registry) error
- type ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) Validate(formats strfmt.Registry) error
- type ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) Validate(formats strfmt.Registry) error
- type ListProviderRegionsParams
- func NewListProviderRegionsParams() *ListProviderRegionsParams
- func NewListProviderRegionsParamsWithContext(ctx context.Context) *ListProviderRegionsParams
- func NewListProviderRegionsParamsWithHTTPClient(client *http.Client) *ListProviderRegionsParams
- func NewListProviderRegionsParamsWithTimeout(timeout time.Duration) *ListProviderRegionsParams
- func (o *ListProviderRegionsParams) SetContext(ctx context.Context)
- func (o *ListProviderRegionsParams) SetDefaults()
- func (o *ListProviderRegionsParams) SetHTTPClient(client *http.Client)
- func (o *ListProviderRegionsParams) SetTimeout(timeout time.Duration)
- func (o *ListProviderRegionsParams) WithContext(ctx context.Context) *ListProviderRegionsParams
- func (o *ListProviderRegionsParams) WithDefaults() *ListProviderRegionsParams
- func (o *ListProviderRegionsParams) WithHTTPClient(client *http.Client) *ListProviderRegionsParams
- func (o *ListProviderRegionsParams) WithTimeout(timeout time.Duration) *ListProviderRegionsParams
- func (o *ListProviderRegionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProviderRegionsReader
- type ListProviderRegionsTooManyRequests
- func (o *ListProviderRegionsTooManyRequests) Code() int
- func (o *ListProviderRegionsTooManyRequests) Error() string
- func (o *ListProviderRegionsTooManyRequests) GetPayload() *ListProviderRegionsTooManyRequestsBody
- func (o *ListProviderRegionsTooManyRequests) IsClientError() bool
- func (o *ListProviderRegionsTooManyRequests) IsCode(code int) bool
- func (o *ListProviderRegionsTooManyRequests) IsRedirect() bool
- func (o *ListProviderRegionsTooManyRequests) IsServerError() bool
- func (o *ListProviderRegionsTooManyRequests) IsSuccess() bool
- func (o *ListProviderRegionsTooManyRequests) String() string
- type ListProviderRegionsTooManyRequestsBody
- func (o *ListProviderRegionsTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProviderRegionsTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *ListProviderRegionsTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *ListProviderRegionsTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type ListProviderRegionsUnauthorized
- func (o *ListProviderRegionsUnauthorized) Code() int
- func (o *ListProviderRegionsUnauthorized) Error() string
- func (o *ListProviderRegionsUnauthorized) GetPayload() interface{}
- func (o *ListProviderRegionsUnauthorized) IsClientError() bool
- func (o *ListProviderRegionsUnauthorized) IsCode(code int) bool
- func (o *ListProviderRegionsUnauthorized) IsRedirect() bool
- func (o *ListProviderRegionsUnauthorized) IsServerError() bool
- func (o *ListProviderRegionsUnauthorized) IsSuccess() bool
- func (o *ListProviderRegionsUnauthorized) String() string
- type UpdateClusterBadRequest
- func (o *UpdateClusterBadRequest) Code() int
- func (o *UpdateClusterBadRequest) Error() string
- func (o *UpdateClusterBadRequest) GetPayload() *UpdateClusterBadRequestBody
- func (o *UpdateClusterBadRequest) IsClientError() bool
- func (o *UpdateClusterBadRequest) IsCode(code int) bool
- func (o *UpdateClusterBadRequest) IsRedirect() bool
- func (o *UpdateClusterBadRequest) IsServerError() bool
- func (o *UpdateClusterBadRequest) IsSuccess() bool
- func (o *UpdateClusterBadRequest) String() string
- type UpdateClusterBadRequestBody
- func (o *UpdateClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterBadRequestBody) Validate(formats strfmt.Registry) error
- type UpdateClusterBody
- type UpdateClusterDefault
- func (o *UpdateClusterDefault) Code() int
- func (o *UpdateClusterDefault) Error() string
- func (o *UpdateClusterDefault) GetPayload() *UpdateClusterDefaultBody
- func (o *UpdateClusterDefault) IsClientError() bool
- func (o *UpdateClusterDefault) IsCode(code int) bool
- func (o *UpdateClusterDefault) IsRedirect() bool
- func (o *UpdateClusterDefault) IsServerError() bool
- func (o *UpdateClusterDefault) IsSuccess() bool
- func (o *UpdateClusterDefault) String() string
- type UpdateClusterDefaultBody
- func (o *UpdateClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterDefaultBody) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterDefaultBody) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterDefaultBody) Validate(formats strfmt.Registry) error
- type UpdateClusterDefaultBodyDetailsItems0
- func (o *UpdateClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type UpdateClusterForbidden
- func (o *UpdateClusterForbidden) Code() int
- func (o *UpdateClusterForbidden) Error() string
- func (o *UpdateClusterForbidden) GetPayload() *UpdateClusterForbiddenBody
- func (o *UpdateClusterForbidden) IsClientError() bool
- func (o *UpdateClusterForbidden) IsCode(code int) bool
- func (o *UpdateClusterForbidden) IsRedirect() bool
- func (o *UpdateClusterForbidden) IsServerError() bool
- func (o *UpdateClusterForbidden) IsSuccess() bool
- func (o *UpdateClusterForbidden) String() string
- type UpdateClusterForbiddenBody
- func (o *UpdateClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterForbiddenBody) Validate(formats strfmt.Registry) error
- type UpdateClusterInternalServerError
- func (o *UpdateClusterInternalServerError) Code() int
- func (o *UpdateClusterInternalServerError) Error() string
- func (o *UpdateClusterInternalServerError) GetPayload() *UpdateClusterInternalServerErrorBody
- func (o *UpdateClusterInternalServerError) IsClientError() bool
- func (o *UpdateClusterInternalServerError) IsCode(code int) bool
- func (o *UpdateClusterInternalServerError) IsRedirect() bool
- func (o *UpdateClusterInternalServerError) IsServerError() bool
- func (o *UpdateClusterInternalServerError) IsSuccess() bool
- func (o *UpdateClusterInternalServerError) String() string
- type UpdateClusterInternalServerErrorBody
- func (o *UpdateClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type UpdateClusterNotFound
- func (o *UpdateClusterNotFound) Code() int
- func (o *UpdateClusterNotFound) Error() string
- func (o *UpdateClusterNotFound) GetPayload() *UpdateClusterNotFoundBody
- func (o *UpdateClusterNotFound) IsClientError() bool
- func (o *UpdateClusterNotFound) IsCode(code int) bool
- func (o *UpdateClusterNotFound) IsRedirect() bool
- func (o *UpdateClusterNotFound) IsServerError() bool
- func (o *UpdateClusterNotFound) IsSuccess() bool
- func (o *UpdateClusterNotFound) String() string
- type UpdateClusterNotFoundBody
- func (o *UpdateClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterNotFoundBody) Validate(formats strfmt.Registry) error
- type UpdateClusterOK
- func (o *UpdateClusterOK) Code() int
- func (o *UpdateClusterOK) Error() string
- func (o *UpdateClusterOK) GetPayload() interface{}
- func (o *UpdateClusterOK) IsClientError() bool
- func (o *UpdateClusterOK) IsCode(code int) bool
- func (o *UpdateClusterOK) IsRedirect() bool
- func (o *UpdateClusterOK) IsServerError() bool
- func (o *UpdateClusterOK) IsSuccess() bool
- func (o *UpdateClusterOK) String() string
- type UpdateClusterParams
- func (o *UpdateClusterParams) SetBody(body UpdateClusterBody)
- func (o *UpdateClusterParams) SetClusterID(clusterID string)
- func (o *UpdateClusterParams) SetContext(ctx context.Context)
- func (o *UpdateClusterParams) SetDefaults()
- func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterParams) SetProjectID(projectID string)
- func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterParams) WithBody(body UpdateClusterBody) *UpdateClusterParams
- func (o *UpdateClusterParams) WithClusterID(clusterID string) *UpdateClusterParams
- func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
- func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams
- func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
- func (o *UpdateClusterParams) WithProjectID(projectID string) *UpdateClusterParams
- func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
- func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterParamsBodyConfig
- func (o *UpdateClusterParamsBodyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterParamsBodyConfig) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterParamsBodyConfig) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterParamsBodyConfig) Validate(formats strfmt.Registry) error
- type UpdateClusterParamsBodyConfigComponents
- func (o *UpdateClusterParamsBodyConfigComponents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterParamsBodyConfigComponents) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterParamsBodyConfigComponents) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterParamsBodyConfigComponents) Validate(formats strfmt.Registry) error
- type UpdateClusterParamsBodyConfigComponentsTidb
- func (o *UpdateClusterParamsBodyConfigComponentsTidb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterParamsBodyConfigComponentsTidb) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterParamsBodyConfigComponentsTidb) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterParamsBodyConfigComponentsTidb) Validate(formats strfmt.Registry) error
- type UpdateClusterParamsBodyConfigComponentsTiflash
- func (o *UpdateClusterParamsBodyConfigComponentsTiflash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterParamsBodyConfigComponentsTiflash) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterParamsBodyConfigComponentsTiflash) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterParamsBodyConfigComponentsTiflash) Validate(formats strfmt.Registry) error
- type UpdateClusterParamsBodyConfigComponentsTikv
- func (o *UpdateClusterParamsBodyConfigComponentsTikv) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterParamsBodyConfigComponentsTikv) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterParamsBodyConfigComponentsTikv) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterParamsBodyConfigComponentsTikv) Validate(formats strfmt.Registry) error
- type UpdateClusterReader
- type UpdateClusterTooManyRequests
- func (o *UpdateClusterTooManyRequests) Code() int
- func (o *UpdateClusterTooManyRequests) Error() string
- func (o *UpdateClusterTooManyRequests) GetPayload() *UpdateClusterTooManyRequestsBody
- func (o *UpdateClusterTooManyRequests) IsClientError() bool
- func (o *UpdateClusterTooManyRequests) IsCode(code int) bool
- func (o *UpdateClusterTooManyRequests) IsRedirect() bool
- func (o *UpdateClusterTooManyRequests) IsServerError() bool
- func (o *UpdateClusterTooManyRequests) IsSuccess() bool
- func (o *UpdateClusterTooManyRequests) String() string
- type UpdateClusterTooManyRequestsBody
- func (o *UpdateClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *UpdateClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *UpdateClusterTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type UpdateClusterUnauthorized
- func (o *UpdateClusterUnauthorized) Code() int
- func (o *UpdateClusterUnauthorized) Error() string
- func (o *UpdateClusterUnauthorized) GetPayload() interface{}
- func (o *UpdateClusterUnauthorized) IsClientError() bool
- func (o *UpdateClusterUnauthorized) IsCode(code int) bool
- func (o *UpdateClusterUnauthorized) IsRedirect() bool
- func (o *UpdateClusterUnauthorized) IsServerError() bool
- func (o *UpdateClusterUnauthorized) IsSuccess() bool
- func (o *UpdateClusterUnauthorized) String() string
Constants ¶
const ( // CreateClusterBodyCloudProviderAWS captures enum value "AWS" CreateClusterBodyCloudProviderAWS string = "AWS" // CreateClusterBodyCloudProviderGCP captures enum value "GCP" CreateClusterBodyCloudProviderGCP string = "GCP" )
const ( // CreateClusterBodyClusterTypeDEDICATED captures enum value "DEDICATED" CreateClusterBodyClusterTypeDEDICATED string = "DEDICATED" // CreateClusterBodyClusterTypeDEVELOPER captures enum value "DEVELOPER" CreateClusterBodyClusterTypeDEVELOPER string = "DEVELOPER" )
const ( // CreatePrivateEndpointBodyCloudProviderAWS captures enum value "AWS" CreatePrivateEndpointBodyCloudProviderAWS string = "AWS" // CreatePrivateEndpointBodyCloudProviderGCP captures enum value "GCP" CreatePrivateEndpointBodyCloudProviderGCP string = "GCP" )
const ( // CreatePrivateEndpointBodyServiceStatusCREATING captures enum value "CREATING" CreatePrivateEndpointBodyServiceStatusCREATING string = "CREATING" // CreatePrivateEndpointBodyServiceStatusACTIVE captures enum value "ACTIVE" CreatePrivateEndpointBodyServiceStatusACTIVE string = "ACTIVE" // CreatePrivateEndpointBodyServiceStatusDELETING captures enum value "DELETING" CreatePrivateEndpointBodyServiceStatusDELETING string = "DELETING" )
const ( // CreatePrivateEndpointBodyStatusPENDING captures enum value "PENDING" CreatePrivateEndpointBodyStatusPENDING string = "PENDING" // CreatePrivateEndpointBodyStatusACTIVE captures enum value "ACTIVE" CreatePrivateEndpointBodyStatusACTIVE string = "ACTIVE" // CreatePrivateEndpointBodyStatusDELETING captures enum value "DELETING" CreatePrivateEndpointBodyStatusDELETING string = "DELETING" // CreatePrivateEndpointBodyStatusFAILED captures enum value "FAILED" CreatePrivateEndpointBodyStatusFAILED string = "FAILED" )
const ( // CreatePrivateEndpointOKBodyPrivateEndpointCloudProviderAWS captures enum value "AWS" CreatePrivateEndpointOKBodyPrivateEndpointCloudProviderAWS string = "AWS" // CreatePrivateEndpointOKBodyPrivateEndpointCloudProviderGCP captures enum value "GCP" CreatePrivateEndpointOKBodyPrivateEndpointCloudProviderGCP string = "GCP" )
const ( // CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusCREATING captures enum value "CREATING" CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusCREATING string = "CREATING" // CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusACTIVE captures enum value "ACTIVE" CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusACTIVE string = "ACTIVE" // CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusDELETING captures enum value "DELETING" CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusDELETING string = "DELETING" )
const ( // CreatePrivateEndpointOKBodyPrivateEndpointStatusPENDING captures enum value "PENDING" CreatePrivateEndpointOKBodyPrivateEndpointStatusPENDING string = "PENDING" // CreatePrivateEndpointOKBodyPrivateEndpointStatusACTIVE captures enum value "ACTIVE" CreatePrivateEndpointOKBodyPrivateEndpointStatusACTIVE string = "ACTIVE" // CreatePrivateEndpointOKBodyPrivateEndpointStatusDELETING captures enum value "DELETING" CreatePrivateEndpointOKBodyPrivateEndpointStatusDELETING string = "DELETING" // CreatePrivateEndpointOKBodyPrivateEndpointStatusFAILED captures enum value "FAILED" CreatePrivateEndpointOKBodyPrivateEndpointStatusFAILED string = "FAILED" )
const ( // CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderAWS captures enum value "AWS" CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderAWS string = "AWS" // CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderGCP captures enum value "GCP" CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderGCP string = "GCP" )
const ( // CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusCREATING captures enum value "CREATING" CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusCREATING string = "CREATING" // CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusACTIVE captures enum value "ACTIVE" CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusACTIVE string = "ACTIVE" // CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusDELETING captures enum value "DELETING" CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusDELETING string = "DELETING" )
const ( // GetClusterOKBodyCloudProviderAWS captures enum value "AWS" GetClusterOKBodyCloudProviderAWS string = "AWS" // GetClusterOKBodyCloudProviderGCP captures enum value "GCP" GetClusterOKBodyCloudProviderGCP string = "GCP" )
const ( // GetClusterOKBodyClusterTypeDEDICATED captures enum value "DEDICATED" GetClusterOKBodyClusterTypeDEDICATED string = "DEDICATED" // GetClusterOKBodyClusterTypeDEVELOPER captures enum value "DEVELOPER" GetClusterOKBodyClusterTypeDEVELOPER string = "DEVELOPER" )
const ( // GetClusterOKBodyStatusClusterStatusAVAILABLE captures enum value "AVAILABLE" GetClusterOKBodyStatusClusterStatusAVAILABLE string = "AVAILABLE" // GetClusterOKBodyStatusClusterStatusCREATING captures enum value "CREATING" GetClusterOKBodyStatusClusterStatusCREATING string = "CREATING" // GetClusterOKBodyStatusClusterStatusMODIFYING captures enum value "MODIFYING" GetClusterOKBodyStatusClusterStatusMODIFYING string = "MODIFYING" // GetClusterOKBodyStatusClusterStatusPAUSED captures enum value "PAUSED" GetClusterOKBodyStatusClusterStatusPAUSED string = "PAUSED" // GetClusterOKBodyStatusClusterStatusRESUMING captures enum value "RESUMING" GetClusterOKBodyStatusClusterStatusRESUMING string = "RESUMING" // GetClusterOKBodyStatusClusterStatusUNAVAILABLE captures enum value "UNAVAILABLE" GetClusterOKBodyStatusClusterStatusUNAVAILABLE string = "UNAVAILABLE" // GetClusterOKBodyStatusClusterStatusIMPORTING captures enum value "IMPORTING" GetClusterOKBodyStatusClusterStatusIMPORTING string = "IMPORTING" // GetClusterOKBodyStatusClusterStatusMAINTAINING captures enum value "MAINTAINING" GetClusterOKBodyStatusClusterStatusMAINTAINING string = "MAINTAINING" // GetClusterOKBodyStatusClusterStatusPAUSING captures enum value "PAUSING" GetClusterOKBodyStatusClusterStatusPAUSING string = "PAUSING" )
const ( // GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE" GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE" // GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE" GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE" // GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING" GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING" // GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING" GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING" )
const ( // GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE" GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE" // GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE" GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE" // GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING" GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING" // GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING" GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING" )
const ( // GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE" GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE" // GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE" GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE" // GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING" GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING" // GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING" GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING" )
const ( // GetPrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderAWS captures enum value "AWS" GetPrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderAWS string = "AWS" // GetPrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderGCP captures enum value "GCP" GetPrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderGCP string = "GCP" )
const ( // GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusCREATING captures enum value "CREATING" GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusCREATING string = "CREATING" // GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusACTIVE captures enum value "ACTIVE" GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusACTIVE string = "ACTIVE" // GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusDELETING captures enum value "DELETING" GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusDELETING string = "DELETING" )
const ( // ListClustersOfProjectOKBodyItemsItems0CloudProviderAWS captures enum value "AWS" ListClustersOfProjectOKBodyItemsItems0CloudProviderAWS string = "AWS" // ListClustersOfProjectOKBodyItemsItems0CloudProviderGCP captures enum value "GCP" ListClustersOfProjectOKBodyItemsItems0CloudProviderGCP string = "GCP" )
const ( // ListClustersOfProjectOKBodyItemsItems0ClusterTypeDEDICATED captures enum value "DEDICATED" ListClustersOfProjectOKBodyItemsItems0ClusterTypeDEDICATED string = "DEDICATED" // ListClustersOfProjectOKBodyItemsItems0ClusterTypeDEVELOPER captures enum value "DEVELOPER" ListClustersOfProjectOKBodyItemsItems0ClusterTypeDEVELOPER string = "DEVELOPER" )
const ( // ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusAVAILABLE captures enum value "AVAILABLE" ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusAVAILABLE string = "AVAILABLE" // ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusCREATING captures enum value "CREATING" ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusCREATING string = "CREATING" // ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusMODIFYING captures enum value "MODIFYING" ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusMODIFYING string = "MODIFYING" // ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusPAUSED captures enum value "PAUSED" ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusPAUSED string = "PAUSED" // ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusRESUMING captures enum value "RESUMING" ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusRESUMING string = "RESUMING" // ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusUNAVAILABLE captures enum value "UNAVAILABLE" ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusUNAVAILABLE string = "UNAVAILABLE" // ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusIMPORTING captures enum value "IMPORTING" ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusIMPORTING string = "IMPORTING" // ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusMAINTAINING captures enum value "MAINTAINING" ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusMAINTAINING string = "MAINTAINING" // ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusPAUSING captures enum value "PAUSING" ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusPAUSING string = "PAUSING" )
const ( // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE" // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE" // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING" // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING" )
const ( // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE" // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE" // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING" // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING" )
const ( // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE" // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE" // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING" // ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING" ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING" )
const ( // ListPrivateEndpointsOfProjectOKBodyEndpointsItems0CloudProviderAWS captures enum value "AWS" ListPrivateEndpointsOfProjectOKBodyEndpointsItems0CloudProviderAWS string = "AWS" // ListPrivateEndpointsOfProjectOKBodyEndpointsItems0CloudProviderGCP captures enum value "GCP" ListPrivateEndpointsOfProjectOKBodyEndpointsItems0CloudProviderGCP string = "GCP" )
const ( // ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusCREATING captures enum value "CREATING" ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusCREATING string = "CREATING" // ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusACTIVE captures enum value "ACTIVE" ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusACTIVE string = "ACTIVE" // ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusDELETING captures enum value "DELETING" ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusDELETING string = "DELETING" )
const ( // ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusPENDING captures enum value "PENDING" ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusPENDING string = "PENDING" // ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusACTIVE captures enum value "ACTIVE" ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusACTIVE string = "ACTIVE" // ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusDELETING captures enum value "DELETING" ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusDELETING string = "DELETING" // ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusFAILED captures enum value "FAILED" ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusFAILED string = "FAILED" )
const ( // ListPrivateEndpointsOKBodyEndpointsItems0CloudProviderAWS captures enum value "AWS" ListPrivateEndpointsOKBodyEndpointsItems0CloudProviderAWS string = "AWS" // ListPrivateEndpointsOKBodyEndpointsItems0CloudProviderGCP captures enum value "GCP" ListPrivateEndpointsOKBodyEndpointsItems0CloudProviderGCP string = "GCP" )
const ( // ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusCREATING captures enum value "CREATING" ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusCREATING string = "CREATING" // ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusACTIVE captures enum value "ACTIVE" ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusACTIVE string = "ACTIVE" // ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusDELETING captures enum value "DELETING" ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusDELETING string = "DELETING" )
const ( // ListPrivateEndpointsOKBodyEndpointsItems0StatusPENDING captures enum value "PENDING" ListPrivateEndpointsOKBodyEndpointsItems0StatusPENDING string = "PENDING" // ListPrivateEndpointsOKBodyEndpointsItems0StatusACTIVE captures enum value "ACTIVE" ListPrivateEndpointsOKBodyEndpointsItems0StatusACTIVE string = "ACTIVE" // ListPrivateEndpointsOKBodyEndpointsItems0StatusDELETING captures enum value "DELETING" ListPrivateEndpointsOKBodyEndpointsItems0StatusDELETING string = "DELETING" // ListPrivateEndpointsOKBodyEndpointsItems0StatusFAILED captures enum value "FAILED" ListPrivateEndpointsOKBodyEndpointsItems0StatusFAILED string = "FAILED" )
const ( // ListProviderRegionsOKBodyItemsItems0CloudProviderAWS captures enum value "AWS" ListProviderRegionsOKBodyItemsItems0CloudProviderAWS string = "AWS" // ListProviderRegionsOKBodyItemsItems0CloudProviderGCP captures enum value "GCP" ListProviderRegionsOKBodyItemsItems0CloudProviderGCP string = "GCP" )
const ( // ListProviderRegionsOKBodyItemsItems0ClusterTypeDEDICATED captures enum value "DEDICATED" ListProviderRegionsOKBodyItemsItems0ClusterTypeDEDICATED string = "DEDICATED" // ListProviderRegionsOKBodyItemsItems0ClusterTypeDEVELOPER captures enum value "DEVELOPER" ListProviderRegionsOKBodyItemsItems0ClusterTypeDEVELOPER string = "DEVELOPER" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for cluster API
func (*Client) CreateAwsCmek ¶
func (a *Client) CreateAwsCmek(params *CreateAwsCmekParams, opts ...ClientOption) (*CreateAwsCmekOK, error)
CreateAwsCmek configures a w s customer managed encryption keys for a project Before using this API, make sure that the `aws_cmek_enabled` field is set to `true` when creating the project using the [Create a Project](#tag/Project/operation/CreateProject) endpoint. For more information, see [Encryption at Rest using CMEK](https://docs.pingcap.com/tidbcloud/tidb-cloud-encrypt-cmek).
Currently, this feature is only available upon request. If you need to try out this feature, contact [support](https://docs.pingcap.com/tidbcloud/tidb-cloud-support).
func (*Client) CreateCluster ¶
func (a *Client) CreateCluster(params *CreateClusterParams, opts ...ClientOption) (*CreateClusterOK, error)
CreateCluster creates a cluster
Before creating a TiDB Dedicated cluster, you must [set a Project CIDR](https://docs.pingcap.com/tidbcloud/set-up-vpc-peering-connections#prerequisite-set-a-project-cidr) on [TiDB Cloud console](https://tidbcloud.com/).
func (*Client) CreatePrivateEndpoint ¶
func (a *Client) CreatePrivateEndpoint(params *CreatePrivateEndpointParams, opts ...ClientOption) (*CreatePrivateEndpointOK, error)
CreatePrivateEndpoint creates a private endpoint for a cluster When creating a private endpoint, only the `endpoint_name` is required.
- For TiDB Dedicated clusters, you can create a private endpoint resource in TiDB Cloud after you create the [AWS PrivateLink](https://aws.amazon.com/privatelink/?privatelink-blogs.sort-by=item.additionalFields.createdDate&privatelink-blogs.sort-order=desc) or [Google Cloud Private Service Connect](https://cloud.google.com/vpc/docs/private-service-connect) endpoint depending on where your cluster is hosted. In this way, TiDB Cloud accepts connection requests from your endpoint. - For TiDB Serverless clusters, you cannot create or manage private endpoint via API.
func (*Client) CreatePrivateEndpointService ¶
func (a *Client) CreatePrivateEndpointService(params *CreatePrivateEndpointServiceParams, opts ...ClientOption) (*CreatePrivateEndpointServiceOK, error)
CreatePrivateEndpointService creates a private endpoint service for a cluster - For TiDB Dedicated clusters, you can create the [AWS PrivateLink](https://aws.amazon.com/privatelink/?privatelink-blogs.sort-by=item.additionalFields.createdDate&privatelink-blogs.sort-order=desc) or [Google Cloud Private Service Connect](https://cloud.google.com/vpc/docs/private-service-connect) service depending on where your cluster is hosted.
- For TiDB Serverless clusters, you cannot create or manage private endpoint service via API.
func (*Client) DeleteCluster ¶
func (a *Client) DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error)
DeleteCluster deletes a cluster
func (*Client) DeletePrivateEndpoint ¶
func (a *Client) DeletePrivateEndpoint(params *DeletePrivateEndpointParams, opts ...ClientOption) (*DeletePrivateEndpointOK, error)
DeletePrivateEndpoint deletes a private endpoint for a cluster - For TiDB Dedicated clusters, you can delete a private endpoint for a cluster.
- For TiDB Serverless clusters, you cannot create or manage private endpoint via API.
func (*Client) GetCluster ¶
func (a *Client) GetCluster(params *GetClusterParams, opts ...ClientOption) (*GetClusterOK, error)
GetCluster gets a cluster by ID
func (*Client) GetPrivateEndpointService ¶
func (a *Client) GetPrivateEndpointService(params *GetPrivateEndpointServiceParams, opts ...ClientOption) (*GetPrivateEndpointServiceOK, error)
GetPrivateEndpointService retrieves the private endpoint service information for a cluster - For TiDB Dedicated clusters, you can retrieve the private endpoint service information for a cluster.
- For TiDB Serverless clusters, you cannot create or manage private endpoint service via API.
func (*Client) ListAwsCmek ¶
func (a *Client) ListAwsCmek(params *ListAwsCmekParams, opts ...ClientOption) (*ListAwsCmekOK, error)
ListAwsCmek lists a w s customer managed encryption keys for a project Customer-Managed Encryption Keys (CMEK) lets you protect your static data in a TiDB Dedicated cluster using a cryptographic key that is completely controlled by you. To create a project with CMEK enabled, use the [Create a project](#tag/Project/operation/CreateProject) endpoint and configure `aws_cmek_enabled` to `true`.
For more information, see [Encryption at Rest using CMEK](https://docs.pingcap.com/tidbcloud/tidb-cloud-encrypt-cmek).
func (*Client) ListClustersOfProject ¶
func (a *Client) ListClustersOfProject(params *ListClustersOfProjectParams, opts ...ClientOption) (*ListClustersOfProjectOK, error)
ListClustersOfProject lists all clusters in a project
func (*Client) ListPrivateEndpoints ¶
func (a *Client) ListPrivateEndpoints(params *ListPrivateEndpointsParams, opts ...ClientOption) (*ListPrivateEndpointsOK, error)
ListPrivateEndpoints lists all private endpoints for a cluster
func (*Client) ListPrivateEndpointsOfProject ¶
func (a *Client) ListPrivateEndpointsOfProject(params *ListPrivateEndpointsOfProjectParams, opts ...ClientOption) (*ListPrivateEndpointsOfProjectOK, error)
ListPrivateEndpointsOfProject lists all private endpoints in a project
func (*Client) ListProviderRegions ¶
func (a *Client) ListProviderRegions(params *ListProviderRegionsParams, opts ...ClientOption) (*ListProviderRegionsOK, error)
ListProviderRegions lists the cloud providers regions and available specifications
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCluster ¶
func (a *Client) UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error)
UpdateCluster modifies a ti d b dedicated cluster
With this endpoint, you can modify the components of a cluster using the `config.components` parameter, or pause or resume a cluster using the `config.paused` parameter.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAwsCmek(params *CreateAwsCmekParams, opts ...ClientOption) (*CreateAwsCmekOK, error) CreateCluster(params *CreateClusterParams, opts ...ClientOption) (*CreateClusterOK, error) CreatePrivateEndpoint(params *CreatePrivateEndpointParams, opts ...ClientOption) (*CreatePrivateEndpointOK, error) CreatePrivateEndpointService(params *CreatePrivateEndpointServiceParams, opts ...ClientOption) (*CreatePrivateEndpointServiceOK, error) DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error) DeletePrivateEndpoint(params *DeletePrivateEndpointParams, opts ...ClientOption) (*DeletePrivateEndpointOK, error) GetCluster(params *GetClusterParams, opts ...ClientOption) (*GetClusterOK, error) GetPrivateEndpointService(params *GetPrivateEndpointServiceParams, opts ...ClientOption) (*GetPrivateEndpointServiceOK, error) ListAwsCmek(params *ListAwsCmekParams, opts ...ClientOption) (*ListAwsCmekOK, error) ListClustersOfProject(params *ListClustersOfProjectParams, opts ...ClientOption) (*ListClustersOfProjectOK, error) ListPrivateEndpoints(params *ListPrivateEndpointsParams, opts ...ClientOption) (*ListPrivateEndpointsOK, error) ListPrivateEndpointsOfProject(params *ListPrivateEndpointsOfProjectParams, opts ...ClientOption) (*ListPrivateEndpointsOfProjectOK, error) ListProviderRegions(params *ListProviderRegionsParams, opts ...ClientOption) (*ListProviderRegionsOK, error) UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, 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 cluster API client.
type CreateAwsCmekBadRequest ¶
type CreateAwsCmekBadRequest struct {
Payload *CreateAwsCmekBadRequestBody
}
CreateAwsCmekBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewCreateAwsCmekBadRequest ¶
func NewCreateAwsCmekBadRequest() *CreateAwsCmekBadRequest
NewCreateAwsCmekBadRequest creates a CreateAwsCmekBadRequest with default headers values
func (*CreateAwsCmekBadRequest) Code ¶
func (o *CreateAwsCmekBadRequest) Code() int
Code gets the status code for the create aws cmek bad request response
func (*CreateAwsCmekBadRequest) Error ¶
func (o *CreateAwsCmekBadRequest) Error() string
func (*CreateAwsCmekBadRequest) GetPayload ¶
func (o *CreateAwsCmekBadRequest) GetPayload() *CreateAwsCmekBadRequestBody
func (*CreateAwsCmekBadRequest) IsClientError ¶
func (o *CreateAwsCmekBadRequest) IsClientError() bool
IsClientError returns true when this create aws cmek bad request response has a 4xx status code
func (*CreateAwsCmekBadRequest) IsCode ¶
func (o *CreateAwsCmekBadRequest) IsCode(code int) bool
IsCode returns true when this create aws cmek bad request response a status code equal to that given
func (*CreateAwsCmekBadRequest) IsRedirect ¶
func (o *CreateAwsCmekBadRequest) IsRedirect() bool
IsRedirect returns true when this create aws cmek bad request response has a 3xx status code
func (*CreateAwsCmekBadRequest) IsServerError ¶
func (o *CreateAwsCmekBadRequest) IsServerError() bool
IsServerError returns true when this create aws cmek bad request response has a 5xx status code
func (*CreateAwsCmekBadRequest) IsSuccess ¶
func (o *CreateAwsCmekBadRequest) IsSuccess() bool
IsSuccess returns true when this create aws cmek bad request response has a 2xx status code
func (*CreateAwsCmekBadRequest) String ¶
func (o *CreateAwsCmekBadRequest) String() string
type CreateAwsCmekBadRequestBody ¶
type CreateAwsCmekBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateAwsCmekBadRequestBody create aws cmek bad request body swagger:model CreateAwsCmekBadRequestBody
func (*CreateAwsCmekBadRequestBody) ContextValidate ¶
func (o *CreateAwsCmekBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create aws cmek bad request body based on context it is used
func (*CreateAwsCmekBadRequestBody) MarshalBinary ¶
func (o *CreateAwsCmekBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAwsCmekBadRequestBody) UnmarshalBinary ¶
func (o *CreateAwsCmekBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAwsCmekBody ¶
type CreateAwsCmekBody struct { // The specification of the AWS CMEK. You can configure multiple AWS CMEKs. // // For a particular project, CMEK can only be configured for one AWS region. Once configured, you cannot create clusters in other regions in the same project. // Required: true Specs []*CreateAwsCmekParamsBodySpecsItems0 `json:"specs"` }
CreateAwsCmekBody CreateAwsCmekReq // // CreateAwsCmekReq is the request for configuring AWS Customer-Managed Encryption Keys for a project. swagger:model CreateAwsCmekBody
func (*CreateAwsCmekBody) ContextValidate ¶
ContextValidate validate this create aws cmek body based on the context it is used
func (*CreateAwsCmekBody) MarshalBinary ¶
func (o *CreateAwsCmekBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAwsCmekBody) UnmarshalBinary ¶
func (o *CreateAwsCmekBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAwsCmekDefault ¶
type CreateAwsCmekDefault struct { Payload *CreateAwsCmekDefaultBody // contains filtered or unexported fields }
CreateAwsCmekDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateAwsCmekDefault ¶
func NewCreateAwsCmekDefault(code int) *CreateAwsCmekDefault
NewCreateAwsCmekDefault creates a CreateAwsCmekDefault with default headers values
func (*CreateAwsCmekDefault) Code ¶
func (o *CreateAwsCmekDefault) Code() int
Code gets the status code for the create aws cmek default response
func (*CreateAwsCmekDefault) Error ¶
func (o *CreateAwsCmekDefault) Error() string
func (*CreateAwsCmekDefault) GetPayload ¶
func (o *CreateAwsCmekDefault) GetPayload() *CreateAwsCmekDefaultBody
func (*CreateAwsCmekDefault) IsClientError ¶
func (o *CreateAwsCmekDefault) IsClientError() bool
IsClientError returns true when this create aws cmek default response has a 4xx status code
func (*CreateAwsCmekDefault) IsCode ¶
func (o *CreateAwsCmekDefault) IsCode(code int) bool
IsCode returns true when this create aws cmek default response a status code equal to that given
func (*CreateAwsCmekDefault) IsRedirect ¶
func (o *CreateAwsCmekDefault) IsRedirect() bool
IsRedirect returns true when this create aws cmek default response has a 3xx status code
func (*CreateAwsCmekDefault) IsServerError ¶
func (o *CreateAwsCmekDefault) IsServerError() bool
IsServerError returns true when this create aws cmek default response has a 5xx status code
func (*CreateAwsCmekDefault) IsSuccess ¶
func (o *CreateAwsCmekDefault) IsSuccess() bool
IsSuccess returns true when this create aws cmek default response has a 2xx status code
func (*CreateAwsCmekDefault) String ¶
func (o *CreateAwsCmekDefault) String() string
type CreateAwsCmekDefaultBody ¶
type CreateAwsCmekDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*CreateAwsCmekDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
CreateAwsCmekDefaultBody create aws cmek default body swagger:model CreateAwsCmekDefaultBody
func (*CreateAwsCmekDefaultBody) ContextValidate ¶
func (o *CreateAwsCmekDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create aws cmek default body based on the context it is used
func (*CreateAwsCmekDefaultBody) MarshalBinary ¶
func (o *CreateAwsCmekDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAwsCmekDefaultBody) UnmarshalBinary ¶
func (o *CreateAwsCmekDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAwsCmekDefaultBodyDetailsItems0 ¶
type CreateAwsCmekDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
CreateAwsCmekDefaultBodyDetailsItems0 create aws cmek default body details items0 swagger:model CreateAwsCmekDefaultBodyDetailsItems0
func (*CreateAwsCmekDefaultBodyDetailsItems0) ContextValidate ¶
func (o *CreateAwsCmekDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create aws cmek default body details items0 based on context it is used
func (*CreateAwsCmekDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *CreateAwsCmekDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAwsCmekDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *CreateAwsCmekDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAwsCmekForbidden ¶
type CreateAwsCmekForbidden struct {
Payload *CreateAwsCmekForbiddenBody
}
CreateAwsCmekForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewCreateAwsCmekForbidden ¶
func NewCreateAwsCmekForbidden() *CreateAwsCmekForbidden
NewCreateAwsCmekForbidden creates a CreateAwsCmekForbidden with default headers values
func (*CreateAwsCmekForbidden) Code ¶
func (o *CreateAwsCmekForbidden) Code() int
Code gets the status code for the create aws cmek forbidden response
func (*CreateAwsCmekForbidden) Error ¶
func (o *CreateAwsCmekForbidden) Error() string
func (*CreateAwsCmekForbidden) GetPayload ¶
func (o *CreateAwsCmekForbidden) GetPayload() *CreateAwsCmekForbiddenBody
func (*CreateAwsCmekForbidden) IsClientError ¶
func (o *CreateAwsCmekForbidden) IsClientError() bool
IsClientError returns true when this create aws cmek forbidden response has a 4xx status code
func (*CreateAwsCmekForbidden) IsCode ¶
func (o *CreateAwsCmekForbidden) IsCode(code int) bool
IsCode returns true when this create aws cmek forbidden response a status code equal to that given
func (*CreateAwsCmekForbidden) IsRedirect ¶
func (o *CreateAwsCmekForbidden) IsRedirect() bool
IsRedirect returns true when this create aws cmek forbidden response has a 3xx status code
func (*CreateAwsCmekForbidden) IsServerError ¶
func (o *CreateAwsCmekForbidden) IsServerError() bool
IsServerError returns true when this create aws cmek forbidden response has a 5xx status code
func (*CreateAwsCmekForbidden) IsSuccess ¶
func (o *CreateAwsCmekForbidden) IsSuccess() bool
IsSuccess returns true when this create aws cmek forbidden response has a 2xx status code
func (*CreateAwsCmekForbidden) String ¶
func (o *CreateAwsCmekForbidden) String() string
type CreateAwsCmekForbiddenBody ¶
type CreateAwsCmekForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateAwsCmekForbiddenBody create aws cmek forbidden body swagger:model CreateAwsCmekForbiddenBody
func (*CreateAwsCmekForbiddenBody) ContextValidate ¶
func (o *CreateAwsCmekForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create aws cmek forbidden body based on context it is used
func (*CreateAwsCmekForbiddenBody) MarshalBinary ¶
func (o *CreateAwsCmekForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAwsCmekForbiddenBody) UnmarshalBinary ¶
func (o *CreateAwsCmekForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAwsCmekInternalServerError ¶
type CreateAwsCmekInternalServerError struct {
Payload *CreateAwsCmekInternalServerErrorBody
}
CreateAwsCmekInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewCreateAwsCmekInternalServerError ¶
func NewCreateAwsCmekInternalServerError() *CreateAwsCmekInternalServerError
NewCreateAwsCmekInternalServerError creates a CreateAwsCmekInternalServerError with default headers values
func (*CreateAwsCmekInternalServerError) Code ¶
func (o *CreateAwsCmekInternalServerError) Code() int
Code gets the status code for the create aws cmek internal server error response
func (*CreateAwsCmekInternalServerError) Error ¶
func (o *CreateAwsCmekInternalServerError) Error() string
func (*CreateAwsCmekInternalServerError) GetPayload ¶
func (o *CreateAwsCmekInternalServerError) GetPayload() *CreateAwsCmekInternalServerErrorBody
func (*CreateAwsCmekInternalServerError) IsClientError ¶
func (o *CreateAwsCmekInternalServerError) IsClientError() bool
IsClientError returns true when this create aws cmek internal server error response has a 4xx status code
func (*CreateAwsCmekInternalServerError) IsCode ¶
func (o *CreateAwsCmekInternalServerError) IsCode(code int) bool
IsCode returns true when this create aws cmek internal server error response a status code equal to that given
func (*CreateAwsCmekInternalServerError) IsRedirect ¶
func (o *CreateAwsCmekInternalServerError) IsRedirect() bool
IsRedirect returns true when this create aws cmek internal server error response has a 3xx status code
func (*CreateAwsCmekInternalServerError) IsServerError ¶
func (o *CreateAwsCmekInternalServerError) IsServerError() bool
IsServerError returns true when this create aws cmek internal server error response has a 5xx status code
func (*CreateAwsCmekInternalServerError) IsSuccess ¶
func (o *CreateAwsCmekInternalServerError) IsSuccess() bool
IsSuccess returns true when this create aws cmek internal server error response has a 2xx status code
func (*CreateAwsCmekInternalServerError) String ¶
func (o *CreateAwsCmekInternalServerError) String() string
type CreateAwsCmekInternalServerErrorBody ¶
type CreateAwsCmekInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateAwsCmekInternalServerErrorBody create aws cmek internal server error body swagger:model CreateAwsCmekInternalServerErrorBody
func (*CreateAwsCmekInternalServerErrorBody) ContextValidate ¶
func (o *CreateAwsCmekInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create aws cmek internal server error body based on context it is used
func (*CreateAwsCmekInternalServerErrorBody) MarshalBinary ¶
func (o *CreateAwsCmekInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAwsCmekInternalServerErrorBody) UnmarshalBinary ¶
func (o *CreateAwsCmekInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAwsCmekNotFound ¶
type CreateAwsCmekNotFound struct {
Payload *CreateAwsCmekNotFoundBody
}
CreateAwsCmekNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewCreateAwsCmekNotFound ¶
func NewCreateAwsCmekNotFound() *CreateAwsCmekNotFound
NewCreateAwsCmekNotFound creates a CreateAwsCmekNotFound with default headers values
func (*CreateAwsCmekNotFound) Code ¶
func (o *CreateAwsCmekNotFound) Code() int
Code gets the status code for the create aws cmek not found response
func (*CreateAwsCmekNotFound) Error ¶
func (o *CreateAwsCmekNotFound) Error() string
func (*CreateAwsCmekNotFound) GetPayload ¶
func (o *CreateAwsCmekNotFound) GetPayload() *CreateAwsCmekNotFoundBody
func (*CreateAwsCmekNotFound) IsClientError ¶
func (o *CreateAwsCmekNotFound) IsClientError() bool
IsClientError returns true when this create aws cmek not found response has a 4xx status code
func (*CreateAwsCmekNotFound) IsCode ¶
func (o *CreateAwsCmekNotFound) IsCode(code int) bool
IsCode returns true when this create aws cmek not found response a status code equal to that given
func (*CreateAwsCmekNotFound) IsRedirect ¶
func (o *CreateAwsCmekNotFound) IsRedirect() bool
IsRedirect returns true when this create aws cmek not found response has a 3xx status code
func (*CreateAwsCmekNotFound) IsServerError ¶
func (o *CreateAwsCmekNotFound) IsServerError() bool
IsServerError returns true when this create aws cmek not found response has a 5xx status code
func (*CreateAwsCmekNotFound) IsSuccess ¶
func (o *CreateAwsCmekNotFound) IsSuccess() bool
IsSuccess returns true when this create aws cmek not found response has a 2xx status code
func (*CreateAwsCmekNotFound) String ¶
func (o *CreateAwsCmekNotFound) String() string
type CreateAwsCmekNotFoundBody ¶
type CreateAwsCmekNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateAwsCmekNotFoundBody create aws cmek not found body swagger:model CreateAwsCmekNotFoundBody
func (*CreateAwsCmekNotFoundBody) ContextValidate ¶
func (o *CreateAwsCmekNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create aws cmek not found body based on context it is used
func (*CreateAwsCmekNotFoundBody) MarshalBinary ¶
func (o *CreateAwsCmekNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAwsCmekNotFoundBody) UnmarshalBinary ¶
func (o *CreateAwsCmekNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAwsCmekOK ¶
type CreateAwsCmekOK struct {
Payload interface{}
}
CreateAwsCmekOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateAwsCmekOK ¶
func NewCreateAwsCmekOK() *CreateAwsCmekOK
NewCreateAwsCmekOK creates a CreateAwsCmekOK with default headers values
func (*CreateAwsCmekOK) Code ¶
func (o *CreateAwsCmekOK) Code() int
Code gets the status code for the create aws cmek o k response
func (*CreateAwsCmekOK) Error ¶
func (o *CreateAwsCmekOK) Error() string
func (*CreateAwsCmekOK) GetPayload ¶
func (o *CreateAwsCmekOK) GetPayload() interface{}
func (*CreateAwsCmekOK) IsClientError ¶
func (o *CreateAwsCmekOK) IsClientError() bool
IsClientError returns true when this create aws cmek o k response has a 4xx status code
func (*CreateAwsCmekOK) IsCode ¶
func (o *CreateAwsCmekOK) IsCode(code int) bool
IsCode returns true when this create aws cmek o k response a status code equal to that given
func (*CreateAwsCmekOK) IsRedirect ¶
func (o *CreateAwsCmekOK) IsRedirect() bool
IsRedirect returns true when this create aws cmek o k response has a 3xx status code
func (*CreateAwsCmekOK) IsServerError ¶
func (o *CreateAwsCmekOK) IsServerError() bool
IsServerError returns true when this create aws cmek o k response has a 5xx status code
func (*CreateAwsCmekOK) IsSuccess ¶
func (o *CreateAwsCmekOK) IsSuccess() bool
IsSuccess returns true when this create aws cmek o k response has a 2xx status code
func (*CreateAwsCmekOK) String ¶
func (o *CreateAwsCmekOK) String() string
type CreateAwsCmekParams ¶
type CreateAwsCmekParams struct { // Body. Body CreateAwsCmekBody /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAwsCmekParams contains all the parameters to send to the API endpoint
for the create aws cmek operation. Typically these are written to a http.Request.
func NewCreateAwsCmekParams ¶
func NewCreateAwsCmekParams() *CreateAwsCmekParams
NewCreateAwsCmekParams creates a new CreateAwsCmekParams 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 NewCreateAwsCmekParamsWithContext ¶
func NewCreateAwsCmekParamsWithContext(ctx context.Context) *CreateAwsCmekParams
NewCreateAwsCmekParamsWithContext creates a new CreateAwsCmekParams object with the ability to set a context for a request.
func NewCreateAwsCmekParamsWithHTTPClient ¶
func NewCreateAwsCmekParamsWithHTTPClient(client *http.Client) *CreateAwsCmekParams
NewCreateAwsCmekParamsWithHTTPClient creates a new CreateAwsCmekParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAwsCmekParamsWithTimeout ¶
func NewCreateAwsCmekParamsWithTimeout(timeout time.Duration) *CreateAwsCmekParams
NewCreateAwsCmekParamsWithTimeout creates a new CreateAwsCmekParams object with the ability to set a timeout on a request.
func (*CreateAwsCmekParams) SetBody ¶
func (o *CreateAwsCmekParams) SetBody(body CreateAwsCmekBody)
SetBody adds the body to the create aws cmek params
func (*CreateAwsCmekParams) SetContext ¶
func (o *CreateAwsCmekParams) SetContext(ctx context.Context)
SetContext adds the context to the create aws cmek params
func (*CreateAwsCmekParams) SetDefaults ¶
func (o *CreateAwsCmekParams) SetDefaults()
SetDefaults hydrates default values in the create aws cmek params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAwsCmekParams) SetHTTPClient ¶
func (o *CreateAwsCmekParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create aws cmek params
func (*CreateAwsCmekParams) SetProjectID ¶
func (o *CreateAwsCmekParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the create aws cmek params
func (*CreateAwsCmekParams) SetTimeout ¶
func (o *CreateAwsCmekParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create aws cmek params
func (*CreateAwsCmekParams) WithBody ¶
func (o *CreateAwsCmekParams) WithBody(body CreateAwsCmekBody) *CreateAwsCmekParams
WithBody adds the body to the create aws cmek params
func (*CreateAwsCmekParams) WithContext ¶
func (o *CreateAwsCmekParams) WithContext(ctx context.Context) *CreateAwsCmekParams
WithContext adds the context to the create aws cmek params
func (*CreateAwsCmekParams) WithDefaults ¶
func (o *CreateAwsCmekParams) WithDefaults() *CreateAwsCmekParams
WithDefaults hydrates default values in the create aws cmek params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAwsCmekParams) WithHTTPClient ¶
func (o *CreateAwsCmekParams) WithHTTPClient(client *http.Client) *CreateAwsCmekParams
WithHTTPClient adds the HTTPClient to the create aws cmek params
func (*CreateAwsCmekParams) WithProjectID ¶
func (o *CreateAwsCmekParams) WithProjectID(projectID string) *CreateAwsCmekParams
WithProjectID adds the projectID to the create aws cmek params
func (*CreateAwsCmekParams) WithTimeout ¶
func (o *CreateAwsCmekParams) WithTimeout(timeout time.Duration) *CreateAwsCmekParams
WithTimeout adds the timeout to the create aws cmek params
func (*CreateAwsCmekParams) WriteToRequest ¶
func (o *CreateAwsCmekParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAwsCmekParamsBodySpecsItems0 ¶
type CreateAwsCmekParamsBodySpecsItems0 struct { // The KMS ARN of the AWS CMEK. // Example: arn:aws:kms:example // Required: true KmsArn *string `json:"kms_arn"` // The region name of the AWS CMEK. The region value should match the cloud provider's region code. // // You can get the complete list of available regions from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // For the detailed information on each region, refer to the documentation of the [AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) cloud provider. // Example: us-west-2 // Required: true Region *string `json:"region"` }
CreateAwsCmekParamsBodySpecsItems0 AwsCmekSpec // // AwsCmekSpec is the specification of the AWS CMEK. swagger:model CreateAwsCmekParamsBodySpecsItems0
func (*CreateAwsCmekParamsBodySpecsItems0) ContextValidate ¶
func (o *CreateAwsCmekParamsBodySpecsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create aws cmek params body specs items0 based on context it is used
func (*CreateAwsCmekParamsBodySpecsItems0) MarshalBinary ¶
func (o *CreateAwsCmekParamsBodySpecsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAwsCmekParamsBodySpecsItems0) UnmarshalBinary ¶
func (o *CreateAwsCmekParamsBodySpecsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAwsCmekReader ¶
type CreateAwsCmekReader struct {
// contains filtered or unexported fields
}
CreateAwsCmekReader is a Reader for the CreateAwsCmek structure.
func (*CreateAwsCmekReader) ReadResponse ¶
func (o *CreateAwsCmekReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAwsCmekTooManyRequests ¶
type CreateAwsCmekTooManyRequests struct {
Payload *CreateAwsCmekTooManyRequestsBody
}
CreateAwsCmekTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewCreateAwsCmekTooManyRequests ¶
func NewCreateAwsCmekTooManyRequests() *CreateAwsCmekTooManyRequests
NewCreateAwsCmekTooManyRequests creates a CreateAwsCmekTooManyRequests with default headers values
func (*CreateAwsCmekTooManyRequests) Code ¶
func (o *CreateAwsCmekTooManyRequests) Code() int
Code gets the status code for the create aws cmek too many requests response
func (*CreateAwsCmekTooManyRequests) Error ¶
func (o *CreateAwsCmekTooManyRequests) Error() string
func (*CreateAwsCmekTooManyRequests) GetPayload ¶
func (o *CreateAwsCmekTooManyRequests) GetPayload() *CreateAwsCmekTooManyRequestsBody
func (*CreateAwsCmekTooManyRequests) IsClientError ¶
func (o *CreateAwsCmekTooManyRequests) IsClientError() bool
IsClientError returns true when this create aws cmek too many requests response has a 4xx status code
func (*CreateAwsCmekTooManyRequests) IsCode ¶
func (o *CreateAwsCmekTooManyRequests) IsCode(code int) bool
IsCode returns true when this create aws cmek too many requests response a status code equal to that given
func (*CreateAwsCmekTooManyRequests) IsRedirect ¶
func (o *CreateAwsCmekTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create aws cmek too many requests response has a 3xx status code
func (*CreateAwsCmekTooManyRequests) IsServerError ¶
func (o *CreateAwsCmekTooManyRequests) IsServerError() bool
IsServerError returns true when this create aws cmek too many requests response has a 5xx status code
func (*CreateAwsCmekTooManyRequests) IsSuccess ¶
func (o *CreateAwsCmekTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create aws cmek too many requests response has a 2xx status code
func (*CreateAwsCmekTooManyRequests) String ¶
func (o *CreateAwsCmekTooManyRequests) String() string
type CreateAwsCmekTooManyRequestsBody ¶
type CreateAwsCmekTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateAwsCmekTooManyRequestsBody create aws cmek too many requests body swagger:model CreateAwsCmekTooManyRequestsBody
func (*CreateAwsCmekTooManyRequestsBody) ContextValidate ¶
func (o *CreateAwsCmekTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create aws cmek too many requests body based on context it is used
func (*CreateAwsCmekTooManyRequestsBody) MarshalBinary ¶
func (o *CreateAwsCmekTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAwsCmekTooManyRequestsBody) UnmarshalBinary ¶
func (o *CreateAwsCmekTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAwsCmekUnauthorized ¶
type CreateAwsCmekUnauthorized struct {
}CreateAwsCmekUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewCreateAwsCmekUnauthorized ¶
func NewCreateAwsCmekUnauthorized() *CreateAwsCmekUnauthorized
NewCreateAwsCmekUnauthorized creates a CreateAwsCmekUnauthorized with default headers values
func (*CreateAwsCmekUnauthorized) Code ¶
func (o *CreateAwsCmekUnauthorized) Code() int
Code gets the status code for the create aws cmek unauthorized response
func (*CreateAwsCmekUnauthorized) Error ¶
func (o *CreateAwsCmekUnauthorized) Error() string
func (*CreateAwsCmekUnauthorized) GetPayload ¶
func (o *CreateAwsCmekUnauthorized) GetPayload() interface{}
func (*CreateAwsCmekUnauthorized) IsClientError ¶
func (o *CreateAwsCmekUnauthorized) IsClientError() bool
IsClientError returns true when this create aws cmek unauthorized response has a 4xx status code
func (*CreateAwsCmekUnauthorized) IsCode ¶
func (o *CreateAwsCmekUnauthorized) IsCode(code int) bool
IsCode returns true when this create aws cmek unauthorized response a status code equal to that given
func (*CreateAwsCmekUnauthorized) IsRedirect ¶
func (o *CreateAwsCmekUnauthorized) IsRedirect() bool
IsRedirect returns true when this create aws cmek unauthorized response has a 3xx status code
func (*CreateAwsCmekUnauthorized) IsServerError ¶
func (o *CreateAwsCmekUnauthorized) IsServerError() bool
IsServerError returns true when this create aws cmek unauthorized response has a 5xx status code
func (*CreateAwsCmekUnauthorized) IsSuccess ¶
func (o *CreateAwsCmekUnauthorized) IsSuccess() bool
IsSuccess returns true when this create aws cmek unauthorized response has a 2xx status code
func (*CreateAwsCmekUnauthorized) String ¶
func (o *CreateAwsCmekUnauthorized) String() string
type CreateClusterBadRequest ¶
type CreateClusterBadRequest struct {
Payload *CreateClusterBadRequestBody
}
CreateClusterBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewCreateClusterBadRequest ¶
func NewCreateClusterBadRequest() *CreateClusterBadRequest
NewCreateClusterBadRequest creates a CreateClusterBadRequest with default headers values
func (*CreateClusterBadRequest) Code ¶
func (o *CreateClusterBadRequest) Code() int
Code gets the status code for the create cluster bad request response
func (*CreateClusterBadRequest) Error ¶
func (o *CreateClusterBadRequest) Error() string
func (*CreateClusterBadRequest) GetPayload ¶
func (o *CreateClusterBadRequest) GetPayload() *CreateClusterBadRequestBody
func (*CreateClusterBadRequest) IsClientError ¶
func (o *CreateClusterBadRequest) IsClientError() bool
IsClientError returns true when this create cluster bad request response has a 4xx status code
func (*CreateClusterBadRequest) IsCode ¶
func (o *CreateClusterBadRequest) IsCode(code int) bool
IsCode returns true when this create cluster bad request response a status code equal to that given
func (*CreateClusterBadRequest) IsRedirect ¶
func (o *CreateClusterBadRequest) IsRedirect() bool
IsRedirect returns true when this create cluster bad request response has a 3xx status code
func (*CreateClusterBadRequest) IsServerError ¶
func (o *CreateClusterBadRequest) IsServerError() bool
IsServerError returns true when this create cluster bad request response has a 5xx status code
func (*CreateClusterBadRequest) IsSuccess ¶
func (o *CreateClusterBadRequest) IsSuccess() bool
IsSuccess returns true when this create cluster bad request response has a 2xx status code
func (*CreateClusterBadRequest) String ¶
func (o *CreateClusterBadRequest) String() string
type CreateClusterBadRequestBody ¶
type CreateClusterBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateClusterBadRequestBody create cluster bad request body swagger:model CreateClusterBadRequestBody
func (*CreateClusterBadRequestBody) ContextValidate ¶
func (o *CreateClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cluster bad request body based on context it is used
func (*CreateClusterBadRequestBody) MarshalBinary ¶
func (o *CreateClusterBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterBadRequestBody) UnmarshalBinary ¶
func (o *CreateClusterBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterBody ¶
type CreateClusterBody struct { // The cloud provider on which your TiDB cluster is hosted. // - `"AWS"`: the Amazon Web Services cloud provider // - `"GCP"`: the Google Cloud cloud provider // Example: AWS // Required: true // Enum: [AWS GCP] CloudProvider *string `json:"cloud_provider"` // The cluster type. // - `"DEVELOPER"`: create a [TiDB Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-serverless) cluster // - `"DEDICATED"`: create a [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#dedicated-tier) cluster. Before creating a TiDB Dedicated cluster, you must [set a Project CIDR](https://docs.pingcap.com/tidbcloud/set-up-vpc-peering-connections#prerequisite-set-a-project-cidr) on [TiDB Cloud console](https://tidbcloud.com/). // Example: DEDICATED // Required: true // Enum: [DEDICATED DEVELOPER] ClusterType *string `json:"cluster_type"` // config // Required: true Config *CreateClusterParamsBodyConfig `json:"config"` // The name of the cluster. The name must be 4-64 characters that can only include numbers, letters, and hyphens, and the first and last character must be a letter or number. // Example: Cluster0 // Required: true // Pattern: ^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$ Name *string `json:"name"` // The region value should match the cloud provider's region code. // You can get the complete list of available regions from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // For the detailed information on each region, refer to the documentation of the corresponding cloud provider ([AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) | [GCP](https://cloud.google.com/about/locations#americas)). // // For example, if you want to deploy the cluster in the Oregon region for AWS, set the value to `"us-west-2"`. // Example: us-west-2 // Required: true Region *string `json:"region"` }
CreateClusterBody CreateClusterReq // // CreateClusterReq is the request for creating cluster. swagger:model CreateClusterBody
func (*CreateClusterBody) ContextValidate ¶
ContextValidate validate this create cluster body based on the context it is used
func (*CreateClusterBody) MarshalBinary ¶
func (o *CreateClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterBody) UnmarshalBinary ¶
func (o *CreateClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterDefault ¶
type CreateClusterDefault struct { Payload *CreateClusterDefaultBody // contains filtered or unexported fields }
CreateClusterDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateClusterDefault ¶
func NewCreateClusterDefault(code int) *CreateClusterDefault
NewCreateClusterDefault creates a CreateClusterDefault with default headers values
func (*CreateClusterDefault) Code ¶
func (o *CreateClusterDefault) Code() int
Code gets the status code for the create cluster default response
func (*CreateClusterDefault) Error ¶
func (o *CreateClusterDefault) Error() string
func (*CreateClusterDefault) GetPayload ¶
func (o *CreateClusterDefault) GetPayload() *CreateClusterDefaultBody
func (*CreateClusterDefault) IsClientError ¶
func (o *CreateClusterDefault) IsClientError() bool
IsClientError returns true when this create cluster default response has a 4xx status code
func (*CreateClusterDefault) IsCode ¶
func (o *CreateClusterDefault) IsCode(code int) bool
IsCode returns true when this create cluster default response a status code equal to that given
func (*CreateClusterDefault) IsRedirect ¶
func (o *CreateClusterDefault) IsRedirect() bool
IsRedirect returns true when this create cluster default response has a 3xx status code
func (*CreateClusterDefault) IsServerError ¶
func (o *CreateClusterDefault) IsServerError() bool
IsServerError returns true when this create cluster default response has a 5xx status code
func (*CreateClusterDefault) IsSuccess ¶
func (o *CreateClusterDefault) IsSuccess() bool
IsSuccess returns true when this create cluster default response has a 2xx status code
func (*CreateClusterDefault) String ¶
func (o *CreateClusterDefault) String() string
type CreateClusterDefaultBody ¶
type CreateClusterDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*CreateClusterDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
CreateClusterDefaultBody create cluster default body swagger:model CreateClusterDefaultBody
func (*CreateClusterDefaultBody) ContextValidate ¶
func (o *CreateClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create cluster default body based on the context it is used
func (*CreateClusterDefaultBody) MarshalBinary ¶
func (o *CreateClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterDefaultBody) UnmarshalBinary ¶
func (o *CreateClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterDefaultBodyDetailsItems0 ¶
type CreateClusterDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
CreateClusterDefaultBodyDetailsItems0 create cluster default body details items0 swagger:model CreateClusterDefaultBodyDetailsItems0
func (*CreateClusterDefaultBodyDetailsItems0) ContextValidate ¶
func (o *CreateClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cluster default body details items0 based on context it is used
func (*CreateClusterDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *CreateClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *CreateClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterForbidden ¶
type CreateClusterForbidden struct {
Payload *CreateClusterForbiddenBody
}
CreateClusterForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewCreateClusterForbidden ¶
func NewCreateClusterForbidden() *CreateClusterForbidden
NewCreateClusterForbidden creates a CreateClusterForbidden with default headers values
func (*CreateClusterForbidden) Code ¶
func (o *CreateClusterForbidden) Code() int
Code gets the status code for the create cluster forbidden response
func (*CreateClusterForbidden) Error ¶
func (o *CreateClusterForbidden) Error() string
func (*CreateClusterForbidden) GetPayload ¶
func (o *CreateClusterForbidden) GetPayload() *CreateClusterForbiddenBody
func (*CreateClusterForbidden) IsClientError ¶
func (o *CreateClusterForbidden) IsClientError() bool
IsClientError returns true when this create cluster forbidden response has a 4xx status code
func (*CreateClusterForbidden) IsCode ¶
func (o *CreateClusterForbidden) IsCode(code int) bool
IsCode returns true when this create cluster forbidden response a status code equal to that given
func (*CreateClusterForbidden) IsRedirect ¶
func (o *CreateClusterForbidden) IsRedirect() bool
IsRedirect returns true when this create cluster forbidden response has a 3xx status code
func (*CreateClusterForbidden) IsServerError ¶
func (o *CreateClusterForbidden) IsServerError() bool
IsServerError returns true when this create cluster forbidden response has a 5xx status code
func (*CreateClusterForbidden) IsSuccess ¶
func (o *CreateClusterForbidden) IsSuccess() bool
IsSuccess returns true when this create cluster forbidden response has a 2xx status code
func (*CreateClusterForbidden) String ¶
func (o *CreateClusterForbidden) String() string
type CreateClusterForbiddenBody ¶
type CreateClusterForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateClusterForbiddenBody create cluster forbidden body swagger:model CreateClusterForbiddenBody
func (*CreateClusterForbiddenBody) ContextValidate ¶
func (o *CreateClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cluster forbidden body based on context it is used
func (*CreateClusterForbiddenBody) MarshalBinary ¶
func (o *CreateClusterForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterForbiddenBody) UnmarshalBinary ¶
func (o *CreateClusterForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterInternalServerError ¶
type CreateClusterInternalServerError struct {
Payload *CreateClusterInternalServerErrorBody
}
CreateClusterInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewCreateClusterInternalServerError ¶
func NewCreateClusterInternalServerError() *CreateClusterInternalServerError
NewCreateClusterInternalServerError creates a CreateClusterInternalServerError with default headers values
func (*CreateClusterInternalServerError) Code ¶
func (o *CreateClusterInternalServerError) Code() int
Code gets the status code for the create cluster internal server error response
func (*CreateClusterInternalServerError) Error ¶
func (o *CreateClusterInternalServerError) Error() string
func (*CreateClusterInternalServerError) GetPayload ¶
func (o *CreateClusterInternalServerError) GetPayload() *CreateClusterInternalServerErrorBody
func (*CreateClusterInternalServerError) IsClientError ¶
func (o *CreateClusterInternalServerError) IsClientError() bool
IsClientError returns true when this create cluster internal server error response has a 4xx status code
func (*CreateClusterInternalServerError) IsCode ¶
func (o *CreateClusterInternalServerError) IsCode(code int) bool
IsCode returns true when this create cluster internal server error response a status code equal to that given
func (*CreateClusterInternalServerError) IsRedirect ¶
func (o *CreateClusterInternalServerError) IsRedirect() bool
IsRedirect returns true when this create cluster internal server error response has a 3xx status code
func (*CreateClusterInternalServerError) IsServerError ¶
func (o *CreateClusterInternalServerError) IsServerError() bool
IsServerError returns true when this create cluster internal server error response has a 5xx status code
func (*CreateClusterInternalServerError) IsSuccess ¶
func (o *CreateClusterInternalServerError) IsSuccess() bool
IsSuccess returns true when this create cluster internal server error response has a 2xx status code
func (*CreateClusterInternalServerError) String ¶
func (o *CreateClusterInternalServerError) String() string
type CreateClusterInternalServerErrorBody ¶
type CreateClusterInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateClusterInternalServerErrorBody create cluster internal server error body swagger:model CreateClusterInternalServerErrorBody
func (*CreateClusterInternalServerErrorBody) ContextValidate ¶
func (o *CreateClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cluster internal server error body based on context it is used
func (*CreateClusterInternalServerErrorBody) MarshalBinary ¶
func (o *CreateClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterInternalServerErrorBody) UnmarshalBinary ¶
func (o *CreateClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterNotFound ¶
type CreateClusterNotFound struct {
Payload *CreateClusterNotFoundBody
}
CreateClusterNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewCreateClusterNotFound ¶
func NewCreateClusterNotFound() *CreateClusterNotFound
NewCreateClusterNotFound creates a CreateClusterNotFound with default headers values
func (*CreateClusterNotFound) Code ¶
func (o *CreateClusterNotFound) Code() int
Code gets the status code for the create cluster not found response
func (*CreateClusterNotFound) Error ¶
func (o *CreateClusterNotFound) Error() string
func (*CreateClusterNotFound) GetPayload ¶
func (o *CreateClusterNotFound) GetPayload() *CreateClusterNotFoundBody
func (*CreateClusterNotFound) IsClientError ¶
func (o *CreateClusterNotFound) IsClientError() bool
IsClientError returns true when this create cluster not found response has a 4xx status code
func (*CreateClusterNotFound) IsCode ¶
func (o *CreateClusterNotFound) IsCode(code int) bool
IsCode returns true when this create cluster not found response a status code equal to that given
func (*CreateClusterNotFound) IsRedirect ¶
func (o *CreateClusterNotFound) IsRedirect() bool
IsRedirect returns true when this create cluster not found response has a 3xx status code
func (*CreateClusterNotFound) IsServerError ¶
func (o *CreateClusterNotFound) IsServerError() bool
IsServerError returns true when this create cluster not found response has a 5xx status code
func (*CreateClusterNotFound) IsSuccess ¶
func (o *CreateClusterNotFound) IsSuccess() bool
IsSuccess returns true when this create cluster not found response has a 2xx status code
func (*CreateClusterNotFound) String ¶
func (o *CreateClusterNotFound) String() string
type CreateClusterNotFoundBody ¶
type CreateClusterNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateClusterNotFoundBody create cluster not found body swagger:model CreateClusterNotFoundBody
func (*CreateClusterNotFoundBody) ContextValidate ¶
func (o *CreateClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cluster not found body based on context it is used
func (*CreateClusterNotFoundBody) MarshalBinary ¶
func (o *CreateClusterNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterNotFoundBody) UnmarshalBinary ¶
func (o *CreateClusterNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterOK ¶
type CreateClusterOK struct {
Payload *CreateClusterOKBody
}
CreateClusterOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateClusterOK ¶
func NewCreateClusterOK() *CreateClusterOK
NewCreateClusterOK creates a CreateClusterOK with default headers values
func (*CreateClusterOK) Code ¶
func (o *CreateClusterOK) Code() int
Code gets the status code for the create cluster o k response
func (*CreateClusterOK) Error ¶
func (o *CreateClusterOK) Error() string
func (*CreateClusterOK) GetPayload ¶
func (o *CreateClusterOK) GetPayload() *CreateClusterOKBody
func (*CreateClusterOK) IsClientError ¶
func (o *CreateClusterOK) IsClientError() bool
IsClientError returns true when this create cluster o k response has a 4xx status code
func (*CreateClusterOK) IsCode ¶
func (o *CreateClusterOK) IsCode(code int) bool
IsCode returns true when this create cluster o k response a status code equal to that given
func (*CreateClusterOK) IsRedirect ¶
func (o *CreateClusterOK) IsRedirect() bool
IsRedirect returns true when this create cluster o k response has a 3xx status code
func (*CreateClusterOK) IsServerError ¶
func (o *CreateClusterOK) IsServerError() bool
IsServerError returns true when this create cluster o k response has a 5xx status code
func (*CreateClusterOK) IsSuccess ¶
func (o *CreateClusterOK) IsSuccess() bool
IsSuccess returns true when this create cluster o k response has a 2xx status code
func (*CreateClusterOK) String ¶
func (o *CreateClusterOK) String() string
type CreateClusterOKBody ¶
type CreateClusterOKBody struct { // The ID of the cluster. // Example: 1 // Required: true ID *string `json:"id"` }
CreateClusterOKBody CreateClusterResp // // CreateClusterResp is the response for creating cluster. swagger:model CreateClusterOKBody
func (*CreateClusterOKBody) ContextValidate ¶
ContextValidate validates this create cluster o k body based on context it is used
func (*CreateClusterOKBody) MarshalBinary ¶
func (o *CreateClusterOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterOKBody) UnmarshalBinary ¶
func (o *CreateClusterOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterParams ¶
type CreateClusterParams struct { // Body. Body CreateClusterBody /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClusterParams contains all the parameters to send to the API endpoint
for the create cluster operation. Typically these are written to a http.Request.
func NewCreateClusterParams ¶
func NewCreateClusterParams() *CreateClusterParams
NewCreateClusterParams creates a new CreateClusterParams 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 NewCreateClusterParamsWithContext ¶
func NewCreateClusterParamsWithContext(ctx context.Context) *CreateClusterParams
NewCreateClusterParamsWithContext creates a new CreateClusterParams object with the ability to set a context for a request.
func NewCreateClusterParamsWithHTTPClient ¶
func NewCreateClusterParamsWithHTTPClient(client *http.Client) *CreateClusterParams
NewCreateClusterParamsWithHTTPClient creates a new CreateClusterParams object with the ability to set a custom HTTPClient for a request.
func NewCreateClusterParamsWithTimeout ¶
func NewCreateClusterParamsWithTimeout(timeout time.Duration) *CreateClusterParams
NewCreateClusterParamsWithTimeout creates a new CreateClusterParams object with the ability to set a timeout on a request.
func (*CreateClusterParams) SetBody ¶
func (o *CreateClusterParams) SetBody(body CreateClusterBody)
SetBody adds the body to the create cluster params
func (*CreateClusterParams) SetContext ¶
func (o *CreateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the create cluster params
func (*CreateClusterParams) SetDefaults ¶
func (o *CreateClusterParams) SetDefaults()
SetDefaults hydrates default values in the create cluster params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClusterParams) SetHTTPClient ¶
func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster params
func (*CreateClusterParams) SetProjectID ¶
func (o *CreateClusterParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the create cluster params
func (*CreateClusterParams) SetTimeout ¶
func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster params
func (*CreateClusterParams) WithBody ¶
func (o *CreateClusterParams) WithBody(body CreateClusterBody) *CreateClusterParams
WithBody adds the body to the create cluster params
func (*CreateClusterParams) WithContext ¶
func (o *CreateClusterParams) WithContext(ctx context.Context) *CreateClusterParams
WithContext adds the context to the create cluster params
func (*CreateClusterParams) WithDefaults ¶
func (o *CreateClusterParams) WithDefaults() *CreateClusterParams
WithDefaults hydrates default values in the create cluster params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClusterParams) WithHTTPClient ¶
func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams
WithHTTPClient adds the HTTPClient to the create cluster params
func (*CreateClusterParams) WithProjectID ¶
func (o *CreateClusterParams) WithProjectID(projectID string) *CreateClusterParams
WithProjectID adds the projectID to the create cluster params
func (*CreateClusterParams) WithTimeout ¶
func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams
WithTimeout adds the timeout to the create cluster params
func (*CreateClusterParams) WriteToRequest ¶
func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClusterParamsBodyConfig ¶
type CreateClusterParamsBodyConfig struct { // components Components *CreateClusterParamsBodyConfigComponents `json:"components,omitempty"` // A list of IP addresses and Classless Inter-Domain Routing (CIDR) addresses that are allowed to access the TiDB Cloud cluster via [standard connection](https://docs.pingcap.com/tidbcloud/connect-to-tidb-cluster#connect-via-standard-connection). IPAccessList []*CreateClusterParamsBodyConfigIPAccessListItems0 `json:"ip_access_list"` // The TiDB port for connection. The port must be in the range of 1024-65535 except 10080. // // **Limitations**: // - For a TiDB Serverless cluster, only port `4000` is available. // Example: 4000 // Maximum: 65535 // Minimum: 1024 Port int32 `json:"port,omitempty"` // The root password to access the cluster. It must be 8-64 characters. // Example: password_example // Required: true // Max Length: 64 // Min Length: 8 RootPassword *string `json:"root_password"` }
CreateClusterParamsBodyConfig The configuration of the cluster. swagger:model CreateClusterParamsBodyConfig
func (*CreateClusterParamsBodyConfig) ContextValidate ¶
func (o *CreateClusterParamsBodyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create cluster params body config based on the context it is used
func (*CreateClusterParamsBodyConfig) MarshalBinary ¶
func (o *CreateClusterParamsBodyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterParamsBodyConfig) UnmarshalBinary ¶
func (o *CreateClusterParamsBodyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterParamsBodyConfigComponents ¶
type CreateClusterParamsBodyConfigComponents struct { // tidb // Required: true Tidb *CreateClusterParamsBodyConfigComponentsTidb `json:"tidb"` // tiflash Tiflash *CreateClusterParamsBodyConfigComponentsTiflash `json:"tiflash,omitempty"` // tikv // Required: true Tikv *CreateClusterParamsBodyConfigComponentsTikv `json:"tikv"` }
CreateClusterParamsBodyConfigComponents The components of the cluster. // // **Limitations**: // - For a TiDB Dedicated cluster, the `components` parameter is **required**. // - For a TiDB Serverless cluster, the `components` value is **ignored**. Setting this configuration does not have any effects. // Example: {"tidb":{"node_quantity":2,"node_size":"8C16G"},"tikv":{"node_quantity":3,"node_size":"8C32G","storage_size_gib":1024}} swagger:model CreateClusterParamsBodyConfigComponents
func (*CreateClusterParamsBodyConfigComponents) ContextValidate ¶
func (o *CreateClusterParamsBodyConfigComponents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create cluster params body config components based on the context it is used
func (*CreateClusterParamsBodyConfigComponents) MarshalBinary ¶
func (o *CreateClusterParamsBodyConfigComponents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterParamsBodyConfigComponents) UnmarshalBinary ¶
func (o *CreateClusterParamsBodyConfigComponents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterParamsBodyConfigComponentsTidb ¶
type CreateClusterParamsBodyConfigComponentsTidb struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // Example: 2 // Required: true NodeQuantity *int32 `json:"node_quantity"` // The size of the TiDB component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // Example: 8C16G // Required: true NodeSize *string `json:"node_size"` }
CreateClusterParamsBodyConfigComponentsTidb The TiDB component of the cluster. swagger:model CreateClusterParamsBodyConfigComponentsTidb
func (*CreateClusterParamsBodyConfigComponentsTidb) ContextValidate ¶
func (o *CreateClusterParamsBodyConfigComponentsTidb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cluster params body config components tidb based on context it is used
func (*CreateClusterParamsBodyConfigComponentsTidb) MarshalBinary ¶
func (o *CreateClusterParamsBodyConfigComponentsTidb) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterParamsBodyConfigComponentsTidb) UnmarshalBinary ¶
func (o *CreateClusterParamsBodyConfigComponentsTidb) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterParamsBodyConfigComponentsTiflash ¶
type CreateClusterParamsBodyConfigComponentsTiflash struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // Example: 1 // Required: true NodeQuantity *int32 `json:"node_quantity"` // The size of the TiFlash component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // Example: 8C64G // Required: true NodeSize *string `json:"node_size"` // The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // Example: 1024 // Required: true StorageSizeGib *int32 `json:"storage_size_gib"` }
CreateClusterParamsBodyConfigComponentsTiflash The TiFlash component of the cluster. swagger:model CreateClusterParamsBodyConfigComponentsTiflash
func (*CreateClusterParamsBodyConfigComponentsTiflash) ContextValidate ¶
func (o *CreateClusterParamsBodyConfigComponentsTiflash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cluster params body config components tiflash based on context it is used
func (*CreateClusterParamsBodyConfigComponentsTiflash) MarshalBinary ¶
func (o *CreateClusterParamsBodyConfigComponentsTiflash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterParamsBodyConfigComponentsTiflash) UnmarshalBinary ¶
func (o *CreateClusterParamsBodyConfigComponentsTiflash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterParamsBodyConfigComponentsTikv ¶
type CreateClusterParamsBodyConfigComponentsTikv struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Limitations**: // - The `node_quantity` of TiKV must be a multiple of 3. // Example: 3 // Required: true NodeQuantity *int32 `json:"node_quantity"` // The size of the TiKV component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // Example: 8C64G // Required: true NodeSize *string `json:"node_size"` // The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // Example: 1024 // Required: true StorageSizeGib *int32 `json:"storage_size_gib"` }
CreateClusterParamsBodyConfigComponentsTikv The TiKV component of the cluster. swagger:model CreateClusterParamsBodyConfigComponentsTikv
func (*CreateClusterParamsBodyConfigComponentsTikv) ContextValidate ¶
func (o *CreateClusterParamsBodyConfigComponentsTikv) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cluster params body config components tikv based on context it is used
func (*CreateClusterParamsBodyConfigComponentsTikv) MarshalBinary ¶
func (o *CreateClusterParamsBodyConfigComponentsTikv) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterParamsBodyConfigComponentsTikv) UnmarshalBinary ¶
func (o *CreateClusterParamsBodyConfigComponentsTikv) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterParamsBodyConfigIPAccessListItems0 ¶
type CreateClusterParamsBodyConfigIPAccessListItems0 struct { // The IP address or CIDR range that you want to add to the cluster's IP access list. // Example: 8.8.8.8/32 // Required: true Cidr *string `json:"cidr"` // Description that explains the purpose of the entry. // Example: My Current IP Address Description string `json:"description,omitempty"` }
CreateClusterParamsBodyConfigIPAccessListItems0 create cluster params body config IP access list items0 swagger:model CreateClusterParamsBodyConfigIPAccessListItems0
func (*CreateClusterParamsBodyConfigIPAccessListItems0) ContextValidate ¶
func (o *CreateClusterParamsBodyConfigIPAccessListItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cluster params body config IP access list items0 based on context it is used
func (*CreateClusterParamsBodyConfigIPAccessListItems0) MarshalBinary ¶
func (o *CreateClusterParamsBodyConfigIPAccessListItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterParamsBodyConfigIPAccessListItems0) UnmarshalBinary ¶
func (o *CreateClusterParamsBodyConfigIPAccessListItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterReader ¶
type CreateClusterReader struct {
// contains filtered or unexported fields
}
CreateClusterReader is a Reader for the CreateCluster structure.
func (*CreateClusterReader) ReadResponse ¶
func (o *CreateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateClusterTooManyRequests ¶
type CreateClusterTooManyRequests struct {
Payload *CreateClusterTooManyRequestsBody
}
CreateClusterTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewCreateClusterTooManyRequests ¶
func NewCreateClusterTooManyRequests() *CreateClusterTooManyRequests
NewCreateClusterTooManyRequests creates a CreateClusterTooManyRequests with default headers values
func (*CreateClusterTooManyRequests) Code ¶
func (o *CreateClusterTooManyRequests) Code() int
Code gets the status code for the create cluster too many requests response
func (*CreateClusterTooManyRequests) Error ¶
func (o *CreateClusterTooManyRequests) Error() string
func (*CreateClusterTooManyRequests) GetPayload ¶
func (o *CreateClusterTooManyRequests) GetPayload() *CreateClusterTooManyRequestsBody
func (*CreateClusterTooManyRequests) IsClientError ¶
func (o *CreateClusterTooManyRequests) IsClientError() bool
IsClientError returns true when this create cluster too many requests response has a 4xx status code
func (*CreateClusterTooManyRequests) IsCode ¶
func (o *CreateClusterTooManyRequests) IsCode(code int) bool
IsCode returns true when this create cluster too many requests response a status code equal to that given
func (*CreateClusterTooManyRequests) IsRedirect ¶
func (o *CreateClusterTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create cluster too many requests response has a 3xx status code
func (*CreateClusterTooManyRequests) IsServerError ¶
func (o *CreateClusterTooManyRequests) IsServerError() bool
IsServerError returns true when this create cluster too many requests response has a 5xx status code
func (*CreateClusterTooManyRequests) IsSuccess ¶
func (o *CreateClusterTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create cluster too many requests response has a 2xx status code
func (*CreateClusterTooManyRequests) String ¶
func (o *CreateClusterTooManyRequests) String() string
type CreateClusterTooManyRequestsBody ¶
type CreateClusterTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateClusterTooManyRequestsBody create cluster too many requests body swagger:model CreateClusterTooManyRequestsBody
func (*CreateClusterTooManyRequestsBody) ContextValidate ¶
func (o *CreateClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create cluster too many requests body based on context it is used
func (*CreateClusterTooManyRequestsBody) MarshalBinary ¶
func (o *CreateClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateClusterTooManyRequestsBody) UnmarshalBinary ¶
func (o *CreateClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateClusterUnauthorized ¶
type CreateClusterUnauthorized struct {
}CreateClusterUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewCreateClusterUnauthorized ¶
func NewCreateClusterUnauthorized() *CreateClusterUnauthorized
NewCreateClusterUnauthorized creates a CreateClusterUnauthorized with default headers values
func (*CreateClusterUnauthorized) Code ¶
func (o *CreateClusterUnauthorized) Code() int
Code gets the status code for the create cluster unauthorized response
func (*CreateClusterUnauthorized) Error ¶
func (o *CreateClusterUnauthorized) Error() string
func (*CreateClusterUnauthorized) GetPayload ¶
func (o *CreateClusterUnauthorized) GetPayload() interface{}
func (*CreateClusterUnauthorized) IsClientError ¶
func (o *CreateClusterUnauthorized) IsClientError() bool
IsClientError returns true when this create cluster unauthorized response has a 4xx status code
func (*CreateClusterUnauthorized) IsCode ¶
func (o *CreateClusterUnauthorized) IsCode(code int) bool
IsCode returns true when this create cluster unauthorized response a status code equal to that given
func (*CreateClusterUnauthorized) IsRedirect ¶
func (o *CreateClusterUnauthorized) IsRedirect() bool
IsRedirect returns true when this create cluster unauthorized response has a 3xx status code
func (*CreateClusterUnauthorized) IsServerError ¶
func (o *CreateClusterUnauthorized) IsServerError() bool
IsServerError returns true when this create cluster unauthorized response has a 5xx status code
func (*CreateClusterUnauthorized) IsSuccess ¶
func (o *CreateClusterUnauthorized) IsSuccess() bool
IsSuccess returns true when this create cluster unauthorized response has a 2xx status code
func (*CreateClusterUnauthorized) String ¶
func (o *CreateClusterUnauthorized) String() string
type CreatePrivateEndpointBadRequest ¶
type CreatePrivateEndpointBadRequest struct {
Payload *CreatePrivateEndpointBadRequestBody
}
CreatePrivateEndpointBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewCreatePrivateEndpointBadRequest ¶
func NewCreatePrivateEndpointBadRequest() *CreatePrivateEndpointBadRequest
NewCreatePrivateEndpointBadRequest creates a CreatePrivateEndpointBadRequest with default headers values
func (*CreatePrivateEndpointBadRequest) Code ¶
func (o *CreatePrivateEndpointBadRequest) Code() int
Code gets the status code for the create private endpoint bad request response
func (*CreatePrivateEndpointBadRequest) Error ¶
func (o *CreatePrivateEndpointBadRequest) Error() string
func (*CreatePrivateEndpointBadRequest) GetPayload ¶
func (o *CreatePrivateEndpointBadRequest) GetPayload() *CreatePrivateEndpointBadRequestBody
func (*CreatePrivateEndpointBadRequest) IsClientError ¶
func (o *CreatePrivateEndpointBadRequest) IsClientError() bool
IsClientError returns true when this create private endpoint bad request response has a 4xx status code
func (*CreatePrivateEndpointBadRequest) IsCode ¶
func (o *CreatePrivateEndpointBadRequest) IsCode(code int) bool
IsCode returns true when this create private endpoint bad request response a status code equal to that given
func (*CreatePrivateEndpointBadRequest) IsRedirect ¶
func (o *CreatePrivateEndpointBadRequest) IsRedirect() bool
IsRedirect returns true when this create private endpoint bad request response has a 3xx status code
func (*CreatePrivateEndpointBadRequest) IsServerError ¶
func (o *CreatePrivateEndpointBadRequest) IsServerError() bool
IsServerError returns true when this create private endpoint bad request response has a 5xx status code
func (*CreatePrivateEndpointBadRequest) IsSuccess ¶
func (o *CreatePrivateEndpointBadRequest) IsSuccess() bool
IsSuccess returns true when this create private endpoint bad request response has a 2xx status code
func (*CreatePrivateEndpointBadRequest) String ¶
func (o *CreatePrivateEndpointBadRequest) String() string
type CreatePrivateEndpointBadRequestBody ¶
type CreatePrivateEndpointBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreatePrivateEndpointBadRequestBody create private endpoint bad request body swagger:model CreatePrivateEndpointBadRequestBody
func (*CreatePrivateEndpointBadRequestBody) ContextValidate ¶
func (o *CreatePrivateEndpointBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint bad request body based on context it is used
func (*CreatePrivateEndpointBadRequestBody) MarshalBinary ¶
func (o *CreatePrivateEndpointBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointBadRequestBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointBody ¶
type CreatePrivateEndpointBody struct { // [Output Only] The cloud provider on which the private endpoint service is hosted. // - `"AWS"`: the Amazon Web Services cloud provider // - `"GCP"`: the Google Cloud cloud provider // Example: AWS // Enum: [AWS GCP] CloudProvider string `json:"cloud_provider,omitempty"` // [Output Only] The ID of the cluster. // Example: 1 ClusterID string `json:"cluster_id,omitempty"` // [Output Only] The name of the cluster. // Example: Cluster0 ClusterName string `json:"cluster_name,omitempty"` // The format of the private endpoint name varies by cloud provider: `"vpce-xxxx"` for AWS and `"projects/xxx/regions/xxx/forwardingRules/xxx"` for Google Cloud. // Example: vpce-01234567890123456 EndpointName string `json:"endpoint_name,omitempty"` // [Output Only] The ID of private endpoint. It is used when you [deleting the endpoint](#tag/Cluster/operation/DeletePrivateEndpoint). // Example: 1 ID string `json:"id,omitempty"` // [Output Only] The detailed message when the `status` is "FAILED". // Example: The endpoint does not exist. Message string `json:"message,omitempty"` // [Output Only] The region where the private endpoint is hosted, such as Oregon in AWS. // Example: Oregon RegionName string `json:"region_name,omitempty"` // [Output Only] The service name of the private endpoint. // Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456 ServiceName string `json:"service_name,omitempty"` // [Output Only] The status of the private endpoint service. // Example: ACTIVE // Enum: [CREATING ACTIVE DELETING] ServiceStatus string `json:"service_status,omitempty"` // [Output Only] The status of the private endpoint. // Example: FAILED // Enum: [PENDING ACTIVE DELETING FAILED] Status string `json:"status,omitempty"` }
CreatePrivateEndpointBody The endpoint resource to be created. Only the endpoint_name is required. // Example: {"endpoint_name":"vpce-01234567890123456"} swagger:model CreatePrivateEndpointBody
func (*CreatePrivateEndpointBody) ContextValidate ¶
func (o *CreatePrivateEndpointBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint body based on context it is used
func (*CreatePrivateEndpointBody) MarshalBinary ¶
func (o *CreatePrivateEndpointBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointDefault ¶
type CreatePrivateEndpointDefault struct { Payload *CreatePrivateEndpointDefaultBody // contains filtered or unexported fields }
CreatePrivateEndpointDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreatePrivateEndpointDefault ¶
func NewCreatePrivateEndpointDefault(code int) *CreatePrivateEndpointDefault
NewCreatePrivateEndpointDefault creates a CreatePrivateEndpointDefault with default headers values
func (*CreatePrivateEndpointDefault) Code ¶
func (o *CreatePrivateEndpointDefault) Code() int
Code gets the status code for the create private endpoint default response
func (*CreatePrivateEndpointDefault) Error ¶
func (o *CreatePrivateEndpointDefault) Error() string
func (*CreatePrivateEndpointDefault) GetPayload ¶
func (o *CreatePrivateEndpointDefault) GetPayload() *CreatePrivateEndpointDefaultBody
func (*CreatePrivateEndpointDefault) IsClientError ¶
func (o *CreatePrivateEndpointDefault) IsClientError() bool
IsClientError returns true when this create private endpoint default response has a 4xx status code
func (*CreatePrivateEndpointDefault) IsCode ¶
func (o *CreatePrivateEndpointDefault) IsCode(code int) bool
IsCode returns true when this create private endpoint default response a status code equal to that given
func (*CreatePrivateEndpointDefault) IsRedirect ¶
func (o *CreatePrivateEndpointDefault) IsRedirect() bool
IsRedirect returns true when this create private endpoint default response has a 3xx status code
func (*CreatePrivateEndpointDefault) IsServerError ¶
func (o *CreatePrivateEndpointDefault) IsServerError() bool
IsServerError returns true when this create private endpoint default response has a 5xx status code
func (*CreatePrivateEndpointDefault) IsSuccess ¶
func (o *CreatePrivateEndpointDefault) IsSuccess() bool
IsSuccess returns true when this create private endpoint default response has a 2xx status code
func (*CreatePrivateEndpointDefault) String ¶
func (o *CreatePrivateEndpointDefault) String() string
type CreatePrivateEndpointDefaultBody ¶
type CreatePrivateEndpointDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*CreatePrivateEndpointDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
CreatePrivateEndpointDefaultBody create private endpoint default body swagger:model CreatePrivateEndpointDefaultBody
func (*CreatePrivateEndpointDefaultBody) ContextValidate ¶
func (o *CreatePrivateEndpointDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create private endpoint default body based on the context it is used
func (*CreatePrivateEndpointDefaultBody) MarshalBinary ¶
func (o *CreatePrivateEndpointDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointDefaultBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointDefaultBodyDetailsItems0 ¶
type CreatePrivateEndpointDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
CreatePrivateEndpointDefaultBodyDetailsItems0 create private endpoint default body details items0 swagger:model CreatePrivateEndpointDefaultBodyDetailsItems0
func (*CreatePrivateEndpointDefaultBodyDetailsItems0) ContextValidate ¶
func (o *CreatePrivateEndpointDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint default body details items0 based on context it is used
func (*CreatePrivateEndpointDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *CreatePrivateEndpointDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *CreatePrivateEndpointDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointForbidden ¶
type CreatePrivateEndpointForbidden struct {
Payload *CreatePrivateEndpointForbiddenBody
}
CreatePrivateEndpointForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewCreatePrivateEndpointForbidden ¶
func NewCreatePrivateEndpointForbidden() *CreatePrivateEndpointForbidden
NewCreatePrivateEndpointForbidden creates a CreatePrivateEndpointForbidden with default headers values
func (*CreatePrivateEndpointForbidden) Code ¶
func (o *CreatePrivateEndpointForbidden) Code() int
Code gets the status code for the create private endpoint forbidden response
func (*CreatePrivateEndpointForbidden) Error ¶
func (o *CreatePrivateEndpointForbidden) Error() string
func (*CreatePrivateEndpointForbidden) GetPayload ¶
func (o *CreatePrivateEndpointForbidden) GetPayload() *CreatePrivateEndpointForbiddenBody
func (*CreatePrivateEndpointForbidden) IsClientError ¶
func (o *CreatePrivateEndpointForbidden) IsClientError() bool
IsClientError returns true when this create private endpoint forbidden response has a 4xx status code
func (*CreatePrivateEndpointForbidden) IsCode ¶
func (o *CreatePrivateEndpointForbidden) IsCode(code int) bool
IsCode returns true when this create private endpoint forbidden response a status code equal to that given
func (*CreatePrivateEndpointForbidden) IsRedirect ¶
func (o *CreatePrivateEndpointForbidden) IsRedirect() bool
IsRedirect returns true when this create private endpoint forbidden response has a 3xx status code
func (*CreatePrivateEndpointForbidden) IsServerError ¶
func (o *CreatePrivateEndpointForbidden) IsServerError() bool
IsServerError returns true when this create private endpoint forbidden response has a 5xx status code
func (*CreatePrivateEndpointForbidden) IsSuccess ¶
func (o *CreatePrivateEndpointForbidden) IsSuccess() bool
IsSuccess returns true when this create private endpoint forbidden response has a 2xx status code
func (*CreatePrivateEndpointForbidden) String ¶
func (o *CreatePrivateEndpointForbidden) String() string
type CreatePrivateEndpointForbiddenBody ¶
type CreatePrivateEndpointForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreatePrivateEndpointForbiddenBody create private endpoint forbidden body swagger:model CreatePrivateEndpointForbiddenBody
func (*CreatePrivateEndpointForbiddenBody) ContextValidate ¶
func (o *CreatePrivateEndpointForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint forbidden body based on context it is used
func (*CreatePrivateEndpointForbiddenBody) MarshalBinary ¶
func (o *CreatePrivateEndpointForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointForbiddenBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointInternalServerError ¶
type CreatePrivateEndpointInternalServerError struct {
Payload *CreatePrivateEndpointInternalServerErrorBody
}
CreatePrivateEndpointInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewCreatePrivateEndpointInternalServerError ¶
func NewCreatePrivateEndpointInternalServerError() *CreatePrivateEndpointInternalServerError
NewCreatePrivateEndpointInternalServerError creates a CreatePrivateEndpointInternalServerError with default headers values
func (*CreatePrivateEndpointInternalServerError) Code ¶
func (o *CreatePrivateEndpointInternalServerError) Code() int
Code gets the status code for the create private endpoint internal server error response
func (*CreatePrivateEndpointInternalServerError) Error ¶
func (o *CreatePrivateEndpointInternalServerError) Error() string
func (*CreatePrivateEndpointInternalServerError) GetPayload ¶
func (o *CreatePrivateEndpointInternalServerError) GetPayload() *CreatePrivateEndpointInternalServerErrorBody
func (*CreatePrivateEndpointInternalServerError) IsClientError ¶
func (o *CreatePrivateEndpointInternalServerError) IsClientError() bool
IsClientError returns true when this create private endpoint internal server error response has a 4xx status code
func (*CreatePrivateEndpointInternalServerError) IsCode ¶
func (o *CreatePrivateEndpointInternalServerError) IsCode(code int) bool
IsCode returns true when this create private endpoint internal server error response a status code equal to that given
func (*CreatePrivateEndpointInternalServerError) IsRedirect ¶
func (o *CreatePrivateEndpointInternalServerError) IsRedirect() bool
IsRedirect returns true when this create private endpoint internal server error response has a 3xx status code
func (*CreatePrivateEndpointInternalServerError) IsServerError ¶
func (o *CreatePrivateEndpointInternalServerError) IsServerError() bool
IsServerError returns true when this create private endpoint internal server error response has a 5xx status code
func (*CreatePrivateEndpointInternalServerError) IsSuccess ¶
func (o *CreatePrivateEndpointInternalServerError) IsSuccess() bool
IsSuccess returns true when this create private endpoint internal server error response has a 2xx status code
func (*CreatePrivateEndpointInternalServerError) String ¶
func (o *CreatePrivateEndpointInternalServerError) String() string
type CreatePrivateEndpointInternalServerErrorBody ¶
type CreatePrivateEndpointInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreatePrivateEndpointInternalServerErrorBody create private endpoint internal server error body swagger:model CreatePrivateEndpointInternalServerErrorBody
func (*CreatePrivateEndpointInternalServerErrorBody) ContextValidate ¶
func (o *CreatePrivateEndpointInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint internal server error body based on context it is used
func (*CreatePrivateEndpointInternalServerErrorBody) MarshalBinary ¶
func (o *CreatePrivateEndpointInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointInternalServerErrorBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointNotFound ¶
type CreatePrivateEndpointNotFound struct {
Payload *CreatePrivateEndpointNotFoundBody
}
CreatePrivateEndpointNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewCreatePrivateEndpointNotFound ¶
func NewCreatePrivateEndpointNotFound() *CreatePrivateEndpointNotFound
NewCreatePrivateEndpointNotFound creates a CreatePrivateEndpointNotFound with default headers values
func (*CreatePrivateEndpointNotFound) Code ¶
func (o *CreatePrivateEndpointNotFound) Code() int
Code gets the status code for the create private endpoint not found response
func (*CreatePrivateEndpointNotFound) Error ¶
func (o *CreatePrivateEndpointNotFound) Error() string
func (*CreatePrivateEndpointNotFound) GetPayload ¶
func (o *CreatePrivateEndpointNotFound) GetPayload() *CreatePrivateEndpointNotFoundBody
func (*CreatePrivateEndpointNotFound) IsClientError ¶
func (o *CreatePrivateEndpointNotFound) IsClientError() bool
IsClientError returns true when this create private endpoint not found response has a 4xx status code
func (*CreatePrivateEndpointNotFound) IsCode ¶
func (o *CreatePrivateEndpointNotFound) IsCode(code int) bool
IsCode returns true when this create private endpoint not found response a status code equal to that given
func (*CreatePrivateEndpointNotFound) IsRedirect ¶
func (o *CreatePrivateEndpointNotFound) IsRedirect() bool
IsRedirect returns true when this create private endpoint not found response has a 3xx status code
func (*CreatePrivateEndpointNotFound) IsServerError ¶
func (o *CreatePrivateEndpointNotFound) IsServerError() bool
IsServerError returns true when this create private endpoint not found response has a 5xx status code
func (*CreatePrivateEndpointNotFound) IsSuccess ¶
func (o *CreatePrivateEndpointNotFound) IsSuccess() bool
IsSuccess returns true when this create private endpoint not found response has a 2xx status code
func (*CreatePrivateEndpointNotFound) String ¶
func (o *CreatePrivateEndpointNotFound) String() string
type CreatePrivateEndpointNotFoundBody ¶
type CreatePrivateEndpointNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreatePrivateEndpointNotFoundBody create private endpoint not found body swagger:model CreatePrivateEndpointNotFoundBody
func (*CreatePrivateEndpointNotFoundBody) ContextValidate ¶
func (o *CreatePrivateEndpointNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint not found body based on context it is used
func (*CreatePrivateEndpointNotFoundBody) MarshalBinary ¶
func (o *CreatePrivateEndpointNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointNotFoundBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointOK ¶
type CreatePrivateEndpointOK struct {
Payload *CreatePrivateEndpointOKBody
}
CreatePrivateEndpointOK describes a response with status code 200, with default header values.
A successful response.
func NewCreatePrivateEndpointOK ¶
func NewCreatePrivateEndpointOK() *CreatePrivateEndpointOK
NewCreatePrivateEndpointOK creates a CreatePrivateEndpointOK with default headers values
func (*CreatePrivateEndpointOK) Code ¶
func (o *CreatePrivateEndpointOK) Code() int
Code gets the status code for the create private endpoint o k response
func (*CreatePrivateEndpointOK) Error ¶
func (o *CreatePrivateEndpointOK) Error() string
func (*CreatePrivateEndpointOK) GetPayload ¶
func (o *CreatePrivateEndpointOK) GetPayload() *CreatePrivateEndpointOKBody
func (*CreatePrivateEndpointOK) IsClientError ¶
func (o *CreatePrivateEndpointOK) IsClientError() bool
IsClientError returns true when this create private endpoint o k response has a 4xx status code
func (*CreatePrivateEndpointOK) IsCode ¶
func (o *CreatePrivateEndpointOK) IsCode(code int) bool
IsCode returns true when this create private endpoint o k response a status code equal to that given
func (*CreatePrivateEndpointOK) IsRedirect ¶
func (o *CreatePrivateEndpointOK) IsRedirect() bool
IsRedirect returns true when this create private endpoint o k response has a 3xx status code
func (*CreatePrivateEndpointOK) IsServerError ¶
func (o *CreatePrivateEndpointOK) IsServerError() bool
IsServerError returns true when this create private endpoint o k response has a 5xx status code
func (*CreatePrivateEndpointOK) IsSuccess ¶
func (o *CreatePrivateEndpointOK) IsSuccess() bool
IsSuccess returns true when this create private endpoint o k response has a 2xx status code
func (*CreatePrivateEndpointOK) String ¶
func (o *CreatePrivateEndpointOK) String() string
type CreatePrivateEndpointOKBody ¶
type CreatePrivateEndpointOKBody struct { // private endpoint // Required: true PrivateEndpoint *CreatePrivateEndpointOKBodyPrivateEndpoint `json:"private_endpoint"` }
CreatePrivateEndpointOKBody CreatePrivateEndpointResp // // CreatePrivateEndpointResp is the response for creating a private endpoint for a private endpoint service. swagger:model CreatePrivateEndpointOKBody
func (*CreatePrivateEndpointOKBody) ContextValidate ¶
func (o *CreatePrivateEndpointOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create private endpoint o k body based on the context it is used
func (*CreatePrivateEndpointOKBody) MarshalBinary ¶
func (o *CreatePrivateEndpointOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointOKBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointOKBodyPrivateEndpoint ¶
type CreatePrivateEndpointOKBodyPrivateEndpoint struct { // [Output Only] The cloud provider on which the private endpoint service is hosted. // - `"AWS"`: the Amazon Web Services cloud provider // - `"GCP"`: the Google Cloud cloud provider // Example: AWS // Enum: [AWS GCP] CloudProvider string `json:"cloud_provider,omitempty"` // [Output Only] The ID of the cluster. // Example: 1 ClusterID string `json:"cluster_id,omitempty"` // [Output Only] The name of the cluster. // Example: Cluster0 ClusterName string `json:"cluster_name,omitempty"` // The format of the private endpoint name varies by cloud provider: `"vpce-xxxx"` for AWS and `"projects/xxx/regions/xxx/forwardingRules/xxx"` for Google Cloud. // Example: vpce-01234567890123456 EndpointName string `json:"endpoint_name,omitempty"` // [Output Only] The ID of private endpoint. It is used when you [deleting the endpoint](#tag/Cluster/operation/DeletePrivateEndpoint). // Example: 1 ID string `json:"id,omitempty"` // [Output Only] The detailed message when the `status` is "FAILED". // Example: The endpoint does not exist. Message string `json:"message,omitempty"` // [Output Only] The region where the private endpoint is hosted, such as Oregon in AWS. // Example: Oregon RegionName string `json:"region_name,omitempty"` // [Output Only] The service name of the private endpoint. // Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456 ServiceName string `json:"service_name,omitempty"` // [Output Only] The status of the private endpoint service. // Example: ACTIVE // Enum: [CREATING ACTIVE DELETING] ServiceStatus string `json:"service_status,omitempty"` // [Output Only] The status of the private endpoint. // Example: FAILED // Enum: [PENDING ACTIVE DELETING FAILED] Status string `json:"status,omitempty"` }
CreatePrivateEndpointOKBodyPrivateEndpoint The newly endpoint created resource. swagger:model CreatePrivateEndpointOKBodyPrivateEndpoint
func (*CreatePrivateEndpointOKBodyPrivateEndpoint) ContextValidate ¶
func (o *CreatePrivateEndpointOKBodyPrivateEndpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint o k body private endpoint based on context it is used
func (*CreatePrivateEndpointOKBodyPrivateEndpoint) MarshalBinary ¶
func (o *CreatePrivateEndpointOKBodyPrivateEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointOKBodyPrivateEndpoint) UnmarshalBinary ¶
func (o *CreatePrivateEndpointOKBodyPrivateEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointParams ¶
type CreatePrivateEndpointParams struct { /* ClusterID. The ID of the cluster. Format: uint64 */ ClusterID string // PrivateEndpoint. PrivateEndpoint CreatePrivateEndpointBody /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePrivateEndpointParams contains all the parameters to send to the API endpoint
for the create private endpoint operation. Typically these are written to a http.Request.
func NewCreatePrivateEndpointParams ¶
func NewCreatePrivateEndpointParams() *CreatePrivateEndpointParams
NewCreatePrivateEndpointParams creates a new CreatePrivateEndpointParams 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 NewCreatePrivateEndpointParamsWithContext ¶
func NewCreatePrivateEndpointParamsWithContext(ctx context.Context) *CreatePrivateEndpointParams
NewCreatePrivateEndpointParamsWithContext creates a new CreatePrivateEndpointParams object with the ability to set a context for a request.
func NewCreatePrivateEndpointParamsWithHTTPClient ¶
func NewCreatePrivateEndpointParamsWithHTTPClient(client *http.Client) *CreatePrivateEndpointParams
NewCreatePrivateEndpointParamsWithHTTPClient creates a new CreatePrivateEndpointParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePrivateEndpointParamsWithTimeout ¶
func NewCreatePrivateEndpointParamsWithTimeout(timeout time.Duration) *CreatePrivateEndpointParams
NewCreatePrivateEndpointParamsWithTimeout creates a new CreatePrivateEndpointParams object with the ability to set a timeout on a request.
func (*CreatePrivateEndpointParams) SetClusterID ¶
func (o *CreatePrivateEndpointParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the create private endpoint params
func (*CreatePrivateEndpointParams) SetContext ¶
func (o *CreatePrivateEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the create private endpoint params
func (*CreatePrivateEndpointParams) SetDefaults ¶
func (o *CreatePrivateEndpointParams) SetDefaults()
SetDefaults hydrates default values in the create private endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivateEndpointParams) SetHTTPClient ¶
func (o *CreatePrivateEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create private endpoint params
func (*CreatePrivateEndpointParams) SetPrivateEndpoint ¶
func (o *CreatePrivateEndpointParams) SetPrivateEndpoint(privateEndpoint CreatePrivateEndpointBody)
SetPrivateEndpoint adds the privateEndpoint to the create private endpoint params
func (*CreatePrivateEndpointParams) SetProjectID ¶
func (o *CreatePrivateEndpointParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the create private endpoint params
func (*CreatePrivateEndpointParams) SetTimeout ¶
func (o *CreatePrivateEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create private endpoint params
func (*CreatePrivateEndpointParams) WithClusterID ¶
func (o *CreatePrivateEndpointParams) WithClusterID(clusterID string) *CreatePrivateEndpointParams
WithClusterID adds the clusterID to the create private endpoint params
func (*CreatePrivateEndpointParams) WithContext ¶
func (o *CreatePrivateEndpointParams) WithContext(ctx context.Context) *CreatePrivateEndpointParams
WithContext adds the context to the create private endpoint params
func (*CreatePrivateEndpointParams) WithDefaults ¶
func (o *CreatePrivateEndpointParams) WithDefaults() *CreatePrivateEndpointParams
WithDefaults hydrates default values in the create private endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivateEndpointParams) WithHTTPClient ¶
func (o *CreatePrivateEndpointParams) WithHTTPClient(client *http.Client) *CreatePrivateEndpointParams
WithHTTPClient adds the HTTPClient to the create private endpoint params
func (*CreatePrivateEndpointParams) WithPrivateEndpoint ¶
func (o *CreatePrivateEndpointParams) WithPrivateEndpoint(privateEndpoint CreatePrivateEndpointBody) *CreatePrivateEndpointParams
WithPrivateEndpoint adds the privateEndpoint to the create private endpoint params
func (*CreatePrivateEndpointParams) WithProjectID ¶
func (o *CreatePrivateEndpointParams) WithProjectID(projectID string) *CreatePrivateEndpointParams
WithProjectID adds the projectID to the create private endpoint params
func (*CreatePrivateEndpointParams) WithTimeout ¶
func (o *CreatePrivateEndpointParams) WithTimeout(timeout time.Duration) *CreatePrivateEndpointParams
WithTimeout adds the timeout to the create private endpoint params
func (*CreatePrivateEndpointParams) WriteToRequest ¶
func (o *CreatePrivateEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePrivateEndpointReader ¶
type CreatePrivateEndpointReader struct {
// contains filtered or unexported fields
}
CreatePrivateEndpointReader is a Reader for the CreatePrivateEndpoint structure.
func (*CreatePrivateEndpointReader) ReadResponse ¶
func (o *CreatePrivateEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePrivateEndpointServiceBadRequest ¶
type CreatePrivateEndpointServiceBadRequest struct {
Payload *CreatePrivateEndpointServiceBadRequestBody
}
CreatePrivateEndpointServiceBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewCreatePrivateEndpointServiceBadRequest ¶
func NewCreatePrivateEndpointServiceBadRequest() *CreatePrivateEndpointServiceBadRequest
NewCreatePrivateEndpointServiceBadRequest creates a CreatePrivateEndpointServiceBadRequest with default headers values
func (*CreatePrivateEndpointServiceBadRequest) Code ¶
func (o *CreatePrivateEndpointServiceBadRequest) Code() int
Code gets the status code for the create private endpoint service bad request response
func (*CreatePrivateEndpointServiceBadRequest) Error ¶
func (o *CreatePrivateEndpointServiceBadRequest) Error() string
func (*CreatePrivateEndpointServiceBadRequest) GetPayload ¶
func (o *CreatePrivateEndpointServiceBadRequest) GetPayload() *CreatePrivateEndpointServiceBadRequestBody
func (*CreatePrivateEndpointServiceBadRequest) IsClientError ¶
func (o *CreatePrivateEndpointServiceBadRequest) IsClientError() bool
IsClientError returns true when this create private endpoint service bad request response has a 4xx status code
func (*CreatePrivateEndpointServiceBadRequest) IsCode ¶
func (o *CreatePrivateEndpointServiceBadRequest) IsCode(code int) bool
IsCode returns true when this create private endpoint service bad request response a status code equal to that given
func (*CreatePrivateEndpointServiceBadRequest) IsRedirect ¶
func (o *CreatePrivateEndpointServiceBadRequest) IsRedirect() bool
IsRedirect returns true when this create private endpoint service bad request response has a 3xx status code
func (*CreatePrivateEndpointServiceBadRequest) IsServerError ¶
func (o *CreatePrivateEndpointServiceBadRequest) IsServerError() bool
IsServerError returns true when this create private endpoint service bad request response has a 5xx status code
func (*CreatePrivateEndpointServiceBadRequest) IsSuccess ¶
func (o *CreatePrivateEndpointServiceBadRequest) IsSuccess() bool
IsSuccess returns true when this create private endpoint service bad request response has a 2xx status code
func (*CreatePrivateEndpointServiceBadRequest) String ¶
func (o *CreatePrivateEndpointServiceBadRequest) String() string
type CreatePrivateEndpointServiceBadRequestBody ¶
type CreatePrivateEndpointServiceBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreatePrivateEndpointServiceBadRequestBody create private endpoint service bad request body swagger:model CreatePrivateEndpointServiceBadRequestBody
func (*CreatePrivateEndpointServiceBadRequestBody) ContextValidate ¶
func (o *CreatePrivateEndpointServiceBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint service bad request body based on context it is used
func (*CreatePrivateEndpointServiceBadRequestBody) MarshalBinary ¶
func (o *CreatePrivateEndpointServiceBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointServiceBadRequestBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointServiceBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointServiceDefault ¶
type CreatePrivateEndpointServiceDefault struct { Payload *CreatePrivateEndpointServiceDefaultBody // contains filtered or unexported fields }
CreatePrivateEndpointServiceDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreatePrivateEndpointServiceDefault ¶
func NewCreatePrivateEndpointServiceDefault(code int) *CreatePrivateEndpointServiceDefault
NewCreatePrivateEndpointServiceDefault creates a CreatePrivateEndpointServiceDefault with default headers values
func (*CreatePrivateEndpointServiceDefault) Code ¶
func (o *CreatePrivateEndpointServiceDefault) Code() int
Code gets the status code for the create private endpoint service default response
func (*CreatePrivateEndpointServiceDefault) Error ¶
func (o *CreatePrivateEndpointServiceDefault) Error() string
func (*CreatePrivateEndpointServiceDefault) GetPayload ¶
func (o *CreatePrivateEndpointServiceDefault) GetPayload() *CreatePrivateEndpointServiceDefaultBody
func (*CreatePrivateEndpointServiceDefault) IsClientError ¶
func (o *CreatePrivateEndpointServiceDefault) IsClientError() bool
IsClientError returns true when this create private endpoint service default response has a 4xx status code
func (*CreatePrivateEndpointServiceDefault) IsCode ¶
func (o *CreatePrivateEndpointServiceDefault) IsCode(code int) bool
IsCode returns true when this create private endpoint service default response a status code equal to that given
func (*CreatePrivateEndpointServiceDefault) IsRedirect ¶
func (o *CreatePrivateEndpointServiceDefault) IsRedirect() bool
IsRedirect returns true when this create private endpoint service default response has a 3xx status code
func (*CreatePrivateEndpointServiceDefault) IsServerError ¶
func (o *CreatePrivateEndpointServiceDefault) IsServerError() bool
IsServerError returns true when this create private endpoint service default response has a 5xx status code
func (*CreatePrivateEndpointServiceDefault) IsSuccess ¶
func (o *CreatePrivateEndpointServiceDefault) IsSuccess() bool
IsSuccess returns true when this create private endpoint service default response has a 2xx status code
func (*CreatePrivateEndpointServiceDefault) String ¶
func (o *CreatePrivateEndpointServiceDefault) String() string
type CreatePrivateEndpointServiceDefaultBody ¶
type CreatePrivateEndpointServiceDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*CreatePrivateEndpointServiceDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
CreatePrivateEndpointServiceDefaultBody create private endpoint service default body swagger:model CreatePrivateEndpointServiceDefaultBody
func (*CreatePrivateEndpointServiceDefaultBody) ContextValidate ¶
func (o *CreatePrivateEndpointServiceDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create private endpoint service default body based on the context it is used
func (*CreatePrivateEndpointServiceDefaultBody) MarshalBinary ¶
func (o *CreatePrivateEndpointServiceDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointServiceDefaultBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointServiceDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointServiceDefaultBodyDetailsItems0 ¶
type CreatePrivateEndpointServiceDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
CreatePrivateEndpointServiceDefaultBodyDetailsItems0 create private endpoint service default body details items0 swagger:model CreatePrivateEndpointServiceDefaultBodyDetailsItems0
func (*CreatePrivateEndpointServiceDefaultBodyDetailsItems0) ContextValidate ¶
func (o *CreatePrivateEndpointServiceDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint service default body details items0 based on context it is used
func (*CreatePrivateEndpointServiceDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *CreatePrivateEndpointServiceDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointServiceDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *CreatePrivateEndpointServiceDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointServiceForbidden ¶
type CreatePrivateEndpointServiceForbidden struct {
Payload *CreatePrivateEndpointServiceForbiddenBody
}
CreatePrivateEndpointServiceForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewCreatePrivateEndpointServiceForbidden ¶
func NewCreatePrivateEndpointServiceForbidden() *CreatePrivateEndpointServiceForbidden
NewCreatePrivateEndpointServiceForbidden creates a CreatePrivateEndpointServiceForbidden with default headers values
func (*CreatePrivateEndpointServiceForbidden) Code ¶
func (o *CreatePrivateEndpointServiceForbidden) Code() int
Code gets the status code for the create private endpoint service forbidden response
func (*CreatePrivateEndpointServiceForbidden) Error ¶
func (o *CreatePrivateEndpointServiceForbidden) Error() string
func (*CreatePrivateEndpointServiceForbidden) GetPayload ¶
func (o *CreatePrivateEndpointServiceForbidden) GetPayload() *CreatePrivateEndpointServiceForbiddenBody
func (*CreatePrivateEndpointServiceForbidden) IsClientError ¶
func (o *CreatePrivateEndpointServiceForbidden) IsClientError() bool
IsClientError returns true when this create private endpoint service forbidden response has a 4xx status code
func (*CreatePrivateEndpointServiceForbidden) IsCode ¶
func (o *CreatePrivateEndpointServiceForbidden) IsCode(code int) bool
IsCode returns true when this create private endpoint service forbidden response a status code equal to that given
func (*CreatePrivateEndpointServiceForbidden) IsRedirect ¶
func (o *CreatePrivateEndpointServiceForbidden) IsRedirect() bool
IsRedirect returns true when this create private endpoint service forbidden response has a 3xx status code
func (*CreatePrivateEndpointServiceForbidden) IsServerError ¶
func (o *CreatePrivateEndpointServiceForbidden) IsServerError() bool
IsServerError returns true when this create private endpoint service forbidden response has a 5xx status code
func (*CreatePrivateEndpointServiceForbidden) IsSuccess ¶
func (o *CreatePrivateEndpointServiceForbidden) IsSuccess() bool
IsSuccess returns true when this create private endpoint service forbidden response has a 2xx status code
func (*CreatePrivateEndpointServiceForbidden) String ¶
func (o *CreatePrivateEndpointServiceForbidden) String() string
type CreatePrivateEndpointServiceForbiddenBody ¶
type CreatePrivateEndpointServiceForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreatePrivateEndpointServiceForbiddenBody create private endpoint service forbidden body swagger:model CreatePrivateEndpointServiceForbiddenBody
func (*CreatePrivateEndpointServiceForbiddenBody) ContextValidate ¶
func (o *CreatePrivateEndpointServiceForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint service forbidden body based on context it is used
func (*CreatePrivateEndpointServiceForbiddenBody) MarshalBinary ¶
func (o *CreatePrivateEndpointServiceForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointServiceForbiddenBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointServiceForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointServiceInternalServerError ¶
type CreatePrivateEndpointServiceInternalServerError struct {
Payload *CreatePrivateEndpointServiceInternalServerErrorBody
}
CreatePrivateEndpointServiceInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewCreatePrivateEndpointServiceInternalServerError ¶
func NewCreatePrivateEndpointServiceInternalServerError() *CreatePrivateEndpointServiceInternalServerError
NewCreatePrivateEndpointServiceInternalServerError creates a CreatePrivateEndpointServiceInternalServerError with default headers values
func (*CreatePrivateEndpointServiceInternalServerError) Code ¶
func (o *CreatePrivateEndpointServiceInternalServerError) Code() int
Code gets the status code for the create private endpoint service internal server error response
func (*CreatePrivateEndpointServiceInternalServerError) Error ¶
func (o *CreatePrivateEndpointServiceInternalServerError) Error() string
func (*CreatePrivateEndpointServiceInternalServerError) GetPayload ¶
func (o *CreatePrivateEndpointServiceInternalServerError) GetPayload() *CreatePrivateEndpointServiceInternalServerErrorBody
func (*CreatePrivateEndpointServiceInternalServerError) IsClientError ¶
func (o *CreatePrivateEndpointServiceInternalServerError) IsClientError() bool
IsClientError returns true when this create private endpoint service internal server error response has a 4xx status code
func (*CreatePrivateEndpointServiceInternalServerError) IsCode ¶
func (o *CreatePrivateEndpointServiceInternalServerError) IsCode(code int) bool
IsCode returns true when this create private endpoint service internal server error response a status code equal to that given
func (*CreatePrivateEndpointServiceInternalServerError) IsRedirect ¶
func (o *CreatePrivateEndpointServiceInternalServerError) IsRedirect() bool
IsRedirect returns true when this create private endpoint service internal server error response has a 3xx status code
func (*CreatePrivateEndpointServiceInternalServerError) IsServerError ¶
func (o *CreatePrivateEndpointServiceInternalServerError) IsServerError() bool
IsServerError returns true when this create private endpoint service internal server error response has a 5xx status code
func (*CreatePrivateEndpointServiceInternalServerError) IsSuccess ¶
func (o *CreatePrivateEndpointServiceInternalServerError) IsSuccess() bool
IsSuccess returns true when this create private endpoint service internal server error response has a 2xx status code
func (*CreatePrivateEndpointServiceInternalServerError) String ¶
func (o *CreatePrivateEndpointServiceInternalServerError) String() string
type CreatePrivateEndpointServiceInternalServerErrorBody ¶
type CreatePrivateEndpointServiceInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreatePrivateEndpointServiceInternalServerErrorBody create private endpoint service internal server error body swagger:model CreatePrivateEndpointServiceInternalServerErrorBody
func (*CreatePrivateEndpointServiceInternalServerErrorBody) ContextValidate ¶
func (o *CreatePrivateEndpointServiceInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint service internal server error body based on context it is used
func (*CreatePrivateEndpointServiceInternalServerErrorBody) MarshalBinary ¶
func (o *CreatePrivateEndpointServiceInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointServiceInternalServerErrorBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointServiceInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointServiceNotFound ¶
type CreatePrivateEndpointServiceNotFound struct {
Payload *CreatePrivateEndpointServiceNotFoundBody
}
CreatePrivateEndpointServiceNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewCreatePrivateEndpointServiceNotFound ¶
func NewCreatePrivateEndpointServiceNotFound() *CreatePrivateEndpointServiceNotFound
NewCreatePrivateEndpointServiceNotFound creates a CreatePrivateEndpointServiceNotFound with default headers values
func (*CreatePrivateEndpointServiceNotFound) Code ¶
func (o *CreatePrivateEndpointServiceNotFound) Code() int
Code gets the status code for the create private endpoint service not found response
func (*CreatePrivateEndpointServiceNotFound) Error ¶
func (o *CreatePrivateEndpointServiceNotFound) Error() string
func (*CreatePrivateEndpointServiceNotFound) GetPayload ¶
func (o *CreatePrivateEndpointServiceNotFound) GetPayload() *CreatePrivateEndpointServiceNotFoundBody
func (*CreatePrivateEndpointServiceNotFound) IsClientError ¶
func (o *CreatePrivateEndpointServiceNotFound) IsClientError() bool
IsClientError returns true when this create private endpoint service not found response has a 4xx status code
func (*CreatePrivateEndpointServiceNotFound) IsCode ¶
func (o *CreatePrivateEndpointServiceNotFound) IsCode(code int) bool
IsCode returns true when this create private endpoint service not found response a status code equal to that given
func (*CreatePrivateEndpointServiceNotFound) IsRedirect ¶
func (o *CreatePrivateEndpointServiceNotFound) IsRedirect() bool
IsRedirect returns true when this create private endpoint service not found response has a 3xx status code
func (*CreatePrivateEndpointServiceNotFound) IsServerError ¶
func (o *CreatePrivateEndpointServiceNotFound) IsServerError() bool
IsServerError returns true when this create private endpoint service not found response has a 5xx status code
func (*CreatePrivateEndpointServiceNotFound) IsSuccess ¶
func (o *CreatePrivateEndpointServiceNotFound) IsSuccess() bool
IsSuccess returns true when this create private endpoint service not found response has a 2xx status code
func (*CreatePrivateEndpointServiceNotFound) String ¶
func (o *CreatePrivateEndpointServiceNotFound) String() string
type CreatePrivateEndpointServiceNotFoundBody ¶
type CreatePrivateEndpointServiceNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreatePrivateEndpointServiceNotFoundBody create private endpoint service not found body swagger:model CreatePrivateEndpointServiceNotFoundBody
func (*CreatePrivateEndpointServiceNotFoundBody) ContextValidate ¶
func (o *CreatePrivateEndpointServiceNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint service not found body based on context it is used
func (*CreatePrivateEndpointServiceNotFoundBody) MarshalBinary ¶
func (o *CreatePrivateEndpointServiceNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointServiceNotFoundBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointServiceNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointServiceOK ¶
type CreatePrivateEndpointServiceOK struct {
Payload *CreatePrivateEndpointServiceOKBody
}
CreatePrivateEndpointServiceOK describes a response with status code 200, with default header values.
A successful response.
func NewCreatePrivateEndpointServiceOK ¶
func NewCreatePrivateEndpointServiceOK() *CreatePrivateEndpointServiceOK
NewCreatePrivateEndpointServiceOK creates a CreatePrivateEndpointServiceOK with default headers values
func (*CreatePrivateEndpointServiceOK) Code ¶
func (o *CreatePrivateEndpointServiceOK) Code() int
Code gets the status code for the create private endpoint service o k response
func (*CreatePrivateEndpointServiceOK) Error ¶
func (o *CreatePrivateEndpointServiceOK) Error() string
func (*CreatePrivateEndpointServiceOK) GetPayload ¶
func (o *CreatePrivateEndpointServiceOK) GetPayload() *CreatePrivateEndpointServiceOKBody
func (*CreatePrivateEndpointServiceOK) IsClientError ¶
func (o *CreatePrivateEndpointServiceOK) IsClientError() bool
IsClientError returns true when this create private endpoint service o k response has a 4xx status code
func (*CreatePrivateEndpointServiceOK) IsCode ¶
func (o *CreatePrivateEndpointServiceOK) IsCode(code int) bool
IsCode returns true when this create private endpoint service o k response a status code equal to that given
func (*CreatePrivateEndpointServiceOK) IsRedirect ¶
func (o *CreatePrivateEndpointServiceOK) IsRedirect() bool
IsRedirect returns true when this create private endpoint service o k response has a 3xx status code
func (*CreatePrivateEndpointServiceOK) IsServerError ¶
func (o *CreatePrivateEndpointServiceOK) IsServerError() bool
IsServerError returns true when this create private endpoint service o k response has a 5xx status code
func (*CreatePrivateEndpointServiceOK) IsSuccess ¶
func (o *CreatePrivateEndpointServiceOK) IsSuccess() bool
IsSuccess returns true when this create private endpoint service o k response has a 2xx status code
func (*CreatePrivateEndpointServiceOK) String ¶
func (o *CreatePrivateEndpointServiceOK) String() string
type CreatePrivateEndpointServiceOKBody ¶
type CreatePrivateEndpointServiceOKBody struct { // private endpoint service // Required: true PrivateEndpointService *CreatePrivateEndpointServiceOKBodyPrivateEndpointService `json:"private_endpoint_service"` }
CreatePrivateEndpointServiceOKBody CreatePrivateEndpointServiceResp // // CreatePrivateEndpointServiceResp is the response for creating private endpoint service for a cluster. swagger:model CreatePrivateEndpointServiceOKBody
func (*CreatePrivateEndpointServiceOKBody) ContextValidate ¶
func (o *CreatePrivateEndpointServiceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create private endpoint service o k body based on the context it is used
func (*CreatePrivateEndpointServiceOKBody) MarshalBinary ¶
func (o *CreatePrivateEndpointServiceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointServiceOKBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointServiceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointServiceOKBodyPrivateEndpointService ¶
type CreatePrivateEndpointServiceOKBodyPrivateEndpointService struct { // Availability zones for the private endpoint service. This field is only applicable when the `cloud_provider` is `"AWS"`. // Example: ["usw2-az2","usw2-az1"] AzIds []string `json:"az_ids"` // The cloud provider on which the private endpoint service is hosted. // - `"AWS"`: the Amazon Web Services cloud provider // - `"GCP"`: the Google Cloud cloud provider // Example: AWS // Enum: [AWS GCP] CloudProvider string `json:"cloud_provider,omitempty"` // The DNS name of the private endpoint service. // Example: privatelink-tidb.01234567890.clusters.tidb-cloud.com DNSName string `json:"dns_name,omitempty"` // The name of the private endpoint service, which is used for connection. // Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456 Name string `json:"name,omitempty"` // The port of the private endpoint service. // Example: 4000 Port int32 `json:"port,omitempty"` // The status of the private endpoint service. // Example: ACTIVE // Enum: [CREATING ACTIVE DELETING] Status string `json:"status,omitempty"` }
CreatePrivateEndpointServiceOKBodyPrivateEndpointService The newly created private endpoint service resource. swagger:model CreatePrivateEndpointServiceOKBodyPrivateEndpointService
func (*CreatePrivateEndpointServiceOKBodyPrivateEndpointService) ContextValidate ¶
func (o *CreatePrivateEndpointServiceOKBodyPrivateEndpointService) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint service o k body private endpoint service based on context it is used
func (*CreatePrivateEndpointServiceOKBodyPrivateEndpointService) MarshalBinary ¶
func (o *CreatePrivateEndpointServiceOKBodyPrivateEndpointService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointServiceOKBodyPrivateEndpointService) UnmarshalBinary ¶
func (o *CreatePrivateEndpointServiceOKBodyPrivateEndpointService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointServiceParams ¶
type CreatePrivateEndpointServiceParams struct { // Body. Body interface{} /* ClusterID. The ID of the cluster. Format: uint64 */ ClusterID string /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePrivateEndpointServiceParams contains all the parameters to send to the API endpoint
for the create private endpoint service operation. Typically these are written to a http.Request.
func NewCreatePrivateEndpointServiceParams ¶
func NewCreatePrivateEndpointServiceParams() *CreatePrivateEndpointServiceParams
NewCreatePrivateEndpointServiceParams creates a new CreatePrivateEndpointServiceParams 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 NewCreatePrivateEndpointServiceParamsWithContext ¶
func NewCreatePrivateEndpointServiceParamsWithContext(ctx context.Context) *CreatePrivateEndpointServiceParams
NewCreatePrivateEndpointServiceParamsWithContext creates a new CreatePrivateEndpointServiceParams object with the ability to set a context for a request.
func NewCreatePrivateEndpointServiceParamsWithHTTPClient ¶
func NewCreatePrivateEndpointServiceParamsWithHTTPClient(client *http.Client) *CreatePrivateEndpointServiceParams
NewCreatePrivateEndpointServiceParamsWithHTTPClient creates a new CreatePrivateEndpointServiceParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePrivateEndpointServiceParamsWithTimeout ¶
func NewCreatePrivateEndpointServiceParamsWithTimeout(timeout time.Duration) *CreatePrivateEndpointServiceParams
NewCreatePrivateEndpointServiceParamsWithTimeout creates a new CreatePrivateEndpointServiceParams object with the ability to set a timeout on a request.
func (*CreatePrivateEndpointServiceParams) SetBody ¶
func (o *CreatePrivateEndpointServiceParams) SetBody(body interface{})
SetBody adds the body to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) SetClusterID ¶
func (o *CreatePrivateEndpointServiceParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) SetContext ¶
func (o *CreatePrivateEndpointServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) SetDefaults ¶
func (o *CreatePrivateEndpointServiceParams) SetDefaults()
SetDefaults hydrates default values in the create private endpoint service params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivateEndpointServiceParams) SetHTTPClient ¶
func (o *CreatePrivateEndpointServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) SetProjectID ¶
func (o *CreatePrivateEndpointServiceParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) SetTimeout ¶
func (o *CreatePrivateEndpointServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) WithBody ¶
func (o *CreatePrivateEndpointServiceParams) WithBody(body interface{}) *CreatePrivateEndpointServiceParams
WithBody adds the body to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) WithClusterID ¶
func (o *CreatePrivateEndpointServiceParams) WithClusterID(clusterID string) *CreatePrivateEndpointServiceParams
WithClusterID adds the clusterID to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) WithContext ¶
func (o *CreatePrivateEndpointServiceParams) WithContext(ctx context.Context) *CreatePrivateEndpointServiceParams
WithContext adds the context to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) WithDefaults ¶
func (o *CreatePrivateEndpointServiceParams) WithDefaults() *CreatePrivateEndpointServiceParams
WithDefaults hydrates default values in the create private endpoint service params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePrivateEndpointServiceParams) WithHTTPClient ¶
func (o *CreatePrivateEndpointServiceParams) WithHTTPClient(client *http.Client) *CreatePrivateEndpointServiceParams
WithHTTPClient adds the HTTPClient to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) WithProjectID ¶
func (o *CreatePrivateEndpointServiceParams) WithProjectID(projectID string) *CreatePrivateEndpointServiceParams
WithProjectID adds the projectID to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) WithTimeout ¶
func (o *CreatePrivateEndpointServiceParams) WithTimeout(timeout time.Duration) *CreatePrivateEndpointServiceParams
WithTimeout adds the timeout to the create private endpoint service params
func (*CreatePrivateEndpointServiceParams) WriteToRequest ¶
func (o *CreatePrivateEndpointServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePrivateEndpointServiceReader ¶
type CreatePrivateEndpointServiceReader struct {
// contains filtered or unexported fields
}
CreatePrivateEndpointServiceReader is a Reader for the CreatePrivateEndpointService structure.
func (*CreatePrivateEndpointServiceReader) ReadResponse ¶
func (o *CreatePrivateEndpointServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePrivateEndpointServiceTooManyRequests ¶
type CreatePrivateEndpointServiceTooManyRequests struct {
Payload *CreatePrivateEndpointServiceTooManyRequestsBody
}
CreatePrivateEndpointServiceTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewCreatePrivateEndpointServiceTooManyRequests ¶
func NewCreatePrivateEndpointServiceTooManyRequests() *CreatePrivateEndpointServiceTooManyRequests
NewCreatePrivateEndpointServiceTooManyRequests creates a CreatePrivateEndpointServiceTooManyRequests with default headers values
func (*CreatePrivateEndpointServiceTooManyRequests) Code ¶
func (o *CreatePrivateEndpointServiceTooManyRequests) Code() int
Code gets the status code for the create private endpoint service too many requests response
func (*CreatePrivateEndpointServiceTooManyRequests) Error ¶
func (o *CreatePrivateEndpointServiceTooManyRequests) Error() string
func (*CreatePrivateEndpointServiceTooManyRequests) GetPayload ¶
func (o *CreatePrivateEndpointServiceTooManyRequests) GetPayload() *CreatePrivateEndpointServiceTooManyRequestsBody
func (*CreatePrivateEndpointServiceTooManyRequests) IsClientError ¶
func (o *CreatePrivateEndpointServiceTooManyRequests) IsClientError() bool
IsClientError returns true when this create private endpoint service too many requests response has a 4xx status code
func (*CreatePrivateEndpointServiceTooManyRequests) IsCode ¶
func (o *CreatePrivateEndpointServiceTooManyRequests) IsCode(code int) bool
IsCode returns true when this create private endpoint service too many requests response a status code equal to that given
func (*CreatePrivateEndpointServiceTooManyRequests) IsRedirect ¶
func (o *CreatePrivateEndpointServiceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create private endpoint service too many requests response has a 3xx status code
func (*CreatePrivateEndpointServiceTooManyRequests) IsServerError ¶
func (o *CreatePrivateEndpointServiceTooManyRequests) IsServerError() bool
IsServerError returns true when this create private endpoint service too many requests response has a 5xx status code
func (*CreatePrivateEndpointServiceTooManyRequests) IsSuccess ¶
func (o *CreatePrivateEndpointServiceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create private endpoint service too many requests response has a 2xx status code
func (*CreatePrivateEndpointServiceTooManyRequests) String ¶
func (o *CreatePrivateEndpointServiceTooManyRequests) String() string
type CreatePrivateEndpointServiceTooManyRequestsBody ¶
type CreatePrivateEndpointServiceTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreatePrivateEndpointServiceTooManyRequestsBody create private endpoint service too many requests body swagger:model CreatePrivateEndpointServiceTooManyRequestsBody
func (*CreatePrivateEndpointServiceTooManyRequestsBody) ContextValidate ¶
func (o *CreatePrivateEndpointServiceTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint service too many requests body based on context it is used
func (*CreatePrivateEndpointServiceTooManyRequestsBody) MarshalBinary ¶
func (o *CreatePrivateEndpointServiceTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointServiceTooManyRequestsBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointServiceTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointServiceUnauthorized ¶
type CreatePrivateEndpointServiceUnauthorized struct {
}CreatePrivateEndpointServiceUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewCreatePrivateEndpointServiceUnauthorized ¶
func NewCreatePrivateEndpointServiceUnauthorized() *CreatePrivateEndpointServiceUnauthorized
NewCreatePrivateEndpointServiceUnauthorized creates a CreatePrivateEndpointServiceUnauthorized with default headers values
func (*CreatePrivateEndpointServiceUnauthorized) Code ¶
func (o *CreatePrivateEndpointServiceUnauthorized) Code() int
Code gets the status code for the create private endpoint service unauthorized response
func (*CreatePrivateEndpointServiceUnauthorized) Error ¶
func (o *CreatePrivateEndpointServiceUnauthorized) Error() string
func (*CreatePrivateEndpointServiceUnauthorized) GetPayload ¶
func (o *CreatePrivateEndpointServiceUnauthorized) GetPayload() interface{}
func (*CreatePrivateEndpointServiceUnauthorized) IsClientError ¶
func (o *CreatePrivateEndpointServiceUnauthorized) IsClientError() bool
IsClientError returns true when this create private endpoint service unauthorized response has a 4xx status code
func (*CreatePrivateEndpointServiceUnauthorized) IsCode ¶
func (o *CreatePrivateEndpointServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this create private endpoint service unauthorized response a status code equal to that given
func (*CreatePrivateEndpointServiceUnauthorized) IsRedirect ¶
func (o *CreatePrivateEndpointServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this create private endpoint service unauthorized response has a 3xx status code
func (*CreatePrivateEndpointServiceUnauthorized) IsServerError ¶
func (o *CreatePrivateEndpointServiceUnauthorized) IsServerError() bool
IsServerError returns true when this create private endpoint service unauthorized response has a 5xx status code
func (*CreatePrivateEndpointServiceUnauthorized) IsSuccess ¶
func (o *CreatePrivateEndpointServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this create private endpoint service unauthorized response has a 2xx status code
func (*CreatePrivateEndpointServiceUnauthorized) String ¶
func (o *CreatePrivateEndpointServiceUnauthorized) String() string
type CreatePrivateEndpointTooManyRequests ¶
type CreatePrivateEndpointTooManyRequests struct {
Payload *CreatePrivateEndpointTooManyRequestsBody
}
CreatePrivateEndpointTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewCreatePrivateEndpointTooManyRequests ¶
func NewCreatePrivateEndpointTooManyRequests() *CreatePrivateEndpointTooManyRequests
NewCreatePrivateEndpointTooManyRequests creates a CreatePrivateEndpointTooManyRequests with default headers values
func (*CreatePrivateEndpointTooManyRequests) Code ¶
func (o *CreatePrivateEndpointTooManyRequests) Code() int
Code gets the status code for the create private endpoint too many requests response
func (*CreatePrivateEndpointTooManyRequests) Error ¶
func (o *CreatePrivateEndpointTooManyRequests) Error() string
func (*CreatePrivateEndpointTooManyRequests) GetPayload ¶
func (o *CreatePrivateEndpointTooManyRequests) GetPayload() *CreatePrivateEndpointTooManyRequestsBody
func (*CreatePrivateEndpointTooManyRequests) IsClientError ¶
func (o *CreatePrivateEndpointTooManyRequests) IsClientError() bool
IsClientError returns true when this create private endpoint too many requests response has a 4xx status code
func (*CreatePrivateEndpointTooManyRequests) IsCode ¶
func (o *CreatePrivateEndpointTooManyRequests) IsCode(code int) bool
IsCode returns true when this create private endpoint too many requests response a status code equal to that given
func (*CreatePrivateEndpointTooManyRequests) IsRedirect ¶
func (o *CreatePrivateEndpointTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create private endpoint too many requests response has a 3xx status code
func (*CreatePrivateEndpointTooManyRequests) IsServerError ¶
func (o *CreatePrivateEndpointTooManyRequests) IsServerError() bool
IsServerError returns true when this create private endpoint too many requests response has a 5xx status code
func (*CreatePrivateEndpointTooManyRequests) IsSuccess ¶
func (o *CreatePrivateEndpointTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create private endpoint too many requests response has a 2xx status code
func (*CreatePrivateEndpointTooManyRequests) String ¶
func (o *CreatePrivateEndpointTooManyRequests) String() string
type CreatePrivateEndpointTooManyRequestsBody ¶
type CreatePrivateEndpointTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreatePrivateEndpointTooManyRequestsBody create private endpoint too many requests body swagger:model CreatePrivateEndpointTooManyRequestsBody
func (*CreatePrivateEndpointTooManyRequestsBody) ContextValidate ¶
func (o *CreatePrivateEndpointTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create private endpoint too many requests body based on context it is used
func (*CreatePrivateEndpointTooManyRequestsBody) MarshalBinary ¶
func (o *CreatePrivateEndpointTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePrivateEndpointTooManyRequestsBody) UnmarshalBinary ¶
func (o *CreatePrivateEndpointTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePrivateEndpointUnauthorized ¶
type CreatePrivateEndpointUnauthorized struct {
}CreatePrivateEndpointUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewCreatePrivateEndpointUnauthorized ¶
func NewCreatePrivateEndpointUnauthorized() *CreatePrivateEndpointUnauthorized
NewCreatePrivateEndpointUnauthorized creates a CreatePrivateEndpointUnauthorized with default headers values
func (*CreatePrivateEndpointUnauthorized) Code ¶
func (o *CreatePrivateEndpointUnauthorized) Code() int
Code gets the status code for the create private endpoint unauthorized response
func (*CreatePrivateEndpointUnauthorized) Error ¶
func (o *CreatePrivateEndpointUnauthorized) Error() string
func (*CreatePrivateEndpointUnauthorized) GetPayload ¶
func (o *CreatePrivateEndpointUnauthorized) GetPayload() interface{}
func (*CreatePrivateEndpointUnauthorized) IsClientError ¶
func (o *CreatePrivateEndpointUnauthorized) IsClientError() bool
IsClientError returns true when this create private endpoint unauthorized response has a 4xx status code
func (*CreatePrivateEndpointUnauthorized) IsCode ¶
func (o *CreatePrivateEndpointUnauthorized) IsCode(code int) bool
IsCode returns true when this create private endpoint unauthorized response a status code equal to that given
func (*CreatePrivateEndpointUnauthorized) IsRedirect ¶
func (o *CreatePrivateEndpointUnauthorized) IsRedirect() bool
IsRedirect returns true when this create private endpoint unauthorized response has a 3xx status code
func (*CreatePrivateEndpointUnauthorized) IsServerError ¶
func (o *CreatePrivateEndpointUnauthorized) IsServerError() bool
IsServerError returns true when this create private endpoint unauthorized response has a 5xx status code
func (*CreatePrivateEndpointUnauthorized) IsSuccess ¶
func (o *CreatePrivateEndpointUnauthorized) IsSuccess() bool
IsSuccess returns true when this create private endpoint unauthorized response has a 2xx status code
func (*CreatePrivateEndpointUnauthorized) String ¶
func (o *CreatePrivateEndpointUnauthorized) String() string
type DeleteClusterBadRequest ¶
type DeleteClusterBadRequest struct {
Payload *DeleteClusterBadRequestBody
}
DeleteClusterBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewDeleteClusterBadRequest ¶
func NewDeleteClusterBadRequest() *DeleteClusterBadRequest
NewDeleteClusterBadRequest creates a DeleteClusterBadRequest with default headers values
func (*DeleteClusterBadRequest) Code ¶
func (o *DeleteClusterBadRequest) Code() int
Code gets the status code for the delete cluster bad request response
func (*DeleteClusterBadRequest) Error ¶
func (o *DeleteClusterBadRequest) Error() string
func (*DeleteClusterBadRequest) GetPayload ¶
func (o *DeleteClusterBadRequest) GetPayload() *DeleteClusterBadRequestBody
func (*DeleteClusterBadRequest) IsClientError ¶
func (o *DeleteClusterBadRequest) IsClientError() bool
IsClientError returns true when this delete cluster bad request response has a 4xx status code
func (*DeleteClusterBadRequest) IsCode ¶
func (o *DeleteClusterBadRequest) IsCode(code int) bool
IsCode returns true when this delete cluster bad request response a status code equal to that given
func (*DeleteClusterBadRequest) IsRedirect ¶
func (o *DeleteClusterBadRequest) IsRedirect() bool
IsRedirect returns true when this delete cluster bad request response has a 3xx status code
func (*DeleteClusterBadRequest) IsServerError ¶
func (o *DeleteClusterBadRequest) IsServerError() bool
IsServerError returns true when this delete cluster bad request response has a 5xx status code
func (*DeleteClusterBadRequest) IsSuccess ¶
func (o *DeleteClusterBadRequest) IsSuccess() bool
IsSuccess returns true when this delete cluster bad request response has a 2xx status code
func (*DeleteClusterBadRequest) String ¶
func (o *DeleteClusterBadRequest) String() string
type DeleteClusterBadRequestBody ¶
type DeleteClusterBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
DeleteClusterBadRequestBody delete cluster bad request body swagger:model DeleteClusterBadRequestBody
func (*DeleteClusterBadRequestBody) ContextValidate ¶
func (o *DeleteClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete cluster bad request body based on context it is used
func (*DeleteClusterBadRequestBody) MarshalBinary ¶
func (o *DeleteClusterBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteClusterBadRequestBody) UnmarshalBinary ¶
func (o *DeleteClusterBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteClusterDefault ¶
type DeleteClusterDefault struct { Payload *DeleteClusterDefaultBody // contains filtered or unexported fields }
DeleteClusterDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteClusterDefault ¶
func NewDeleteClusterDefault(code int) *DeleteClusterDefault
NewDeleteClusterDefault creates a DeleteClusterDefault with default headers values
func (*DeleteClusterDefault) Code ¶
func (o *DeleteClusterDefault) Code() int
Code gets the status code for the delete cluster default response
func (*DeleteClusterDefault) Error ¶
func (o *DeleteClusterDefault) Error() string
func (*DeleteClusterDefault) GetPayload ¶
func (o *DeleteClusterDefault) GetPayload() *DeleteClusterDefaultBody
func (*DeleteClusterDefault) IsClientError ¶
func (o *DeleteClusterDefault) IsClientError() bool
IsClientError returns true when this delete cluster default response has a 4xx status code
func (*DeleteClusterDefault) IsCode ¶
func (o *DeleteClusterDefault) IsCode(code int) bool
IsCode returns true when this delete cluster default response a status code equal to that given
func (*DeleteClusterDefault) IsRedirect ¶
func (o *DeleteClusterDefault) IsRedirect() bool
IsRedirect returns true when this delete cluster default response has a 3xx status code
func (*DeleteClusterDefault) IsServerError ¶
func (o *DeleteClusterDefault) IsServerError() bool
IsServerError returns true when this delete cluster default response has a 5xx status code
func (*DeleteClusterDefault) IsSuccess ¶
func (o *DeleteClusterDefault) IsSuccess() bool
IsSuccess returns true when this delete cluster default response has a 2xx status code
func (*DeleteClusterDefault) String ¶
func (o *DeleteClusterDefault) String() string
type DeleteClusterDefaultBody ¶
type DeleteClusterDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*DeleteClusterDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
DeleteClusterDefaultBody delete cluster default body swagger:model DeleteClusterDefaultBody
func (*DeleteClusterDefaultBody) ContextValidate ¶
func (o *DeleteClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete cluster default body based on the context it is used
func (*DeleteClusterDefaultBody) MarshalBinary ¶
func (o *DeleteClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteClusterDefaultBody) UnmarshalBinary ¶
func (o *DeleteClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteClusterDefaultBodyDetailsItems0 ¶
type DeleteClusterDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
DeleteClusterDefaultBodyDetailsItems0 delete cluster default body details items0 swagger:model DeleteClusterDefaultBodyDetailsItems0
func (*DeleteClusterDefaultBodyDetailsItems0) ContextValidate ¶
func (o *DeleteClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete cluster default body details items0 based on context it is used
func (*DeleteClusterDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *DeleteClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteClusterDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *DeleteClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteClusterForbidden ¶
type DeleteClusterForbidden struct {
Payload *DeleteClusterForbiddenBody
}
DeleteClusterForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewDeleteClusterForbidden ¶
func NewDeleteClusterForbidden() *DeleteClusterForbidden
NewDeleteClusterForbidden creates a DeleteClusterForbidden with default headers values
func (*DeleteClusterForbidden) Code ¶
func (o *DeleteClusterForbidden) Code() int
Code gets the status code for the delete cluster forbidden response
func (*DeleteClusterForbidden) Error ¶
func (o *DeleteClusterForbidden) Error() string
func (*DeleteClusterForbidden) GetPayload ¶
func (o *DeleteClusterForbidden) GetPayload() *DeleteClusterForbiddenBody
func (*DeleteClusterForbidden) IsClientError ¶
func (o *DeleteClusterForbidden) IsClientError() bool
IsClientError returns true when this delete cluster forbidden response has a 4xx status code
func (*DeleteClusterForbidden) IsCode ¶
func (o *DeleteClusterForbidden) IsCode(code int) bool
IsCode returns true when this delete cluster forbidden response a status code equal to that given
func (*DeleteClusterForbidden) IsRedirect ¶
func (o *DeleteClusterForbidden) IsRedirect() bool
IsRedirect returns true when this delete cluster forbidden response has a 3xx status code
func (*DeleteClusterForbidden) IsServerError ¶
func (o *DeleteClusterForbidden) IsServerError() bool
IsServerError returns true when this delete cluster forbidden response has a 5xx status code
func (*DeleteClusterForbidden) IsSuccess ¶
func (o *DeleteClusterForbidden) IsSuccess() bool
IsSuccess returns true when this delete cluster forbidden response has a 2xx status code
func (*DeleteClusterForbidden) String ¶
func (o *DeleteClusterForbidden) String() string
type DeleteClusterForbiddenBody ¶
type DeleteClusterForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
DeleteClusterForbiddenBody delete cluster forbidden body swagger:model DeleteClusterForbiddenBody
func (*DeleteClusterForbiddenBody) ContextValidate ¶
func (o *DeleteClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete cluster forbidden body based on context it is used
func (*DeleteClusterForbiddenBody) MarshalBinary ¶
func (o *DeleteClusterForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteClusterForbiddenBody) UnmarshalBinary ¶
func (o *DeleteClusterForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteClusterInternalServerError ¶
type DeleteClusterInternalServerError struct {
Payload *DeleteClusterInternalServerErrorBody
}
DeleteClusterInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewDeleteClusterInternalServerError ¶
func NewDeleteClusterInternalServerError() *DeleteClusterInternalServerError
NewDeleteClusterInternalServerError creates a DeleteClusterInternalServerError with default headers values
func (*DeleteClusterInternalServerError) Code ¶
func (o *DeleteClusterInternalServerError) Code() int
Code gets the status code for the delete cluster internal server error response
func (*DeleteClusterInternalServerError) Error ¶
func (o *DeleteClusterInternalServerError) Error() string
func (*DeleteClusterInternalServerError) GetPayload ¶
func (o *DeleteClusterInternalServerError) GetPayload() *DeleteClusterInternalServerErrorBody
func (*DeleteClusterInternalServerError) IsClientError ¶
func (o *DeleteClusterInternalServerError) IsClientError() bool
IsClientError returns true when this delete cluster internal server error response has a 4xx status code
func (*DeleteClusterInternalServerError) IsCode ¶
func (o *DeleteClusterInternalServerError) IsCode(code int) bool
IsCode returns true when this delete cluster internal server error response a status code equal to that given
func (*DeleteClusterInternalServerError) IsRedirect ¶
func (o *DeleteClusterInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete cluster internal server error response has a 3xx status code
func (*DeleteClusterInternalServerError) IsServerError ¶
func (o *DeleteClusterInternalServerError) IsServerError() bool
IsServerError returns true when this delete cluster internal server error response has a 5xx status code
func (*DeleteClusterInternalServerError) IsSuccess ¶
func (o *DeleteClusterInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete cluster internal server error response has a 2xx status code
func (*DeleteClusterInternalServerError) String ¶
func (o *DeleteClusterInternalServerError) String() string
type DeleteClusterInternalServerErrorBody ¶
type DeleteClusterInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
DeleteClusterInternalServerErrorBody delete cluster internal server error body swagger:model DeleteClusterInternalServerErrorBody
func (*DeleteClusterInternalServerErrorBody) ContextValidate ¶
func (o *DeleteClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete cluster internal server error body based on context it is used
func (*DeleteClusterInternalServerErrorBody) MarshalBinary ¶
func (o *DeleteClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteClusterInternalServerErrorBody) UnmarshalBinary ¶
func (o *DeleteClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteClusterNotFound ¶
type DeleteClusterNotFound struct {
Payload *DeleteClusterNotFoundBody
}
DeleteClusterNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewDeleteClusterNotFound ¶
func NewDeleteClusterNotFound() *DeleteClusterNotFound
NewDeleteClusterNotFound creates a DeleteClusterNotFound with default headers values
func (*DeleteClusterNotFound) Code ¶
func (o *DeleteClusterNotFound) Code() int
Code gets the status code for the delete cluster not found response
func (*DeleteClusterNotFound) Error ¶
func (o *DeleteClusterNotFound) Error() string
func (*DeleteClusterNotFound) GetPayload ¶
func (o *DeleteClusterNotFound) GetPayload() *DeleteClusterNotFoundBody
func (*DeleteClusterNotFound) IsClientError ¶
func (o *DeleteClusterNotFound) IsClientError() bool
IsClientError returns true when this delete cluster not found response has a 4xx status code
func (*DeleteClusterNotFound) IsCode ¶
func (o *DeleteClusterNotFound) IsCode(code int) bool
IsCode returns true when this delete cluster not found response a status code equal to that given
func (*DeleteClusterNotFound) IsRedirect ¶
func (o *DeleteClusterNotFound) IsRedirect() bool
IsRedirect returns true when this delete cluster not found response has a 3xx status code
func (*DeleteClusterNotFound) IsServerError ¶
func (o *DeleteClusterNotFound) IsServerError() bool
IsServerError returns true when this delete cluster not found response has a 5xx status code
func (*DeleteClusterNotFound) IsSuccess ¶
func (o *DeleteClusterNotFound) IsSuccess() bool
IsSuccess returns true when this delete cluster not found response has a 2xx status code
func (*DeleteClusterNotFound) String ¶
func (o *DeleteClusterNotFound) String() string
type DeleteClusterNotFoundBody ¶
type DeleteClusterNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
DeleteClusterNotFoundBody delete cluster not found body swagger:model DeleteClusterNotFoundBody
func (*DeleteClusterNotFoundBody) ContextValidate ¶
func (o *DeleteClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete cluster not found body based on context it is used
func (*DeleteClusterNotFoundBody) MarshalBinary ¶
func (o *DeleteClusterNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteClusterNotFoundBody) UnmarshalBinary ¶
func (o *DeleteClusterNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteClusterOK ¶
type DeleteClusterOK struct {
Payload interface{}
}
DeleteClusterOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteClusterOK ¶
func NewDeleteClusterOK() *DeleteClusterOK
NewDeleteClusterOK creates a DeleteClusterOK with default headers values
func (*DeleteClusterOK) Code ¶
func (o *DeleteClusterOK) Code() int
Code gets the status code for the delete cluster o k response
func (*DeleteClusterOK) Error ¶
func (o *DeleteClusterOK) Error() string
func (*DeleteClusterOK) GetPayload ¶
func (o *DeleteClusterOK) GetPayload() interface{}
func (*DeleteClusterOK) IsClientError ¶
func (o *DeleteClusterOK) IsClientError() bool
IsClientError returns true when this delete cluster o k response has a 4xx status code
func (*DeleteClusterOK) IsCode ¶
func (o *DeleteClusterOK) IsCode(code int) bool
IsCode returns true when this delete cluster o k response a status code equal to that given
func (*DeleteClusterOK) IsRedirect ¶
func (o *DeleteClusterOK) IsRedirect() bool
IsRedirect returns true when this delete cluster o k response has a 3xx status code
func (*DeleteClusterOK) IsServerError ¶
func (o *DeleteClusterOK) IsServerError() bool
IsServerError returns true when this delete cluster o k response has a 5xx status code
func (*DeleteClusterOK) IsSuccess ¶
func (o *DeleteClusterOK) IsSuccess() bool
IsSuccess returns true when this delete cluster o k response has a 2xx status code
func (*DeleteClusterOK) String ¶
func (o *DeleteClusterOK) String() string
type DeleteClusterParams ¶
type DeleteClusterParams struct { /* ClusterID. The ID of the cluster. Format: uint64 */ ClusterID string /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterParams contains all the parameters to send to the API endpoint
for the delete cluster operation. Typically these are written to a http.Request.
func NewDeleteClusterParams ¶
func NewDeleteClusterParams() *DeleteClusterParams
NewDeleteClusterParams creates a new DeleteClusterParams 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 NewDeleteClusterParamsWithContext ¶
func NewDeleteClusterParamsWithContext(ctx context.Context) *DeleteClusterParams
NewDeleteClusterParamsWithContext creates a new DeleteClusterParams object with the ability to set a context for a request.
func NewDeleteClusterParamsWithHTTPClient ¶
func NewDeleteClusterParamsWithHTTPClient(client *http.Client) *DeleteClusterParams
NewDeleteClusterParamsWithHTTPClient creates a new DeleteClusterParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteClusterParamsWithTimeout ¶
func NewDeleteClusterParamsWithTimeout(timeout time.Duration) *DeleteClusterParams
NewDeleteClusterParamsWithTimeout creates a new DeleteClusterParams object with the ability to set a timeout on a request.
func (*DeleteClusterParams) SetClusterID ¶
func (o *DeleteClusterParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the delete cluster params
func (*DeleteClusterParams) SetContext ¶
func (o *DeleteClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster params
func (*DeleteClusterParams) SetDefaults ¶
func (o *DeleteClusterParams) SetDefaults()
SetDefaults hydrates default values in the delete cluster params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterParams) SetHTTPClient ¶
func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) SetProjectID ¶
func (o *DeleteClusterParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the delete cluster params
func (*DeleteClusterParams) SetTimeout ¶
func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster params
func (*DeleteClusterParams) WithClusterID ¶
func (o *DeleteClusterParams) WithClusterID(clusterID string) *DeleteClusterParams
WithClusterID adds the clusterID to the delete cluster params
func (*DeleteClusterParams) WithContext ¶
func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
WithContext adds the context to the delete cluster params
func (*DeleteClusterParams) WithDefaults ¶
func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
WithDefaults hydrates default values in the delete cluster params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterParams) WithHTTPClient ¶
func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
WithHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) WithProjectID ¶
func (o *DeleteClusterParams) WithProjectID(projectID string) *DeleteClusterParams
WithProjectID adds the projectID to the delete cluster params
func (*DeleteClusterParams) WithTimeout ¶
func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
WithTimeout adds the timeout to the delete cluster params
func (*DeleteClusterParams) WriteToRequest ¶
func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterReader ¶
type DeleteClusterReader struct {
// contains filtered or unexported fields
}
DeleteClusterReader is a Reader for the DeleteCluster structure.
func (*DeleteClusterReader) ReadResponse ¶
func (o *DeleteClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterTooManyRequests ¶
type DeleteClusterTooManyRequests struct {
Payload *DeleteClusterTooManyRequestsBody
}
DeleteClusterTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewDeleteClusterTooManyRequests ¶
func NewDeleteClusterTooManyRequests() *DeleteClusterTooManyRequests
NewDeleteClusterTooManyRequests creates a DeleteClusterTooManyRequests with default headers values
func (*DeleteClusterTooManyRequests) Code ¶
func (o *DeleteClusterTooManyRequests) Code() int
Code gets the status code for the delete cluster too many requests response
func (*DeleteClusterTooManyRequests) Error ¶
func (o *DeleteClusterTooManyRequests) Error() string
func (*DeleteClusterTooManyRequests) GetPayload ¶
func (o *DeleteClusterTooManyRequests) GetPayload() *DeleteClusterTooManyRequestsBody
func (*DeleteClusterTooManyRequests) IsClientError ¶
func (o *DeleteClusterTooManyRequests) IsClientError() bool
IsClientError returns true when this delete cluster too many requests response has a 4xx status code
func (*DeleteClusterTooManyRequests) IsCode ¶
func (o *DeleteClusterTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete cluster too many requests response a status code equal to that given
func (*DeleteClusterTooManyRequests) IsRedirect ¶
func (o *DeleteClusterTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete cluster too many requests response has a 3xx status code
func (*DeleteClusterTooManyRequests) IsServerError ¶
func (o *DeleteClusterTooManyRequests) IsServerError() bool
IsServerError returns true when this delete cluster too many requests response has a 5xx status code
func (*DeleteClusterTooManyRequests) IsSuccess ¶
func (o *DeleteClusterTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete cluster too many requests response has a 2xx status code
func (*DeleteClusterTooManyRequests) String ¶
func (o *DeleteClusterTooManyRequests) String() string
type DeleteClusterTooManyRequestsBody ¶
type DeleteClusterTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
DeleteClusterTooManyRequestsBody delete cluster too many requests body swagger:model DeleteClusterTooManyRequestsBody
func (*DeleteClusterTooManyRequestsBody) ContextValidate ¶
func (o *DeleteClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete cluster too many requests body based on context it is used
func (*DeleteClusterTooManyRequestsBody) MarshalBinary ¶
func (o *DeleteClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteClusterTooManyRequestsBody) UnmarshalBinary ¶
func (o *DeleteClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteClusterUnauthorized ¶
type DeleteClusterUnauthorized struct {
}DeleteClusterUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewDeleteClusterUnauthorized ¶
func NewDeleteClusterUnauthorized() *DeleteClusterUnauthorized
NewDeleteClusterUnauthorized creates a DeleteClusterUnauthorized with default headers values
func (*DeleteClusterUnauthorized) Code ¶
func (o *DeleteClusterUnauthorized) Code() int
Code gets the status code for the delete cluster unauthorized response
func (*DeleteClusterUnauthorized) Error ¶
func (o *DeleteClusterUnauthorized) Error() string
func (*DeleteClusterUnauthorized) GetPayload ¶
func (o *DeleteClusterUnauthorized) GetPayload() interface{}
func (*DeleteClusterUnauthorized) IsClientError ¶
func (o *DeleteClusterUnauthorized) IsClientError() bool
IsClientError returns true when this delete cluster unauthorized response has a 4xx status code
func (*DeleteClusterUnauthorized) IsCode ¶
func (o *DeleteClusterUnauthorized) IsCode(code int) bool
IsCode returns true when this delete cluster unauthorized response a status code equal to that given
func (*DeleteClusterUnauthorized) IsRedirect ¶
func (o *DeleteClusterUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete cluster unauthorized response has a 3xx status code
func (*DeleteClusterUnauthorized) IsServerError ¶
func (o *DeleteClusterUnauthorized) IsServerError() bool
IsServerError returns true when this delete cluster unauthorized response has a 5xx status code
func (*DeleteClusterUnauthorized) IsSuccess ¶
func (o *DeleteClusterUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete cluster unauthorized response has a 2xx status code
func (*DeleteClusterUnauthorized) String ¶
func (o *DeleteClusterUnauthorized) String() string
type DeletePrivateEndpointBadRequest ¶
type DeletePrivateEndpointBadRequest struct {
Payload *DeletePrivateEndpointBadRequestBody
}
DeletePrivateEndpointBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewDeletePrivateEndpointBadRequest ¶
func NewDeletePrivateEndpointBadRequest() *DeletePrivateEndpointBadRequest
NewDeletePrivateEndpointBadRequest creates a DeletePrivateEndpointBadRequest with default headers values
func (*DeletePrivateEndpointBadRequest) Code ¶
func (o *DeletePrivateEndpointBadRequest) Code() int
Code gets the status code for the delete private endpoint bad request response
func (*DeletePrivateEndpointBadRequest) Error ¶
func (o *DeletePrivateEndpointBadRequest) Error() string
func (*DeletePrivateEndpointBadRequest) GetPayload ¶
func (o *DeletePrivateEndpointBadRequest) GetPayload() *DeletePrivateEndpointBadRequestBody
func (*DeletePrivateEndpointBadRequest) IsClientError ¶
func (o *DeletePrivateEndpointBadRequest) IsClientError() bool
IsClientError returns true when this delete private endpoint bad request response has a 4xx status code
func (*DeletePrivateEndpointBadRequest) IsCode ¶
func (o *DeletePrivateEndpointBadRequest) IsCode(code int) bool
IsCode returns true when this delete private endpoint bad request response a status code equal to that given
func (*DeletePrivateEndpointBadRequest) IsRedirect ¶
func (o *DeletePrivateEndpointBadRequest) IsRedirect() bool
IsRedirect returns true when this delete private endpoint bad request response has a 3xx status code
func (*DeletePrivateEndpointBadRequest) IsServerError ¶
func (o *DeletePrivateEndpointBadRequest) IsServerError() bool
IsServerError returns true when this delete private endpoint bad request response has a 5xx status code
func (*DeletePrivateEndpointBadRequest) IsSuccess ¶
func (o *DeletePrivateEndpointBadRequest) IsSuccess() bool
IsSuccess returns true when this delete private endpoint bad request response has a 2xx status code
func (*DeletePrivateEndpointBadRequest) String ¶
func (o *DeletePrivateEndpointBadRequest) String() string
type DeletePrivateEndpointBadRequestBody ¶
type DeletePrivateEndpointBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
DeletePrivateEndpointBadRequestBody delete private endpoint bad request body swagger:model DeletePrivateEndpointBadRequestBody
func (*DeletePrivateEndpointBadRequestBody) ContextValidate ¶
func (o *DeletePrivateEndpointBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete private endpoint bad request body based on context it is used
func (*DeletePrivateEndpointBadRequestBody) MarshalBinary ¶
func (o *DeletePrivateEndpointBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeletePrivateEndpointBadRequestBody) UnmarshalBinary ¶
func (o *DeletePrivateEndpointBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeletePrivateEndpointDefault ¶
type DeletePrivateEndpointDefault struct { Payload *DeletePrivateEndpointDefaultBody // contains filtered or unexported fields }
DeletePrivateEndpointDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeletePrivateEndpointDefault ¶
func NewDeletePrivateEndpointDefault(code int) *DeletePrivateEndpointDefault
NewDeletePrivateEndpointDefault creates a DeletePrivateEndpointDefault with default headers values
func (*DeletePrivateEndpointDefault) Code ¶
func (o *DeletePrivateEndpointDefault) Code() int
Code gets the status code for the delete private endpoint default response
func (*DeletePrivateEndpointDefault) Error ¶
func (o *DeletePrivateEndpointDefault) Error() string
func (*DeletePrivateEndpointDefault) GetPayload ¶
func (o *DeletePrivateEndpointDefault) GetPayload() *DeletePrivateEndpointDefaultBody
func (*DeletePrivateEndpointDefault) IsClientError ¶
func (o *DeletePrivateEndpointDefault) IsClientError() bool
IsClientError returns true when this delete private endpoint default response has a 4xx status code
func (*DeletePrivateEndpointDefault) IsCode ¶
func (o *DeletePrivateEndpointDefault) IsCode(code int) bool
IsCode returns true when this delete private endpoint default response a status code equal to that given
func (*DeletePrivateEndpointDefault) IsRedirect ¶
func (o *DeletePrivateEndpointDefault) IsRedirect() bool
IsRedirect returns true when this delete private endpoint default response has a 3xx status code
func (*DeletePrivateEndpointDefault) IsServerError ¶
func (o *DeletePrivateEndpointDefault) IsServerError() bool
IsServerError returns true when this delete private endpoint default response has a 5xx status code
func (*DeletePrivateEndpointDefault) IsSuccess ¶
func (o *DeletePrivateEndpointDefault) IsSuccess() bool
IsSuccess returns true when this delete private endpoint default response has a 2xx status code
func (*DeletePrivateEndpointDefault) String ¶
func (o *DeletePrivateEndpointDefault) String() string
type DeletePrivateEndpointDefaultBody ¶
type DeletePrivateEndpointDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*DeletePrivateEndpointDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
DeletePrivateEndpointDefaultBody delete private endpoint default body swagger:model DeletePrivateEndpointDefaultBody
func (*DeletePrivateEndpointDefaultBody) ContextValidate ¶
func (o *DeletePrivateEndpointDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete private endpoint default body based on the context it is used
func (*DeletePrivateEndpointDefaultBody) MarshalBinary ¶
func (o *DeletePrivateEndpointDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeletePrivateEndpointDefaultBody) UnmarshalBinary ¶
func (o *DeletePrivateEndpointDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeletePrivateEndpointDefaultBodyDetailsItems0 ¶
type DeletePrivateEndpointDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
DeletePrivateEndpointDefaultBodyDetailsItems0 delete private endpoint default body details items0 swagger:model DeletePrivateEndpointDefaultBodyDetailsItems0
func (*DeletePrivateEndpointDefaultBodyDetailsItems0) ContextValidate ¶
func (o *DeletePrivateEndpointDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete private endpoint default body details items0 based on context it is used
func (*DeletePrivateEndpointDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *DeletePrivateEndpointDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeletePrivateEndpointDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *DeletePrivateEndpointDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeletePrivateEndpointForbidden ¶
type DeletePrivateEndpointForbidden struct {
Payload *DeletePrivateEndpointForbiddenBody
}
DeletePrivateEndpointForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewDeletePrivateEndpointForbidden ¶
func NewDeletePrivateEndpointForbidden() *DeletePrivateEndpointForbidden
NewDeletePrivateEndpointForbidden creates a DeletePrivateEndpointForbidden with default headers values
func (*DeletePrivateEndpointForbidden) Code ¶
func (o *DeletePrivateEndpointForbidden) Code() int
Code gets the status code for the delete private endpoint forbidden response
func (*DeletePrivateEndpointForbidden) Error ¶
func (o *DeletePrivateEndpointForbidden) Error() string
func (*DeletePrivateEndpointForbidden) GetPayload ¶
func (o *DeletePrivateEndpointForbidden) GetPayload() *DeletePrivateEndpointForbiddenBody
func (*DeletePrivateEndpointForbidden) IsClientError ¶
func (o *DeletePrivateEndpointForbidden) IsClientError() bool
IsClientError returns true when this delete private endpoint forbidden response has a 4xx status code
func (*DeletePrivateEndpointForbidden) IsCode ¶
func (o *DeletePrivateEndpointForbidden) IsCode(code int) bool
IsCode returns true when this delete private endpoint forbidden response a status code equal to that given
func (*DeletePrivateEndpointForbidden) IsRedirect ¶
func (o *DeletePrivateEndpointForbidden) IsRedirect() bool
IsRedirect returns true when this delete private endpoint forbidden response has a 3xx status code
func (*DeletePrivateEndpointForbidden) IsServerError ¶
func (o *DeletePrivateEndpointForbidden) IsServerError() bool
IsServerError returns true when this delete private endpoint forbidden response has a 5xx status code
func (*DeletePrivateEndpointForbidden) IsSuccess ¶
func (o *DeletePrivateEndpointForbidden) IsSuccess() bool
IsSuccess returns true when this delete private endpoint forbidden response has a 2xx status code
func (*DeletePrivateEndpointForbidden) String ¶
func (o *DeletePrivateEndpointForbidden) String() string
type DeletePrivateEndpointForbiddenBody ¶
type DeletePrivateEndpointForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
DeletePrivateEndpointForbiddenBody delete private endpoint forbidden body swagger:model DeletePrivateEndpointForbiddenBody
func (*DeletePrivateEndpointForbiddenBody) ContextValidate ¶
func (o *DeletePrivateEndpointForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete private endpoint forbidden body based on context it is used
func (*DeletePrivateEndpointForbiddenBody) MarshalBinary ¶
func (o *DeletePrivateEndpointForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeletePrivateEndpointForbiddenBody) UnmarshalBinary ¶
func (o *DeletePrivateEndpointForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeletePrivateEndpointInternalServerError ¶
type DeletePrivateEndpointInternalServerError struct {
Payload *DeletePrivateEndpointInternalServerErrorBody
}
DeletePrivateEndpointInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewDeletePrivateEndpointInternalServerError ¶
func NewDeletePrivateEndpointInternalServerError() *DeletePrivateEndpointInternalServerError
NewDeletePrivateEndpointInternalServerError creates a DeletePrivateEndpointInternalServerError with default headers values
func (*DeletePrivateEndpointInternalServerError) Code ¶
func (o *DeletePrivateEndpointInternalServerError) Code() int
Code gets the status code for the delete private endpoint internal server error response
func (*DeletePrivateEndpointInternalServerError) Error ¶
func (o *DeletePrivateEndpointInternalServerError) Error() string
func (*DeletePrivateEndpointInternalServerError) GetPayload ¶
func (o *DeletePrivateEndpointInternalServerError) GetPayload() *DeletePrivateEndpointInternalServerErrorBody
func (*DeletePrivateEndpointInternalServerError) IsClientError ¶
func (o *DeletePrivateEndpointInternalServerError) IsClientError() bool
IsClientError returns true when this delete private endpoint internal server error response has a 4xx status code
func (*DeletePrivateEndpointInternalServerError) IsCode ¶
func (o *DeletePrivateEndpointInternalServerError) IsCode(code int) bool
IsCode returns true when this delete private endpoint internal server error response a status code equal to that given
func (*DeletePrivateEndpointInternalServerError) IsRedirect ¶
func (o *DeletePrivateEndpointInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete private endpoint internal server error response has a 3xx status code
func (*DeletePrivateEndpointInternalServerError) IsServerError ¶
func (o *DeletePrivateEndpointInternalServerError) IsServerError() bool
IsServerError returns true when this delete private endpoint internal server error response has a 5xx status code
func (*DeletePrivateEndpointInternalServerError) IsSuccess ¶
func (o *DeletePrivateEndpointInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete private endpoint internal server error response has a 2xx status code
func (*DeletePrivateEndpointInternalServerError) String ¶
func (o *DeletePrivateEndpointInternalServerError) String() string
type DeletePrivateEndpointInternalServerErrorBody ¶
type DeletePrivateEndpointInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
DeletePrivateEndpointInternalServerErrorBody delete private endpoint internal server error body swagger:model DeletePrivateEndpointInternalServerErrorBody
func (*DeletePrivateEndpointInternalServerErrorBody) ContextValidate ¶
func (o *DeletePrivateEndpointInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete private endpoint internal server error body based on context it is used
func (*DeletePrivateEndpointInternalServerErrorBody) MarshalBinary ¶
func (o *DeletePrivateEndpointInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeletePrivateEndpointInternalServerErrorBody) UnmarshalBinary ¶
func (o *DeletePrivateEndpointInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeletePrivateEndpointNotFound ¶
type DeletePrivateEndpointNotFound struct {
Payload *DeletePrivateEndpointNotFoundBody
}
DeletePrivateEndpointNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewDeletePrivateEndpointNotFound ¶
func NewDeletePrivateEndpointNotFound() *DeletePrivateEndpointNotFound
NewDeletePrivateEndpointNotFound creates a DeletePrivateEndpointNotFound with default headers values
func (*DeletePrivateEndpointNotFound) Code ¶
func (o *DeletePrivateEndpointNotFound) Code() int
Code gets the status code for the delete private endpoint not found response
func (*DeletePrivateEndpointNotFound) Error ¶
func (o *DeletePrivateEndpointNotFound) Error() string
func (*DeletePrivateEndpointNotFound) GetPayload ¶
func (o *DeletePrivateEndpointNotFound) GetPayload() *DeletePrivateEndpointNotFoundBody
func (*DeletePrivateEndpointNotFound) IsClientError ¶
func (o *DeletePrivateEndpointNotFound) IsClientError() bool
IsClientError returns true when this delete private endpoint not found response has a 4xx status code
func (*DeletePrivateEndpointNotFound) IsCode ¶
func (o *DeletePrivateEndpointNotFound) IsCode(code int) bool
IsCode returns true when this delete private endpoint not found response a status code equal to that given
func (*DeletePrivateEndpointNotFound) IsRedirect ¶
func (o *DeletePrivateEndpointNotFound) IsRedirect() bool
IsRedirect returns true when this delete private endpoint not found response has a 3xx status code
func (*DeletePrivateEndpointNotFound) IsServerError ¶
func (o *DeletePrivateEndpointNotFound) IsServerError() bool
IsServerError returns true when this delete private endpoint not found response has a 5xx status code
func (*DeletePrivateEndpointNotFound) IsSuccess ¶
func (o *DeletePrivateEndpointNotFound) IsSuccess() bool
IsSuccess returns true when this delete private endpoint not found response has a 2xx status code
func (*DeletePrivateEndpointNotFound) String ¶
func (o *DeletePrivateEndpointNotFound) String() string
type DeletePrivateEndpointNotFoundBody ¶
type DeletePrivateEndpointNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
DeletePrivateEndpointNotFoundBody delete private endpoint not found body swagger:model DeletePrivateEndpointNotFoundBody
func (*DeletePrivateEndpointNotFoundBody) ContextValidate ¶
func (o *DeletePrivateEndpointNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete private endpoint not found body based on context it is used
func (*DeletePrivateEndpointNotFoundBody) MarshalBinary ¶
func (o *DeletePrivateEndpointNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeletePrivateEndpointNotFoundBody) UnmarshalBinary ¶
func (o *DeletePrivateEndpointNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeletePrivateEndpointOK ¶
type DeletePrivateEndpointOK struct {
Payload interface{}
}
DeletePrivateEndpointOK describes a response with status code 200, with default header values.
A successful response.
func NewDeletePrivateEndpointOK ¶
func NewDeletePrivateEndpointOK() *DeletePrivateEndpointOK
NewDeletePrivateEndpointOK creates a DeletePrivateEndpointOK with default headers values
func (*DeletePrivateEndpointOK) Code ¶
func (o *DeletePrivateEndpointOK) Code() int
Code gets the status code for the delete private endpoint o k response
func (*DeletePrivateEndpointOK) Error ¶
func (o *DeletePrivateEndpointOK) Error() string
func (*DeletePrivateEndpointOK) GetPayload ¶
func (o *DeletePrivateEndpointOK) GetPayload() interface{}
func (*DeletePrivateEndpointOK) IsClientError ¶
func (o *DeletePrivateEndpointOK) IsClientError() bool
IsClientError returns true when this delete private endpoint o k response has a 4xx status code
func (*DeletePrivateEndpointOK) IsCode ¶
func (o *DeletePrivateEndpointOK) IsCode(code int) bool
IsCode returns true when this delete private endpoint o k response a status code equal to that given
func (*DeletePrivateEndpointOK) IsRedirect ¶
func (o *DeletePrivateEndpointOK) IsRedirect() bool
IsRedirect returns true when this delete private endpoint o k response has a 3xx status code
func (*DeletePrivateEndpointOK) IsServerError ¶
func (o *DeletePrivateEndpointOK) IsServerError() bool
IsServerError returns true when this delete private endpoint o k response has a 5xx status code
func (*DeletePrivateEndpointOK) IsSuccess ¶
func (o *DeletePrivateEndpointOK) IsSuccess() bool
IsSuccess returns true when this delete private endpoint o k response has a 2xx status code
func (*DeletePrivateEndpointOK) String ¶
func (o *DeletePrivateEndpointOK) String() string
type DeletePrivateEndpointParams ¶
type DeletePrivateEndpointParams struct { /* ClusterID. The ID of the cluster. Format: uint64 */ ClusterID string /* EndpointID. The ID of the private endpoint to be deleted. You can get the ID from the `endpoints.id` field in the response of [List all private endpoints in a project](#tag/Cluster/operation/ListPrivateEndpoints). Format: uint64 */ EndpointID string /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePrivateEndpointParams contains all the parameters to send to the API endpoint
for the delete private endpoint operation. Typically these are written to a http.Request.
func NewDeletePrivateEndpointParams ¶
func NewDeletePrivateEndpointParams() *DeletePrivateEndpointParams
NewDeletePrivateEndpointParams creates a new DeletePrivateEndpointParams 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 NewDeletePrivateEndpointParamsWithContext ¶
func NewDeletePrivateEndpointParamsWithContext(ctx context.Context) *DeletePrivateEndpointParams
NewDeletePrivateEndpointParamsWithContext creates a new DeletePrivateEndpointParams object with the ability to set a context for a request.
func NewDeletePrivateEndpointParamsWithHTTPClient ¶
func NewDeletePrivateEndpointParamsWithHTTPClient(client *http.Client) *DeletePrivateEndpointParams
NewDeletePrivateEndpointParamsWithHTTPClient creates a new DeletePrivateEndpointParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePrivateEndpointParamsWithTimeout ¶
func NewDeletePrivateEndpointParamsWithTimeout(timeout time.Duration) *DeletePrivateEndpointParams
NewDeletePrivateEndpointParamsWithTimeout creates a new DeletePrivateEndpointParams object with the ability to set a timeout on a request.
func (*DeletePrivateEndpointParams) SetClusterID ¶
func (o *DeletePrivateEndpointParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the delete private endpoint params
func (*DeletePrivateEndpointParams) SetContext ¶
func (o *DeletePrivateEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the delete private endpoint params
func (*DeletePrivateEndpointParams) SetDefaults ¶
func (o *DeletePrivateEndpointParams) SetDefaults()
SetDefaults hydrates default values in the delete private endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePrivateEndpointParams) SetEndpointID ¶
func (o *DeletePrivateEndpointParams) SetEndpointID(endpointID string)
SetEndpointID adds the endpointId to the delete private endpoint params
func (*DeletePrivateEndpointParams) SetHTTPClient ¶
func (o *DeletePrivateEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete private endpoint params
func (*DeletePrivateEndpointParams) SetProjectID ¶
func (o *DeletePrivateEndpointParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the delete private endpoint params
func (*DeletePrivateEndpointParams) SetTimeout ¶
func (o *DeletePrivateEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete private endpoint params
func (*DeletePrivateEndpointParams) WithClusterID ¶
func (o *DeletePrivateEndpointParams) WithClusterID(clusterID string) *DeletePrivateEndpointParams
WithClusterID adds the clusterID to the delete private endpoint params
func (*DeletePrivateEndpointParams) WithContext ¶
func (o *DeletePrivateEndpointParams) WithContext(ctx context.Context) *DeletePrivateEndpointParams
WithContext adds the context to the delete private endpoint params
func (*DeletePrivateEndpointParams) WithDefaults ¶
func (o *DeletePrivateEndpointParams) WithDefaults() *DeletePrivateEndpointParams
WithDefaults hydrates default values in the delete private endpoint params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePrivateEndpointParams) WithEndpointID ¶
func (o *DeletePrivateEndpointParams) WithEndpointID(endpointID string) *DeletePrivateEndpointParams
WithEndpointID adds the endpointID to the delete private endpoint params
func (*DeletePrivateEndpointParams) WithHTTPClient ¶
func (o *DeletePrivateEndpointParams) WithHTTPClient(client *http.Client) *DeletePrivateEndpointParams
WithHTTPClient adds the HTTPClient to the delete private endpoint params
func (*DeletePrivateEndpointParams) WithProjectID ¶
func (o *DeletePrivateEndpointParams) WithProjectID(projectID string) *DeletePrivateEndpointParams
WithProjectID adds the projectID to the delete private endpoint params
func (*DeletePrivateEndpointParams) WithTimeout ¶
func (o *DeletePrivateEndpointParams) WithTimeout(timeout time.Duration) *DeletePrivateEndpointParams
WithTimeout adds the timeout to the delete private endpoint params
func (*DeletePrivateEndpointParams) WriteToRequest ¶
func (o *DeletePrivateEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePrivateEndpointReader ¶
type DeletePrivateEndpointReader struct {
// contains filtered or unexported fields
}
DeletePrivateEndpointReader is a Reader for the DeletePrivateEndpoint structure.
func (*DeletePrivateEndpointReader) ReadResponse ¶
func (o *DeletePrivateEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePrivateEndpointTooManyRequests ¶
type DeletePrivateEndpointTooManyRequests struct {
Payload *DeletePrivateEndpointTooManyRequestsBody
}
DeletePrivateEndpointTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewDeletePrivateEndpointTooManyRequests ¶
func NewDeletePrivateEndpointTooManyRequests() *DeletePrivateEndpointTooManyRequests
NewDeletePrivateEndpointTooManyRequests creates a DeletePrivateEndpointTooManyRequests with default headers values
func (*DeletePrivateEndpointTooManyRequests) Code ¶
func (o *DeletePrivateEndpointTooManyRequests) Code() int
Code gets the status code for the delete private endpoint too many requests response
func (*DeletePrivateEndpointTooManyRequests) Error ¶
func (o *DeletePrivateEndpointTooManyRequests) Error() string
func (*DeletePrivateEndpointTooManyRequests) GetPayload ¶
func (o *DeletePrivateEndpointTooManyRequests) GetPayload() *DeletePrivateEndpointTooManyRequestsBody
func (*DeletePrivateEndpointTooManyRequests) IsClientError ¶
func (o *DeletePrivateEndpointTooManyRequests) IsClientError() bool
IsClientError returns true when this delete private endpoint too many requests response has a 4xx status code
func (*DeletePrivateEndpointTooManyRequests) IsCode ¶
func (o *DeletePrivateEndpointTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete private endpoint too many requests response a status code equal to that given
func (*DeletePrivateEndpointTooManyRequests) IsRedirect ¶
func (o *DeletePrivateEndpointTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete private endpoint too many requests response has a 3xx status code
func (*DeletePrivateEndpointTooManyRequests) IsServerError ¶
func (o *DeletePrivateEndpointTooManyRequests) IsServerError() bool
IsServerError returns true when this delete private endpoint too many requests response has a 5xx status code
func (*DeletePrivateEndpointTooManyRequests) IsSuccess ¶
func (o *DeletePrivateEndpointTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete private endpoint too many requests response has a 2xx status code
func (*DeletePrivateEndpointTooManyRequests) String ¶
func (o *DeletePrivateEndpointTooManyRequests) String() string
type DeletePrivateEndpointTooManyRequestsBody ¶
type DeletePrivateEndpointTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
DeletePrivateEndpointTooManyRequestsBody delete private endpoint too many requests body swagger:model DeletePrivateEndpointTooManyRequestsBody
func (*DeletePrivateEndpointTooManyRequestsBody) ContextValidate ¶
func (o *DeletePrivateEndpointTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete private endpoint too many requests body based on context it is used
func (*DeletePrivateEndpointTooManyRequestsBody) MarshalBinary ¶
func (o *DeletePrivateEndpointTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeletePrivateEndpointTooManyRequestsBody) UnmarshalBinary ¶
func (o *DeletePrivateEndpointTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeletePrivateEndpointUnauthorized ¶
type DeletePrivateEndpointUnauthorized struct {
}DeletePrivateEndpointUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewDeletePrivateEndpointUnauthorized ¶
func NewDeletePrivateEndpointUnauthorized() *DeletePrivateEndpointUnauthorized
NewDeletePrivateEndpointUnauthorized creates a DeletePrivateEndpointUnauthorized with default headers values
func (*DeletePrivateEndpointUnauthorized) Code ¶
func (o *DeletePrivateEndpointUnauthorized) Code() int
Code gets the status code for the delete private endpoint unauthorized response
func (*DeletePrivateEndpointUnauthorized) Error ¶
func (o *DeletePrivateEndpointUnauthorized) Error() string
func (*DeletePrivateEndpointUnauthorized) GetPayload ¶
func (o *DeletePrivateEndpointUnauthorized) GetPayload() interface{}
func (*DeletePrivateEndpointUnauthorized) IsClientError ¶
func (o *DeletePrivateEndpointUnauthorized) IsClientError() bool
IsClientError returns true when this delete private endpoint unauthorized response has a 4xx status code
func (*DeletePrivateEndpointUnauthorized) IsCode ¶
func (o *DeletePrivateEndpointUnauthorized) IsCode(code int) bool
IsCode returns true when this delete private endpoint unauthorized response a status code equal to that given
func (*DeletePrivateEndpointUnauthorized) IsRedirect ¶
func (o *DeletePrivateEndpointUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete private endpoint unauthorized response has a 3xx status code
func (*DeletePrivateEndpointUnauthorized) IsServerError ¶
func (o *DeletePrivateEndpointUnauthorized) IsServerError() bool
IsServerError returns true when this delete private endpoint unauthorized response has a 5xx status code
func (*DeletePrivateEndpointUnauthorized) IsSuccess ¶
func (o *DeletePrivateEndpointUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete private endpoint unauthorized response has a 2xx status code
func (*DeletePrivateEndpointUnauthorized) String ¶
func (o *DeletePrivateEndpointUnauthorized) String() string
type GetClusterBadRequest ¶
type GetClusterBadRequest struct {
Payload *GetClusterBadRequestBody
}
GetClusterBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewGetClusterBadRequest ¶
func NewGetClusterBadRequest() *GetClusterBadRequest
NewGetClusterBadRequest creates a GetClusterBadRequest with default headers values
func (*GetClusterBadRequest) Code ¶
func (o *GetClusterBadRequest) Code() int
Code gets the status code for the get cluster bad request response
func (*GetClusterBadRequest) Error ¶
func (o *GetClusterBadRequest) Error() string
func (*GetClusterBadRequest) GetPayload ¶
func (o *GetClusterBadRequest) GetPayload() *GetClusterBadRequestBody
func (*GetClusterBadRequest) IsClientError ¶
func (o *GetClusterBadRequest) IsClientError() bool
IsClientError returns true when this get cluster bad request response has a 4xx status code
func (*GetClusterBadRequest) IsCode ¶
func (o *GetClusterBadRequest) IsCode(code int) bool
IsCode returns true when this get cluster bad request response a status code equal to that given
func (*GetClusterBadRequest) IsRedirect ¶
func (o *GetClusterBadRequest) IsRedirect() bool
IsRedirect returns true when this get cluster bad request response has a 3xx status code
func (*GetClusterBadRequest) IsServerError ¶
func (o *GetClusterBadRequest) IsServerError() bool
IsServerError returns true when this get cluster bad request response has a 5xx status code
func (*GetClusterBadRequest) IsSuccess ¶
func (o *GetClusterBadRequest) IsSuccess() bool
IsSuccess returns true when this get cluster bad request response has a 2xx status code
func (*GetClusterBadRequest) String ¶
func (o *GetClusterBadRequest) String() string
type GetClusterBadRequestBody ¶
type GetClusterBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
GetClusterBadRequestBody get cluster bad request body swagger:model GetClusterBadRequestBody
func (*GetClusterBadRequestBody) ContextValidate ¶
func (o *GetClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster bad request body based on context it is used
func (*GetClusterBadRequestBody) MarshalBinary ¶
func (o *GetClusterBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterBadRequestBody) UnmarshalBinary ¶
func (o *GetClusterBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterDefault ¶
type GetClusterDefault struct { Payload *GetClusterDefaultBody // contains filtered or unexported fields }
GetClusterDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetClusterDefault ¶
func NewGetClusterDefault(code int) *GetClusterDefault
NewGetClusterDefault creates a GetClusterDefault with default headers values
func (*GetClusterDefault) Code ¶
func (o *GetClusterDefault) Code() int
Code gets the status code for the get cluster default response
func (*GetClusterDefault) Error ¶
func (o *GetClusterDefault) Error() string
func (*GetClusterDefault) GetPayload ¶
func (o *GetClusterDefault) GetPayload() *GetClusterDefaultBody
func (*GetClusterDefault) IsClientError ¶
func (o *GetClusterDefault) IsClientError() bool
IsClientError returns true when this get cluster default response has a 4xx status code
func (*GetClusterDefault) IsCode ¶
func (o *GetClusterDefault) IsCode(code int) bool
IsCode returns true when this get cluster default response a status code equal to that given
func (*GetClusterDefault) IsRedirect ¶
func (o *GetClusterDefault) IsRedirect() bool
IsRedirect returns true when this get cluster default response has a 3xx status code
func (*GetClusterDefault) IsServerError ¶
func (o *GetClusterDefault) IsServerError() bool
IsServerError returns true when this get cluster default response has a 5xx status code
func (*GetClusterDefault) IsSuccess ¶
func (o *GetClusterDefault) IsSuccess() bool
IsSuccess returns true when this get cluster default response has a 2xx status code
func (*GetClusterDefault) String ¶
func (o *GetClusterDefault) String() string
type GetClusterDefaultBody ¶
type GetClusterDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*GetClusterDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
GetClusterDefaultBody get cluster default body swagger:model GetClusterDefaultBody
func (*GetClusterDefaultBody) ContextValidate ¶
ContextValidate validate this get cluster default body based on the context it is used
func (*GetClusterDefaultBody) MarshalBinary ¶
func (o *GetClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterDefaultBody) UnmarshalBinary ¶
func (o *GetClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterDefaultBodyDetailsItems0 ¶
type GetClusterDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
GetClusterDefaultBodyDetailsItems0 get cluster default body details items0 swagger:model GetClusterDefaultBodyDetailsItems0
func (*GetClusterDefaultBodyDetailsItems0) ContextValidate ¶
func (o *GetClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster default body details items0 based on context it is used
func (*GetClusterDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *GetClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *GetClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterForbidden ¶
type GetClusterForbidden struct {
Payload *GetClusterForbiddenBody
}
GetClusterForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewGetClusterForbidden ¶
func NewGetClusterForbidden() *GetClusterForbidden
NewGetClusterForbidden creates a GetClusterForbidden with default headers values
func (*GetClusterForbidden) Code ¶
func (o *GetClusterForbidden) Code() int
Code gets the status code for the get cluster forbidden response
func (*GetClusterForbidden) Error ¶
func (o *GetClusterForbidden) Error() string
func (*GetClusterForbidden) GetPayload ¶
func (o *GetClusterForbidden) GetPayload() *GetClusterForbiddenBody
func (*GetClusterForbidden) IsClientError ¶
func (o *GetClusterForbidden) IsClientError() bool
IsClientError returns true when this get cluster forbidden response has a 4xx status code
func (*GetClusterForbidden) IsCode ¶
func (o *GetClusterForbidden) IsCode(code int) bool
IsCode returns true when this get cluster forbidden response a status code equal to that given
func (*GetClusterForbidden) IsRedirect ¶
func (o *GetClusterForbidden) IsRedirect() bool
IsRedirect returns true when this get cluster forbidden response has a 3xx status code
func (*GetClusterForbidden) IsServerError ¶
func (o *GetClusterForbidden) IsServerError() bool
IsServerError returns true when this get cluster forbidden response has a 5xx status code
func (*GetClusterForbidden) IsSuccess ¶
func (o *GetClusterForbidden) IsSuccess() bool
IsSuccess returns true when this get cluster forbidden response has a 2xx status code
func (*GetClusterForbidden) String ¶
func (o *GetClusterForbidden) String() string
type GetClusterForbiddenBody ¶
type GetClusterForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
GetClusterForbiddenBody get cluster forbidden body swagger:model GetClusterForbiddenBody
func (*GetClusterForbiddenBody) ContextValidate ¶
func (o *GetClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster forbidden body based on context it is used
func (*GetClusterForbiddenBody) MarshalBinary ¶
func (o *GetClusterForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterForbiddenBody) UnmarshalBinary ¶
func (o *GetClusterForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterInternalServerError ¶
type GetClusterInternalServerError struct {
Payload *GetClusterInternalServerErrorBody
}
GetClusterInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewGetClusterInternalServerError ¶
func NewGetClusterInternalServerError() *GetClusterInternalServerError
NewGetClusterInternalServerError creates a GetClusterInternalServerError with default headers values
func (*GetClusterInternalServerError) Code ¶
func (o *GetClusterInternalServerError) Code() int
Code gets the status code for the get cluster internal server error response
func (*GetClusterInternalServerError) Error ¶
func (o *GetClusterInternalServerError) Error() string
func (*GetClusterInternalServerError) GetPayload ¶
func (o *GetClusterInternalServerError) GetPayload() *GetClusterInternalServerErrorBody
func (*GetClusterInternalServerError) IsClientError ¶
func (o *GetClusterInternalServerError) IsClientError() bool
IsClientError returns true when this get cluster internal server error response has a 4xx status code
func (*GetClusterInternalServerError) IsCode ¶
func (o *GetClusterInternalServerError) IsCode(code int) bool
IsCode returns true when this get cluster internal server error response a status code equal to that given
func (*GetClusterInternalServerError) IsRedirect ¶
func (o *GetClusterInternalServerError) IsRedirect() bool
IsRedirect returns true when this get cluster internal server error response has a 3xx status code
func (*GetClusterInternalServerError) IsServerError ¶
func (o *GetClusterInternalServerError) IsServerError() bool
IsServerError returns true when this get cluster internal server error response has a 5xx status code
func (*GetClusterInternalServerError) IsSuccess ¶
func (o *GetClusterInternalServerError) IsSuccess() bool
IsSuccess returns true when this get cluster internal server error response has a 2xx status code
func (*GetClusterInternalServerError) String ¶
func (o *GetClusterInternalServerError) String() string
type GetClusterInternalServerErrorBody ¶
type GetClusterInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
GetClusterInternalServerErrorBody get cluster internal server error body swagger:model GetClusterInternalServerErrorBody
func (*GetClusterInternalServerErrorBody) ContextValidate ¶
func (o *GetClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster internal server error body based on context it is used
func (*GetClusterInternalServerErrorBody) MarshalBinary ¶
func (o *GetClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterInternalServerErrorBody) UnmarshalBinary ¶
func (o *GetClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterNotFound ¶
type GetClusterNotFound struct {
Payload *GetClusterNotFoundBody
}
GetClusterNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewGetClusterNotFound ¶
func NewGetClusterNotFound() *GetClusterNotFound
NewGetClusterNotFound creates a GetClusterNotFound with default headers values
func (*GetClusterNotFound) Code ¶
func (o *GetClusterNotFound) Code() int
Code gets the status code for the get cluster not found response
func (*GetClusterNotFound) Error ¶
func (o *GetClusterNotFound) Error() string
func (*GetClusterNotFound) GetPayload ¶
func (o *GetClusterNotFound) GetPayload() *GetClusterNotFoundBody
func (*GetClusterNotFound) IsClientError ¶
func (o *GetClusterNotFound) IsClientError() bool
IsClientError returns true when this get cluster not found response has a 4xx status code
func (*GetClusterNotFound) IsCode ¶
func (o *GetClusterNotFound) IsCode(code int) bool
IsCode returns true when this get cluster not found response a status code equal to that given
func (*GetClusterNotFound) IsRedirect ¶
func (o *GetClusterNotFound) IsRedirect() bool
IsRedirect returns true when this get cluster not found response has a 3xx status code
func (*GetClusterNotFound) IsServerError ¶
func (o *GetClusterNotFound) IsServerError() bool
IsServerError returns true when this get cluster not found response has a 5xx status code
func (*GetClusterNotFound) IsSuccess ¶
func (o *GetClusterNotFound) IsSuccess() bool
IsSuccess returns true when this get cluster not found response has a 2xx status code
func (*GetClusterNotFound) String ¶
func (o *GetClusterNotFound) String() string
type GetClusterNotFoundBody ¶
type GetClusterNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
GetClusterNotFoundBody get cluster not found body swagger:model GetClusterNotFoundBody
func (*GetClusterNotFoundBody) ContextValidate ¶
func (o *GetClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster not found body based on context it is used
func (*GetClusterNotFoundBody) MarshalBinary ¶
func (o *GetClusterNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterNotFoundBody) UnmarshalBinary ¶
func (o *GetClusterNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOK ¶
type GetClusterOK struct {
Payload *GetClusterOKBody
}
GetClusterOK describes a response with status code 200, with default header values.
A successful response.
func NewGetClusterOK ¶
func NewGetClusterOK() *GetClusterOK
NewGetClusterOK creates a GetClusterOK with default headers values
func (*GetClusterOK) Code ¶
func (o *GetClusterOK) Code() int
Code gets the status code for the get cluster o k response
func (*GetClusterOK) Error ¶
func (o *GetClusterOK) Error() string
func (*GetClusterOK) GetPayload ¶
func (o *GetClusterOK) GetPayload() *GetClusterOKBody
func (*GetClusterOK) IsClientError ¶
func (o *GetClusterOK) IsClientError() bool
IsClientError returns true when this get cluster o k response has a 4xx status code
func (*GetClusterOK) IsCode ¶
func (o *GetClusterOK) IsCode(code int) bool
IsCode returns true when this get cluster o k response a status code equal to that given
func (*GetClusterOK) IsRedirect ¶
func (o *GetClusterOK) IsRedirect() bool
IsRedirect returns true when this get cluster o k response has a 3xx status code
func (*GetClusterOK) IsServerError ¶
func (o *GetClusterOK) IsServerError() bool
IsServerError returns true when this get cluster o k response has a 5xx status code
func (*GetClusterOK) IsSuccess ¶
func (o *GetClusterOK) IsSuccess() bool
IsSuccess returns true when this get cluster o k response has a 2xx status code
func (*GetClusterOK) String ¶
func (o *GetClusterOK) String() string
type GetClusterOKBody ¶
type GetClusterOKBody struct { // The cloud provider on which your TiDB cluster is hosted. // - `"AWS"`: the Amazon Web Services cloud provider // - `"GCP"`: the Google Cloud cloud provider // Example: AWS // Enum: [AWS GCP] CloudProvider string `json:"cloud_provider,omitempty"` // The cluster type: // - `"DEVELOPER"`: a [TiDB Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-serverless) cluster // - `"DEDICATED"`: a [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#dedicated-tier) cluster // // **Warning:** `"DEVELOPER"` will soon be changed to `"SERVERLESS"` to represent TiDB Serverless clusters. // Example: DEDICATED // Enum: [DEDICATED DEVELOPER] ClusterType string `json:"cluster_type,omitempty"` // config Config *GetClusterOKBodyConfig `json:"config,omitempty"` // The creation time of the cluster in Unix timestamp seconds (epoch time). // Example: 1656991448 CreateTimestamp string `json:"create_timestamp,omitempty"` // The ID of the cluster. // Example: 1 // Required: true ID *string `json:"id"` // The name of the cluster. // Example: Cluster0 // Pattern: ^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$ Name string `json:"name,omitempty"` // The ID of the project. // Example: 1 // Required: true ProjectID *string `json:"project_id"` // Region of the cluster. // Example: us-west-2 Region string `json:"region,omitempty"` // status Status *GetClusterOKBodyStatus `json:"status,omitempty"` }
GetClusterOKBody ClusterItem // // ClusterItem is the information of cluster. swagger:model GetClusterOKBody
func (*GetClusterOKBody) ContextValidate ¶
ContextValidate validate this get cluster o k body based on the context it is used
func (*GetClusterOKBody) MarshalBinary ¶
func (o *GetClusterOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBody) UnmarshalBinary ¶
func (o *GetClusterOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyConfig ¶
type GetClusterOKBodyConfig struct { // components Components *GetClusterOKBodyConfigComponents `json:"components,omitempty"` // The TiDB port for connection. The port must be in the range of 1024-65535 except 10080. // Example: 4000 // Maximum: 65535 // Minimum: 1024 Port int32 `json:"port,omitempty"` }
GetClusterOKBodyConfig The configuration of the cluster. // Example: {"components":{"tidb":{"node_quantity":2,"node_size":"8C16G"},"tikv":{"node_quantity":3,"node_size":"8C32G","storage_size_gib":1024}},"port":4000} swagger:model GetClusterOKBodyConfig
func (*GetClusterOKBodyConfig) ContextValidate ¶
func (o *GetClusterOKBodyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get cluster o k body config based on the context it is used
func (*GetClusterOKBodyConfig) MarshalBinary ¶
func (o *GetClusterOKBodyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyConfig) UnmarshalBinary ¶
func (o *GetClusterOKBodyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyConfigComponents ¶
type GetClusterOKBodyConfigComponents struct { // tidb // Required: true Tidb *GetClusterOKBodyConfigComponentsTidb `json:"tidb"` // tiflash Tiflash *GetClusterOKBodyConfigComponentsTiflash `json:"tiflash,omitempty"` // tikv // Required: true Tikv *GetClusterOKBodyConfigComponentsTikv `json:"tikv"` }
GetClusterOKBodyConfigComponents The components of the cluster. // Example: {"tidb":{"node_quantity":2,"node_size":"8C16G"},"tikv":{"node_quantity":3,"node_size":"8C32G","storage_size_gib":1024}} swagger:model GetClusterOKBodyConfigComponents
func (*GetClusterOKBodyConfigComponents) ContextValidate ¶
func (o *GetClusterOKBodyConfigComponents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get cluster o k body config components based on the context it is used
func (*GetClusterOKBodyConfigComponents) MarshalBinary ¶
func (o *GetClusterOKBodyConfigComponents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyConfigComponents) UnmarshalBinary ¶
func (o *GetClusterOKBodyConfigComponents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyConfigComponentsTidb ¶
type GetClusterOKBodyConfigComponentsTidb struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // Example: 2 // Required: true NodeQuantity *int32 `json:"node_quantity"` // The size of the TiDB component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // Example: 8C16G // Required: true NodeSize *string `json:"node_size"` }
GetClusterOKBodyConfigComponentsTidb The TiDB component of the cluster. swagger:model GetClusterOKBodyConfigComponentsTidb
func (*GetClusterOKBodyConfigComponentsTidb) ContextValidate ¶
func (o *GetClusterOKBodyConfigComponentsTidb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster o k body config components tidb based on context it is used
func (*GetClusterOKBodyConfigComponentsTidb) MarshalBinary ¶
func (o *GetClusterOKBodyConfigComponentsTidb) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyConfigComponentsTidb) UnmarshalBinary ¶
func (o *GetClusterOKBodyConfigComponentsTidb) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyConfigComponentsTiflash ¶
type GetClusterOKBodyConfigComponentsTiflash struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // Example: 1 // Required: true NodeQuantity *int32 `json:"node_quantity"` // The size of the TiFlash component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // Example: 8C64G // Required: true NodeSize *string `json:"node_size"` // The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // Example: 1024 // Required: true StorageSizeGib *int32 `json:"storage_size_gib"` }
GetClusterOKBodyConfigComponentsTiflash The TiFlash component of the cluster. swagger:model GetClusterOKBodyConfigComponentsTiflash
func (*GetClusterOKBodyConfigComponentsTiflash) ContextValidate ¶
func (o *GetClusterOKBodyConfigComponentsTiflash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster o k body config components tiflash based on context it is used
func (*GetClusterOKBodyConfigComponentsTiflash) MarshalBinary ¶
func (o *GetClusterOKBodyConfigComponentsTiflash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyConfigComponentsTiflash) UnmarshalBinary ¶
func (o *GetClusterOKBodyConfigComponentsTiflash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyConfigComponentsTikv ¶
type GetClusterOKBodyConfigComponentsTikv struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Limitations**: // - The `node_quantity` of TiKV must be a multiple of 3. // Example: 3 // Required: true NodeQuantity *int32 `json:"node_quantity"` // The size of the TiKV component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // Example: 8C64G // Required: true NodeSize *string `json:"node_size"` // The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // Example: 1024 // Required: true StorageSizeGib *int32 `json:"storage_size_gib"` }
GetClusterOKBodyConfigComponentsTikv The TiKV component of the cluster. swagger:model GetClusterOKBodyConfigComponentsTikv
func (*GetClusterOKBodyConfigComponentsTikv) ContextValidate ¶
func (o *GetClusterOKBodyConfigComponentsTikv) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster o k body config components tikv based on context it is used
func (*GetClusterOKBodyConfigComponentsTikv) MarshalBinary ¶
func (o *GetClusterOKBodyConfigComponentsTikv) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyConfigComponentsTikv) UnmarshalBinary ¶
func (o *GetClusterOKBodyConfigComponentsTikv) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyStatus ¶
type GetClusterOKBodyStatus struct { // Status of the cluster. // Example: AVAILABLE // Enum: [AVAILABLE CREATING MODIFYING PAUSED RESUMING UNAVAILABLE IMPORTING MAINTAINING PAUSING] ClusterStatus string `json:"cluster_status,omitempty"` // connection strings ConnectionStrings *GetClusterOKBodyStatusConnectionStrings `json:"connection_strings,omitempty"` // node map NodeMap *GetClusterOKBodyStatusNodeMap `json:"node_map,omitempty"` // TiDB version. // Example: v6.1.0 TidbVersion string `json:"tidb_version,omitempty"` }
GetClusterOKBodyStatus ClusterItemStatus // // The status of the cluster. swagger:model GetClusterOKBodyStatus
func (*GetClusterOKBodyStatus) ContextValidate ¶
func (o *GetClusterOKBodyStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get cluster o k body status based on the context it is used
func (*GetClusterOKBodyStatus) MarshalBinary ¶
func (o *GetClusterOKBodyStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyStatus) UnmarshalBinary ¶
func (o *GetClusterOKBodyStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyStatusConnectionStrings ¶
type GetClusterOKBodyStatusConnectionStrings struct { // The default TiDB user for connection. // Example: root DefaultUser string `json:"default_user,omitempty"` // standard Standard *GetClusterOKBodyStatusConnectionStringsStandard `json:"standard,omitempty"` // vpc peering VpcPeering *GetClusterOKBodyStatusConnectionStringsVpcPeering `json:"vpc_peering,omitempty"` }
GetClusterOKBodyStatusConnectionStrings Connection strings. swagger:model GetClusterOKBodyStatusConnectionStrings
func (*GetClusterOKBodyStatusConnectionStrings) ContextValidate ¶
func (o *GetClusterOKBodyStatusConnectionStrings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get cluster o k body status connection strings based on the context it is used
func (*GetClusterOKBodyStatusConnectionStrings) MarshalBinary ¶
func (o *GetClusterOKBodyStatusConnectionStrings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyStatusConnectionStrings) UnmarshalBinary ¶
func (o *GetClusterOKBodyStatusConnectionStrings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyStatusConnectionStringsStandard ¶
type GetClusterOKBodyStatusConnectionStringsStandard struct { // The host of standard connection. // Example: tidb.f69f3808.acea1f2a.us-east-1.shared.aws.tidbcloud.com Host string `json:"host,omitempty"` // The TiDB port for connection. The port must be in the range of 1024-65535 except 10080. // // **Limitations**: // - For a TiDB Serverless cluster, only port `4000` is available. // Example: 4000 // Maximum: 65535 // Minimum: 1024 Port int32 `json:"port,omitempty"` }
GetClusterOKBodyStatusConnectionStringsStandard Standard connection string. // // You must configure the [IP Access List](https://docs.pingcap.com/tidbcloud/connect-to-tidb-cluster#connect-via-standard-connection) for the cluster you created on [TiDB Cloud console](https://tidbcloud.com/) before connecting to this connection string. swagger:model GetClusterOKBodyStatusConnectionStringsStandard
func (*GetClusterOKBodyStatusConnectionStringsStandard) ContextValidate ¶
func (o *GetClusterOKBodyStatusConnectionStringsStandard) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster o k body status connection strings standard based on context it is used
func (*GetClusterOKBodyStatusConnectionStringsStandard) MarshalBinary ¶
func (o *GetClusterOKBodyStatusConnectionStringsStandard) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyStatusConnectionStringsStandard) UnmarshalBinary ¶
func (o *GetClusterOKBodyStatusConnectionStringsStandard) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyStatusConnectionStringsVpcPeering ¶
type GetClusterOKBodyStatusConnectionStringsVpcPeering struct { // The host of VPC peering connection. // Example: private-tidb.f69f3808.acea1f2a.us-east-1.shared.aws.tidbcloud.com Host string `json:"host,omitempty"` // The TiDB port for connection. The port must be in the range of 1024-65535 except 10080. // // **Limitations**: // - For a TiDB Serverless cluster, only port `4000` is available. // Example: 4000 // Maximum: 65535 // Minimum: 1024 Port int32 `json:"port,omitempty"` }
GetClusterOKBodyStatusConnectionStringsVpcPeering [VPC peering](https://docs.pingcap.com/tidbcloud/tidb-cloud-glossary#vpc-peering) connection string. // // You must [Set up VPC peering connections](https://docs.pingcap.com/tidbcloud/set-up-vpc-peering-connections) for the project before connecting to this private connection string. swagger:model GetClusterOKBodyStatusConnectionStringsVpcPeering
func (*GetClusterOKBodyStatusConnectionStringsVpcPeering) ContextValidate ¶
func (o *GetClusterOKBodyStatusConnectionStringsVpcPeering) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster o k body status connection strings vpc peering based on context it is used
func (*GetClusterOKBodyStatusConnectionStringsVpcPeering) MarshalBinary ¶
func (o *GetClusterOKBodyStatusConnectionStringsVpcPeering) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyStatusConnectionStringsVpcPeering) UnmarshalBinary ¶
func (o *GetClusterOKBodyStatusConnectionStringsVpcPeering) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyStatusNodeMap ¶
type GetClusterOKBodyStatusNodeMap struct { // TiDB node map. // Example: [{"availability_zone":"us-west-2a","node_name":"tidb-0","node_size":"8C16G","ram_bytes":"17179869184","status":"NODE_STATUS_AVAILABLE","vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tidb-1","node_size":"8C16G","ram_bytes":"17179869184","status":"NODE_STATUS_AVAILABLE","vcpu_num":8}] // Required: true Tidb []*GetClusterOKBodyStatusNodeMapTidbItems0 `json:"tidb"` // TiFlash node map. // Example: [{"availability_zone":"us-west-2a","node_name":"tiflash-0","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tiflash-1","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8}] Tiflash []*GetClusterOKBodyStatusNodeMapTiflashItems0 `json:"tiflash"` // TiKV node map. // Example: [{"availability_zone":"us-west-2a","node_name":"tikv-0","node_size":"8C32G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tikv-1","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2c","node_name":"tikv-2","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8}] // Required: true Tikv []*GetClusterOKBodyStatusNodeMapTikvItems0 `json:"tikv"` }
GetClusterOKBodyStatusNodeMap Node map. The `node_map` is returned only when the `cluster_status` is `"AVAILABLE"` or `"MODIFYING"`. swagger:model GetClusterOKBodyStatusNodeMap
func (*GetClusterOKBodyStatusNodeMap) ContextValidate ¶
func (o *GetClusterOKBodyStatusNodeMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get cluster o k body status node map based on the context it is used
func (*GetClusterOKBodyStatusNodeMap) MarshalBinary ¶
func (o *GetClusterOKBodyStatusNodeMap) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyStatusNodeMap) UnmarshalBinary ¶
func (o *GetClusterOKBodyStatusNodeMap) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyStatusNodeMapTidbItems0 ¶
type GetClusterOKBodyStatusNodeMapTidbItems0 struct { // The availability zone of a node in the cluster. // Example: us-west-2a AvailabilityZone string `json:"availability_zone,omitempty"` // The name of a node in the cluster. // Example: tidb-0 NodeName string `json:"node_name,omitempty"` // The size of the TiDB component in the cluster. // Example: 8C16G NodeSize string `json:"node_size,omitempty"` // The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0. // Example: 17179869184 RAMBytes string `json:"ram_bytes,omitempty"` // The status of a node in the cluster. // Example: NODE_STATUS_AVAILABLE // Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING] Status string `json:"status,omitempty"` // The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0. // Example: 8 VcpuNum int32 `json:"vcpu_num,omitempty"` }
GetClusterOKBodyStatusNodeMapTidbItems0 get cluster o k body status node map tidb items0 swagger:model GetClusterOKBodyStatusNodeMapTidbItems0
func (*GetClusterOKBodyStatusNodeMapTidbItems0) ContextValidate ¶
func (o *GetClusterOKBodyStatusNodeMapTidbItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster o k body status node map tidb items0 based on context it is used
func (*GetClusterOKBodyStatusNodeMapTidbItems0) MarshalBinary ¶
func (o *GetClusterOKBodyStatusNodeMapTidbItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyStatusNodeMapTidbItems0) UnmarshalBinary ¶
func (o *GetClusterOKBodyStatusNodeMapTidbItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyStatusNodeMapTiflashItems0 ¶
type GetClusterOKBodyStatusNodeMapTiflashItems0 struct { // The availability zone of a node in the cluster. // Example: us-west-2a AvailabilityZone string `json:"availability_zone,omitempty"` // The name of a node in the cluster. // Example: tiflash-0 NodeName string `json:"node_name,omitempty"` // The size of the TiFlash component in the cluster. // Example: 8C64G NodeSize string `json:"node_size,omitempty"` // The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0. // Example: 68719476736 RAMBytes string `json:"ram_bytes,omitempty"` // The status of a node in the cluster. // Example: NODE_STATUS_AVAILABLE // Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING] Status string `json:"status,omitempty"` // The storage size of a node in the cluster. // Example: 1024 StorageSizeGib int32 `json:"storage_size_gib,omitempty"` // The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0. // Example: 8 VcpuNum int32 `json:"vcpu_num,omitempty"` }
GetClusterOKBodyStatusNodeMapTiflashItems0 get cluster o k body status node map tiflash items0 swagger:model GetClusterOKBodyStatusNodeMapTiflashItems0
func (*GetClusterOKBodyStatusNodeMapTiflashItems0) ContextValidate ¶
func (o *GetClusterOKBodyStatusNodeMapTiflashItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster o k body status node map tiflash items0 based on context it is used
func (*GetClusterOKBodyStatusNodeMapTiflashItems0) MarshalBinary ¶
func (o *GetClusterOKBodyStatusNodeMapTiflashItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyStatusNodeMapTiflashItems0) UnmarshalBinary ¶
func (o *GetClusterOKBodyStatusNodeMapTiflashItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterOKBodyStatusNodeMapTikvItems0 ¶
type GetClusterOKBodyStatusNodeMapTikvItems0 struct { // The availability zone of a node in the cluster. // Example: us-west-2a AvailabilityZone string `json:"availability_zone,omitempty"` // The name of a node in the cluster. // Example: tikv-0 NodeName string `json:"node_name,omitempty"` // The size of the TiKV component in the cluster. // Example: 8C32G NodeSize string `json:"node_size,omitempty"` // The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0. // Example: 68719476736 RAMBytes string `json:"ram_bytes,omitempty"` // The status of a node in the cluster. // Example: NODE_STATUS_AVAILABLE // Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING] Status string `json:"status,omitempty"` // The storage size of a node in the cluster. // Example: 1024 StorageSizeGib int32 `json:"storage_size_gib,omitempty"` // The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0. // Example: 8 VcpuNum int32 `json:"vcpu_num,omitempty"` }
GetClusterOKBodyStatusNodeMapTikvItems0 get cluster o k body status node map tikv items0 swagger:model GetClusterOKBodyStatusNodeMapTikvItems0
func (*GetClusterOKBodyStatusNodeMapTikvItems0) ContextValidate ¶
func (o *GetClusterOKBodyStatusNodeMapTikvItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster o k body status node map tikv items0 based on context it is used
func (*GetClusterOKBodyStatusNodeMapTikvItems0) MarshalBinary ¶
func (o *GetClusterOKBodyStatusNodeMapTikvItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterOKBodyStatusNodeMapTikvItems0) UnmarshalBinary ¶
func (o *GetClusterOKBodyStatusNodeMapTikvItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterParams ¶
type GetClusterParams struct { /* ClusterID. The ID of the cluster. Format: uint64 */ ClusterID string /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterParams contains all the parameters to send to the API endpoint
for the get cluster operation. Typically these are written to a http.Request.
func NewGetClusterParams ¶
func NewGetClusterParams() *GetClusterParams
NewGetClusterParams creates a new GetClusterParams 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 NewGetClusterParamsWithContext ¶
func NewGetClusterParamsWithContext(ctx context.Context) *GetClusterParams
NewGetClusterParamsWithContext creates a new GetClusterParams object with the ability to set a context for a request.
func NewGetClusterParamsWithHTTPClient ¶
func NewGetClusterParamsWithHTTPClient(client *http.Client) *GetClusterParams
NewGetClusterParamsWithHTTPClient creates a new GetClusterParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterParamsWithTimeout ¶
func NewGetClusterParamsWithTimeout(timeout time.Duration) *GetClusterParams
NewGetClusterParamsWithTimeout creates a new GetClusterParams object with the ability to set a timeout on a request.
func (*GetClusterParams) SetClusterID ¶
func (o *GetClusterParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get cluster params
func (*GetClusterParams) SetContext ¶
func (o *GetClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster params
func (*GetClusterParams) SetDefaults ¶
func (o *GetClusterParams) SetDefaults()
SetDefaults hydrates default values in the get cluster params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterParams) SetHTTPClient ¶
func (o *GetClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster params
func (*GetClusterParams) SetProjectID ¶
func (o *GetClusterParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the get cluster params
func (*GetClusterParams) SetTimeout ¶
func (o *GetClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster params
func (*GetClusterParams) WithClusterID ¶
func (o *GetClusterParams) WithClusterID(clusterID string) *GetClusterParams
WithClusterID adds the clusterID to the get cluster params
func (*GetClusterParams) WithContext ¶
func (o *GetClusterParams) WithContext(ctx context.Context) *GetClusterParams
WithContext adds the context to the get cluster params
func (*GetClusterParams) WithDefaults ¶
func (o *GetClusterParams) WithDefaults() *GetClusterParams
WithDefaults hydrates default values in the get cluster params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterParams) WithHTTPClient ¶
func (o *GetClusterParams) WithHTTPClient(client *http.Client) *GetClusterParams
WithHTTPClient adds the HTTPClient to the get cluster params
func (*GetClusterParams) WithProjectID ¶
func (o *GetClusterParams) WithProjectID(projectID string) *GetClusterParams
WithProjectID adds the projectID to the get cluster params
func (*GetClusterParams) WithTimeout ¶
func (o *GetClusterParams) WithTimeout(timeout time.Duration) *GetClusterParams
WithTimeout adds the timeout to the get cluster params
func (*GetClusterParams) WriteToRequest ¶
func (o *GetClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterReader ¶
type GetClusterReader struct {
// contains filtered or unexported fields
}
GetClusterReader is a Reader for the GetCluster structure.
func (*GetClusterReader) ReadResponse ¶
func (o *GetClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterTooManyRequests ¶
type GetClusterTooManyRequests struct {
Payload *GetClusterTooManyRequestsBody
}
GetClusterTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewGetClusterTooManyRequests ¶
func NewGetClusterTooManyRequests() *GetClusterTooManyRequests
NewGetClusterTooManyRequests creates a GetClusterTooManyRequests with default headers values
func (*GetClusterTooManyRequests) Code ¶
func (o *GetClusterTooManyRequests) Code() int
Code gets the status code for the get cluster too many requests response
func (*GetClusterTooManyRequests) Error ¶
func (o *GetClusterTooManyRequests) Error() string
func (*GetClusterTooManyRequests) GetPayload ¶
func (o *GetClusterTooManyRequests) GetPayload() *GetClusterTooManyRequestsBody
func (*GetClusterTooManyRequests) IsClientError ¶
func (o *GetClusterTooManyRequests) IsClientError() bool
IsClientError returns true when this get cluster too many requests response has a 4xx status code
func (*GetClusterTooManyRequests) IsCode ¶
func (o *GetClusterTooManyRequests) IsCode(code int) bool
IsCode returns true when this get cluster too many requests response a status code equal to that given
func (*GetClusterTooManyRequests) IsRedirect ¶
func (o *GetClusterTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get cluster too many requests response has a 3xx status code
func (*GetClusterTooManyRequests) IsServerError ¶
func (o *GetClusterTooManyRequests) IsServerError() bool
IsServerError returns true when this get cluster too many requests response has a 5xx status code
func (*GetClusterTooManyRequests) IsSuccess ¶
func (o *GetClusterTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get cluster too many requests response has a 2xx status code
func (*GetClusterTooManyRequests) String ¶
func (o *GetClusterTooManyRequests) String() string
type GetClusterTooManyRequestsBody ¶
type GetClusterTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
GetClusterTooManyRequestsBody get cluster too many requests body swagger:model GetClusterTooManyRequestsBody
func (*GetClusterTooManyRequestsBody) ContextValidate ¶
func (o *GetClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get cluster too many requests body based on context it is used
func (*GetClusterTooManyRequestsBody) MarshalBinary ¶
func (o *GetClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetClusterTooManyRequestsBody) UnmarshalBinary ¶
func (o *GetClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetClusterUnauthorized ¶
type GetClusterUnauthorized struct {
}GetClusterUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewGetClusterUnauthorized ¶
func NewGetClusterUnauthorized() *GetClusterUnauthorized
NewGetClusterUnauthorized creates a GetClusterUnauthorized with default headers values
func (*GetClusterUnauthorized) Code ¶
func (o *GetClusterUnauthorized) Code() int
Code gets the status code for the get cluster unauthorized response
func (*GetClusterUnauthorized) Error ¶
func (o *GetClusterUnauthorized) Error() string
func (*GetClusterUnauthorized) GetPayload ¶
func (o *GetClusterUnauthorized) GetPayload() interface{}
func (*GetClusterUnauthorized) IsClientError ¶
func (o *GetClusterUnauthorized) IsClientError() bool
IsClientError returns true when this get cluster unauthorized response has a 4xx status code
func (*GetClusterUnauthorized) IsCode ¶
func (o *GetClusterUnauthorized) IsCode(code int) bool
IsCode returns true when this get cluster unauthorized response a status code equal to that given
func (*GetClusterUnauthorized) IsRedirect ¶
func (o *GetClusterUnauthorized) IsRedirect() bool
IsRedirect returns true when this get cluster unauthorized response has a 3xx status code
func (*GetClusterUnauthorized) IsServerError ¶
func (o *GetClusterUnauthorized) IsServerError() bool
IsServerError returns true when this get cluster unauthorized response has a 5xx status code
func (*GetClusterUnauthorized) IsSuccess ¶
func (o *GetClusterUnauthorized) IsSuccess() bool
IsSuccess returns true when this get cluster unauthorized response has a 2xx status code
func (*GetClusterUnauthorized) String ¶
func (o *GetClusterUnauthorized) String() string
type GetPrivateEndpointServiceBadRequest ¶
type GetPrivateEndpointServiceBadRequest struct {
Payload *GetPrivateEndpointServiceBadRequestBody
}
GetPrivateEndpointServiceBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewGetPrivateEndpointServiceBadRequest ¶
func NewGetPrivateEndpointServiceBadRequest() *GetPrivateEndpointServiceBadRequest
NewGetPrivateEndpointServiceBadRequest creates a GetPrivateEndpointServiceBadRequest with default headers values
func (*GetPrivateEndpointServiceBadRequest) Code ¶
func (o *GetPrivateEndpointServiceBadRequest) Code() int
Code gets the status code for the get private endpoint service bad request response
func (*GetPrivateEndpointServiceBadRequest) Error ¶
func (o *GetPrivateEndpointServiceBadRequest) Error() string
func (*GetPrivateEndpointServiceBadRequest) GetPayload ¶
func (o *GetPrivateEndpointServiceBadRequest) GetPayload() *GetPrivateEndpointServiceBadRequestBody
func (*GetPrivateEndpointServiceBadRequest) IsClientError ¶
func (o *GetPrivateEndpointServiceBadRequest) IsClientError() bool
IsClientError returns true when this get private endpoint service bad request response has a 4xx status code
func (*GetPrivateEndpointServiceBadRequest) IsCode ¶
func (o *GetPrivateEndpointServiceBadRequest) IsCode(code int) bool
IsCode returns true when this get private endpoint service bad request response a status code equal to that given
func (*GetPrivateEndpointServiceBadRequest) IsRedirect ¶
func (o *GetPrivateEndpointServiceBadRequest) IsRedirect() bool
IsRedirect returns true when this get private endpoint service bad request response has a 3xx status code
func (*GetPrivateEndpointServiceBadRequest) IsServerError ¶
func (o *GetPrivateEndpointServiceBadRequest) IsServerError() bool
IsServerError returns true when this get private endpoint service bad request response has a 5xx status code
func (*GetPrivateEndpointServiceBadRequest) IsSuccess ¶
func (o *GetPrivateEndpointServiceBadRequest) IsSuccess() bool
IsSuccess returns true when this get private endpoint service bad request response has a 2xx status code
func (*GetPrivateEndpointServiceBadRequest) String ¶
func (o *GetPrivateEndpointServiceBadRequest) String() string
type GetPrivateEndpointServiceBadRequestBody ¶
type GetPrivateEndpointServiceBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
GetPrivateEndpointServiceBadRequestBody get private endpoint service bad request body swagger:model GetPrivateEndpointServiceBadRequestBody
func (*GetPrivateEndpointServiceBadRequestBody) ContextValidate ¶
func (o *GetPrivateEndpointServiceBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get private endpoint service bad request body based on context it is used
func (*GetPrivateEndpointServiceBadRequestBody) MarshalBinary ¶
func (o *GetPrivateEndpointServiceBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPrivateEndpointServiceBadRequestBody) UnmarshalBinary ¶
func (o *GetPrivateEndpointServiceBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPrivateEndpointServiceDefault ¶
type GetPrivateEndpointServiceDefault struct { Payload *GetPrivateEndpointServiceDefaultBody // contains filtered or unexported fields }
GetPrivateEndpointServiceDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetPrivateEndpointServiceDefault ¶
func NewGetPrivateEndpointServiceDefault(code int) *GetPrivateEndpointServiceDefault
NewGetPrivateEndpointServiceDefault creates a GetPrivateEndpointServiceDefault with default headers values
func (*GetPrivateEndpointServiceDefault) Code ¶
func (o *GetPrivateEndpointServiceDefault) Code() int
Code gets the status code for the get private endpoint service default response
func (*GetPrivateEndpointServiceDefault) Error ¶
func (o *GetPrivateEndpointServiceDefault) Error() string
func (*GetPrivateEndpointServiceDefault) GetPayload ¶
func (o *GetPrivateEndpointServiceDefault) GetPayload() *GetPrivateEndpointServiceDefaultBody
func (*GetPrivateEndpointServiceDefault) IsClientError ¶
func (o *GetPrivateEndpointServiceDefault) IsClientError() bool
IsClientError returns true when this get private endpoint service default response has a 4xx status code
func (*GetPrivateEndpointServiceDefault) IsCode ¶
func (o *GetPrivateEndpointServiceDefault) IsCode(code int) bool
IsCode returns true when this get private endpoint service default response a status code equal to that given
func (*GetPrivateEndpointServiceDefault) IsRedirect ¶
func (o *GetPrivateEndpointServiceDefault) IsRedirect() bool
IsRedirect returns true when this get private endpoint service default response has a 3xx status code
func (*GetPrivateEndpointServiceDefault) IsServerError ¶
func (o *GetPrivateEndpointServiceDefault) IsServerError() bool
IsServerError returns true when this get private endpoint service default response has a 5xx status code
func (*GetPrivateEndpointServiceDefault) IsSuccess ¶
func (o *GetPrivateEndpointServiceDefault) IsSuccess() bool
IsSuccess returns true when this get private endpoint service default response has a 2xx status code
func (*GetPrivateEndpointServiceDefault) String ¶
func (o *GetPrivateEndpointServiceDefault) String() string
type GetPrivateEndpointServiceDefaultBody ¶
type GetPrivateEndpointServiceDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*GetPrivateEndpointServiceDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
GetPrivateEndpointServiceDefaultBody get private endpoint service default body swagger:model GetPrivateEndpointServiceDefaultBody
func (*GetPrivateEndpointServiceDefaultBody) ContextValidate ¶
func (o *GetPrivateEndpointServiceDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get private endpoint service default body based on the context it is used
func (*GetPrivateEndpointServiceDefaultBody) MarshalBinary ¶
func (o *GetPrivateEndpointServiceDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPrivateEndpointServiceDefaultBody) UnmarshalBinary ¶
func (o *GetPrivateEndpointServiceDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPrivateEndpointServiceDefaultBodyDetailsItems0 ¶
type GetPrivateEndpointServiceDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
GetPrivateEndpointServiceDefaultBodyDetailsItems0 get private endpoint service default body details items0 swagger:model GetPrivateEndpointServiceDefaultBodyDetailsItems0
func (*GetPrivateEndpointServiceDefaultBodyDetailsItems0) ContextValidate ¶
func (o *GetPrivateEndpointServiceDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get private endpoint service default body details items0 based on context it is used
func (*GetPrivateEndpointServiceDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *GetPrivateEndpointServiceDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPrivateEndpointServiceDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *GetPrivateEndpointServiceDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPrivateEndpointServiceForbidden ¶
type GetPrivateEndpointServiceForbidden struct {
Payload *GetPrivateEndpointServiceForbiddenBody
}
GetPrivateEndpointServiceForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewGetPrivateEndpointServiceForbidden ¶
func NewGetPrivateEndpointServiceForbidden() *GetPrivateEndpointServiceForbidden
NewGetPrivateEndpointServiceForbidden creates a GetPrivateEndpointServiceForbidden with default headers values
func (*GetPrivateEndpointServiceForbidden) Code ¶
func (o *GetPrivateEndpointServiceForbidden) Code() int
Code gets the status code for the get private endpoint service forbidden response
func (*GetPrivateEndpointServiceForbidden) Error ¶
func (o *GetPrivateEndpointServiceForbidden) Error() string
func (*GetPrivateEndpointServiceForbidden) GetPayload ¶
func (o *GetPrivateEndpointServiceForbidden) GetPayload() *GetPrivateEndpointServiceForbiddenBody
func (*GetPrivateEndpointServiceForbidden) IsClientError ¶
func (o *GetPrivateEndpointServiceForbidden) IsClientError() bool
IsClientError returns true when this get private endpoint service forbidden response has a 4xx status code
func (*GetPrivateEndpointServiceForbidden) IsCode ¶
func (o *GetPrivateEndpointServiceForbidden) IsCode(code int) bool
IsCode returns true when this get private endpoint service forbidden response a status code equal to that given
func (*GetPrivateEndpointServiceForbidden) IsRedirect ¶
func (o *GetPrivateEndpointServiceForbidden) IsRedirect() bool
IsRedirect returns true when this get private endpoint service forbidden response has a 3xx status code
func (*GetPrivateEndpointServiceForbidden) IsServerError ¶
func (o *GetPrivateEndpointServiceForbidden) IsServerError() bool
IsServerError returns true when this get private endpoint service forbidden response has a 5xx status code
func (*GetPrivateEndpointServiceForbidden) IsSuccess ¶
func (o *GetPrivateEndpointServiceForbidden) IsSuccess() bool
IsSuccess returns true when this get private endpoint service forbidden response has a 2xx status code
func (*GetPrivateEndpointServiceForbidden) String ¶
func (o *GetPrivateEndpointServiceForbidden) String() string
type GetPrivateEndpointServiceForbiddenBody ¶
type GetPrivateEndpointServiceForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
GetPrivateEndpointServiceForbiddenBody get private endpoint service forbidden body swagger:model GetPrivateEndpointServiceForbiddenBody
func (*GetPrivateEndpointServiceForbiddenBody) ContextValidate ¶
func (o *GetPrivateEndpointServiceForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get private endpoint service forbidden body based on context it is used
func (*GetPrivateEndpointServiceForbiddenBody) MarshalBinary ¶
func (o *GetPrivateEndpointServiceForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPrivateEndpointServiceForbiddenBody) UnmarshalBinary ¶
func (o *GetPrivateEndpointServiceForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPrivateEndpointServiceInternalServerError ¶
type GetPrivateEndpointServiceInternalServerError struct {
Payload *GetPrivateEndpointServiceInternalServerErrorBody
}
GetPrivateEndpointServiceInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewGetPrivateEndpointServiceInternalServerError ¶
func NewGetPrivateEndpointServiceInternalServerError() *GetPrivateEndpointServiceInternalServerError
NewGetPrivateEndpointServiceInternalServerError creates a GetPrivateEndpointServiceInternalServerError with default headers values
func (*GetPrivateEndpointServiceInternalServerError) Code ¶
func (o *GetPrivateEndpointServiceInternalServerError) Code() int
Code gets the status code for the get private endpoint service internal server error response
func (*GetPrivateEndpointServiceInternalServerError) Error ¶
func (o *GetPrivateEndpointServiceInternalServerError) Error() string
func (*GetPrivateEndpointServiceInternalServerError) GetPayload ¶
func (o *GetPrivateEndpointServiceInternalServerError) GetPayload() *GetPrivateEndpointServiceInternalServerErrorBody
func (*GetPrivateEndpointServiceInternalServerError) IsClientError ¶
func (o *GetPrivateEndpointServiceInternalServerError) IsClientError() bool
IsClientError returns true when this get private endpoint service internal server error response has a 4xx status code
func (*GetPrivateEndpointServiceInternalServerError) IsCode ¶
func (o *GetPrivateEndpointServiceInternalServerError) IsCode(code int) bool
IsCode returns true when this get private endpoint service internal server error response a status code equal to that given
func (*GetPrivateEndpointServiceInternalServerError) IsRedirect ¶
func (o *GetPrivateEndpointServiceInternalServerError) IsRedirect() bool
IsRedirect returns true when this get private endpoint service internal server error response has a 3xx status code
func (*GetPrivateEndpointServiceInternalServerError) IsServerError ¶
func (o *GetPrivateEndpointServiceInternalServerError) IsServerError() bool
IsServerError returns true when this get private endpoint service internal server error response has a 5xx status code
func (*GetPrivateEndpointServiceInternalServerError) IsSuccess ¶
func (o *GetPrivateEndpointServiceInternalServerError) IsSuccess() bool
IsSuccess returns true when this get private endpoint service internal server error response has a 2xx status code
func (*GetPrivateEndpointServiceInternalServerError) String ¶
func (o *GetPrivateEndpointServiceInternalServerError) String() string
type GetPrivateEndpointServiceInternalServerErrorBody ¶
type GetPrivateEndpointServiceInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
GetPrivateEndpointServiceInternalServerErrorBody get private endpoint service internal server error body swagger:model GetPrivateEndpointServiceInternalServerErrorBody
func (*GetPrivateEndpointServiceInternalServerErrorBody) ContextValidate ¶
func (o *GetPrivateEndpointServiceInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get private endpoint service internal server error body based on context it is used
func (*GetPrivateEndpointServiceInternalServerErrorBody) MarshalBinary ¶
func (o *GetPrivateEndpointServiceInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPrivateEndpointServiceInternalServerErrorBody) UnmarshalBinary ¶
func (o *GetPrivateEndpointServiceInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPrivateEndpointServiceNotFound ¶
type GetPrivateEndpointServiceNotFound struct {
Payload *GetPrivateEndpointServiceNotFoundBody
}
GetPrivateEndpointServiceNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewGetPrivateEndpointServiceNotFound ¶
func NewGetPrivateEndpointServiceNotFound() *GetPrivateEndpointServiceNotFound
NewGetPrivateEndpointServiceNotFound creates a GetPrivateEndpointServiceNotFound with default headers values
func (*GetPrivateEndpointServiceNotFound) Code ¶
func (o *GetPrivateEndpointServiceNotFound) Code() int
Code gets the status code for the get private endpoint service not found response
func (*GetPrivateEndpointServiceNotFound) Error ¶
func (o *GetPrivateEndpointServiceNotFound) Error() string
func (*GetPrivateEndpointServiceNotFound) GetPayload ¶
func (o *GetPrivateEndpointServiceNotFound) GetPayload() *GetPrivateEndpointServiceNotFoundBody
func (*GetPrivateEndpointServiceNotFound) IsClientError ¶
func (o *GetPrivateEndpointServiceNotFound) IsClientError() bool
IsClientError returns true when this get private endpoint service not found response has a 4xx status code
func (*GetPrivateEndpointServiceNotFound) IsCode ¶
func (o *GetPrivateEndpointServiceNotFound) IsCode(code int) bool
IsCode returns true when this get private endpoint service not found response a status code equal to that given
func (*GetPrivateEndpointServiceNotFound) IsRedirect ¶
func (o *GetPrivateEndpointServiceNotFound) IsRedirect() bool
IsRedirect returns true when this get private endpoint service not found response has a 3xx status code
func (*GetPrivateEndpointServiceNotFound) IsServerError ¶
func (o *GetPrivateEndpointServiceNotFound) IsServerError() bool
IsServerError returns true when this get private endpoint service not found response has a 5xx status code
func (*GetPrivateEndpointServiceNotFound) IsSuccess ¶
func (o *GetPrivateEndpointServiceNotFound) IsSuccess() bool
IsSuccess returns true when this get private endpoint service not found response has a 2xx status code
func (*GetPrivateEndpointServiceNotFound) String ¶
func (o *GetPrivateEndpointServiceNotFound) String() string
type GetPrivateEndpointServiceNotFoundBody ¶
type GetPrivateEndpointServiceNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
GetPrivateEndpointServiceNotFoundBody get private endpoint service not found body swagger:model GetPrivateEndpointServiceNotFoundBody
func (*GetPrivateEndpointServiceNotFoundBody) ContextValidate ¶
func (o *GetPrivateEndpointServiceNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get private endpoint service not found body based on context it is used
func (*GetPrivateEndpointServiceNotFoundBody) MarshalBinary ¶
func (o *GetPrivateEndpointServiceNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPrivateEndpointServiceNotFoundBody) UnmarshalBinary ¶
func (o *GetPrivateEndpointServiceNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPrivateEndpointServiceOK ¶
type GetPrivateEndpointServiceOK struct {
Payload *GetPrivateEndpointServiceOKBody
}
GetPrivateEndpointServiceOK describes a response with status code 200, with default header values.
A successful response.
func NewGetPrivateEndpointServiceOK ¶
func NewGetPrivateEndpointServiceOK() *GetPrivateEndpointServiceOK
NewGetPrivateEndpointServiceOK creates a GetPrivateEndpointServiceOK with default headers values
func (*GetPrivateEndpointServiceOK) Code ¶
func (o *GetPrivateEndpointServiceOK) Code() int
Code gets the status code for the get private endpoint service o k response
func (*GetPrivateEndpointServiceOK) Error ¶
func (o *GetPrivateEndpointServiceOK) Error() string
func (*GetPrivateEndpointServiceOK) GetPayload ¶
func (o *GetPrivateEndpointServiceOK) GetPayload() *GetPrivateEndpointServiceOKBody
func (*GetPrivateEndpointServiceOK) IsClientError ¶
func (o *GetPrivateEndpointServiceOK) IsClientError() bool
IsClientError returns true when this get private endpoint service o k response has a 4xx status code
func (*GetPrivateEndpointServiceOK) IsCode ¶
func (o *GetPrivateEndpointServiceOK) IsCode(code int) bool
IsCode returns true when this get private endpoint service o k response a status code equal to that given
func (*GetPrivateEndpointServiceOK) IsRedirect ¶
func (o *GetPrivateEndpointServiceOK) IsRedirect() bool
IsRedirect returns true when this get private endpoint service o k response has a 3xx status code
func (*GetPrivateEndpointServiceOK) IsServerError ¶
func (o *GetPrivateEndpointServiceOK) IsServerError() bool
IsServerError returns true when this get private endpoint service o k response has a 5xx status code
func (*GetPrivateEndpointServiceOK) IsSuccess ¶
func (o *GetPrivateEndpointServiceOK) IsSuccess() bool
IsSuccess returns true when this get private endpoint service o k response has a 2xx status code
func (*GetPrivateEndpointServiceOK) String ¶
func (o *GetPrivateEndpointServiceOK) String() string
type GetPrivateEndpointServiceOKBody ¶
type GetPrivateEndpointServiceOKBody struct { // private endpoint service // Required: true PrivateEndpointService *GetPrivateEndpointServiceOKBodyPrivateEndpointService `json:"private_endpoint_service"` }
GetPrivateEndpointServiceOKBody GetPrivateEndpointServiceResp // // GetPrivateEndpointServiceResp is the response for getting private endpoint service for a cluster. swagger:model GetPrivateEndpointServiceOKBody
func (*GetPrivateEndpointServiceOKBody) ContextValidate ¶
func (o *GetPrivateEndpointServiceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get private endpoint service o k body based on the context it is used
func (*GetPrivateEndpointServiceOKBody) MarshalBinary ¶
func (o *GetPrivateEndpointServiceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPrivateEndpointServiceOKBody) UnmarshalBinary ¶
func (o *GetPrivateEndpointServiceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPrivateEndpointServiceOKBodyPrivateEndpointService ¶
type GetPrivateEndpointServiceOKBodyPrivateEndpointService struct { // Availability zones for the private endpoint service. This field is only applicable when the `cloud_provider` is `"AWS"`. // Example: ["usw2-az2","usw2-az1"] AzIds []string `json:"az_ids"` // The cloud provider on which the private endpoint service is hosted. // - `"AWS"`: the Amazon Web Services cloud provider // - `"GCP"`: the Google Cloud cloud provider // Example: AWS // Enum: [AWS GCP] CloudProvider string `json:"cloud_provider,omitempty"` // The DNS name of the private endpoint service. // Example: privatelink-tidb.01234567890.clusters.tidb-cloud.com DNSName string `json:"dns_name,omitempty"` // The name of the private endpoint service, which is used for connection. // Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456 Name string `json:"name,omitempty"` // The port of the private endpoint service. // Example: 4000 Port int32 `json:"port,omitempty"` // The status of the private endpoint service. // Example: ACTIVE // Enum: [CREATING ACTIVE DELETING] Status string `json:"status,omitempty"` }
GetPrivateEndpointServiceOKBodyPrivateEndpointService The private endpoint service resource of the cluster. swagger:model GetPrivateEndpointServiceOKBodyPrivateEndpointService
func (*GetPrivateEndpointServiceOKBodyPrivateEndpointService) ContextValidate ¶
func (o *GetPrivateEndpointServiceOKBodyPrivateEndpointService) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get private endpoint service o k body private endpoint service based on context it is used
func (*GetPrivateEndpointServiceOKBodyPrivateEndpointService) MarshalBinary ¶
func (o *GetPrivateEndpointServiceOKBodyPrivateEndpointService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPrivateEndpointServiceOKBodyPrivateEndpointService) UnmarshalBinary ¶
func (o *GetPrivateEndpointServiceOKBodyPrivateEndpointService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPrivateEndpointServiceParams ¶
type GetPrivateEndpointServiceParams struct { /* ClusterID. The ID of the cluster. Format: uint64 */ ClusterID string /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateEndpointServiceParams contains all the parameters to send to the API endpoint
for the get private endpoint service operation. Typically these are written to a http.Request.
func NewGetPrivateEndpointServiceParams ¶
func NewGetPrivateEndpointServiceParams() *GetPrivateEndpointServiceParams
NewGetPrivateEndpointServiceParams creates a new GetPrivateEndpointServiceParams 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 NewGetPrivateEndpointServiceParamsWithContext ¶
func NewGetPrivateEndpointServiceParamsWithContext(ctx context.Context) *GetPrivateEndpointServiceParams
NewGetPrivateEndpointServiceParamsWithContext creates a new GetPrivateEndpointServiceParams object with the ability to set a context for a request.
func NewGetPrivateEndpointServiceParamsWithHTTPClient ¶
func NewGetPrivateEndpointServiceParamsWithHTTPClient(client *http.Client) *GetPrivateEndpointServiceParams
NewGetPrivateEndpointServiceParamsWithHTTPClient creates a new GetPrivateEndpointServiceParams object with the ability to set a custom HTTPClient for a request.
func NewGetPrivateEndpointServiceParamsWithTimeout ¶
func NewGetPrivateEndpointServiceParamsWithTimeout(timeout time.Duration) *GetPrivateEndpointServiceParams
NewGetPrivateEndpointServiceParamsWithTimeout creates a new GetPrivateEndpointServiceParams object with the ability to set a timeout on a request.
func (*GetPrivateEndpointServiceParams) SetClusterID ¶
func (o *GetPrivateEndpointServiceParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get private endpoint service params
func (*GetPrivateEndpointServiceParams) SetContext ¶
func (o *GetPrivateEndpointServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the get private endpoint service params
func (*GetPrivateEndpointServiceParams) SetDefaults ¶
func (o *GetPrivateEndpointServiceParams) SetDefaults()
SetDefaults hydrates default values in the get private endpoint service params (not the query body).
All values with no default are reset to their zero value.
func (*GetPrivateEndpointServiceParams) SetHTTPClient ¶
func (o *GetPrivateEndpointServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private endpoint service params
func (*GetPrivateEndpointServiceParams) SetProjectID ¶
func (o *GetPrivateEndpointServiceParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the get private endpoint service params
func (*GetPrivateEndpointServiceParams) SetTimeout ¶
func (o *GetPrivateEndpointServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private endpoint service params
func (*GetPrivateEndpointServiceParams) WithClusterID ¶
func (o *GetPrivateEndpointServiceParams) WithClusterID(clusterID string) *GetPrivateEndpointServiceParams
WithClusterID adds the clusterID to the get private endpoint service params
func (*GetPrivateEndpointServiceParams) WithContext ¶
func (o *GetPrivateEndpointServiceParams) WithContext(ctx context.Context) *GetPrivateEndpointServiceParams
WithContext adds the context to the get private endpoint service params
func (*GetPrivateEndpointServiceParams) WithDefaults ¶
func (o *GetPrivateEndpointServiceParams) WithDefaults() *GetPrivateEndpointServiceParams
WithDefaults hydrates default values in the get private endpoint service params (not the query body).
All values with no default are reset to their zero value.
func (*GetPrivateEndpointServiceParams) WithHTTPClient ¶
func (o *GetPrivateEndpointServiceParams) WithHTTPClient(client *http.Client) *GetPrivateEndpointServiceParams
WithHTTPClient adds the HTTPClient to the get private endpoint service params
func (*GetPrivateEndpointServiceParams) WithProjectID ¶
func (o *GetPrivateEndpointServiceParams) WithProjectID(projectID string) *GetPrivateEndpointServiceParams
WithProjectID adds the projectID to the get private endpoint service params
func (*GetPrivateEndpointServiceParams) WithTimeout ¶
func (o *GetPrivateEndpointServiceParams) WithTimeout(timeout time.Duration) *GetPrivateEndpointServiceParams
WithTimeout adds the timeout to the get private endpoint service params
func (*GetPrivateEndpointServiceParams) WriteToRequest ¶
func (o *GetPrivateEndpointServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateEndpointServiceReader ¶
type GetPrivateEndpointServiceReader struct {
// contains filtered or unexported fields
}
GetPrivateEndpointServiceReader is a Reader for the GetPrivateEndpointService structure.
func (*GetPrivateEndpointServiceReader) ReadResponse ¶
func (o *GetPrivateEndpointServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateEndpointServiceTooManyRequests ¶
type GetPrivateEndpointServiceTooManyRequests struct {
Payload *GetPrivateEndpointServiceTooManyRequestsBody
}
GetPrivateEndpointServiceTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewGetPrivateEndpointServiceTooManyRequests ¶
func NewGetPrivateEndpointServiceTooManyRequests() *GetPrivateEndpointServiceTooManyRequests
NewGetPrivateEndpointServiceTooManyRequests creates a GetPrivateEndpointServiceTooManyRequests with default headers values
func (*GetPrivateEndpointServiceTooManyRequests) Code ¶
func (o *GetPrivateEndpointServiceTooManyRequests) Code() int
Code gets the status code for the get private endpoint service too many requests response
func (*GetPrivateEndpointServiceTooManyRequests) Error ¶
func (o *GetPrivateEndpointServiceTooManyRequests) Error() string
func (*GetPrivateEndpointServiceTooManyRequests) GetPayload ¶
func (o *GetPrivateEndpointServiceTooManyRequests) GetPayload() *GetPrivateEndpointServiceTooManyRequestsBody
func (*GetPrivateEndpointServiceTooManyRequests) IsClientError ¶
func (o *GetPrivateEndpointServiceTooManyRequests) IsClientError() bool
IsClientError returns true when this get private endpoint service too many requests response has a 4xx status code
func (*GetPrivateEndpointServiceTooManyRequests) IsCode ¶
func (o *GetPrivateEndpointServiceTooManyRequests) IsCode(code int) bool
IsCode returns true when this get private endpoint service too many requests response a status code equal to that given
func (*GetPrivateEndpointServiceTooManyRequests) IsRedirect ¶
func (o *GetPrivateEndpointServiceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get private endpoint service too many requests response has a 3xx status code
func (*GetPrivateEndpointServiceTooManyRequests) IsServerError ¶
func (o *GetPrivateEndpointServiceTooManyRequests) IsServerError() bool
IsServerError returns true when this get private endpoint service too many requests response has a 5xx status code
func (*GetPrivateEndpointServiceTooManyRequests) IsSuccess ¶
func (o *GetPrivateEndpointServiceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get private endpoint service too many requests response has a 2xx status code
func (*GetPrivateEndpointServiceTooManyRequests) String ¶
func (o *GetPrivateEndpointServiceTooManyRequests) String() string
type GetPrivateEndpointServiceTooManyRequestsBody ¶
type GetPrivateEndpointServiceTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
GetPrivateEndpointServiceTooManyRequestsBody get private endpoint service too many requests body swagger:model GetPrivateEndpointServiceTooManyRequestsBody
func (*GetPrivateEndpointServiceTooManyRequestsBody) ContextValidate ¶
func (o *GetPrivateEndpointServiceTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get private endpoint service too many requests body based on context it is used
func (*GetPrivateEndpointServiceTooManyRequestsBody) MarshalBinary ¶
func (o *GetPrivateEndpointServiceTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPrivateEndpointServiceTooManyRequestsBody) UnmarshalBinary ¶
func (o *GetPrivateEndpointServiceTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPrivateEndpointServiceUnauthorized ¶
type GetPrivateEndpointServiceUnauthorized struct {
}GetPrivateEndpointServiceUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewGetPrivateEndpointServiceUnauthorized ¶
func NewGetPrivateEndpointServiceUnauthorized() *GetPrivateEndpointServiceUnauthorized
NewGetPrivateEndpointServiceUnauthorized creates a GetPrivateEndpointServiceUnauthorized with default headers values
func (*GetPrivateEndpointServiceUnauthorized) Code ¶
func (o *GetPrivateEndpointServiceUnauthorized) Code() int
Code gets the status code for the get private endpoint service unauthorized response
func (*GetPrivateEndpointServiceUnauthorized) Error ¶
func (o *GetPrivateEndpointServiceUnauthorized) Error() string
func (*GetPrivateEndpointServiceUnauthorized) GetPayload ¶
func (o *GetPrivateEndpointServiceUnauthorized) GetPayload() interface{}
func (*GetPrivateEndpointServiceUnauthorized) IsClientError ¶
func (o *GetPrivateEndpointServiceUnauthorized) IsClientError() bool
IsClientError returns true when this get private endpoint service unauthorized response has a 4xx status code
func (*GetPrivateEndpointServiceUnauthorized) IsCode ¶
func (o *GetPrivateEndpointServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this get private endpoint service unauthorized response a status code equal to that given
func (*GetPrivateEndpointServiceUnauthorized) IsRedirect ¶
func (o *GetPrivateEndpointServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this get private endpoint service unauthorized response has a 3xx status code
func (*GetPrivateEndpointServiceUnauthorized) IsServerError ¶
func (o *GetPrivateEndpointServiceUnauthorized) IsServerError() bool
IsServerError returns true when this get private endpoint service unauthorized response has a 5xx status code
func (*GetPrivateEndpointServiceUnauthorized) IsSuccess ¶
func (o *GetPrivateEndpointServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this get private endpoint service unauthorized response has a 2xx status code
func (*GetPrivateEndpointServiceUnauthorized) String ¶
func (o *GetPrivateEndpointServiceUnauthorized) String() string
type ListAwsCmekBadRequest ¶
type ListAwsCmekBadRequest struct {
Payload *ListAwsCmekBadRequestBody
}
ListAwsCmekBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewListAwsCmekBadRequest ¶
func NewListAwsCmekBadRequest() *ListAwsCmekBadRequest
NewListAwsCmekBadRequest creates a ListAwsCmekBadRequest with default headers values
func (*ListAwsCmekBadRequest) Code ¶
func (o *ListAwsCmekBadRequest) Code() int
Code gets the status code for the list aws cmek bad request response
func (*ListAwsCmekBadRequest) Error ¶
func (o *ListAwsCmekBadRequest) Error() string
func (*ListAwsCmekBadRequest) GetPayload ¶
func (o *ListAwsCmekBadRequest) GetPayload() *ListAwsCmekBadRequestBody
func (*ListAwsCmekBadRequest) IsClientError ¶
func (o *ListAwsCmekBadRequest) IsClientError() bool
IsClientError returns true when this list aws cmek bad request response has a 4xx status code
func (*ListAwsCmekBadRequest) IsCode ¶
func (o *ListAwsCmekBadRequest) IsCode(code int) bool
IsCode returns true when this list aws cmek bad request response a status code equal to that given
func (*ListAwsCmekBadRequest) IsRedirect ¶
func (o *ListAwsCmekBadRequest) IsRedirect() bool
IsRedirect returns true when this list aws cmek bad request response has a 3xx status code
func (*ListAwsCmekBadRequest) IsServerError ¶
func (o *ListAwsCmekBadRequest) IsServerError() bool
IsServerError returns true when this list aws cmek bad request response has a 5xx status code
func (*ListAwsCmekBadRequest) IsSuccess ¶
func (o *ListAwsCmekBadRequest) IsSuccess() bool
IsSuccess returns true when this list aws cmek bad request response has a 2xx status code
func (*ListAwsCmekBadRequest) String ¶
func (o *ListAwsCmekBadRequest) String() string
type ListAwsCmekBadRequestBody ¶
type ListAwsCmekBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListAwsCmekBadRequestBody list aws cmek bad request body swagger:model ListAwsCmekBadRequestBody
func (*ListAwsCmekBadRequestBody) ContextValidate ¶
func (o *ListAwsCmekBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list aws cmek bad request body based on context it is used
func (*ListAwsCmekBadRequestBody) MarshalBinary ¶
func (o *ListAwsCmekBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAwsCmekBadRequestBody) UnmarshalBinary ¶
func (o *ListAwsCmekBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAwsCmekDefault ¶
type ListAwsCmekDefault struct { Payload *ListAwsCmekDefaultBody // contains filtered or unexported fields }
ListAwsCmekDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListAwsCmekDefault ¶
func NewListAwsCmekDefault(code int) *ListAwsCmekDefault
NewListAwsCmekDefault creates a ListAwsCmekDefault with default headers values
func (*ListAwsCmekDefault) Code ¶
func (o *ListAwsCmekDefault) Code() int
Code gets the status code for the list aws cmek default response
func (*ListAwsCmekDefault) Error ¶
func (o *ListAwsCmekDefault) Error() string
func (*ListAwsCmekDefault) GetPayload ¶
func (o *ListAwsCmekDefault) GetPayload() *ListAwsCmekDefaultBody
func (*ListAwsCmekDefault) IsClientError ¶
func (o *ListAwsCmekDefault) IsClientError() bool
IsClientError returns true when this list aws cmek default response has a 4xx status code
func (*ListAwsCmekDefault) IsCode ¶
func (o *ListAwsCmekDefault) IsCode(code int) bool
IsCode returns true when this list aws cmek default response a status code equal to that given
func (*ListAwsCmekDefault) IsRedirect ¶
func (o *ListAwsCmekDefault) IsRedirect() bool
IsRedirect returns true when this list aws cmek default response has a 3xx status code
func (*ListAwsCmekDefault) IsServerError ¶
func (o *ListAwsCmekDefault) IsServerError() bool
IsServerError returns true when this list aws cmek default response has a 5xx status code
func (*ListAwsCmekDefault) IsSuccess ¶
func (o *ListAwsCmekDefault) IsSuccess() bool
IsSuccess returns true when this list aws cmek default response has a 2xx status code
func (*ListAwsCmekDefault) String ¶
func (o *ListAwsCmekDefault) String() string
type ListAwsCmekDefaultBody ¶
type ListAwsCmekDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*ListAwsCmekDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
ListAwsCmekDefaultBody list aws cmek default body swagger:model ListAwsCmekDefaultBody
func (*ListAwsCmekDefaultBody) ContextValidate ¶
func (o *ListAwsCmekDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list aws cmek default body based on the context it is used
func (*ListAwsCmekDefaultBody) MarshalBinary ¶
func (o *ListAwsCmekDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAwsCmekDefaultBody) UnmarshalBinary ¶
func (o *ListAwsCmekDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAwsCmekDefaultBodyDetailsItems0 ¶
type ListAwsCmekDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
ListAwsCmekDefaultBodyDetailsItems0 list aws cmek default body details items0 swagger:model ListAwsCmekDefaultBodyDetailsItems0
func (*ListAwsCmekDefaultBodyDetailsItems0) ContextValidate ¶
func (o *ListAwsCmekDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list aws cmek default body details items0 based on context it is used
func (*ListAwsCmekDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *ListAwsCmekDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAwsCmekDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *ListAwsCmekDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAwsCmekForbidden ¶
type ListAwsCmekForbidden struct {
Payload *ListAwsCmekForbiddenBody
}
ListAwsCmekForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewListAwsCmekForbidden ¶
func NewListAwsCmekForbidden() *ListAwsCmekForbidden
NewListAwsCmekForbidden creates a ListAwsCmekForbidden with default headers values
func (*ListAwsCmekForbidden) Code ¶
func (o *ListAwsCmekForbidden) Code() int
Code gets the status code for the list aws cmek forbidden response
func (*ListAwsCmekForbidden) Error ¶
func (o *ListAwsCmekForbidden) Error() string
func (*ListAwsCmekForbidden) GetPayload ¶
func (o *ListAwsCmekForbidden) GetPayload() *ListAwsCmekForbiddenBody
func (*ListAwsCmekForbidden) IsClientError ¶
func (o *ListAwsCmekForbidden) IsClientError() bool
IsClientError returns true when this list aws cmek forbidden response has a 4xx status code
func (*ListAwsCmekForbidden) IsCode ¶
func (o *ListAwsCmekForbidden) IsCode(code int) bool
IsCode returns true when this list aws cmek forbidden response a status code equal to that given
func (*ListAwsCmekForbidden) IsRedirect ¶
func (o *ListAwsCmekForbidden) IsRedirect() bool
IsRedirect returns true when this list aws cmek forbidden response has a 3xx status code
func (*ListAwsCmekForbidden) IsServerError ¶
func (o *ListAwsCmekForbidden) IsServerError() bool
IsServerError returns true when this list aws cmek forbidden response has a 5xx status code
func (*ListAwsCmekForbidden) IsSuccess ¶
func (o *ListAwsCmekForbidden) IsSuccess() bool
IsSuccess returns true when this list aws cmek forbidden response has a 2xx status code
func (*ListAwsCmekForbidden) String ¶
func (o *ListAwsCmekForbidden) String() string
type ListAwsCmekForbiddenBody ¶
type ListAwsCmekForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListAwsCmekForbiddenBody list aws cmek forbidden body swagger:model ListAwsCmekForbiddenBody
func (*ListAwsCmekForbiddenBody) ContextValidate ¶
func (o *ListAwsCmekForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list aws cmek forbidden body based on context it is used
func (*ListAwsCmekForbiddenBody) MarshalBinary ¶
func (o *ListAwsCmekForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAwsCmekForbiddenBody) UnmarshalBinary ¶
func (o *ListAwsCmekForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAwsCmekInternalServerError ¶
type ListAwsCmekInternalServerError struct {
Payload *ListAwsCmekInternalServerErrorBody
}
ListAwsCmekInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewListAwsCmekInternalServerError ¶
func NewListAwsCmekInternalServerError() *ListAwsCmekInternalServerError
NewListAwsCmekInternalServerError creates a ListAwsCmekInternalServerError with default headers values
func (*ListAwsCmekInternalServerError) Code ¶
func (o *ListAwsCmekInternalServerError) Code() int
Code gets the status code for the list aws cmek internal server error response
func (*ListAwsCmekInternalServerError) Error ¶
func (o *ListAwsCmekInternalServerError) Error() string
func (*ListAwsCmekInternalServerError) GetPayload ¶
func (o *ListAwsCmekInternalServerError) GetPayload() *ListAwsCmekInternalServerErrorBody
func (*ListAwsCmekInternalServerError) IsClientError ¶
func (o *ListAwsCmekInternalServerError) IsClientError() bool
IsClientError returns true when this list aws cmek internal server error response has a 4xx status code
func (*ListAwsCmekInternalServerError) IsCode ¶
func (o *ListAwsCmekInternalServerError) IsCode(code int) bool
IsCode returns true when this list aws cmek internal server error response a status code equal to that given
func (*ListAwsCmekInternalServerError) IsRedirect ¶
func (o *ListAwsCmekInternalServerError) IsRedirect() bool
IsRedirect returns true when this list aws cmek internal server error response has a 3xx status code
func (*ListAwsCmekInternalServerError) IsServerError ¶
func (o *ListAwsCmekInternalServerError) IsServerError() bool
IsServerError returns true when this list aws cmek internal server error response has a 5xx status code
func (*ListAwsCmekInternalServerError) IsSuccess ¶
func (o *ListAwsCmekInternalServerError) IsSuccess() bool
IsSuccess returns true when this list aws cmek internal server error response has a 2xx status code
func (*ListAwsCmekInternalServerError) String ¶
func (o *ListAwsCmekInternalServerError) String() string
type ListAwsCmekInternalServerErrorBody ¶
type ListAwsCmekInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListAwsCmekInternalServerErrorBody list aws cmek internal server error body swagger:model ListAwsCmekInternalServerErrorBody
func (*ListAwsCmekInternalServerErrorBody) ContextValidate ¶
func (o *ListAwsCmekInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list aws cmek internal server error body based on context it is used
func (*ListAwsCmekInternalServerErrorBody) MarshalBinary ¶
func (o *ListAwsCmekInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAwsCmekInternalServerErrorBody) UnmarshalBinary ¶
func (o *ListAwsCmekInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAwsCmekNotFound ¶
type ListAwsCmekNotFound struct {
Payload *ListAwsCmekNotFoundBody
}
ListAwsCmekNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewListAwsCmekNotFound ¶
func NewListAwsCmekNotFound() *ListAwsCmekNotFound
NewListAwsCmekNotFound creates a ListAwsCmekNotFound with default headers values
func (*ListAwsCmekNotFound) Code ¶
func (o *ListAwsCmekNotFound) Code() int
Code gets the status code for the list aws cmek not found response
func (*ListAwsCmekNotFound) Error ¶
func (o *ListAwsCmekNotFound) Error() string
func (*ListAwsCmekNotFound) GetPayload ¶
func (o *ListAwsCmekNotFound) GetPayload() *ListAwsCmekNotFoundBody
func (*ListAwsCmekNotFound) IsClientError ¶
func (o *ListAwsCmekNotFound) IsClientError() bool
IsClientError returns true when this list aws cmek not found response has a 4xx status code
func (*ListAwsCmekNotFound) IsCode ¶
func (o *ListAwsCmekNotFound) IsCode(code int) bool
IsCode returns true when this list aws cmek not found response a status code equal to that given
func (*ListAwsCmekNotFound) IsRedirect ¶
func (o *ListAwsCmekNotFound) IsRedirect() bool
IsRedirect returns true when this list aws cmek not found response has a 3xx status code
func (*ListAwsCmekNotFound) IsServerError ¶
func (o *ListAwsCmekNotFound) IsServerError() bool
IsServerError returns true when this list aws cmek not found response has a 5xx status code
func (*ListAwsCmekNotFound) IsSuccess ¶
func (o *ListAwsCmekNotFound) IsSuccess() bool
IsSuccess returns true when this list aws cmek not found response has a 2xx status code
func (*ListAwsCmekNotFound) String ¶
func (o *ListAwsCmekNotFound) String() string
type ListAwsCmekNotFoundBody ¶
type ListAwsCmekNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListAwsCmekNotFoundBody list aws cmek not found body swagger:model ListAwsCmekNotFoundBody
func (*ListAwsCmekNotFoundBody) ContextValidate ¶
func (o *ListAwsCmekNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list aws cmek not found body based on context it is used
func (*ListAwsCmekNotFoundBody) MarshalBinary ¶
func (o *ListAwsCmekNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAwsCmekNotFoundBody) UnmarshalBinary ¶
func (o *ListAwsCmekNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAwsCmekOK ¶
type ListAwsCmekOK struct {
Payload *ListAwsCmekOKBody
}
ListAwsCmekOK describes a response with status code 200, with default header values.
A successful response.
func NewListAwsCmekOK ¶
func NewListAwsCmekOK() *ListAwsCmekOK
NewListAwsCmekOK creates a ListAwsCmekOK with default headers values
func (*ListAwsCmekOK) Code ¶
func (o *ListAwsCmekOK) Code() int
Code gets the status code for the list aws cmek o k response
func (*ListAwsCmekOK) Error ¶
func (o *ListAwsCmekOK) Error() string
func (*ListAwsCmekOK) GetPayload ¶
func (o *ListAwsCmekOK) GetPayload() *ListAwsCmekOKBody
func (*ListAwsCmekOK) IsClientError ¶
func (o *ListAwsCmekOK) IsClientError() bool
IsClientError returns true when this list aws cmek o k response has a 4xx status code
func (*ListAwsCmekOK) IsCode ¶
func (o *ListAwsCmekOK) IsCode(code int) bool
IsCode returns true when this list aws cmek o k response a status code equal to that given
func (*ListAwsCmekOK) IsRedirect ¶
func (o *ListAwsCmekOK) IsRedirect() bool
IsRedirect returns true when this list aws cmek o k response has a 3xx status code
func (*ListAwsCmekOK) IsServerError ¶
func (o *ListAwsCmekOK) IsServerError() bool
IsServerError returns true when this list aws cmek o k response has a 5xx status code
func (*ListAwsCmekOK) IsSuccess ¶
func (o *ListAwsCmekOK) IsSuccess() bool
IsSuccess returns true when this list aws cmek o k response has a 2xx status code
func (*ListAwsCmekOK) String ¶
func (o *ListAwsCmekOK) String() string
type ListAwsCmekOKBody ¶
type ListAwsCmekOKBody struct { // The specifications of the AWS CMEK. Items []*ListAwsCmekOKBodyItemsItems0 `json:"items"` }
ListAwsCmekOKBody ListAwsCmekResp // // ListAwsCmekResp is the response for getting AWS Customer-Managed Encryption Keys for a project. swagger:model ListAwsCmekOKBody
func (*ListAwsCmekOKBody) ContextValidate ¶
ContextValidate validate this list aws cmek o k body based on the context it is used
func (*ListAwsCmekOKBody) MarshalBinary ¶
func (o *ListAwsCmekOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAwsCmekOKBody) UnmarshalBinary ¶
func (o *ListAwsCmekOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAwsCmekOKBodyItemsItems0 ¶
type ListAwsCmekOKBodyItemsItems0 struct { // The KMS ARN of the AWS CMEK. // Example: arn:aws:kms:example // Required: true KmsArn *string `json:"kms_arn"` // The region name of the AWS CMEK. The region value should match the cloud provider's region code. // // You can get the complete list of available regions from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // For the detailed information on each region, refer to the documentation of the [AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) cloud provider. // Example: us-west-2 // Required: true Region *string `json:"region"` }
ListAwsCmekOKBodyItemsItems0 AwsCmekSpec // // AwsCmekSpec is the specification of the AWS CMEK. swagger:model ListAwsCmekOKBodyItemsItems0
func (*ListAwsCmekOKBodyItemsItems0) ContextValidate ¶
func (o *ListAwsCmekOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list aws cmek o k body items items0 based on context it is used
func (*ListAwsCmekOKBodyItemsItems0) MarshalBinary ¶
func (o *ListAwsCmekOKBodyItemsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAwsCmekOKBodyItemsItems0) UnmarshalBinary ¶
func (o *ListAwsCmekOKBodyItemsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAwsCmekParams ¶
type ListAwsCmekParams struct { /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAwsCmekParams contains all the parameters to send to the API endpoint
for the list aws cmek operation. Typically these are written to a http.Request.
func NewListAwsCmekParams ¶
func NewListAwsCmekParams() *ListAwsCmekParams
NewListAwsCmekParams creates a new ListAwsCmekParams 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 NewListAwsCmekParamsWithContext ¶
func NewListAwsCmekParamsWithContext(ctx context.Context) *ListAwsCmekParams
NewListAwsCmekParamsWithContext creates a new ListAwsCmekParams object with the ability to set a context for a request.
func NewListAwsCmekParamsWithHTTPClient ¶
func NewListAwsCmekParamsWithHTTPClient(client *http.Client) *ListAwsCmekParams
NewListAwsCmekParamsWithHTTPClient creates a new ListAwsCmekParams object with the ability to set a custom HTTPClient for a request.
func NewListAwsCmekParamsWithTimeout ¶
func NewListAwsCmekParamsWithTimeout(timeout time.Duration) *ListAwsCmekParams
NewListAwsCmekParamsWithTimeout creates a new ListAwsCmekParams object with the ability to set a timeout on a request.
func (*ListAwsCmekParams) SetContext ¶
func (o *ListAwsCmekParams) SetContext(ctx context.Context)
SetContext adds the context to the list aws cmek params
func (*ListAwsCmekParams) SetDefaults ¶
func (o *ListAwsCmekParams) SetDefaults()
SetDefaults hydrates default values in the list aws cmek params (not the query body).
All values with no default are reset to their zero value.
func (*ListAwsCmekParams) SetHTTPClient ¶
func (o *ListAwsCmekParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list aws cmek params
func (*ListAwsCmekParams) SetProjectID ¶
func (o *ListAwsCmekParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list aws cmek params
func (*ListAwsCmekParams) SetTimeout ¶
func (o *ListAwsCmekParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list aws cmek params
func (*ListAwsCmekParams) WithContext ¶
func (o *ListAwsCmekParams) WithContext(ctx context.Context) *ListAwsCmekParams
WithContext adds the context to the list aws cmek params
func (*ListAwsCmekParams) WithDefaults ¶
func (o *ListAwsCmekParams) WithDefaults() *ListAwsCmekParams
WithDefaults hydrates default values in the list aws cmek params (not the query body).
All values with no default are reset to their zero value.
func (*ListAwsCmekParams) WithHTTPClient ¶
func (o *ListAwsCmekParams) WithHTTPClient(client *http.Client) *ListAwsCmekParams
WithHTTPClient adds the HTTPClient to the list aws cmek params
func (*ListAwsCmekParams) WithProjectID ¶
func (o *ListAwsCmekParams) WithProjectID(projectID string) *ListAwsCmekParams
WithProjectID adds the projectID to the list aws cmek params
func (*ListAwsCmekParams) WithTimeout ¶
func (o *ListAwsCmekParams) WithTimeout(timeout time.Duration) *ListAwsCmekParams
WithTimeout adds the timeout to the list aws cmek params
func (*ListAwsCmekParams) WriteToRequest ¶
func (o *ListAwsCmekParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAwsCmekReader ¶
type ListAwsCmekReader struct {
// contains filtered or unexported fields
}
ListAwsCmekReader is a Reader for the ListAwsCmek structure.
func (*ListAwsCmekReader) ReadResponse ¶
func (o *ListAwsCmekReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAwsCmekTooManyRequests ¶
type ListAwsCmekTooManyRequests struct {
Payload *ListAwsCmekTooManyRequestsBody
}
ListAwsCmekTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewListAwsCmekTooManyRequests ¶
func NewListAwsCmekTooManyRequests() *ListAwsCmekTooManyRequests
NewListAwsCmekTooManyRequests creates a ListAwsCmekTooManyRequests with default headers values
func (*ListAwsCmekTooManyRequests) Code ¶
func (o *ListAwsCmekTooManyRequests) Code() int
Code gets the status code for the list aws cmek too many requests response
func (*ListAwsCmekTooManyRequests) Error ¶
func (o *ListAwsCmekTooManyRequests) Error() string
func (*ListAwsCmekTooManyRequests) GetPayload ¶
func (o *ListAwsCmekTooManyRequests) GetPayload() *ListAwsCmekTooManyRequestsBody
func (*ListAwsCmekTooManyRequests) IsClientError ¶
func (o *ListAwsCmekTooManyRequests) IsClientError() bool
IsClientError returns true when this list aws cmek too many requests response has a 4xx status code
func (*ListAwsCmekTooManyRequests) IsCode ¶
func (o *ListAwsCmekTooManyRequests) IsCode(code int) bool
IsCode returns true when this list aws cmek too many requests response a status code equal to that given
func (*ListAwsCmekTooManyRequests) IsRedirect ¶
func (o *ListAwsCmekTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list aws cmek too many requests response has a 3xx status code
func (*ListAwsCmekTooManyRequests) IsServerError ¶
func (o *ListAwsCmekTooManyRequests) IsServerError() bool
IsServerError returns true when this list aws cmek too many requests response has a 5xx status code
func (*ListAwsCmekTooManyRequests) IsSuccess ¶
func (o *ListAwsCmekTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list aws cmek too many requests response has a 2xx status code
func (*ListAwsCmekTooManyRequests) String ¶
func (o *ListAwsCmekTooManyRequests) String() string
type ListAwsCmekTooManyRequestsBody ¶
type ListAwsCmekTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListAwsCmekTooManyRequestsBody list aws cmek too many requests body swagger:model ListAwsCmekTooManyRequestsBody
func (*ListAwsCmekTooManyRequestsBody) ContextValidate ¶
func (o *ListAwsCmekTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list aws cmek too many requests body based on context it is used
func (*ListAwsCmekTooManyRequestsBody) MarshalBinary ¶
func (o *ListAwsCmekTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAwsCmekTooManyRequestsBody) UnmarshalBinary ¶
func (o *ListAwsCmekTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAwsCmekUnauthorized ¶
type ListAwsCmekUnauthorized struct {
}ListAwsCmekUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewListAwsCmekUnauthorized ¶
func NewListAwsCmekUnauthorized() *ListAwsCmekUnauthorized
NewListAwsCmekUnauthorized creates a ListAwsCmekUnauthorized with default headers values
func (*ListAwsCmekUnauthorized) Code ¶
func (o *ListAwsCmekUnauthorized) Code() int
Code gets the status code for the list aws cmek unauthorized response
func (*ListAwsCmekUnauthorized) Error ¶
func (o *ListAwsCmekUnauthorized) Error() string
func (*ListAwsCmekUnauthorized) GetPayload ¶
func (o *ListAwsCmekUnauthorized) GetPayload() interface{}
func (*ListAwsCmekUnauthorized) IsClientError ¶
func (o *ListAwsCmekUnauthorized) IsClientError() bool
IsClientError returns true when this list aws cmek unauthorized response has a 4xx status code
func (*ListAwsCmekUnauthorized) IsCode ¶
func (o *ListAwsCmekUnauthorized) IsCode(code int) bool
IsCode returns true when this list aws cmek unauthorized response a status code equal to that given
func (*ListAwsCmekUnauthorized) IsRedirect ¶
func (o *ListAwsCmekUnauthorized) IsRedirect() bool
IsRedirect returns true when this list aws cmek unauthorized response has a 3xx status code
func (*ListAwsCmekUnauthorized) IsServerError ¶
func (o *ListAwsCmekUnauthorized) IsServerError() bool
IsServerError returns true when this list aws cmek unauthorized response has a 5xx status code
func (*ListAwsCmekUnauthorized) IsSuccess ¶
func (o *ListAwsCmekUnauthorized) IsSuccess() bool
IsSuccess returns true when this list aws cmek unauthorized response has a 2xx status code
func (*ListAwsCmekUnauthorized) String ¶
func (o *ListAwsCmekUnauthorized) String() string
type ListClustersOfProjectBadRequest ¶
type ListClustersOfProjectBadRequest struct {
Payload *ListClustersOfProjectBadRequestBody
}
ListClustersOfProjectBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewListClustersOfProjectBadRequest ¶
func NewListClustersOfProjectBadRequest() *ListClustersOfProjectBadRequest
NewListClustersOfProjectBadRequest creates a ListClustersOfProjectBadRequest with default headers values
func (*ListClustersOfProjectBadRequest) Code ¶
func (o *ListClustersOfProjectBadRequest) Code() int
Code gets the status code for the list clusters of project bad request response
func (*ListClustersOfProjectBadRequest) Error ¶
func (o *ListClustersOfProjectBadRequest) Error() string
func (*ListClustersOfProjectBadRequest) GetPayload ¶
func (o *ListClustersOfProjectBadRequest) GetPayload() *ListClustersOfProjectBadRequestBody
func (*ListClustersOfProjectBadRequest) IsClientError ¶
func (o *ListClustersOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this list clusters of project bad request response has a 4xx status code
func (*ListClustersOfProjectBadRequest) IsCode ¶
func (o *ListClustersOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this list clusters of project bad request response a status code equal to that given
func (*ListClustersOfProjectBadRequest) IsRedirect ¶
func (o *ListClustersOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this list clusters of project bad request response has a 3xx status code
func (*ListClustersOfProjectBadRequest) IsServerError ¶
func (o *ListClustersOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this list clusters of project bad request response has a 5xx status code
func (*ListClustersOfProjectBadRequest) IsSuccess ¶
func (o *ListClustersOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this list clusters of project bad request response has a 2xx status code
func (*ListClustersOfProjectBadRequest) String ¶
func (o *ListClustersOfProjectBadRequest) String() string
type ListClustersOfProjectBadRequestBody ¶
type ListClustersOfProjectBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListClustersOfProjectBadRequestBody list clusters of project bad request body swagger:model ListClustersOfProjectBadRequestBody
func (*ListClustersOfProjectBadRequestBody) ContextValidate ¶
func (o *ListClustersOfProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project bad request body based on context it is used
func (*ListClustersOfProjectBadRequestBody) MarshalBinary ¶
func (o *ListClustersOfProjectBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectBadRequestBody) UnmarshalBinary ¶
func (o *ListClustersOfProjectBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectDefault ¶
type ListClustersOfProjectDefault struct { Payload *ListClustersOfProjectDefaultBody // contains filtered or unexported fields }
ListClustersOfProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListClustersOfProjectDefault ¶
func NewListClustersOfProjectDefault(code int) *ListClustersOfProjectDefault
NewListClustersOfProjectDefault creates a ListClustersOfProjectDefault with default headers values
func (*ListClustersOfProjectDefault) Code ¶
func (o *ListClustersOfProjectDefault) Code() int
Code gets the status code for the list clusters of project default response
func (*ListClustersOfProjectDefault) Error ¶
func (o *ListClustersOfProjectDefault) Error() string
func (*ListClustersOfProjectDefault) GetPayload ¶
func (o *ListClustersOfProjectDefault) GetPayload() *ListClustersOfProjectDefaultBody
func (*ListClustersOfProjectDefault) IsClientError ¶
func (o *ListClustersOfProjectDefault) IsClientError() bool
IsClientError returns true when this list clusters of project default response has a 4xx status code
func (*ListClustersOfProjectDefault) IsCode ¶
func (o *ListClustersOfProjectDefault) IsCode(code int) bool
IsCode returns true when this list clusters of project default response a status code equal to that given
func (*ListClustersOfProjectDefault) IsRedirect ¶
func (o *ListClustersOfProjectDefault) IsRedirect() bool
IsRedirect returns true when this list clusters of project default response has a 3xx status code
func (*ListClustersOfProjectDefault) IsServerError ¶
func (o *ListClustersOfProjectDefault) IsServerError() bool
IsServerError returns true when this list clusters of project default response has a 5xx status code
func (*ListClustersOfProjectDefault) IsSuccess ¶
func (o *ListClustersOfProjectDefault) IsSuccess() bool
IsSuccess returns true when this list clusters of project default response has a 2xx status code
func (*ListClustersOfProjectDefault) String ¶
func (o *ListClustersOfProjectDefault) String() string
type ListClustersOfProjectDefaultBody ¶
type ListClustersOfProjectDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*ListClustersOfProjectDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
ListClustersOfProjectDefaultBody list clusters of project default body swagger:model ListClustersOfProjectDefaultBody
func (*ListClustersOfProjectDefaultBody) ContextValidate ¶
func (o *ListClustersOfProjectDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list clusters of project default body based on the context it is used
func (*ListClustersOfProjectDefaultBody) MarshalBinary ¶
func (o *ListClustersOfProjectDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectDefaultBody) UnmarshalBinary ¶
func (o *ListClustersOfProjectDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectDefaultBodyDetailsItems0 ¶
type ListClustersOfProjectDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
ListClustersOfProjectDefaultBodyDetailsItems0 list clusters of project default body details items0 swagger:model ListClustersOfProjectDefaultBodyDetailsItems0
func (*ListClustersOfProjectDefaultBodyDetailsItems0) ContextValidate ¶
func (o *ListClustersOfProjectDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project default body details items0 based on context it is used
func (*ListClustersOfProjectDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *ListClustersOfProjectDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *ListClustersOfProjectDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectForbidden ¶
type ListClustersOfProjectForbidden struct {
Payload *ListClustersOfProjectForbiddenBody
}
ListClustersOfProjectForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewListClustersOfProjectForbidden ¶
func NewListClustersOfProjectForbidden() *ListClustersOfProjectForbidden
NewListClustersOfProjectForbidden creates a ListClustersOfProjectForbidden with default headers values
func (*ListClustersOfProjectForbidden) Code ¶
func (o *ListClustersOfProjectForbidden) Code() int
Code gets the status code for the list clusters of project forbidden response
func (*ListClustersOfProjectForbidden) Error ¶
func (o *ListClustersOfProjectForbidden) Error() string
func (*ListClustersOfProjectForbidden) GetPayload ¶
func (o *ListClustersOfProjectForbidden) GetPayload() *ListClustersOfProjectForbiddenBody
func (*ListClustersOfProjectForbidden) IsClientError ¶
func (o *ListClustersOfProjectForbidden) IsClientError() bool
IsClientError returns true when this list clusters of project forbidden response has a 4xx status code
func (*ListClustersOfProjectForbidden) IsCode ¶
func (o *ListClustersOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this list clusters of project forbidden response a status code equal to that given
func (*ListClustersOfProjectForbidden) IsRedirect ¶
func (o *ListClustersOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this list clusters of project forbidden response has a 3xx status code
func (*ListClustersOfProjectForbidden) IsServerError ¶
func (o *ListClustersOfProjectForbidden) IsServerError() bool
IsServerError returns true when this list clusters of project forbidden response has a 5xx status code
func (*ListClustersOfProjectForbidden) IsSuccess ¶
func (o *ListClustersOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this list clusters of project forbidden response has a 2xx status code
func (*ListClustersOfProjectForbidden) String ¶
func (o *ListClustersOfProjectForbidden) String() string
type ListClustersOfProjectForbiddenBody ¶
type ListClustersOfProjectForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListClustersOfProjectForbiddenBody list clusters of project forbidden body swagger:model ListClustersOfProjectForbiddenBody
func (*ListClustersOfProjectForbiddenBody) ContextValidate ¶
func (o *ListClustersOfProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project forbidden body based on context it is used
func (*ListClustersOfProjectForbiddenBody) MarshalBinary ¶
func (o *ListClustersOfProjectForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectForbiddenBody) UnmarshalBinary ¶
func (o *ListClustersOfProjectForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectInternalServerError ¶
type ListClustersOfProjectInternalServerError struct {
Payload *ListClustersOfProjectInternalServerErrorBody
}
ListClustersOfProjectInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewListClustersOfProjectInternalServerError ¶
func NewListClustersOfProjectInternalServerError() *ListClustersOfProjectInternalServerError
NewListClustersOfProjectInternalServerError creates a ListClustersOfProjectInternalServerError with default headers values
func (*ListClustersOfProjectInternalServerError) Code ¶
func (o *ListClustersOfProjectInternalServerError) Code() int
Code gets the status code for the list clusters of project internal server error response
func (*ListClustersOfProjectInternalServerError) Error ¶
func (o *ListClustersOfProjectInternalServerError) Error() string
func (*ListClustersOfProjectInternalServerError) GetPayload ¶
func (o *ListClustersOfProjectInternalServerError) GetPayload() *ListClustersOfProjectInternalServerErrorBody
func (*ListClustersOfProjectInternalServerError) IsClientError ¶
func (o *ListClustersOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this list clusters of project internal server error response has a 4xx status code
func (*ListClustersOfProjectInternalServerError) IsCode ¶
func (o *ListClustersOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this list clusters of project internal server error response a status code equal to that given
func (*ListClustersOfProjectInternalServerError) IsRedirect ¶
func (o *ListClustersOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this list clusters of project internal server error response has a 3xx status code
func (*ListClustersOfProjectInternalServerError) IsServerError ¶
func (o *ListClustersOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this list clusters of project internal server error response has a 5xx status code
func (*ListClustersOfProjectInternalServerError) IsSuccess ¶
func (o *ListClustersOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this list clusters of project internal server error response has a 2xx status code
func (*ListClustersOfProjectInternalServerError) String ¶
func (o *ListClustersOfProjectInternalServerError) String() string
type ListClustersOfProjectInternalServerErrorBody ¶
type ListClustersOfProjectInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListClustersOfProjectInternalServerErrorBody list clusters of project internal server error body swagger:model ListClustersOfProjectInternalServerErrorBody
func (*ListClustersOfProjectInternalServerErrorBody) ContextValidate ¶
func (o *ListClustersOfProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project internal server error body based on context it is used
func (*ListClustersOfProjectInternalServerErrorBody) MarshalBinary ¶
func (o *ListClustersOfProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectInternalServerErrorBody) UnmarshalBinary ¶
func (o *ListClustersOfProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectNotFound ¶
type ListClustersOfProjectNotFound struct {
Payload *ListClustersOfProjectNotFoundBody
}
ListClustersOfProjectNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewListClustersOfProjectNotFound ¶
func NewListClustersOfProjectNotFound() *ListClustersOfProjectNotFound
NewListClustersOfProjectNotFound creates a ListClustersOfProjectNotFound with default headers values
func (*ListClustersOfProjectNotFound) Code ¶
func (o *ListClustersOfProjectNotFound) Code() int
Code gets the status code for the list clusters of project not found response
func (*ListClustersOfProjectNotFound) Error ¶
func (o *ListClustersOfProjectNotFound) Error() string
func (*ListClustersOfProjectNotFound) GetPayload ¶
func (o *ListClustersOfProjectNotFound) GetPayload() *ListClustersOfProjectNotFoundBody
func (*ListClustersOfProjectNotFound) IsClientError ¶
func (o *ListClustersOfProjectNotFound) IsClientError() bool
IsClientError returns true when this list clusters of project not found response has a 4xx status code
func (*ListClustersOfProjectNotFound) IsCode ¶
func (o *ListClustersOfProjectNotFound) IsCode(code int) bool
IsCode returns true when this list clusters of project not found response a status code equal to that given
func (*ListClustersOfProjectNotFound) IsRedirect ¶
func (o *ListClustersOfProjectNotFound) IsRedirect() bool
IsRedirect returns true when this list clusters of project not found response has a 3xx status code
func (*ListClustersOfProjectNotFound) IsServerError ¶
func (o *ListClustersOfProjectNotFound) IsServerError() bool
IsServerError returns true when this list clusters of project not found response has a 5xx status code
func (*ListClustersOfProjectNotFound) IsSuccess ¶
func (o *ListClustersOfProjectNotFound) IsSuccess() bool
IsSuccess returns true when this list clusters of project not found response has a 2xx status code
func (*ListClustersOfProjectNotFound) String ¶
func (o *ListClustersOfProjectNotFound) String() string
type ListClustersOfProjectNotFoundBody ¶
type ListClustersOfProjectNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListClustersOfProjectNotFoundBody list clusters of project not found body swagger:model ListClustersOfProjectNotFoundBody
func (*ListClustersOfProjectNotFoundBody) ContextValidate ¶
func (o *ListClustersOfProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project not found body based on context it is used
func (*ListClustersOfProjectNotFoundBody) MarshalBinary ¶
func (o *ListClustersOfProjectNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectNotFoundBody) UnmarshalBinary ¶
func (o *ListClustersOfProjectNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOK ¶
type ListClustersOfProjectOK struct {
Payload *ListClustersOfProjectOKBody
}
ListClustersOfProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewListClustersOfProjectOK ¶
func NewListClustersOfProjectOK() *ListClustersOfProjectOK
NewListClustersOfProjectOK creates a ListClustersOfProjectOK with default headers values
func (*ListClustersOfProjectOK) Code ¶
func (o *ListClustersOfProjectOK) Code() int
Code gets the status code for the list clusters of project o k response
func (*ListClustersOfProjectOK) Error ¶
func (o *ListClustersOfProjectOK) Error() string
func (*ListClustersOfProjectOK) GetPayload ¶
func (o *ListClustersOfProjectOK) GetPayload() *ListClustersOfProjectOKBody
func (*ListClustersOfProjectOK) IsClientError ¶
func (o *ListClustersOfProjectOK) IsClientError() bool
IsClientError returns true when this list clusters of project o k response has a 4xx status code
func (*ListClustersOfProjectOK) IsCode ¶
func (o *ListClustersOfProjectOK) IsCode(code int) bool
IsCode returns true when this list clusters of project o k response a status code equal to that given
func (*ListClustersOfProjectOK) IsRedirect ¶
func (o *ListClustersOfProjectOK) IsRedirect() bool
IsRedirect returns true when this list clusters of project o k response has a 3xx status code
func (*ListClustersOfProjectOK) IsServerError ¶
func (o *ListClustersOfProjectOK) IsServerError() bool
IsServerError returns true when this list clusters of project o k response has a 5xx status code
func (*ListClustersOfProjectOK) IsSuccess ¶
func (o *ListClustersOfProjectOK) IsSuccess() bool
IsSuccess returns true when this list clusters of project o k response has a 2xx status code
func (*ListClustersOfProjectOK) String ¶
func (o *ListClustersOfProjectOK) String() string
type ListClustersOfProjectOKBody ¶
type ListClustersOfProjectOKBody struct { // The items of clusters in the project. // Required: true Items []*ListClustersOfProjectOKBodyItemsItems0 `json:"items"` // The total number of clusters in the project. // Example: 1 // Required: true Total *int64 `json:"total"` }
ListClustersOfProjectOKBody GetClustersOfProjectResp // // GetClustersOfProjectResp is the response for getting clusters of project. swagger:model ListClustersOfProjectOKBody
func (*ListClustersOfProjectOKBody) ContextValidate ¶
func (o *ListClustersOfProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list clusters of project o k body based on the context it is used
func (*ListClustersOfProjectOKBody) MarshalBinary ¶
func (o *ListClustersOfProjectOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBody) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0 ¶
type ListClustersOfProjectOKBodyItemsItems0 struct { // The cloud provider on which your TiDB cluster is hosted. // - `"AWS"`: the Amazon Web Services cloud provider // - `"GCP"`: the Google Cloud cloud provider // Example: AWS // Enum: [AWS GCP] CloudProvider string `json:"cloud_provider,omitempty"` // The cluster type: // - `"DEVELOPER"`: a [TiDB Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-serverless) cluster // - `"DEDICATED"`: a [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#dedicated-tier) cluster // // **Warning:** `"DEVELOPER"` will soon be changed to `"SERVERLESS"` to represent TiDB Serverless clusters. // Example: DEDICATED // Enum: [DEDICATED DEVELOPER] ClusterType string `json:"cluster_type,omitempty"` // config Config *ListClustersOfProjectOKBodyItemsItems0Config `json:"config,omitempty"` // The creation time of the cluster in Unix timestamp seconds (epoch time). // Example: 1656991448 CreateTimestamp string `json:"create_timestamp,omitempty"` // The ID of the cluster. // Example: 1 // Required: true ID *string `json:"id"` // The name of the cluster. // Example: Cluster0 // Pattern: ^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$ Name string `json:"name,omitempty"` // The ID of the project. // Example: 1 // Required: true ProjectID *string `json:"project_id"` // Region of the cluster. // Example: us-west-2 Region string `json:"region,omitempty"` // status Status *ListClustersOfProjectOKBodyItemsItems0Status `json:"status,omitempty"` }
ListClustersOfProjectOKBodyItemsItems0 ClusterItem // // ClusterItem is the information of cluster. swagger:model ListClustersOfProjectOKBodyItemsItems0
func (*ListClustersOfProjectOKBodyItemsItems0) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list clusters of project o k body items items0 based on the context it is used
func (*ListClustersOfProjectOKBodyItemsItems0) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0Config ¶
type ListClustersOfProjectOKBodyItemsItems0Config struct { // components Components *ListClustersOfProjectOKBodyItemsItems0ConfigComponents `json:"components,omitempty"` // The TiDB port for connection. The port must be in the range of 1024-65535 except 10080. // Example: 4000 // Maximum: 65535 // Minimum: 1024 Port int32 `json:"port,omitempty"` }
ListClustersOfProjectOKBodyItemsItems0Config The configuration of the cluster. // Example: {"components":{"tidb":{"node_quantity":2,"node_size":"8C16G"},"tikv":{"node_quantity":3,"node_size":"8C32G","storage_size_gib":1024}},"port":4000} swagger:model ListClustersOfProjectOKBodyItemsItems0Config
func (*ListClustersOfProjectOKBodyItemsItems0Config) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0Config) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list clusters of project o k body items items0 config based on the context it is used
func (*ListClustersOfProjectOKBodyItemsItems0Config) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0Config) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0Config) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0Config) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0ConfigComponents ¶
type ListClustersOfProjectOKBodyItemsItems0ConfigComponents struct { // tidb // Required: true Tidb *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb `json:"tidb"` // tiflash Tiflash *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash `json:"tiflash,omitempty"` // tikv // Required: true Tikv *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv `json:"tikv"` }
ListClustersOfProjectOKBodyItemsItems0ConfigComponents The components of the cluster. // Example: {"tidb":{"node_quantity":2,"node_size":"8C16G"},"tikv":{"node_quantity":3,"node_size":"8C32G","storage_size_gib":1024}} swagger:model ListClustersOfProjectOKBodyItemsItems0ConfigComponents
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponents) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list clusters of project o k body items items0 config components based on the context it is used
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponents) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponents) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb ¶
type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // Example: 2 // Required: true NodeQuantity *int32 `json:"node_quantity"` // The size of the TiDB component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // Example: 8C16G // Required: true NodeSize *string `json:"node_size"` }
ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb The TiDB component of the cluster. swagger:model ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project o k body items items0 config components tidb based on context it is used
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash ¶
type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // Example: 1 // Required: true NodeQuantity *int32 `json:"node_quantity"` // The size of the TiFlash component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // Example: 8C64G // Required: true NodeSize *string `json:"node_size"` // The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // Example: 1024 // Required: true StorageSizeGib *int32 `json:"storage_size_gib"` }
ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash The TiFlash component of the cluster. swagger:model ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project o k body items items0 config components tiflash based on context it is used
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv ¶
type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Limitations**: // - The `node_quantity` of TiKV must be a multiple of 3. // Example: 3 // Required: true NodeQuantity *int32 `json:"node_quantity"` // The size of the TiKV component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // Example: 8C64G // Required: true NodeSize *string `json:"node_size"` // The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // Example: 1024 // Required: true StorageSizeGib *int32 `json:"storage_size_gib"` }
ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv The TiKV component of the cluster. swagger:model ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project o k body items items0 config components tikv based on context it is used
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0Status ¶
type ListClustersOfProjectOKBodyItemsItems0Status struct { // Status of the cluster. // Example: AVAILABLE // Enum: [AVAILABLE CREATING MODIFYING PAUSED RESUMING UNAVAILABLE IMPORTING MAINTAINING PAUSING] ClusterStatus string `json:"cluster_status,omitempty"` // connection strings ConnectionStrings *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings `json:"connection_strings,omitempty"` // node map NodeMap *ListClustersOfProjectOKBodyItemsItems0StatusNodeMap `json:"node_map,omitempty"` // TiDB version. // Example: v6.1.0 TidbVersion string `json:"tidb_version,omitempty"` }
ListClustersOfProjectOKBodyItemsItems0Status ClusterItemStatus // // The status of the cluster. swagger:model ListClustersOfProjectOKBodyItemsItems0Status
func (*ListClustersOfProjectOKBodyItemsItems0Status) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list clusters of project o k body items items0 status based on the context it is used
func (*ListClustersOfProjectOKBodyItemsItems0Status) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0Status) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0Status) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0Status) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings ¶
type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings struct { // The default TiDB user for connection. // Example: root DefaultUser string `json:"default_user,omitempty"` // standard Standard *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard `json:"standard,omitempty"` // vpc peering VpcPeering *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering `json:"vpc_peering,omitempty"` }
ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings Connection strings. swagger:model ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list clusters of project o k body items items0 status connection strings based on the context it is used
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard ¶
type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard struct { // The host of standard connection. // Example: tidb.f69f3808.acea1f2a.us-east-1.shared.aws.tidbcloud.com Host string `json:"host,omitempty"` // The TiDB port for connection. The port must be in the range of 1024-65535 except 10080. // // **Limitations**: // - For a TiDB Serverless cluster, only port `4000` is available. // Example: 4000 // Maximum: 65535 // Minimum: 1024 Port int32 `json:"port,omitempty"` }
ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard Standard connection string. // // You must configure the [IP Access List](https://docs.pingcap.com/tidbcloud/connect-to-tidb-cluster#connect-via-standard-connection) for the cluster you created on [TiDB Cloud console](https://tidbcloud.com/) before connecting to this connection string. swagger:model ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project o k body items items0 status connection strings standard based on context it is used
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) Validate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) Validate(formats strfmt.Registry) error
Validate validates this list clusters of project o k body items items0 status connection strings standard
type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering ¶
type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering struct { // The host of VPC peering connection. // Example: private-tidb.f69f3808.acea1f2a.us-east-1.shared.aws.tidbcloud.com Host string `json:"host,omitempty"` // The TiDB port for connection. The port must be in the range of 1024-65535 except 10080. // // **Limitations**: // - For a TiDB Serverless cluster, only port `4000` is available. // Example: 4000 // Maximum: 65535 // Minimum: 1024 Port int32 `json:"port,omitempty"` }
ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering [VPC peering](https://docs.pingcap.com/tidbcloud/tidb-cloud-glossary#vpc-peering) connection string. // // You must [Set up VPC peering connections](https://docs.pingcap.com/tidbcloud/set-up-vpc-peering-connections) for the project before connecting to this private connection string. swagger:model ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project o k body items items0 status connection strings vpc peering based on context it is used
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) Validate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) Validate(formats strfmt.Registry) error
Validate validates this list clusters of project o k body items items0 status connection strings vpc peering
type ListClustersOfProjectOKBodyItemsItems0StatusNodeMap ¶
type ListClustersOfProjectOKBodyItemsItems0StatusNodeMap struct { // TiDB node map. // Example: [{"availability_zone":"us-west-2a","node_name":"tidb-0","node_size":"8C16G","ram_bytes":"17179869184","status":"NODE_STATUS_AVAILABLE","vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tidb-1","node_size":"8C16G","ram_bytes":"17179869184","status":"NODE_STATUS_AVAILABLE","vcpu_num":8}] // Required: true Tidb []*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0 `json:"tidb"` // TiFlash node map. // Example: [{"availability_zone":"us-west-2a","node_name":"tiflash-0","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tiflash-1","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8}] Tiflash []*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0 `json:"tiflash"` // TiKV node map. // Example: [{"availability_zone":"us-west-2a","node_name":"tikv-0","node_size":"8C32G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tikv-1","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2c","node_name":"tikv-2","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8}] // Required: true Tikv []*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0 `json:"tikv"` }
ListClustersOfProjectOKBodyItemsItems0StatusNodeMap Node map. The `node_map` is returned only when the `cluster_status` is `"AVAILABLE"` or `"MODIFYING"`. swagger:model ListClustersOfProjectOKBodyItemsItems0StatusNodeMap
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list clusters of project o k body items items0 status node map based on the context it is used
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0 ¶
type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0 struct { // The availability zone of a node in the cluster. // Example: us-west-2a AvailabilityZone string `json:"availability_zone,omitempty"` // The name of a node in the cluster. // Example: tidb-0 NodeName string `json:"node_name,omitempty"` // The size of the TiDB component in the cluster. // Example: 8C16G NodeSize string `json:"node_size,omitempty"` // The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0. // Example: 17179869184 RAMBytes string `json:"ram_bytes,omitempty"` // The status of a node in the cluster. // Example: NODE_STATUS_AVAILABLE // Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING] Status string `json:"status,omitempty"` // The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0. // Example: 8 VcpuNum int32 `json:"vcpu_num,omitempty"` }
ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0 list clusters of project o k body items items0 status node map tidb items0 swagger:model ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project o k body items items0 status node map tidb items0 based on context it is used
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0 ¶
type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0 struct { // The availability zone of a node in the cluster. // Example: us-west-2a AvailabilityZone string `json:"availability_zone,omitempty"` // The name of a node in the cluster. // Example: tiflash-0 NodeName string `json:"node_name,omitempty"` // The size of the TiFlash component in the cluster. // Example: 8C64G NodeSize string `json:"node_size,omitempty"` // The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0. // Example: 68719476736 RAMBytes string `json:"ram_bytes,omitempty"` // The status of a node in the cluster. // Example: NODE_STATUS_AVAILABLE // Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING] Status string `json:"status,omitempty"` // The storage size of a node in the cluster. // Example: 1024 StorageSizeGib int32 `json:"storage_size_gib,omitempty"` // The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0. // Example: 8 VcpuNum int32 `json:"vcpu_num,omitempty"` }
ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0 list clusters of project o k body items items0 status node map tiflash items0 swagger:model ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project o k body items items0 status node map tiflash items0 based on context it is used
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) Validate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) Validate(formats strfmt.Registry) error
Validate validates this list clusters of project o k body items items0 status node map tiflash items0
type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0 ¶
type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0 struct { // The availability zone of a node in the cluster. // Example: us-west-2a AvailabilityZone string `json:"availability_zone,omitempty"` // The name of a node in the cluster. // Example: tikv-0 NodeName string `json:"node_name,omitempty"` // The size of the TiKV component in the cluster. // Example: 8C32G NodeSize string `json:"node_size,omitempty"` // The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0. // Example: 68719476736 RAMBytes string `json:"ram_bytes,omitempty"` // The status of a node in the cluster. // Example: NODE_STATUS_AVAILABLE // Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING] Status string `json:"status,omitempty"` // The storage size of a node in the cluster. // Example: 1024 StorageSizeGib int32 `json:"storage_size_gib,omitempty"` // The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0. // Example: 8 VcpuNum int32 `json:"vcpu_num,omitempty"` }
ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0 list clusters of project o k body items items0 status node map tikv items0 swagger:model ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) ContextValidate ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project o k body items items0 status node map tikv items0 based on context it is used
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) MarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) UnmarshalBinary ¶
func (o *ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectParams ¶
type ListClustersOfProjectParams struct { /* Page. The number of pages. Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of a page. Format: int64 Default: 10 */ PageSize *int64 /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClustersOfProjectParams contains all the parameters to send to the API endpoint
for the list clusters of project operation. Typically these are written to a http.Request.
func NewListClustersOfProjectParams ¶
func NewListClustersOfProjectParams() *ListClustersOfProjectParams
NewListClustersOfProjectParams creates a new ListClustersOfProjectParams 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 NewListClustersOfProjectParamsWithContext ¶
func NewListClustersOfProjectParamsWithContext(ctx context.Context) *ListClustersOfProjectParams
NewListClustersOfProjectParamsWithContext creates a new ListClustersOfProjectParams object with the ability to set a context for a request.
func NewListClustersOfProjectParamsWithHTTPClient ¶
func NewListClustersOfProjectParamsWithHTTPClient(client *http.Client) *ListClustersOfProjectParams
NewListClustersOfProjectParamsWithHTTPClient creates a new ListClustersOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewListClustersOfProjectParamsWithTimeout ¶
func NewListClustersOfProjectParamsWithTimeout(timeout time.Duration) *ListClustersOfProjectParams
NewListClustersOfProjectParamsWithTimeout creates a new ListClustersOfProjectParams object with the ability to set a timeout on a request.
func (*ListClustersOfProjectParams) SetContext ¶
func (o *ListClustersOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the list clusters of project params
func (*ListClustersOfProjectParams) SetDefaults ¶
func (o *ListClustersOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the list clusters of project params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersOfProjectParams) SetHTTPClient ¶
func (o *ListClustersOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list clusters of project params
func (*ListClustersOfProjectParams) SetPage ¶
func (o *ListClustersOfProjectParams) SetPage(page *int64)
SetPage adds the page to the list clusters of project params
func (*ListClustersOfProjectParams) SetPageSize ¶
func (o *ListClustersOfProjectParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list clusters of project params
func (*ListClustersOfProjectParams) SetProjectID ¶
func (o *ListClustersOfProjectParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list clusters of project params
func (*ListClustersOfProjectParams) SetTimeout ¶
func (o *ListClustersOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list clusters of project params
func (*ListClustersOfProjectParams) WithContext ¶
func (o *ListClustersOfProjectParams) WithContext(ctx context.Context) *ListClustersOfProjectParams
WithContext adds the context to the list clusters of project params
func (*ListClustersOfProjectParams) WithDefaults ¶
func (o *ListClustersOfProjectParams) WithDefaults() *ListClustersOfProjectParams
WithDefaults hydrates default values in the list clusters of project params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersOfProjectParams) WithHTTPClient ¶
func (o *ListClustersOfProjectParams) WithHTTPClient(client *http.Client) *ListClustersOfProjectParams
WithHTTPClient adds the HTTPClient to the list clusters of project params
func (*ListClustersOfProjectParams) WithPage ¶
func (o *ListClustersOfProjectParams) WithPage(page *int64) *ListClustersOfProjectParams
WithPage adds the page to the list clusters of project params
func (*ListClustersOfProjectParams) WithPageSize ¶
func (o *ListClustersOfProjectParams) WithPageSize(pageSize *int64) *ListClustersOfProjectParams
WithPageSize adds the pageSize to the list clusters of project params
func (*ListClustersOfProjectParams) WithProjectID ¶
func (o *ListClustersOfProjectParams) WithProjectID(projectID string) *ListClustersOfProjectParams
WithProjectID adds the projectID to the list clusters of project params
func (*ListClustersOfProjectParams) WithTimeout ¶
func (o *ListClustersOfProjectParams) WithTimeout(timeout time.Duration) *ListClustersOfProjectParams
WithTimeout adds the timeout to the list clusters of project params
func (*ListClustersOfProjectParams) WriteToRequest ¶
func (o *ListClustersOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClustersOfProjectReader ¶
type ListClustersOfProjectReader struct {
// contains filtered or unexported fields
}
ListClustersOfProjectReader is a Reader for the ListClustersOfProject structure.
func (*ListClustersOfProjectReader) ReadResponse ¶
func (o *ListClustersOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClustersOfProjectTooManyRequests ¶
type ListClustersOfProjectTooManyRequests struct {
Payload *ListClustersOfProjectTooManyRequestsBody
}
ListClustersOfProjectTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewListClustersOfProjectTooManyRequests ¶
func NewListClustersOfProjectTooManyRequests() *ListClustersOfProjectTooManyRequests
NewListClustersOfProjectTooManyRequests creates a ListClustersOfProjectTooManyRequests with default headers values
func (*ListClustersOfProjectTooManyRequests) Code ¶
func (o *ListClustersOfProjectTooManyRequests) Code() int
Code gets the status code for the list clusters of project too many requests response
func (*ListClustersOfProjectTooManyRequests) Error ¶
func (o *ListClustersOfProjectTooManyRequests) Error() string
func (*ListClustersOfProjectTooManyRequests) GetPayload ¶
func (o *ListClustersOfProjectTooManyRequests) GetPayload() *ListClustersOfProjectTooManyRequestsBody
func (*ListClustersOfProjectTooManyRequests) IsClientError ¶
func (o *ListClustersOfProjectTooManyRequests) IsClientError() bool
IsClientError returns true when this list clusters of project too many requests response has a 4xx status code
func (*ListClustersOfProjectTooManyRequests) IsCode ¶
func (o *ListClustersOfProjectTooManyRequests) IsCode(code int) bool
IsCode returns true when this list clusters of project too many requests response a status code equal to that given
func (*ListClustersOfProjectTooManyRequests) IsRedirect ¶
func (o *ListClustersOfProjectTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list clusters of project too many requests response has a 3xx status code
func (*ListClustersOfProjectTooManyRequests) IsServerError ¶
func (o *ListClustersOfProjectTooManyRequests) IsServerError() bool
IsServerError returns true when this list clusters of project too many requests response has a 5xx status code
func (*ListClustersOfProjectTooManyRequests) IsSuccess ¶
func (o *ListClustersOfProjectTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list clusters of project too many requests response has a 2xx status code
func (*ListClustersOfProjectTooManyRequests) String ¶
func (o *ListClustersOfProjectTooManyRequests) String() string
type ListClustersOfProjectTooManyRequestsBody ¶
type ListClustersOfProjectTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListClustersOfProjectTooManyRequestsBody list clusters of project too many requests body swagger:model ListClustersOfProjectTooManyRequestsBody
func (*ListClustersOfProjectTooManyRequestsBody) ContextValidate ¶
func (o *ListClustersOfProjectTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list clusters of project too many requests body based on context it is used
func (*ListClustersOfProjectTooManyRequestsBody) MarshalBinary ¶
func (o *ListClustersOfProjectTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListClustersOfProjectTooManyRequestsBody) UnmarshalBinary ¶
func (o *ListClustersOfProjectTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListClustersOfProjectUnauthorized ¶
type ListClustersOfProjectUnauthorized struct {
}ListClustersOfProjectUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewListClustersOfProjectUnauthorized ¶
func NewListClustersOfProjectUnauthorized() *ListClustersOfProjectUnauthorized
NewListClustersOfProjectUnauthorized creates a ListClustersOfProjectUnauthorized with default headers values
func (*ListClustersOfProjectUnauthorized) Code ¶
func (o *ListClustersOfProjectUnauthorized) Code() int
Code gets the status code for the list clusters of project unauthorized response
func (*ListClustersOfProjectUnauthorized) Error ¶
func (o *ListClustersOfProjectUnauthorized) Error() string
func (*ListClustersOfProjectUnauthorized) GetPayload ¶
func (o *ListClustersOfProjectUnauthorized) GetPayload() interface{}
func (*ListClustersOfProjectUnauthorized) IsClientError ¶
func (o *ListClustersOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this list clusters of project unauthorized response has a 4xx status code
func (*ListClustersOfProjectUnauthorized) IsCode ¶
func (o *ListClustersOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this list clusters of project unauthorized response a status code equal to that given
func (*ListClustersOfProjectUnauthorized) IsRedirect ¶
func (o *ListClustersOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this list clusters of project unauthorized response has a 3xx status code
func (*ListClustersOfProjectUnauthorized) IsServerError ¶
func (o *ListClustersOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this list clusters of project unauthorized response has a 5xx status code
func (*ListClustersOfProjectUnauthorized) IsSuccess ¶
func (o *ListClustersOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this list clusters of project unauthorized response has a 2xx status code
func (*ListClustersOfProjectUnauthorized) String ¶
func (o *ListClustersOfProjectUnauthorized) String() string
type ListPrivateEndpointsBadRequest ¶
type ListPrivateEndpointsBadRequest struct {
Payload *ListPrivateEndpointsBadRequestBody
}
ListPrivateEndpointsBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewListPrivateEndpointsBadRequest ¶
func NewListPrivateEndpointsBadRequest() *ListPrivateEndpointsBadRequest
NewListPrivateEndpointsBadRequest creates a ListPrivateEndpointsBadRequest with default headers values
func (*ListPrivateEndpointsBadRequest) Code ¶
func (o *ListPrivateEndpointsBadRequest) Code() int
Code gets the status code for the list private endpoints bad request response
func (*ListPrivateEndpointsBadRequest) Error ¶
func (o *ListPrivateEndpointsBadRequest) Error() string
func (*ListPrivateEndpointsBadRequest) GetPayload ¶
func (o *ListPrivateEndpointsBadRequest) GetPayload() *ListPrivateEndpointsBadRequestBody
func (*ListPrivateEndpointsBadRequest) IsClientError ¶
func (o *ListPrivateEndpointsBadRequest) IsClientError() bool
IsClientError returns true when this list private endpoints bad request response has a 4xx status code
func (*ListPrivateEndpointsBadRequest) IsCode ¶
func (o *ListPrivateEndpointsBadRequest) IsCode(code int) bool
IsCode returns true when this list private endpoints bad request response a status code equal to that given
func (*ListPrivateEndpointsBadRequest) IsRedirect ¶
func (o *ListPrivateEndpointsBadRequest) IsRedirect() bool
IsRedirect returns true when this list private endpoints bad request response has a 3xx status code
func (*ListPrivateEndpointsBadRequest) IsServerError ¶
func (o *ListPrivateEndpointsBadRequest) IsServerError() bool
IsServerError returns true when this list private endpoints bad request response has a 5xx status code
func (*ListPrivateEndpointsBadRequest) IsSuccess ¶
func (o *ListPrivateEndpointsBadRequest) IsSuccess() bool
IsSuccess returns true when this list private endpoints bad request response has a 2xx status code
func (*ListPrivateEndpointsBadRequest) String ¶
func (o *ListPrivateEndpointsBadRequest) String() string
type ListPrivateEndpointsBadRequestBody ¶
type ListPrivateEndpointsBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListPrivateEndpointsBadRequestBody list private endpoints bad request body swagger:model ListPrivateEndpointsBadRequestBody
func (*ListPrivateEndpointsBadRequestBody) ContextValidate ¶
func (o *ListPrivateEndpointsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints bad request body based on context it is used
func (*ListPrivateEndpointsBadRequestBody) MarshalBinary ¶
func (o *ListPrivateEndpointsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsBadRequestBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsDefault ¶
type ListPrivateEndpointsDefault struct { Payload *ListPrivateEndpointsDefaultBody // contains filtered or unexported fields }
ListPrivateEndpointsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListPrivateEndpointsDefault ¶
func NewListPrivateEndpointsDefault(code int) *ListPrivateEndpointsDefault
NewListPrivateEndpointsDefault creates a ListPrivateEndpointsDefault with default headers values
func (*ListPrivateEndpointsDefault) Code ¶
func (o *ListPrivateEndpointsDefault) Code() int
Code gets the status code for the list private endpoints default response
func (*ListPrivateEndpointsDefault) Error ¶
func (o *ListPrivateEndpointsDefault) Error() string
func (*ListPrivateEndpointsDefault) GetPayload ¶
func (o *ListPrivateEndpointsDefault) GetPayload() *ListPrivateEndpointsDefaultBody
func (*ListPrivateEndpointsDefault) IsClientError ¶
func (o *ListPrivateEndpointsDefault) IsClientError() bool
IsClientError returns true when this list private endpoints default response has a 4xx status code
func (*ListPrivateEndpointsDefault) IsCode ¶
func (o *ListPrivateEndpointsDefault) IsCode(code int) bool
IsCode returns true when this list private endpoints default response a status code equal to that given
func (*ListPrivateEndpointsDefault) IsRedirect ¶
func (o *ListPrivateEndpointsDefault) IsRedirect() bool
IsRedirect returns true when this list private endpoints default response has a 3xx status code
func (*ListPrivateEndpointsDefault) IsServerError ¶
func (o *ListPrivateEndpointsDefault) IsServerError() bool
IsServerError returns true when this list private endpoints default response has a 5xx status code
func (*ListPrivateEndpointsDefault) IsSuccess ¶
func (o *ListPrivateEndpointsDefault) IsSuccess() bool
IsSuccess returns true when this list private endpoints default response has a 2xx status code
func (*ListPrivateEndpointsDefault) String ¶
func (o *ListPrivateEndpointsDefault) String() string
type ListPrivateEndpointsDefaultBody ¶
type ListPrivateEndpointsDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*ListPrivateEndpointsDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
ListPrivateEndpointsDefaultBody list private endpoints default body swagger:model ListPrivateEndpointsDefaultBody
func (*ListPrivateEndpointsDefaultBody) ContextValidate ¶
func (o *ListPrivateEndpointsDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list private endpoints default body based on the context it is used
func (*ListPrivateEndpointsDefaultBody) MarshalBinary ¶
func (o *ListPrivateEndpointsDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsDefaultBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsDefaultBodyDetailsItems0 ¶
type ListPrivateEndpointsDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
ListPrivateEndpointsDefaultBodyDetailsItems0 list private endpoints default body details items0 swagger:model ListPrivateEndpointsDefaultBodyDetailsItems0
func (*ListPrivateEndpointsDefaultBodyDetailsItems0) ContextValidate ¶
func (o *ListPrivateEndpointsDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints default body details items0 based on context it is used
func (*ListPrivateEndpointsDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *ListPrivateEndpointsDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *ListPrivateEndpointsDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsForbidden ¶
type ListPrivateEndpointsForbidden struct {
Payload *ListPrivateEndpointsForbiddenBody
}
ListPrivateEndpointsForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewListPrivateEndpointsForbidden ¶
func NewListPrivateEndpointsForbidden() *ListPrivateEndpointsForbidden
NewListPrivateEndpointsForbidden creates a ListPrivateEndpointsForbidden with default headers values
func (*ListPrivateEndpointsForbidden) Code ¶
func (o *ListPrivateEndpointsForbidden) Code() int
Code gets the status code for the list private endpoints forbidden response
func (*ListPrivateEndpointsForbidden) Error ¶
func (o *ListPrivateEndpointsForbidden) Error() string
func (*ListPrivateEndpointsForbidden) GetPayload ¶
func (o *ListPrivateEndpointsForbidden) GetPayload() *ListPrivateEndpointsForbiddenBody
func (*ListPrivateEndpointsForbidden) IsClientError ¶
func (o *ListPrivateEndpointsForbidden) IsClientError() bool
IsClientError returns true when this list private endpoints forbidden response has a 4xx status code
func (*ListPrivateEndpointsForbidden) IsCode ¶
func (o *ListPrivateEndpointsForbidden) IsCode(code int) bool
IsCode returns true when this list private endpoints forbidden response a status code equal to that given
func (*ListPrivateEndpointsForbidden) IsRedirect ¶
func (o *ListPrivateEndpointsForbidden) IsRedirect() bool
IsRedirect returns true when this list private endpoints forbidden response has a 3xx status code
func (*ListPrivateEndpointsForbidden) IsServerError ¶
func (o *ListPrivateEndpointsForbidden) IsServerError() bool
IsServerError returns true when this list private endpoints forbidden response has a 5xx status code
func (*ListPrivateEndpointsForbidden) IsSuccess ¶
func (o *ListPrivateEndpointsForbidden) IsSuccess() bool
IsSuccess returns true when this list private endpoints forbidden response has a 2xx status code
func (*ListPrivateEndpointsForbidden) String ¶
func (o *ListPrivateEndpointsForbidden) String() string
type ListPrivateEndpointsForbiddenBody ¶
type ListPrivateEndpointsForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListPrivateEndpointsForbiddenBody list private endpoints forbidden body swagger:model ListPrivateEndpointsForbiddenBody
func (*ListPrivateEndpointsForbiddenBody) ContextValidate ¶
func (o *ListPrivateEndpointsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints forbidden body based on context it is used
func (*ListPrivateEndpointsForbiddenBody) MarshalBinary ¶
func (o *ListPrivateEndpointsForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsForbiddenBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsInternalServerError ¶
type ListPrivateEndpointsInternalServerError struct {
Payload *ListPrivateEndpointsInternalServerErrorBody
}
ListPrivateEndpointsInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewListPrivateEndpointsInternalServerError ¶
func NewListPrivateEndpointsInternalServerError() *ListPrivateEndpointsInternalServerError
NewListPrivateEndpointsInternalServerError creates a ListPrivateEndpointsInternalServerError with default headers values
func (*ListPrivateEndpointsInternalServerError) Code ¶
func (o *ListPrivateEndpointsInternalServerError) Code() int
Code gets the status code for the list private endpoints internal server error response
func (*ListPrivateEndpointsInternalServerError) Error ¶
func (o *ListPrivateEndpointsInternalServerError) Error() string
func (*ListPrivateEndpointsInternalServerError) GetPayload ¶
func (o *ListPrivateEndpointsInternalServerError) GetPayload() *ListPrivateEndpointsInternalServerErrorBody
func (*ListPrivateEndpointsInternalServerError) IsClientError ¶
func (o *ListPrivateEndpointsInternalServerError) IsClientError() bool
IsClientError returns true when this list private endpoints internal server error response has a 4xx status code
func (*ListPrivateEndpointsInternalServerError) IsCode ¶
func (o *ListPrivateEndpointsInternalServerError) IsCode(code int) bool
IsCode returns true when this list private endpoints internal server error response a status code equal to that given
func (*ListPrivateEndpointsInternalServerError) IsRedirect ¶
func (o *ListPrivateEndpointsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list private endpoints internal server error response has a 3xx status code
func (*ListPrivateEndpointsInternalServerError) IsServerError ¶
func (o *ListPrivateEndpointsInternalServerError) IsServerError() bool
IsServerError returns true when this list private endpoints internal server error response has a 5xx status code
func (*ListPrivateEndpointsInternalServerError) IsSuccess ¶
func (o *ListPrivateEndpointsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list private endpoints internal server error response has a 2xx status code
func (*ListPrivateEndpointsInternalServerError) String ¶
func (o *ListPrivateEndpointsInternalServerError) String() string
type ListPrivateEndpointsInternalServerErrorBody ¶
type ListPrivateEndpointsInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListPrivateEndpointsInternalServerErrorBody list private endpoints internal server error body swagger:model ListPrivateEndpointsInternalServerErrorBody
func (*ListPrivateEndpointsInternalServerErrorBody) ContextValidate ¶
func (o *ListPrivateEndpointsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints internal server error body based on context it is used
func (*ListPrivateEndpointsInternalServerErrorBody) MarshalBinary ¶
func (o *ListPrivateEndpointsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsInternalServerErrorBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsNotFound ¶
type ListPrivateEndpointsNotFound struct {
Payload *ListPrivateEndpointsNotFoundBody
}
ListPrivateEndpointsNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewListPrivateEndpointsNotFound ¶
func NewListPrivateEndpointsNotFound() *ListPrivateEndpointsNotFound
NewListPrivateEndpointsNotFound creates a ListPrivateEndpointsNotFound with default headers values
func (*ListPrivateEndpointsNotFound) Code ¶
func (o *ListPrivateEndpointsNotFound) Code() int
Code gets the status code for the list private endpoints not found response
func (*ListPrivateEndpointsNotFound) Error ¶
func (o *ListPrivateEndpointsNotFound) Error() string
func (*ListPrivateEndpointsNotFound) GetPayload ¶
func (o *ListPrivateEndpointsNotFound) GetPayload() *ListPrivateEndpointsNotFoundBody
func (*ListPrivateEndpointsNotFound) IsClientError ¶
func (o *ListPrivateEndpointsNotFound) IsClientError() bool
IsClientError returns true when this list private endpoints not found response has a 4xx status code
func (*ListPrivateEndpointsNotFound) IsCode ¶
func (o *ListPrivateEndpointsNotFound) IsCode(code int) bool
IsCode returns true when this list private endpoints not found response a status code equal to that given
func (*ListPrivateEndpointsNotFound) IsRedirect ¶
func (o *ListPrivateEndpointsNotFound) IsRedirect() bool
IsRedirect returns true when this list private endpoints not found response has a 3xx status code
func (*ListPrivateEndpointsNotFound) IsServerError ¶
func (o *ListPrivateEndpointsNotFound) IsServerError() bool
IsServerError returns true when this list private endpoints not found response has a 5xx status code
func (*ListPrivateEndpointsNotFound) IsSuccess ¶
func (o *ListPrivateEndpointsNotFound) IsSuccess() bool
IsSuccess returns true when this list private endpoints not found response has a 2xx status code
func (*ListPrivateEndpointsNotFound) String ¶
func (o *ListPrivateEndpointsNotFound) String() string
type ListPrivateEndpointsNotFoundBody ¶
type ListPrivateEndpointsNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListPrivateEndpointsNotFoundBody list private endpoints not found body swagger:model ListPrivateEndpointsNotFoundBody
func (*ListPrivateEndpointsNotFoundBody) ContextValidate ¶
func (o *ListPrivateEndpointsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints not found body based on context it is used
func (*ListPrivateEndpointsNotFoundBody) MarshalBinary ¶
func (o *ListPrivateEndpointsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsNotFoundBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOK ¶
type ListPrivateEndpointsOK struct {
Payload *ListPrivateEndpointsOKBody
}
ListPrivateEndpointsOK describes a response with status code 200, with default header values.
A successful response.
func NewListPrivateEndpointsOK ¶
func NewListPrivateEndpointsOK() *ListPrivateEndpointsOK
NewListPrivateEndpointsOK creates a ListPrivateEndpointsOK with default headers values
func (*ListPrivateEndpointsOK) Code ¶
func (o *ListPrivateEndpointsOK) Code() int
Code gets the status code for the list private endpoints o k response
func (*ListPrivateEndpointsOK) Error ¶
func (o *ListPrivateEndpointsOK) Error() string
func (*ListPrivateEndpointsOK) GetPayload ¶
func (o *ListPrivateEndpointsOK) GetPayload() *ListPrivateEndpointsOKBody
func (*ListPrivateEndpointsOK) IsClientError ¶
func (o *ListPrivateEndpointsOK) IsClientError() bool
IsClientError returns true when this list private endpoints o k response has a 4xx status code
func (*ListPrivateEndpointsOK) IsCode ¶
func (o *ListPrivateEndpointsOK) IsCode(code int) bool
IsCode returns true when this list private endpoints o k response a status code equal to that given
func (*ListPrivateEndpointsOK) IsRedirect ¶
func (o *ListPrivateEndpointsOK) IsRedirect() bool
IsRedirect returns true when this list private endpoints o k response has a 3xx status code
func (*ListPrivateEndpointsOK) IsServerError ¶
func (o *ListPrivateEndpointsOK) IsServerError() bool
IsServerError returns true when this list private endpoints o k response has a 5xx status code
func (*ListPrivateEndpointsOK) IsSuccess ¶
func (o *ListPrivateEndpointsOK) IsSuccess() bool
IsSuccess returns true when this list private endpoints o k response has a 2xx status code
func (*ListPrivateEndpointsOK) String ¶
func (o *ListPrivateEndpointsOK) String() string
type ListPrivateEndpointsOKBody ¶
type ListPrivateEndpointsOKBody struct { // The private endpoints for the cluster. // Required: true Endpoints []*ListPrivateEndpointsOKBodyEndpointsItems0 `json:"endpoints"` }
ListPrivateEndpointsOKBody ListPrivateEndpointsResp // // ListPrivateEndpointsResp is the response for listing private endpoints for a cluster. swagger:model ListPrivateEndpointsOKBody
func (*ListPrivateEndpointsOKBody) ContextValidate ¶
func (o *ListPrivateEndpointsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list private endpoints o k body based on the context it is used
func (*ListPrivateEndpointsOKBody) MarshalBinary ¶
func (o *ListPrivateEndpointsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOKBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOKBodyEndpointsItems0 ¶
type ListPrivateEndpointsOKBodyEndpointsItems0 struct { // [Output Only] The cloud provider on which the private endpoint service is hosted. // - `"AWS"`: the Amazon Web Services cloud provider // - `"GCP"`: the Google Cloud cloud provider // Example: AWS // Enum: [AWS GCP] CloudProvider string `json:"cloud_provider,omitempty"` // [Output Only] The ID of the cluster. // Example: 1 ClusterID string `json:"cluster_id,omitempty"` // [Output Only] The name of the cluster. // Example: Cluster0 ClusterName string `json:"cluster_name,omitempty"` // The format of the private endpoint name varies by cloud provider: `"vpce-xxxx"` for AWS and `"projects/xxx/regions/xxx/forwardingRules/xxx"` for Google Cloud. // Example: vpce-01234567890123456 EndpointName string `json:"endpoint_name,omitempty"` // [Output Only] The ID of private endpoint. It is used when you [deleting the endpoint](#tag/Cluster/operation/DeletePrivateEndpoint). // Example: 1 ID string `json:"id,omitempty"` // [Output Only] The detailed message when the `status` is "FAILED". // Example: The endpoint does not exist. Message string `json:"message,omitempty"` // [Output Only] The region where the private endpoint is hosted, such as Oregon in AWS. // Example: Oregon RegionName string `json:"region_name,omitempty"` // [Output Only] The service name of the private endpoint. // Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456 ServiceName string `json:"service_name,omitempty"` // [Output Only] The status of the private endpoint service. // Example: ACTIVE // Enum: [CREATING ACTIVE DELETING] ServiceStatus string `json:"service_status,omitempty"` // [Output Only] The status of the private endpoint. // Example: FAILED // Enum: [PENDING ACTIVE DELETING FAILED] Status string `json:"status,omitempty"` }
ListPrivateEndpointsOKBodyEndpointsItems0 list private endpoints o k body endpoints items0 swagger:model ListPrivateEndpointsOKBodyEndpointsItems0
func (*ListPrivateEndpointsOKBodyEndpointsItems0) ContextValidate ¶
func (o *ListPrivateEndpointsOKBodyEndpointsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints o k body endpoints items0 based on context it is used
func (*ListPrivateEndpointsOKBodyEndpointsItems0) MarshalBinary ¶
func (o *ListPrivateEndpointsOKBodyEndpointsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOKBodyEndpointsItems0) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOKBodyEndpointsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOfProjectBadRequest ¶
type ListPrivateEndpointsOfProjectBadRequest struct {
Payload *ListPrivateEndpointsOfProjectBadRequestBody
}
ListPrivateEndpointsOfProjectBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewListPrivateEndpointsOfProjectBadRequest ¶
func NewListPrivateEndpointsOfProjectBadRequest() *ListPrivateEndpointsOfProjectBadRequest
NewListPrivateEndpointsOfProjectBadRequest creates a ListPrivateEndpointsOfProjectBadRequest with default headers values
func (*ListPrivateEndpointsOfProjectBadRequest) Code ¶
func (o *ListPrivateEndpointsOfProjectBadRequest) Code() int
Code gets the status code for the list private endpoints of project bad request response
func (*ListPrivateEndpointsOfProjectBadRequest) Error ¶
func (o *ListPrivateEndpointsOfProjectBadRequest) Error() string
func (*ListPrivateEndpointsOfProjectBadRequest) GetPayload ¶
func (o *ListPrivateEndpointsOfProjectBadRequest) GetPayload() *ListPrivateEndpointsOfProjectBadRequestBody
func (*ListPrivateEndpointsOfProjectBadRequest) IsClientError ¶
func (o *ListPrivateEndpointsOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this list private endpoints of project bad request response has a 4xx status code
func (*ListPrivateEndpointsOfProjectBadRequest) IsCode ¶
func (o *ListPrivateEndpointsOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this list private endpoints of project bad request response a status code equal to that given
func (*ListPrivateEndpointsOfProjectBadRequest) IsRedirect ¶
func (o *ListPrivateEndpointsOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this list private endpoints of project bad request response has a 3xx status code
func (*ListPrivateEndpointsOfProjectBadRequest) IsServerError ¶
func (o *ListPrivateEndpointsOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this list private endpoints of project bad request response has a 5xx status code
func (*ListPrivateEndpointsOfProjectBadRequest) IsSuccess ¶
func (o *ListPrivateEndpointsOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this list private endpoints of project bad request response has a 2xx status code
func (*ListPrivateEndpointsOfProjectBadRequest) String ¶
func (o *ListPrivateEndpointsOfProjectBadRequest) String() string
type ListPrivateEndpointsOfProjectBadRequestBody ¶
type ListPrivateEndpointsOfProjectBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListPrivateEndpointsOfProjectBadRequestBody list private endpoints of project bad request body swagger:model ListPrivateEndpointsOfProjectBadRequestBody
func (*ListPrivateEndpointsOfProjectBadRequestBody) ContextValidate ¶
func (o *ListPrivateEndpointsOfProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints of project bad request body based on context it is used
func (*ListPrivateEndpointsOfProjectBadRequestBody) MarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOfProjectBadRequestBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOfProjectDefault ¶
type ListPrivateEndpointsOfProjectDefault struct { Payload *ListPrivateEndpointsOfProjectDefaultBody // contains filtered or unexported fields }
ListPrivateEndpointsOfProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListPrivateEndpointsOfProjectDefault ¶
func NewListPrivateEndpointsOfProjectDefault(code int) *ListPrivateEndpointsOfProjectDefault
NewListPrivateEndpointsOfProjectDefault creates a ListPrivateEndpointsOfProjectDefault with default headers values
func (*ListPrivateEndpointsOfProjectDefault) Code ¶
func (o *ListPrivateEndpointsOfProjectDefault) Code() int
Code gets the status code for the list private endpoints of project default response
func (*ListPrivateEndpointsOfProjectDefault) Error ¶
func (o *ListPrivateEndpointsOfProjectDefault) Error() string
func (*ListPrivateEndpointsOfProjectDefault) GetPayload ¶
func (o *ListPrivateEndpointsOfProjectDefault) GetPayload() *ListPrivateEndpointsOfProjectDefaultBody
func (*ListPrivateEndpointsOfProjectDefault) IsClientError ¶
func (o *ListPrivateEndpointsOfProjectDefault) IsClientError() bool
IsClientError returns true when this list private endpoints of project default response has a 4xx status code
func (*ListPrivateEndpointsOfProjectDefault) IsCode ¶
func (o *ListPrivateEndpointsOfProjectDefault) IsCode(code int) bool
IsCode returns true when this list private endpoints of project default response a status code equal to that given
func (*ListPrivateEndpointsOfProjectDefault) IsRedirect ¶
func (o *ListPrivateEndpointsOfProjectDefault) IsRedirect() bool
IsRedirect returns true when this list private endpoints of project default response has a 3xx status code
func (*ListPrivateEndpointsOfProjectDefault) IsServerError ¶
func (o *ListPrivateEndpointsOfProjectDefault) IsServerError() bool
IsServerError returns true when this list private endpoints of project default response has a 5xx status code
func (*ListPrivateEndpointsOfProjectDefault) IsSuccess ¶
func (o *ListPrivateEndpointsOfProjectDefault) IsSuccess() bool
IsSuccess returns true when this list private endpoints of project default response has a 2xx status code
func (*ListPrivateEndpointsOfProjectDefault) String ¶
func (o *ListPrivateEndpointsOfProjectDefault) String() string
type ListPrivateEndpointsOfProjectDefaultBody ¶
type ListPrivateEndpointsOfProjectDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
ListPrivateEndpointsOfProjectDefaultBody list private endpoints of project default body swagger:model ListPrivateEndpointsOfProjectDefaultBody
func (*ListPrivateEndpointsOfProjectDefaultBody) ContextValidate ¶
func (o *ListPrivateEndpointsOfProjectDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list private endpoints of project default body based on the context it is used
func (*ListPrivateEndpointsOfProjectDefaultBody) MarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOfProjectDefaultBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0 ¶
type ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0 list private endpoints of project default body details items0 swagger:model ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0
func (*ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) ContextValidate ¶
func (o *ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints of project default body details items0 based on context it is used
func (*ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOfProjectForbidden ¶
type ListPrivateEndpointsOfProjectForbidden struct {
Payload *ListPrivateEndpointsOfProjectForbiddenBody
}
ListPrivateEndpointsOfProjectForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewListPrivateEndpointsOfProjectForbidden ¶
func NewListPrivateEndpointsOfProjectForbidden() *ListPrivateEndpointsOfProjectForbidden
NewListPrivateEndpointsOfProjectForbidden creates a ListPrivateEndpointsOfProjectForbidden with default headers values
func (*ListPrivateEndpointsOfProjectForbidden) Code ¶
func (o *ListPrivateEndpointsOfProjectForbidden) Code() int
Code gets the status code for the list private endpoints of project forbidden response
func (*ListPrivateEndpointsOfProjectForbidden) Error ¶
func (o *ListPrivateEndpointsOfProjectForbidden) Error() string
func (*ListPrivateEndpointsOfProjectForbidden) GetPayload ¶
func (o *ListPrivateEndpointsOfProjectForbidden) GetPayload() *ListPrivateEndpointsOfProjectForbiddenBody
func (*ListPrivateEndpointsOfProjectForbidden) IsClientError ¶
func (o *ListPrivateEndpointsOfProjectForbidden) IsClientError() bool
IsClientError returns true when this list private endpoints of project forbidden response has a 4xx status code
func (*ListPrivateEndpointsOfProjectForbidden) IsCode ¶
func (o *ListPrivateEndpointsOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this list private endpoints of project forbidden response a status code equal to that given
func (*ListPrivateEndpointsOfProjectForbidden) IsRedirect ¶
func (o *ListPrivateEndpointsOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this list private endpoints of project forbidden response has a 3xx status code
func (*ListPrivateEndpointsOfProjectForbidden) IsServerError ¶
func (o *ListPrivateEndpointsOfProjectForbidden) IsServerError() bool
IsServerError returns true when this list private endpoints of project forbidden response has a 5xx status code
func (*ListPrivateEndpointsOfProjectForbidden) IsSuccess ¶
func (o *ListPrivateEndpointsOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this list private endpoints of project forbidden response has a 2xx status code
func (*ListPrivateEndpointsOfProjectForbidden) String ¶
func (o *ListPrivateEndpointsOfProjectForbidden) String() string
type ListPrivateEndpointsOfProjectForbiddenBody ¶
type ListPrivateEndpointsOfProjectForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListPrivateEndpointsOfProjectForbiddenBody list private endpoints of project forbidden body swagger:model ListPrivateEndpointsOfProjectForbiddenBody
func (*ListPrivateEndpointsOfProjectForbiddenBody) ContextValidate ¶
func (o *ListPrivateEndpointsOfProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints of project forbidden body based on context it is used
func (*ListPrivateEndpointsOfProjectForbiddenBody) MarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOfProjectForbiddenBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOfProjectInternalServerError ¶
type ListPrivateEndpointsOfProjectInternalServerError struct {
Payload *ListPrivateEndpointsOfProjectInternalServerErrorBody
}
ListPrivateEndpointsOfProjectInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewListPrivateEndpointsOfProjectInternalServerError ¶
func NewListPrivateEndpointsOfProjectInternalServerError() *ListPrivateEndpointsOfProjectInternalServerError
NewListPrivateEndpointsOfProjectInternalServerError creates a ListPrivateEndpointsOfProjectInternalServerError with default headers values
func (*ListPrivateEndpointsOfProjectInternalServerError) Code ¶
func (o *ListPrivateEndpointsOfProjectInternalServerError) Code() int
Code gets the status code for the list private endpoints of project internal server error response
func (*ListPrivateEndpointsOfProjectInternalServerError) Error ¶
func (o *ListPrivateEndpointsOfProjectInternalServerError) Error() string
func (*ListPrivateEndpointsOfProjectInternalServerError) GetPayload ¶
func (o *ListPrivateEndpointsOfProjectInternalServerError) GetPayload() *ListPrivateEndpointsOfProjectInternalServerErrorBody
func (*ListPrivateEndpointsOfProjectInternalServerError) IsClientError ¶
func (o *ListPrivateEndpointsOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this list private endpoints of project internal server error response has a 4xx status code
func (*ListPrivateEndpointsOfProjectInternalServerError) IsCode ¶
func (o *ListPrivateEndpointsOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this list private endpoints of project internal server error response a status code equal to that given
func (*ListPrivateEndpointsOfProjectInternalServerError) IsRedirect ¶
func (o *ListPrivateEndpointsOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this list private endpoints of project internal server error response has a 3xx status code
func (*ListPrivateEndpointsOfProjectInternalServerError) IsServerError ¶
func (o *ListPrivateEndpointsOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this list private endpoints of project internal server error response has a 5xx status code
func (*ListPrivateEndpointsOfProjectInternalServerError) IsSuccess ¶
func (o *ListPrivateEndpointsOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this list private endpoints of project internal server error response has a 2xx status code
func (*ListPrivateEndpointsOfProjectInternalServerError) String ¶
func (o *ListPrivateEndpointsOfProjectInternalServerError) String() string
type ListPrivateEndpointsOfProjectInternalServerErrorBody ¶
type ListPrivateEndpointsOfProjectInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListPrivateEndpointsOfProjectInternalServerErrorBody list private endpoints of project internal server error body swagger:model ListPrivateEndpointsOfProjectInternalServerErrorBody
func (*ListPrivateEndpointsOfProjectInternalServerErrorBody) ContextValidate ¶
func (o *ListPrivateEndpointsOfProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints of project internal server error body based on context it is used
func (*ListPrivateEndpointsOfProjectInternalServerErrorBody) MarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOfProjectInternalServerErrorBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOfProjectNotFound ¶
type ListPrivateEndpointsOfProjectNotFound struct {
Payload *ListPrivateEndpointsOfProjectNotFoundBody
}
ListPrivateEndpointsOfProjectNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewListPrivateEndpointsOfProjectNotFound ¶
func NewListPrivateEndpointsOfProjectNotFound() *ListPrivateEndpointsOfProjectNotFound
NewListPrivateEndpointsOfProjectNotFound creates a ListPrivateEndpointsOfProjectNotFound with default headers values
func (*ListPrivateEndpointsOfProjectNotFound) Code ¶
func (o *ListPrivateEndpointsOfProjectNotFound) Code() int
Code gets the status code for the list private endpoints of project not found response
func (*ListPrivateEndpointsOfProjectNotFound) Error ¶
func (o *ListPrivateEndpointsOfProjectNotFound) Error() string
func (*ListPrivateEndpointsOfProjectNotFound) GetPayload ¶
func (o *ListPrivateEndpointsOfProjectNotFound) GetPayload() *ListPrivateEndpointsOfProjectNotFoundBody
func (*ListPrivateEndpointsOfProjectNotFound) IsClientError ¶
func (o *ListPrivateEndpointsOfProjectNotFound) IsClientError() bool
IsClientError returns true when this list private endpoints of project not found response has a 4xx status code
func (*ListPrivateEndpointsOfProjectNotFound) IsCode ¶
func (o *ListPrivateEndpointsOfProjectNotFound) IsCode(code int) bool
IsCode returns true when this list private endpoints of project not found response a status code equal to that given
func (*ListPrivateEndpointsOfProjectNotFound) IsRedirect ¶
func (o *ListPrivateEndpointsOfProjectNotFound) IsRedirect() bool
IsRedirect returns true when this list private endpoints of project not found response has a 3xx status code
func (*ListPrivateEndpointsOfProjectNotFound) IsServerError ¶
func (o *ListPrivateEndpointsOfProjectNotFound) IsServerError() bool
IsServerError returns true when this list private endpoints of project not found response has a 5xx status code
func (*ListPrivateEndpointsOfProjectNotFound) IsSuccess ¶
func (o *ListPrivateEndpointsOfProjectNotFound) IsSuccess() bool
IsSuccess returns true when this list private endpoints of project not found response has a 2xx status code
func (*ListPrivateEndpointsOfProjectNotFound) String ¶
func (o *ListPrivateEndpointsOfProjectNotFound) String() string
type ListPrivateEndpointsOfProjectNotFoundBody ¶
type ListPrivateEndpointsOfProjectNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListPrivateEndpointsOfProjectNotFoundBody list private endpoints of project not found body swagger:model ListPrivateEndpointsOfProjectNotFoundBody
func (*ListPrivateEndpointsOfProjectNotFoundBody) ContextValidate ¶
func (o *ListPrivateEndpointsOfProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints of project not found body based on context it is used
func (*ListPrivateEndpointsOfProjectNotFoundBody) MarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOfProjectNotFoundBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOfProjectOK ¶
type ListPrivateEndpointsOfProjectOK struct {
Payload *ListPrivateEndpointsOfProjectOKBody
}
ListPrivateEndpointsOfProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewListPrivateEndpointsOfProjectOK ¶
func NewListPrivateEndpointsOfProjectOK() *ListPrivateEndpointsOfProjectOK
NewListPrivateEndpointsOfProjectOK creates a ListPrivateEndpointsOfProjectOK with default headers values
func (*ListPrivateEndpointsOfProjectOK) Code ¶
func (o *ListPrivateEndpointsOfProjectOK) Code() int
Code gets the status code for the list private endpoints of project o k response
func (*ListPrivateEndpointsOfProjectOK) Error ¶
func (o *ListPrivateEndpointsOfProjectOK) Error() string
func (*ListPrivateEndpointsOfProjectOK) GetPayload ¶
func (o *ListPrivateEndpointsOfProjectOK) GetPayload() *ListPrivateEndpointsOfProjectOKBody
func (*ListPrivateEndpointsOfProjectOK) IsClientError ¶
func (o *ListPrivateEndpointsOfProjectOK) IsClientError() bool
IsClientError returns true when this list private endpoints of project o k response has a 4xx status code
func (*ListPrivateEndpointsOfProjectOK) IsCode ¶
func (o *ListPrivateEndpointsOfProjectOK) IsCode(code int) bool
IsCode returns true when this list private endpoints of project o k response a status code equal to that given
func (*ListPrivateEndpointsOfProjectOK) IsRedirect ¶
func (o *ListPrivateEndpointsOfProjectOK) IsRedirect() bool
IsRedirect returns true when this list private endpoints of project o k response has a 3xx status code
func (*ListPrivateEndpointsOfProjectOK) IsServerError ¶
func (o *ListPrivateEndpointsOfProjectOK) IsServerError() bool
IsServerError returns true when this list private endpoints of project o k response has a 5xx status code
func (*ListPrivateEndpointsOfProjectOK) IsSuccess ¶
func (o *ListPrivateEndpointsOfProjectOK) IsSuccess() bool
IsSuccess returns true when this list private endpoints of project o k response has a 2xx status code
func (*ListPrivateEndpointsOfProjectOK) String ¶
func (o *ListPrivateEndpointsOfProjectOK) String() string
type ListPrivateEndpointsOfProjectOKBody ¶
type ListPrivateEndpointsOfProjectOKBody struct { // The private endpoints in the project. // Required: true Endpoints []*ListPrivateEndpointsOfProjectOKBodyEndpointsItems0 `json:"endpoints"` }
ListPrivateEndpointsOfProjectOKBody ListPrivateEndpointsOfProjectResp // // ListPrivateEndpointsOfProjectResp is the response for listing private endpoints for a project. swagger:model ListPrivateEndpointsOfProjectOKBody
func (*ListPrivateEndpointsOfProjectOKBody) ContextValidate ¶
func (o *ListPrivateEndpointsOfProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list private endpoints of project o k body based on the context it is used
func (*ListPrivateEndpointsOfProjectOKBody) MarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOfProjectOKBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOfProjectOKBodyEndpointsItems0 ¶
type ListPrivateEndpointsOfProjectOKBodyEndpointsItems0 struct { // [Output Only] The cloud provider on which the private endpoint service is hosted. // - `"AWS"`: the Amazon Web Services cloud provider // - `"GCP"`: the Google Cloud cloud provider // Example: AWS // Enum: [AWS GCP] CloudProvider string `json:"cloud_provider,omitempty"` // [Output Only] The ID of the cluster. // Example: 1 ClusterID string `json:"cluster_id,omitempty"` // [Output Only] The name of the cluster. // Example: Cluster0 ClusterName string `json:"cluster_name,omitempty"` // The format of the private endpoint name varies by cloud provider: `"vpce-xxxx"` for AWS and `"projects/xxx/regions/xxx/forwardingRules/xxx"` for Google Cloud. // Example: vpce-01234567890123456 EndpointName string `json:"endpoint_name,omitempty"` // [Output Only] The ID of private endpoint. It is used when you [deleting the endpoint](#tag/Cluster/operation/DeletePrivateEndpoint). // Example: 1 ID string `json:"id,omitempty"` // [Output Only] The detailed message when the `status` is "FAILED". // Example: The endpoint does not exist. Message string `json:"message,omitempty"` // [Output Only] The region where the private endpoint is hosted, such as Oregon in AWS. // Example: Oregon RegionName string `json:"region_name,omitempty"` // [Output Only] The service name of the private endpoint. // Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456 ServiceName string `json:"service_name,omitempty"` // [Output Only] The status of the private endpoint service. // Example: ACTIVE // Enum: [CREATING ACTIVE DELETING] ServiceStatus string `json:"service_status,omitempty"` // [Output Only] The status of the private endpoint. // Example: FAILED // Enum: [PENDING ACTIVE DELETING FAILED] Status string `json:"status,omitempty"` }
ListPrivateEndpointsOfProjectOKBodyEndpointsItems0 list private endpoints of project o k body endpoints items0 swagger:model ListPrivateEndpointsOfProjectOKBodyEndpointsItems0
func (*ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) ContextValidate ¶
func (o *ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints of project o k body endpoints items0 based on context it is used
func (*ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) MarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOfProjectParams ¶
type ListPrivateEndpointsOfProjectParams struct { /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPrivateEndpointsOfProjectParams contains all the parameters to send to the API endpoint
for the list private endpoints of project operation. Typically these are written to a http.Request.
func NewListPrivateEndpointsOfProjectParams ¶
func NewListPrivateEndpointsOfProjectParams() *ListPrivateEndpointsOfProjectParams
NewListPrivateEndpointsOfProjectParams creates a new ListPrivateEndpointsOfProjectParams 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 NewListPrivateEndpointsOfProjectParamsWithContext ¶
func NewListPrivateEndpointsOfProjectParamsWithContext(ctx context.Context) *ListPrivateEndpointsOfProjectParams
NewListPrivateEndpointsOfProjectParamsWithContext creates a new ListPrivateEndpointsOfProjectParams object with the ability to set a context for a request.
func NewListPrivateEndpointsOfProjectParamsWithHTTPClient ¶
func NewListPrivateEndpointsOfProjectParamsWithHTTPClient(client *http.Client) *ListPrivateEndpointsOfProjectParams
NewListPrivateEndpointsOfProjectParamsWithHTTPClient creates a new ListPrivateEndpointsOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewListPrivateEndpointsOfProjectParamsWithTimeout ¶
func NewListPrivateEndpointsOfProjectParamsWithTimeout(timeout time.Duration) *ListPrivateEndpointsOfProjectParams
NewListPrivateEndpointsOfProjectParamsWithTimeout creates a new ListPrivateEndpointsOfProjectParams object with the ability to set a timeout on a request.
func (*ListPrivateEndpointsOfProjectParams) SetContext ¶
func (o *ListPrivateEndpointsOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the list private endpoints of project params
func (*ListPrivateEndpointsOfProjectParams) SetDefaults ¶
func (o *ListPrivateEndpointsOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the list private endpoints of project params (not the query body).
All values with no default are reset to their zero value.
func (*ListPrivateEndpointsOfProjectParams) SetHTTPClient ¶
func (o *ListPrivateEndpointsOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list private endpoints of project params
func (*ListPrivateEndpointsOfProjectParams) SetProjectID ¶
func (o *ListPrivateEndpointsOfProjectParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list private endpoints of project params
func (*ListPrivateEndpointsOfProjectParams) SetTimeout ¶
func (o *ListPrivateEndpointsOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list private endpoints of project params
func (*ListPrivateEndpointsOfProjectParams) WithContext ¶
func (o *ListPrivateEndpointsOfProjectParams) WithContext(ctx context.Context) *ListPrivateEndpointsOfProjectParams
WithContext adds the context to the list private endpoints of project params
func (*ListPrivateEndpointsOfProjectParams) WithDefaults ¶
func (o *ListPrivateEndpointsOfProjectParams) WithDefaults() *ListPrivateEndpointsOfProjectParams
WithDefaults hydrates default values in the list private endpoints of project params (not the query body).
All values with no default are reset to their zero value.
func (*ListPrivateEndpointsOfProjectParams) WithHTTPClient ¶
func (o *ListPrivateEndpointsOfProjectParams) WithHTTPClient(client *http.Client) *ListPrivateEndpointsOfProjectParams
WithHTTPClient adds the HTTPClient to the list private endpoints of project params
func (*ListPrivateEndpointsOfProjectParams) WithProjectID ¶
func (o *ListPrivateEndpointsOfProjectParams) WithProjectID(projectID string) *ListPrivateEndpointsOfProjectParams
WithProjectID adds the projectID to the list private endpoints of project params
func (*ListPrivateEndpointsOfProjectParams) WithTimeout ¶
func (o *ListPrivateEndpointsOfProjectParams) WithTimeout(timeout time.Duration) *ListPrivateEndpointsOfProjectParams
WithTimeout adds the timeout to the list private endpoints of project params
func (*ListPrivateEndpointsOfProjectParams) WriteToRequest ¶
func (o *ListPrivateEndpointsOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPrivateEndpointsOfProjectReader ¶
type ListPrivateEndpointsOfProjectReader struct {
// contains filtered or unexported fields
}
ListPrivateEndpointsOfProjectReader is a Reader for the ListPrivateEndpointsOfProject structure.
func (*ListPrivateEndpointsOfProjectReader) ReadResponse ¶
func (o *ListPrivateEndpointsOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPrivateEndpointsOfProjectTooManyRequests ¶
type ListPrivateEndpointsOfProjectTooManyRequests struct {
Payload *ListPrivateEndpointsOfProjectTooManyRequestsBody
}
ListPrivateEndpointsOfProjectTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewListPrivateEndpointsOfProjectTooManyRequests ¶
func NewListPrivateEndpointsOfProjectTooManyRequests() *ListPrivateEndpointsOfProjectTooManyRequests
NewListPrivateEndpointsOfProjectTooManyRequests creates a ListPrivateEndpointsOfProjectTooManyRequests with default headers values
func (*ListPrivateEndpointsOfProjectTooManyRequests) Code ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequests) Code() int
Code gets the status code for the list private endpoints of project too many requests response
func (*ListPrivateEndpointsOfProjectTooManyRequests) Error ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequests) Error() string
func (*ListPrivateEndpointsOfProjectTooManyRequests) GetPayload ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequests) GetPayload() *ListPrivateEndpointsOfProjectTooManyRequestsBody
func (*ListPrivateEndpointsOfProjectTooManyRequests) IsClientError ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequests) IsClientError() bool
IsClientError returns true when this list private endpoints of project too many requests response has a 4xx status code
func (*ListPrivateEndpointsOfProjectTooManyRequests) IsCode ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequests) IsCode(code int) bool
IsCode returns true when this list private endpoints of project too many requests response a status code equal to that given
func (*ListPrivateEndpointsOfProjectTooManyRequests) IsRedirect ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list private endpoints of project too many requests response has a 3xx status code
func (*ListPrivateEndpointsOfProjectTooManyRequests) IsServerError ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequests) IsServerError() bool
IsServerError returns true when this list private endpoints of project too many requests response has a 5xx status code
func (*ListPrivateEndpointsOfProjectTooManyRequests) IsSuccess ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list private endpoints of project too many requests response has a 2xx status code
func (*ListPrivateEndpointsOfProjectTooManyRequests) String ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequests) String() string
type ListPrivateEndpointsOfProjectTooManyRequestsBody ¶
type ListPrivateEndpointsOfProjectTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListPrivateEndpointsOfProjectTooManyRequestsBody list private endpoints of project too many requests body swagger:model ListPrivateEndpointsOfProjectTooManyRequestsBody
func (*ListPrivateEndpointsOfProjectTooManyRequestsBody) ContextValidate ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints of project too many requests body based on context it is used
func (*ListPrivateEndpointsOfProjectTooManyRequestsBody) MarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsOfProjectTooManyRequestsBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsOfProjectTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsOfProjectUnauthorized ¶
type ListPrivateEndpointsOfProjectUnauthorized struct {
}ListPrivateEndpointsOfProjectUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewListPrivateEndpointsOfProjectUnauthorized ¶
func NewListPrivateEndpointsOfProjectUnauthorized() *ListPrivateEndpointsOfProjectUnauthorized
NewListPrivateEndpointsOfProjectUnauthorized creates a ListPrivateEndpointsOfProjectUnauthorized with default headers values
func (*ListPrivateEndpointsOfProjectUnauthorized) Code ¶
func (o *ListPrivateEndpointsOfProjectUnauthorized) Code() int
Code gets the status code for the list private endpoints of project unauthorized response
func (*ListPrivateEndpointsOfProjectUnauthorized) Error ¶
func (o *ListPrivateEndpointsOfProjectUnauthorized) Error() string
func (*ListPrivateEndpointsOfProjectUnauthorized) GetPayload ¶
func (o *ListPrivateEndpointsOfProjectUnauthorized) GetPayload() interface{}
func (*ListPrivateEndpointsOfProjectUnauthorized) IsClientError ¶
func (o *ListPrivateEndpointsOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this list private endpoints of project unauthorized response has a 4xx status code
func (*ListPrivateEndpointsOfProjectUnauthorized) IsCode ¶
func (o *ListPrivateEndpointsOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this list private endpoints of project unauthorized response a status code equal to that given
func (*ListPrivateEndpointsOfProjectUnauthorized) IsRedirect ¶
func (o *ListPrivateEndpointsOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this list private endpoints of project unauthorized response has a 3xx status code
func (*ListPrivateEndpointsOfProjectUnauthorized) IsServerError ¶
func (o *ListPrivateEndpointsOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this list private endpoints of project unauthorized response has a 5xx status code
func (*ListPrivateEndpointsOfProjectUnauthorized) IsSuccess ¶
func (o *ListPrivateEndpointsOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this list private endpoints of project unauthorized response has a 2xx status code
func (*ListPrivateEndpointsOfProjectUnauthorized) String ¶
func (o *ListPrivateEndpointsOfProjectUnauthorized) String() string
type ListPrivateEndpointsParams ¶
type ListPrivateEndpointsParams struct { /* ClusterID. The ID of the cluster. Format: uint64 */ ClusterID string /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPrivateEndpointsParams contains all the parameters to send to the API endpoint
for the list private endpoints operation. Typically these are written to a http.Request.
func NewListPrivateEndpointsParams ¶
func NewListPrivateEndpointsParams() *ListPrivateEndpointsParams
NewListPrivateEndpointsParams creates a new ListPrivateEndpointsParams 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 NewListPrivateEndpointsParamsWithContext ¶
func NewListPrivateEndpointsParamsWithContext(ctx context.Context) *ListPrivateEndpointsParams
NewListPrivateEndpointsParamsWithContext creates a new ListPrivateEndpointsParams object with the ability to set a context for a request.
func NewListPrivateEndpointsParamsWithHTTPClient ¶
func NewListPrivateEndpointsParamsWithHTTPClient(client *http.Client) *ListPrivateEndpointsParams
NewListPrivateEndpointsParamsWithHTTPClient creates a new ListPrivateEndpointsParams object with the ability to set a custom HTTPClient for a request.
func NewListPrivateEndpointsParamsWithTimeout ¶
func NewListPrivateEndpointsParamsWithTimeout(timeout time.Duration) *ListPrivateEndpointsParams
NewListPrivateEndpointsParamsWithTimeout creates a new ListPrivateEndpointsParams object with the ability to set a timeout on a request.
func (*ListPrivateEndpointsParams) SetClusterID ¶
func (o *ListPrivateEndpointsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list private endpoints params
func (*ListPrivateEndpointsParams) SetContext ¶
func (o *ListPrivateEndpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the list private endpoints params
func (*ListPrivateEndpointsParams) SetDefaults ¶
func (o *ListPrivateEndpointsParams) SetDefaults()
SetDefaults hydrates default values in the list private endpoints params (not the query body).
All values with no default are reset to their zero value.
func (*ListPrivateEndpointsParams) SetHTTPClient ¶
func (o *ListPrivateEndpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list private endpoints params
func (*ListPrivateEndpointsParams) SetProjectID ¶
func (o *ListPrivateEndpointsParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list private endpoints params
func (*ListPrivateEndpointsParams) SetTimeout ¶
func (o *ListPrivateEndpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list private endpoints params
func (*ListPrivateEndpointsParams) WithClusterID ¶
func (o *ListPrivateEndpointsParams) WithClusterID(clusterID string) *ListPrivateEndpointsParams
WithClusterID adds the clusterID to the list private endpoints params
func (*ListPrivateEndpointsParams) WithContext ¶
func (o *ListPrivateEndpointsParams) WithContext(ctx context.Context) *ListPrivateEndpointsParams
WithContext adds the context to the list private endpoints params
func (*ListPrivateEndpointsParams) WithDefaults ¶
func (o *ListPrivateEndpointsParams) WithDefaults() *ListPrivateEndpointsParams
WithDefaults hydrates default values in the list private endpoints params (not the query body).
All values with no default are reset to their zero value.
func (*ListPrivateEndpointsParams) WithHTTPClient ¶
func (o *ListPrivateEndpointsParams) WithHTTPClient(client *http.Client) *ListPrivateEndpointsParams
WithHTTPClient adds the HTTPClient to the list private endpoints params
func (*ListPrivateEndpointsParams) WithProjectID ¶
func (o *ListPrivateEndpointsParams) WithProjectID(projectID string) *ListPrivateEndpointsParams
WithProjectID adds the projectID to the list private endpoints params
func (*ListPrivateEndpointsParams) WithTimeout ¶
func (o *ListPrivateEndpointsParams) WithTimeout(timeout time.Duration) *ListPrivateEndpointsParams
WithTimeout adds the timeout to the list private endpoints params
func (*ListPrivateEndpointsParams) WriteToRequest ¶
func (o *ListPrivateEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPrivateEndpointsReader ¶
type ListPrivateEndpointsReader struct {
// contains filtered or unexported fields
}
ListPrivateEndpointsReader is a Reader for the ListPrivateEndpoints structure.
func (*ListPrivateEndpointsReader) ReadResponse ¶
func (o *ListPrivateEndpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPrivateEndpointsTooManyRequests ¶
type ListPrivateEndpointsTooManyRequests struct {
Payload *ListPrivateEndpointsTooManyRequestsBody
}
ListPrivateEndpointsTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewListPrivateEndpointsTooManyRequests ¶
func NewListPrivateEndpointsTooManyRequests() *ListPrivateEndpointsTooManyRequests
NewListPrivateEndpointsTooManyRequests creates a ListPrivateEndpointsTooManyRequests with default headers values
func (*ListPrivateEndpointsTooManyRequests) Code ¶
func (o *ListPrivateEndpointsTooManyRequests) Code() int
Code gets the status code for the list private endpoints too many requests response
func (*ListPrivateEndpointsTooManyRequests) Error ¶
func (o *ListPrivateEndpointsTooManyRequests) Error() string
func (*ListPrivateEndpointsTooManyRequests) GetPayload ¶
func (o *ListPrivateEndpointsTooManyRequests) GetPayload() *ListPrivateEndpointsTooManyRequestsBody
func (*ListPrivateEndpointsTooManyRequests) IsClientError ¶
func (o *ListPrivateEndpointsTooManyRequests) IsClientError() bool
IsClientError returns true when this list private endpoints too many requests response has a 4xx status code
func (*ListPrivateEndpointsTooManyRequests) IsCode ¶
func (o *ListPrivateEndpointsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list private endpoints too many requests response a status code equal to that given
func (*ListPrivateEndpointsTooManyRequests) IsRedirect ¶
func (o *ListPrivateEndpointsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list private endpoints too many requests response has a 3xx status code
func (*ListPrivateEndpointsTooManyRequests) IsServerError ¶
func (o *ListPrivateEndpointsTooManyRequests) IsServerError() bool
IsServerError returns true when this list private endpoints too many requests response has a 5xx status code
func (*ListPrivateEndpointsTooManyRequests) IsSuccess ¶
func (o *ListPrivateEndpointsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list private endpoints too many requests response has a 2xx status code
func (*ListPrivateEndpointsTooManyRequests) String ¶
func (o *ListPrivateEndpointsTooManyRequests) String() string
type ListPrivateEndpointsTooManyRequestsBody ¶
type ListPrivateEndpointsTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListPrivateEndpointsTooManyRequestsBody list private endpoints too many requests body swagger:model ListPrivateEndpointsTooManyRequestsBody
func (*ListPrivateEndpointsTooManyRequestsBody) ContextValidate ¶
func (o *ListPrivateEndpointsTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list private endpoints too many requests body based on context it is used
func (*ListPrivateEndpointsTooManyRequestsBody) MarshalBinary ¶
func (o *ListPrivateEndpointsTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPrivateEndpointsTooManyRequestsBody) UnmarshalBinary ¶
func (o *ListPrivateEndpointsTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPrivateEndpointsUnauthorized ¶
type ListPrivateEndpointsUnauthorized struct {
}ListPrivateEndpointsUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewListPrivateEndpointsUnauthorized ¶
func NewListPrivateEndpointsUnauthorized() *ListPrivateEndpointsUnauthorized
NewListPrivateEndpointsUnauthorized creates a ListPrivateEndpointsUnauthorized with default headers values
func (*ListPrivateEndpointsUnauthorized) Code ¶
func (o *ListPrivateEndpointsUnauthorized) Code() int
Code gets the status code for the list private endpoints unauthorized response
func (*ListPrivateEndpointsUnauthorized) Error ¶
func (o *ListPrivateEndpointsUnauthorized) Error() string
func (*ListPrivateEndpointsUnauthorized) GetPayload ¶
func (o *ListPrivateEndpointsUnauthorized) GetPayload() interface{}
func (*ListPrivateEndpointsUnauthorized) IsClientError ¶
func (o *ListPrivateEndpointsUnauthorized) IsClientError() bool
IsClientError returns true when this list private endpoints unauthorized response has a 4xx status code
func (*ListPrivateEndpointsUnauthorized) IsCode ¶
func (o *ListPrivateEndpointsUnauthorized) IsCode(code int) bool
IsCode returns true when this list private endpoints unauthorized response a status code equal to that given
func (*ListPrivateEndpointsUnauthorized) IsRedirect ¶
func (o *ListPrivateEndpointsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list private endpoints unauthorized response has a 3xx status code
func (*ListPrivateEndpointsUnauthorized) IsServerError ¶
func (o *ListPrivateEndpointsUnauthorized) IsServerError() bool
IsServerError returns true when this list private endpoints unauthorized response has a 5xx status code
func (*ListPrivateEndpointsUnauthorized) IsSuccess ¶
func (o *ListPrivateEndpointsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list private endpoints unauthorized response has a 2xx status code
func (*ListPrivateEndpointsUnauthorized) String ¶
func (o *ListPrivateEndpointsUnauthorized) String() string
type ListProviderRegionsBadRequest ¶
type ListProviderRegionsBadRequest struct {
Payload *ListProviderRegionsBadRequestBody
}
ListProviderRegionsBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewListProviderRegionsBadRequest ¶
func NewListProviderRegionsBadRequest() *ListProviderRegionsBadRequest
NewListProviderRegionsBadRequest creates a ListProviderRegionsBadRequest with default headers values
func (*ListProviderRegionsBadRequest) Code ¶
func (o *ListProviderRegionsBadRequest) Code() int
Code gets the status code for the list provider regions bad request response
func (*ListProviderRegionsBadRequest) Error ¶
func (o *ListProviderRegionsBadRequest) Error() string
func (*ListProviderRegionsBadRequest) GetPayload ¶
func (o *ListProviderRegionsBadRequest) GetPayload() *ListProviderRegionsBadRequestBody
func (*ListProviderRegionsBadRequest) IsClientError ¶
func (o *ListProviderRegionsBadRequest) IsClientError() bool
IsClientError returns true when this list provider regions bad request response has a 4xx status code
func (*ListProviderRegionsBadRequest) IsCode ¶
func (o *ListProviderRegionsBadRequest) IsCode(code int) bool
IsCode returns true when this list provider regions bad request response a status code equal to that given
func (*ListProviderRegionsBadRequest) IsRedirect ¶
func (o *ListProviderRegionsBadRequest) IsRedirect() bool
IsRedirect returns true when this list provider regions bad request response has a 3xx status code
func (*ListProviderRegionsBadRequest) IsServerError ¶
func (o *ListProviderRegionsBadRequest) IsServerError() bool
IsServerError returns true when this list provider regions bad request response has a 5xx status code
func (*ListProviderRegionsBadRequest) IsSuccess ¶
func (o *ListProviderRegionsBadRequest) IsSuccess() bool
IsSuccess returns true when this list provider regions bad request response has a 2xx status code
func (*ListProviderRegionsBadRequest) String ¶
func (o *ListProviderRegionsBadRequest) String() string
type ListProviderRegionsBadRequestBody ¶
type ListProviderRegionsBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListProviderRegionsBadRequestBody list provider regions bad request body swagger:model ListProviderRegionsBadRequestBody
func (*ListProviderRegionsBadRequestBody) ContextValidate ¶
func (o *ListProviderRegionsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions bad request body based on context it is used
func (*ListProviderRegionsBadRequestBody) MarshalBinary ¶
func (o *ListProviderRegionsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsBadRequestBody) UnmarshalBinary ¶
func (o *ListProviderRegionsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsDefault ¶
type ListProviderRegionsDefault struct { Payload *ListProviderRegionsDefaultBody // contains filtered or unexported fields }
ListProviderRegionsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListProviderRegionsDefault ¶
func NewListProviderRegionsDefault(code int) *ListProviderRegionsDefault
NewListProviderRegionsDefault creates a ListProviderRegionsDefault with default headers values
func (*ListProviderRegionsDefault) Code ¶
func (o *ListProviderRegionsDefault) Code() int
Code gets the status code for the list provider regions default response
func (*ListProviderRegionsDefault) Error ¶
func (o *ListProviderRegionsDefault) Error() string
func (*ListProviderRegionsDefault) GetPayload ¶
func (o *ListProviderRegionsDefault) GetPayload() *ListProviderRegionsDefaultBody
func (*ListProviderRegionsDefault) IsClientError ¶
func (o *ListProviderRegionsDefault) IsClientError() bool
IsClientError returns true when this list provider regions default response has a 4xx status code
func (*ListProviderRegionsDefault) IsCode ¶
func (o *ListProviderRegionsDefault) IsCode(code int) bool
IsCode returns true when this list provider regions default response a status code equal to that given
func (*ListProviderRegionsDefault) IsRedirect ¶
func (o *ListProviderRegionsDefault) IsRedirect() bool
IsRedirect returns true when this list provider regions default response has a 3xx status code
func (*ListProviderRegionsDefault) IsServerError ¶
func (o *ListProviderRegionsDefault) IsServerError() bool
IsServerError returns true when this list provider regions default response has a 5xx status code
func (*ListProviderRegionsDefault) IsSuccess ¶
func (o *ListProviderRegionsDefault) IsSuccess() bool
IsSuccess returns true when this list provider regions default response has a 2xx status code
func (*ListProviderRegionsDefault) String ¶
func (o *ListProviderRegionsDefault) String() string
type ListProviderRegionsDefaultBody ¶
type ListProviderRegionsDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*ListProviderRegionsDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
ListProviderRegionsDefaultBody list provider regions default body swagger:model ListProviderRegionsDefaultBody
func (*ListProviderRegionsDefaultBody) ContextValidate ¶
func (o *ListProviderRegionsDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list provider regions default body based on the context it is used
func (*ListProviderRegionsDefaultBody) MarshalBinary ¶
func (o *ListProviderRegionsDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsDefaultBody) UnmarshalBinary ¶
func (o *ListProviderRegionsDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsDefaultBodyDetailsItems0 ¶
type ListProviderRegionsDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
ListProviderRegionsDefaultBodyDetailsItems0 list provider regions default body details items0 swagger:model ListProviderRegionsDefaultBodyDetailsItems0
func (*ListProviderRegionsDefaultBodyDetailsItems0) ContextValidate ¶
func (o *ListProviderRegionsDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions default body details items0 based on context it is used
func (*ListProviderRegionsDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *ListProviderRegionsDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *ListProviderRegionsDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsForbidden ¶
type ListProviderRegionsForbidden struct {
Payload *ListProviderRegionsForbiddenBody
}
ListProviderRegionsForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewListProviderRegionsForbidden ¶
func NewListProviderRegionsForbidden() *ListProviderRegionsForbidden
NewListProviderRegionsForbidden creates a ListProviderRegionsForbidden with default headers values
func (*ListProviderRegionsForbidden) Code ¶
func (o *ListProviderRegionsForbidden) Code() int
Code gets the status code for the list provider regions forbidden response
func (*ListProviderRegionsForbidden) Error ¶
func (o *ListProviderRegionsForbidden) Error() string
func (*ListProviderRegionsForbidden) GetPayload ¶
func (o *ListProviderRegionsForbidden) GetPayload() *ListProviderRegionsForbiddenBody
func (*ListProviderRegionsForbidden) IsClientError ¶
func (o *ListProviderRegionsForbidden) IsClientError() bool
IsClientError returns true when this list provider regions forbidden response has a 4xx status code
func (*ListProviderRegionsForbidden) IsCode ¶
func (o *ListProviderRegionsForbidden) IsCode(code int) bool
IsCode returns true when this list provider regions forbidden response a status code equal to that given
func (*ListProviderRegionsForbidden) IsRedirect ¶
func (o *ListProviderRegionsForbidden) IsRedirect() bool
IsRedirect returns true when this list provider regions forbidden response has a 3xx status code
func (*ListProviderRegionsForbidden) IsServerError ¶
func (o *ListProviderRegionsForbidden) IsServerError() bool
IsServerError returns true when this list provider regions forbidden response has a 5xx status code
func (*ListProviderRegionsForbidden) IsSuccess ¶
func (o *ListProviderRegionsForbidden) IsSuccess() bool
IsSuccess returns true when this list provider regions forbidden response has a 2xx status code
func (*ListProviderRegionsForbidden) String ¶
func (o *ListProviderRegionsForbidden) String() string
type ListProviderRegionsForbiddenBody ¶
type ListProviderRegionsForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListProviderRegionsForbiddenBody list provider regions forbidden body swagger:model ListProviderRegionsForbiddenBody
func (*ListProviderRegionsForbiddenBody) ContextValidate ¶
func (o *ListProviderRegionsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions forbidden body based on context it is used
func (*ListProviderRegionsForbiddenBody) MarshalBinary ¶
func (o *ListProviderRegionsForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsForbiddenBody) UnmarshalBinary ¶
func (o *ListProviderRegionsForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsInternalServerError ¶
type ListProviderRegionsInternalServerError struct {
Payload *ListProviderRegionsInternalServerErrorBody
}
ListProviderRegionsInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewListProviderRegionsInternalServerError ¶
func NewListProviderRegionsInternalServerError() *ListProviderRegionsInternalServerError
NewListProviderRegionsInternalServerError creates a ListProviderRegionsInternalServerError with default headers values
func (*ListProviderRegionsInternalServerError) Code ¶
func (o *ListProviderRegionsInternalServerError) Code() int
Code gets the status code for the list provider regions internal server error response
func (*ListProviderRegionsInternalServerError) Error ¶
func (o *ListProviderRegionsInternalServerError) Error() string
func (*ListProviderRegionsInternalServerError) GetPayload ¶
func (o *ListProviderRegionsInternalServerError) GetPayload() *ListProviderRegionsInternalServerErrorBody
func (*ListProviderRegionsInternalServerError) IsClientError ¶
func (o *ListProviderRegionsInternalServerError) IsClientError() bool
IsClientError returns true when this list provider regions internal server error response has a 4xx status code
func (*ListProviderRegionsInternalServerError) IsCode ¶
func (o *ListProviderRegionsInternalServerError) IsCode(code int) bool
IsCode returns true when this list provider regions internal server error response a status code equal to that given
func (*ListProviderRegionsInternalServerError) IsRedirect ¶
func (o *ListProviderRegionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list provider regions internal server error response has a 3xx status code
func (*ListProviderRegionsInternalServerError) IsServerError ¶
func (o *ListProviderRegionsInternalServerError) IsServerError() bool
IsServerError returns true when this list provider regions internal server error response has a 5xx status code
func (*ListProviderRegionsInternalServerError) IsSuccess ¶
func (o *ListProviderRegionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list provider regions internal server error response has a 2xx status code
func (*ListProviderRegionsInternalServerError) String ¶
func (o *ListProviderRegionsInternalServerError) String() string
type ListProviderRegionsInternalServerErrorBody ¶
type ListProviderRegionsInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListProviderRegionsInternalServerErrorBody list provider regions internal server error body swagger:model ListProviderRegionsInternalServerErrorBody
func (*ListProviderRegionsInternalServerErrorBody) ContextValidate ¶
func (o *ListProviderRegionsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions internal server error body based on context it is used
func (*ListProviderRegionsInternalServerErrorBody) MarshalBinary ¶
func (o *ListProviderRegionsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsInternalServerErrorBody) UnmarshalBinary ¶
func (o *ListProviderRegionsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsNotFound ¶
type ListProviderRegionsNotFound struct {
Payload *ListProviderRegionsNotFoundBody
}
ListProviderRegionsNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewListProviderRegionsNotFound ¶
func NewListProviderRegionsNotFound() *ListProviderRegionsNotFound
NewListProviderRegionsNotFound creates a ListProviderRegionsNotFound with default headers values
func (*ListProviderRegionsNotFound) Code ¶
func (o *ListProviderRegionsNotFound) Code() int
Code gets the status code for the list provider regions not found response
func (*ListProviderRegionsNotFound) Error ¶
func (o *ListProviderRegionsNotFound) Error() string
func (*ListProviderRegionsNotFound) GetPayload ¶
func (o *ListProviderRegionsNotFound) GetPayload() *ListProviderRegionsNotFoundBody
func (*ListProviderRegionsNotFound) IsClientError ¶
func (o *ListProviderRegionsNotFound) IsClientError() bool
IsClientError returns true when this list provider regions not found response has a 4xx status code
func (*ListProviderRegionsNotFound) IsCode ¶
func (o *ListProviderRegionsNotFound) IsCode(code int) bool
IsCode returns true when this list provider regions not found response a status code equal to that given
func (*ListProviderRegionsNotFound) IsRedirect ¶
func (o *ListProviderRegionsNotFound) IsRedirect() bool
IsRedirect returns true when this list provider regions not found response has a 3xx status code
func (*ListProviderRegionsNotFound) IsServerError ¶
func (o *ListProviderRegionsNotFound) IsServerError() bool
IsServerError returns true when this list provider regions not found response has a 5xx status code
func (*ListProviderRegionsNotFound) IsSuccess ¶
func (o *ListProviderRegionsNotFound) IsSuccess() bool
IsSuccess returns true when this list provider regions not found response has a 2xx status code
func (*ListProviderRegionsNotFound) String ¶
func (o *ListProviderRegionsNotFound) String() string
type ListProviderRegionsNotFoundBody ¶
type ListProviderRegionsNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListProviderRegionsNotFoundBody list provider regions not found body swagger:model ListProviderRegionsNotFoundBody
func (*ListProviderRegionsNotFoundBody) ContextValidate ¶
func (o *ListProviderRegionsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions not found body based on context it is used
func (*ListProviderRegionsNotFoundBody) MarshalBinary ¶
func (o *ListProviderRegionsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsNotFoundBody) UnmarshalBinary ¶
func (o *ListProviderRegionsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsOK ¶
type ListProviderRegionsOK struct {
Payload *ListProviderRegionsOKBody
}
ListProviderRegionsOK describes a response with status code 200, with default header values.
A successful response.
func NewListProviderRegionsOK ¶
func NewListProviderRegionsOK() *ListProviderRegionsOK
NewListProviderRegionsOK creates a ListProviderRegionsOK with default headers values
func (*ListProviderRegionsOK) Code ¶
func (o *ListProviderRegionsOK) Code() int
Code gets the status code for the list provider regions o k response
func (*ListProviderRegionsOK) Error ¶
func (o *ListProviderRegionsOK) Error() string
func (*ListProviderRegionsOK) GetPayload ¶
func (o *ListProviderRegionsOK) GetPayload() *ListProviderRegionsOKBody
func (*ListProviderRegionsOK) IsClientError ¶
func (o *ListProviderRegionsOK) IsClientError() bool
IsClientError returns true when this list provider regions o k response has a 4xx status code
func (*ListProviderRegionsOK) IsCode ¶
func (o *ListProviderRegionsOK) IsCode(code int) bool
IsCode returns true when this list provider regions o k response a status code equal to that given
func (*ListProviderRegionsOK) IsRedirect ¶
func (o *ListProviderRegionsOK) IsRedirect() bool
IsRedirect returns true when this list provider regions o k response has a 3xx status code
func (*ListProviderRegionsOK) IsServerError ¶
func (o *ListProviderRegionsOK) IsServerError() bool
IsServerError returns true when this list provider regions o k response has a 5xx status code
func (*ListProviderRegionsOK) IsSuccess ¶
func (o *ListProviderRegionsOK) IsSuccess() bool
IsSuccess returns true when this list provider regions o k response has a 2xx status code
func (*ListProviderRegionsOK) String ¶
func (o *ListProviderRegionsOK) String() string
type ListProviderRegionsOKBody ¶
type ListProviderRegionsOKBody struct { // Items of provider regions. // Example: [{"cloud_provider":"AWS","cluster_type":"DEDICATED","region":"us-west-2","tidb":[{"node_quantity_range":{"min":1,"step":1},"node_size":"8C16G"}],"tiflash":[{"node_quantity_range":{"min":0,"step":1},"node_size":"8C64G","storage_size_gib_range":{"max":2048,"min":500}}],"tikv":[{"node_quantity_range":{"min":3,"step":3},"node_size":"8C32G","storage_size_gib_range":{"max":4096,"min":500}}]},{"cloud_provider":"AWS","cluster_type":"DEVELOPER","region":"us-west-2","tidb":[{"node_quantity_range":{"min":1,"step":1},"node_size":"Shared0"}],"tiflash":[{"node_quantity_range":{"min":1,"step":1},"node_size":"Shared0","storage_size_gib_range":{"max":1,"min":1}}],"tikv":[{"node_quantity_range":{"min":1,"step":1},"node_size":"Shared0","storage_size_gib_range":{"max":1,"min":1}}]}] Items []*ListProviderRegionsOKBodyItemsItems0 `json:"items"` }
ListProviderRegionsOKBody GetProviderRegionsResp // // GetProviderRegionsResp is the response for getting provider regions. swagger:model ListProviderRegionsOKBody
func (*ListProviderRegionsOKBody) ContextValidate ¶
func (o *ListProviderRegionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list provider regions o k body based on the context it is used
func (*ListProviderRegionsOKBody) MarshalBinary ¶
func (o *ListProviderRegionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsOKBody) UnmarshalBinary ¶
func (o *ListProviderRegionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsOKBodyItemsItems0 ¶
type ListProviderRegionsOKBodyItemsItems0 struct { // The cloud provider on which your TiDB cluster is hosted. // - `"AWS"`: the Amazon Web Services cloud provider // - `"GCP"`: the Google Cloud cloud provider // Example: AWS // Enum: [AWS GCP] CloudProvider string `json:"cloud_provider,omitempty"` // The cluster type. // - `"DEVELOPER"`: a [TiDB Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-serverless) cluster // - `"DEDICATED"`: a [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#dedicated-tier) cluster // // **Warning:** `"DEVELOPER"` will soon be changed to `"SERVERLESS"` to represent TiDB Serverless clusters. // Example: DEDICATED // Enum: [DEDICATED DEVELOPER] ClusterType string `json:"cluster_type,omitempty"` // The region in which your TiDB cluster is hosted. // // For the detailed information on each region, refer to the documentation of the corresponding cloud provider ([AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) | [GCP](https://cloud.google.com/about/locations#americas)). // // For example, `"us-west-2"` refers to Oregon for AWS. // Example: us-west-2 Region string `json:"region,omitempty"` // The list of TiDB specifications in the region. Tidb []*ListProviderRegionsOKBodyItemsItems0TidbItems0 `json:"tidb"` // The list of TiFlash specifications in the region. Tiflash []*ListProviderRegionsOKBodyItemsItems0TiflashItems0 `json:"tiflash"` // The list of TiKV specifications in the region. Tikv []*ListProviderRegionsOKBodyItemsItems0TikvItems0 `json:"tikv"` }
ListProviderRegionsOKBodyItemsItems0 ListProviderRegionsItem // // ListProviderRegionsItem is the item of provider regions. swagger:model ListProviderRegionsOKBodyItemsItems0
func (*ListProviderRegionsOKBodyItemsItems0) ContextValidate ¶
func (o *ListProviderRegionsOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list provider regions o k body items items0 based on the context it is used
func (*ListProviderRegionsOKBodyItemsItems0) MarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0) UnmarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsOKBodyItemsItems0TidbItems0 ¶
type ListProviderRegionsOKBodyItemsItems0TidbItems0 struct { // node quantity range NodeQuantityRange *ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange `json:"node_quantity_range,omitempty"` // The size of the TiDB component in the cluster. // Example: 8C16G NodeSize string `json:"node_size,omitempty"` }
ListProviderRegionsOKBodyItemsItems0TidbItems0 list provider regions o k body items items0 tidb items0 swagger:model ListProviderRegionsOKBodyItemsItems0TidbItems0
func (*ListProviderRegionsOKBodyItemsItems0TidbItems0) ContextValidate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list provider regions o k body items items0 tidb items0 based on the context it is used
func (*ListProviderRegionsOKBodyItemsItems0TidbItems0) MarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TidbItems0) UnmarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange ¶
type ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange struct { // The minimum node quantity of the component in the cluster. Min int32 `json:"min,omitempty"` // The step of node quantity of the component in the cluster. Step int32 `json:"step,omitempty"` }
ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange The range and step of node quantity of the TiDB component in the cluster. swagger:model ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange
func (*ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) ContextValidate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions o k body items items0 tidb items0 node quantity range based on context it is used
func (*ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) MarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) UnmarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsOKBodyItemsItems0TiflashItems0 ¶
type ListProviderRegionsOKBodyItemsItems0TiflashItems0 struct { // node quantity range NodeQuantityRange *ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange `json:"node_quantity_range,omitempty"` // The size of the TiFlash component in the cluster. // Example: 8C64G NodeSize string `json:"node_size,omitempty"` // storage size gib range StorageSizeGibRange *ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange `json:"storage_size_gib_range,omitempty"` }
ListProviderRegionsOKBodyItemsItems0TiflashItems0 list provider regions o k body items items0 tiflash items0 swagger:model ListProviderRegionsOKBodyItemsItems0TiflashItems0
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0) ContextValidate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list provider regions o k body items items0 tiflash items0 based on the context it is used
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0) MarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0) UnmarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange ¶
type ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange struct { // The minimum node quantity of the component in the cluster. Min int32 `json:"min,omitempty"` // The step of node quantity of the component in the cluster. Step int32 `json:"step,omitempty"` }
ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange The range and step of node quantity of the TiFlash component in the cluster. swagger:model ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) ContextValidate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions o k body items items0 tiflash items0 node quantity range based on context it is used
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) MarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) UnmarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) Validate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) Validate(formats strfmt.Registry) error
Validate validates this list provider regions o k body items items0 tiflash items0 node quantity range
type ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange ¶
type ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange struct { // The maximum storage size for each node of the component in the cluster. Max int32 `json:"max,omitempty"` // The minimum storage size for each node of the component in the cluster. Min int32 `json:"min,omitempty"` }
ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange The storage size range for each node of the TiFlash component in the cluster. swagger:model ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) ContextValidate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions o k body items items0 tiflash items0 storage size gib range based on context it is used
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) MarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) UnmarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) Validate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) Validate(formats strfmt.Registry) error
Validate validates this list provider regions o k body items items0 tiflash items0 storage size gib range
type ListProviderRegionsOKBodyItemsItems0TikvItems0 ¶
type ListProviderRegionsOKBodyItemsItems0TikvItems0 struct { // node quantity range NodeQuantityRange *ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange `json:"node_quantity_range,omitempty"` // The size of the TiKV component in the cluster. // Example: 8C32G NodeSize string `json:"node_size,omitempty"` // storage size gib range StorageSizeGibRange *ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange `json:"storage_size_gib_range,omitempty"` }
ListProviderRegionsOKBodyItemsItems0TikvItems0 list provider regions o k body items items0 tikv items0 swagger:model ListProviderRegionsOKBodyItemsItems0TikvItems0
func (*ListProviderRegionsOKBodyItemsItems0TikvItems0) ContextValidate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list provider regions o k body items items0 tikv items0 based on the context it is used
func (*ListProviderRegionsOKBodyItemsItems0TikvItems0) MarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TikvItems0) UnmarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange ¶
type ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange struct { // The minimum node quantity of the component in the cluster. Min int32 `json:"min,omitempty"` // The step of node quantity of the component in the cluster. Step int32 `json:"step,omitempty"` }
ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange The range and step of node quantity of the TiKV component in the cluster. swagger:model ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange
func (*ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) ContextValidate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions o k body items items0 tikv items0 node quantity range based on context it is used
func (*ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) MarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) UnmarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange ¶
type ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange struct { // The maximum storage size for each node of the component in the cluster. Max int32 `json:"max,omitempty"` // The minimum storage size for each node of the component in the cluster. Min int32 `json:"min,omitempty"` }
ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange The storage size range for each node of the TiKV component in the cluster. swagger:model ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange
func (*ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) ContextValidate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions o k body items items0 tikv items0 storage size gib range based on context it is used
func (*ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) MarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) UnmarshalBinary ¶
func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) Validate ¶
func (o *ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) Validate(formats strfmt.Registry) error
Validate validates this list provider regions o k body items items0 tikv items0 storage size gib range
type ListProviderRegionsParams ¶
type ListProviderRegionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProviderRegionsParams contains all the parameters to send to the API endpoint
for the list provider regions operation. Typically these are written to a http.Request.
func NewListProviderRegionsParams ¶
func NewListProviderRegionsParams() *ListProviderRegionsParams
NewListProviderRegionsParams creates a new ListProviderRegionsParams 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 NewListProviderRegionsParamsWithContext ¶
func NewListProviderRegionsParamsWithContext(ctx context.Context) *ListProviderRegionsParams
NewListProviderRegionsParamsWithContext creates a new ListProviderRegionsParams object with the ability to set a context for a request.
func NewListProviderRegionsParamsWithHTTPClient ¶
func NewListProviderRegionsParamsWithHTTPClient(client *http.Client) *ListProviderRegionsParams
NewListProviderRegionsParamsWithHTTPClient creates a new ListProviderRegionsParams object with the ability to set a custom HTTPClient for a request.
func NewListProviderRegionsParamsWithTimeout ¶
func NewListProviderRegionsParamsWithTimeout(timeout time.Duration) *ListProviderRegionsParams
NewListProviderRegionsParamsWithTimeout creates a new ListProviderRegionsParams object with the ability to set a timeout on a request.
func (*ListProviderRegionsParams) SetContext ¶
func (o *ListProviderRegionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list provider regions params
func (*ListProviderRegionsParams) SetDefaults ¶
func (o *ListProviderRegionsParams) SetDefaults()
SetDefaults hydrates default values in the list provider regions params (not the query body).
All values with no default are reset to their zero value.
func (*ListProviderRegionsParams) SetHTTPClient ¶
func (o *ListProviderRegionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list provider regions params
func (*ListProviderRegionsParams) SetTimeout ¶
func (o *ListProviderRegionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list provider regions params
func (*ListProviderRegionsParams) WithContext ¶
func (o *ListProviderRegionsParams) WithContext(ctx context.Context) *ListProviderRegionsParams
WithContext adds the context to the list provider regions params
func (*ListProviderRegionsParams) WithDefaults ¶
func (o *ListProviderRegionsParams) WithDefaults() *ListProviderRegionsParams
WithDefaults hydrates default values in the list provider regions params (not the query body).
All values with no default are reset to their zero value.
func (*ListProviderRegionsParams) WithHTTPClient ¶
func (o *ListProviderRegionsParams) WithHTTPClient(client *http.Client) *ListProviderRegionsParams
WithHTTPClient adds the HTTPClient to the list provider regions params
func (*ListProviderRegionsParams) WithTimeout ¶
func (o *ListProviderRegionsParams) WithTimeout(timeout time.Duration) *ListProviderRegionsParams
WithTimeout adds the timeout to the list provider regions params
func (*ListProviderRegionsParams) WriteToRequest ¶
func (o *ListProviderRegionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProviderRegionsReader ¶
type ListProviderRegionsReader struct {
// contains filtered or unexported fields
}
ListProviderRegionsReader is a Reader for the ListProviderRegions structure.
func (*ListProviderRegionsReader) ReadResponse ¶
func (o *ListProviderRegionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProviderRegionsTooManyRequests ¶
type ListProviderRegionsTooManyRequests struct {
Payload *ListProviderRegionsTooManyRequestsBody
}
ListProviderRegionsTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewListProviderRegionsTooManyRequests ¶
func NewListProviderRegionsTooManyRequests() *ListProviderRegionsTooManyRequests
NewListProviderRegionsTooManyRequests creates a ListProviderRegionsTooManyRequests with default headers values
func (*ListProviderRegionsTooManyRequests) Code ¶
func (o *ListProviderRegionsTooManyRequests) Code() int
Code gets the status code for the list provider regions too many requests response
func (*ListProviderRegionsTooManyRequests) Error ¶
func (o *ListProviderRegionsTooManyRequests) Error() string
func (*ListProviderRegionsTooManyRequests) GetPayload ¶
func (o *ListProviderRegionsTooManyRequests) GetPayload() *ListProviderRegionsTooManyRequestsBody
func (*ListProviderRegionsTooManyRequests) IsClientError ¶
func (o *ListProviderRegionsTooManyRequests) IsClientError() bool
IsClientError returns true when this list provider regions too many requests response has a 4xx status code
func (*ListProviderRegionsTooManyRequests) IsCode ¶
func (o *ListProviderRegionsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list provider regions too many requests response a status code equal to that given
func (*ListProviderRegionsTooManyRequests) IsRedirect ¶
func (o *ListProviderRegionsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list provider regions too many requests response has a 3xx status code
func (*ListProviderRegionsTooManyRequests) IsServerError ¶
func (o *ListProviderRegionsTooManyRequests) IsServerError() bool
IsServerError returns true when this list provider regions too many requests response has a 5xx status code
func (*ListProviderRegionsTooManyRequests) IsSuccess ¶
func (o *ListProviderRegionsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list provider regions too many requests response has a 2xx status code
func (*ListProviderRegionsTooManyRequests) String ¶
func (o *ListProviderRegionsTooManyRequests) String() string
type ListProviderRegionsTooManyRequestsBody ¶
type ListProviderRegionsTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListProviderRegionsTooManyRequestsBody list provider regions too many requests body swagger:model ListProviderRegionsTooManyRequestsBody
func (*ListProviderRegionsTooManyRequestsBody) ContextValidate ¶
func (o *ListProviderRegionsTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list provider regions too many requests body based on context it is used
func (*ListProviderRegionsTooManyRequestsBody) MarshalBinary ¶
func (o *ListProviderRegionsTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProviderRegionsTooManyRequestsBody) UnmarshalBinary ¶
func (o *ListProviderRegionsTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProviderRegionsUnauthorized ¶
type ListProviderRegionsUnauthorized struct {
}ListProviderRegionsUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewListProviderRegionsUnauthorized ¶
func NewListProviderRegionsUnauthorized() *ListProviderRegionsUnauthorized
NewListProviderRegionsUnauthorized creates a ListProviderRegionsUnauthorized with default headers values
func (*ListProviderRegionsUnauthorized) Code ¶
func (o *ListProviderRegionsUnauthorized) Code() int
Code gets the status code for the list provider regions unauthorized response
func (*ListProviderRegionsUnauthorized) Error ¶
func (o *ListProviderRegionsUnauthorized) Error() string
func (*ListProviderRegionsUnauthorized) GetPayload ¶
func (o *ListProviderRegionsUnauthorized) GetPayload() interface{}
func (*ListProviderRegionsUnauthorized) IsClientError ¶
func (o *ListProviderRegionsUnauthorized) IsClientError() bool
IsClientError returns true when this list provider regions unauthorized response has a 4xx status code
func (*ListProviderRegionsUnauthorized) IsCode ¶
func (o *ListProviderRegionsUnauthorized) IsCode(code int) bool
IsCode returns true when this list provider regions unauthorized response a status code equal to that given
func (*ListProviderRegionsUnauthorized) IsRedirect ¶
func (o *ListProviderRegionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list provider regions unauthorized response has a 3xx status code
func (*ListProviderRegionsUnauthorized) IsServerError ¶
func (o *ListProviderRegionsUnauthorized) IsServerError() bool
IsServerError returns true when this list provider regions unauthorized response has a 5xx status code
func (*ListProviderRegionsUnauthorized) IsSuccess ¶
func (o *ListProviderRegionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list provider regions unauthorized response has a 2xx status code
func (*ListProviderRegionsUnauthorized) String ¶
func (o *ListProviderRegionsUnauthorized) String() string
type UpdateClusterBadRequest ¶
type UpdateClusterBadRequest struct {
Payload *UpdateClusterBadRequestBody
}
UpdateClusterBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewUpdateClusterBadRequest ¶
func NewUpdateClusterBadRequest() *UpdateClusterBadRequest
NewUpdateClusterBadRequest creates a UpdateClusterBadRequest with default headers values
func (*UpdateClusterBadRequest) Code ¶
func (o *UpdateClusterBadRequest) Code() int
Code gets the status code for the update cluster bad request response
func (*UpdateClusterBadRequest) Error ¶
func (o *UpdateClusterBadRequest) Error() string
func (*UpdateClusterBadRequest) GetPayload ¶
func (o *UpdateClusterBadRequest) GetPayload() *UpdateClusterBadRequestBody
func (*UpdateClusterBadRequest) IsClientError ¶
func (o *UpdateClusterBadRequest) IsClientError() bool
IsClientError returns true when this update cluster bad request response has a 4xx status code
func (*UpdateClusterBadRequest) IsCode ¶
func (o *UpdateClusterBadRequest) IsCode(code int) bool
IsCode returns true when this update cluster bad request response a status code equal to that given
func (*UpdateClusterBadRequest) IsRedirect ¶
func (o *UpdateClusterBadRequest) IsRedirect() bool
IsRedirect returns true when this update cluster bad request response has a 3xx status code
func (*UpdateClusterBadRequest) IsServerError ¶
func (o *UpdateClusterBadRequest) IsServerError() bool
IsServerError returns true when this update cluster bad request response has a 5xx status code
func (*UpdateClusterBadRequest) IsSuccess ¶
func (o *UpdateClusterBadRequest) IsSuccess() bool
IsSuccess returns true when this update cluster bad request response has a 2xx status code
func (*UpdateClusterBadRequest) String ¶
func (o *UpdateClusterBadRequest) String() string
type UpdateClusterBadRequestBody ¶
type UpdateClusterBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
UpdateClusterBadRequestBody update cluster bad request body swagger:model UpdateClusterBadRequestBody
func (*UpdateClusterBadRequestBody) ContextValidate ¶
func (o *UpdateClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update cluster bad request body based on context it is used
func (*UpdateClusterBadRequestBody) MarshalBinary ¶
func (o *UpdateClusterBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterBadRequestBody) UnmarshalBinary ¶
func (o *UpdateClusterBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterBody ¶
type UpdateClusterBody struct { // config // Required: true Config *UpdateClusterParamsBodyConfig `json:"config"` }
UpdateClusterBody UpdateClusterReq // // UpdateClusterReq is the request for updating cluster. swagger:model UpdateClusterBody
func (*UpdateClusterBody) ContextValidate ¶
ContextValidate validate this update cluster body based on the context it is used
func (*UpdateClusterBody) MarshalBinary ¶
func (o *UpdateClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterBody) UnmarshalBinary ¶
func (o *UpdateClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterDefault ¶
type UpdateClusterDefault struct { Payload *UpdateClusterDefaultBody // contains filtered or unexported fields }
UpdateClusterDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateClusterDefault ¶
func NewUpdateClusterDefault(code int) *UpdateClusterDefault
NewUpdateClusterDefault creates a UpdateClusterDefault with default headers values
func (*UpdateClusterDefault) Code ¶
func (o *UpdateClusterDefault) Code() int
Code gets the status code for the update cluster default response
func (*UpdateClusterDefault) Error ¶
func (o *UpdateClusterDefault) Error() string
func (*UpdateClusterDefault) GetPayload ¶
func (o *UpdateClusterDefault) GetPayload() *UpdateClusterDefaultBody
func (*UpdateClusterDefault) IsClientError ¶
func (o *UpdateClusterDefault) IsClientError() bool
IsClientError returns true when this update cluster default response has a 4xx status code
func (*UpdateClusterDefault) IsCode ¶
func (o *UpdateClusterDefault) IsCode(code int) bool
IsCode returns true when this update cluster default response a status code equal to that given
func (*UpdateClusterDefault) IsRedirect ¶
func (o *UpdateClusterDefault) IsRedirect() bool
IsRedirect returns true when this update cluster default response has a 3xx status code
func (*UpdateClusterDefault) IsServerError ¶
func (o *UpdateClusterDefault) IsServerError() bool
IsServerError returns true when this update cluster default response has a 5xx status code
func (*UpdateClusterDefault) IsSuccess ¶
func (o *UpdateClusterDefault) IsSuccess() bool
IsSuccess returns true when this update cluster default response has a 2xx status code
func (*UpdateClusterDefault) String ¶
func (o *UpdateClusterDefault) String() string
type UpdateClusterDefaultBody ¶
type UpdateClusterDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*UpdateClusterDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
UpdateClusterDefaultBody update cluster default body swagger:model UpdateClusterDefaultBody
func (*UpdateClusterDefaultBody) ContextValidate ¶
func (o *UpdateClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update cluster default body based on the context it is used
func (*UpdateClusterDefaultBody) MarshalBinary ¶
func (o *UpdateClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterDefaultBody) UnmarshalBinary ¶
func (o *UpdateClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterDefaultBodyDetailsItems0 ¶
type UpdateClusterDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
UpdateClusterDefaultBodyDetailsItems0 update cluster default body details items0 swagger:model UpdateClusterDefaultBodyDetailsItems0
func (*UpdateClusterDefaultBodyDetailsItems0) ContextValidate ¶
func (o *UpdateClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update cluster default body details items0 based on context it is used
func (*UpdateClusterDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *UpdateClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *UpdateClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterForbidden ¶
type UpdateClusterForbidden struct {
Payload *UpdateClusterForbiddenBody
}
UpdateClusterForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewUpdateClusterForbidden ¶
func NewUpdateClusterForbidden() *UpdateClusterForbidden
NewUpdateClusterForbidden creates a UpdateClusterForbidden with default headers values
func (*UpdateClusterForbidden) Code ¶
func (o *UpdateClusterForbidden) Code() int
Code gets the status code for the update cluster forbidden response
func (*UpdateClusterForbidden) Error ¶
func (o *UpdateClusterForbidden) Error() string
func (*UpdateClusterForbidden) GetPayload ¶
func (o *UpdateClusterForbidden) GetPayload() *UpdateClusterForbiddenBody
func (*UpdateClusterForbidden) IsClientError ¶
func (o *UpdateClusterForbidden) IsClientError() bool
IsClientError returns true when this update cluster forbidden response has a 4xx status code
func (*UpdateClusterForbidden) IsCode ¶
func (o *UpdateClusterForbidden) IsCode(code int) bool
IsCode returns true when this update cluster forbidden response a status code equal to that given
func (*UpdateClusterForbidden) IsRedirect ¶
func (o *UpdateClusterForbidden) IsRedirect() bool
IsRedirect returns true when this update cluster forbidden response has a 3xx status code
func (*UpdateClusterForbidden) IsServerError ¶
func (o *UpdateClusterForbidden) IsServerError() bool
IsServerError returns true when this update cluster forbidden response has a 5xx status code
func (*UpdateClusterForbidden) IsSuccess ¶
func (o *UpdateClusterForbidden) IsSuccess() bool
IsSuccess returns true when this update cluster forbidden response has a 2xx status code
func (*UpdateClusterForbidden) String ¶
func (o *UpdateClusterForbidden) String() string
type UpdateClusterForbiddenBody ¶
type UpdateClusterForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
UpdateClusterForbiddenBody update cluster forbidden body swagger:model UpdateClusterForbiddenBody
func (*UpdateClusterForbiddenBody) ContextValidate ¶
func (o *UpdateClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update cluster forbidden body based on context it is used
func (*UpdateClusterForbiddenBody) MarshalBinary ¶
func (o *UpdateClusterForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterForbiddenBody) UnmarshalBinary ¶
func (o *UpdateClusterForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterInternalServerError ¶
type UpdateClusterInternalServerError struct {
Payload *UpdateClusterInternalServerErrorBody
}
UpdateClusterInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewUpdateClusterInternalServerError ¶
func NewUpdateClusterInternalServerError() *UpdateClusterInternalServerError
NewUpdateClusterInternalServerError creates a UpdateClusterInternalServerError with default headers values
func (*UpdateClusterInternalServerError) Code ¶
func (o *UpdateClusterInternalServerError) Code() int
Code gets the status code for the update cluster internal server error response
func (*UpdateClusterInternalServerError) Error ¶
func (o *UpdateClusterInternalServerError) Error() string
func (*UpdateClusterInternalServerError) GetPayload ¶
func (o *UpdateClusterInternalServerError) GetPayload() *UpdateClusterInternalServerErrorBody
func (*UpdateClusterInternalServerError) IsClientError ¶
func (o *UpdateClusterInternalServerError) IsClientError() bool
IsClientError returns true when this update cluster internal server error response has a 4xx status code
func (*UpdateClusterInternalServerError) IsCode ¶
func (o *UpdateClusterInternalServerError) IsCode(code int) bool
IsCode returns true when this update cluster internal server error response a status code equal to that given
func (*UpdateClusterInternalServerError) IsRedirect ¶
func (o *UpdateClusterInternalServerError) IsRedirect() bool
IsRedirect returns true when this update cluster internal server error response has a 3xx status code
func (*UpdateClusterInternalServerError) IsServerError ¶
func (o *UpdateClusterInternalServerError) IsServerError() bool
IsServerError returns true when this update cluster internal server error response has a 5xx status code
func (*UpdateClusterInternalServerError) IsSuccess ¶
func (o *UpdateClusterInternalServerError) IsSuccess() bool
IsSuccess returns true when this update cluster internal server error response has a 2xx status code
func (*UpdateClusterInternalServerError) String ¶
func (o *UpdateClusterInternalServerError) String() string
type UpdateClusterInternalServerErrorBody ¶
type UpdateClusterInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
UpdateClusterInternalServerErrorBody update cluster internal server error body swagger:model UpdateClusterInternalServerErrorBody
func (*UpdateClusterInternalServerErrorBody) ContextValidate ¶
func (o *UpdateClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update cluster internal server error body based on context it is used
func (*UpdateClusterInternalServerErrorBody) MarshalBinary ¶
func (o *UpdateClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterInternalServerErrorBody) UnmarshalBinary ¶
func (o *UpdateClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterNotFound ¶
type UpdateClusterNotFound struct {
Payload *UpdateClusterNotFoundBody
}
UpdateClusterNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewUpdateClusterNotFound ¶
func NewUpdateClusterNotFound() *UpdateClusterNotFound
NewUpdateClusterNotFound creates a UpdateClusterNotFound with default headers values
func (*UpdateClusterNotFound) Code ¶
func (o *UpdateClusterNotFound) Code() int
Code gets the status code for the update cluster not found response
func (*UpdateClusterNotFound) Error ¶
func (o *UpdateClusterNotFound) Error() string
func (*UpdateClusterNotFound) GetPayload ¶
func (o *UpdateClusterNotFound) GetPayload() *UpdateClusterNotFoundBody
func (*UpdateClusterNotFound) IsClientError ¶
func (o *UpdateClusterNotFound) IsClientError() bool
IsClientError returns true when this update cluster not found response has a 4xx status code
func (*UpdateClusterNotFound) IsCode ¶
func (o *UpdateClusterNotFound) IsCode(code int) bool
IsCode returns true when this update cluster not found response a status code equal to that given
func (*UpdateClusterNotFound) IsRedirect ¶
func (o *UpdateClusterNotFound) IsRedirect() bool
IsRedirect returns true when this update cluster not found response has a 3xx status code
func (*UpdateClusterNotFound) IsServerError ¶
func (o *UpdateClusterNotFound) IsServerError() bool
IsServerError returns true when this update cluster not found response has a 5xx status code
func (*UpdateClusterNotFound) IsSuccess ¶
func (o *UpdateClusterNotFound) IsSuccess() bool
IsSuccess returns true when this update cluster not found response has a 2xx status code
func (*UpdateClusterNotFound) String ¶
func (o *UpdateClusterNotFound) String() string
type UpdateClusterNotFoundBody ¶
type UpdateClusterNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
UpdateClusterNotFoundBody update cluster not found body swagger:model UpdateClusterNotFoundBody
func (*UpdateClusterNotFoundBody) ContextValidate ¶
func (o *UpdateClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update cluster not found body based on context it is used
func (*UpdateClusterNotFoundBody) MarshalBinary ¶
func (o *UpdateClusterNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterNotFoundBody) UnmarshalBinary ¶
func (o *UpdateClusterNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterOK ¶
type UpdateClusterOK struct {
Payload interface{}
}
UpdateClusterOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateClusterOK ¶
func NewUpdateClusterOK() *UpdateClusterOK
NewUpdateClusterOK creates a UpdateClusterOK with default headers values
func (*UpdateClusterOK) Code ¶
func (o *UpdateClusterOK) Code() int
Code gets the status code for the update cluster o k response
func (*UpdateClusterOK) Error ¶
func (o *UpdateClusterOK) Error() string
func (*UpdateClusterOK) GetPayload ¶
func (o *UpdateClusterOK) GetPayload() interface{}
func (*UpdateClusterOK) IsClientError ¶
func (o *UpdateClusterOK) IsClientError() bool
IsClientError returns true when this update cluster o k response has a 4xx status code
func (*UpdateClusterOK) IsCode ¶
func (o *UpdateClusterOK) IsCode(code int) bool
IsCode returns true when this update cluster o k response a status code equal to that given
func (*UpdateClusterOK) IsRedirect ¶
func (o *UpdateClusterOK) IsRedirect() bool
IsRedirect returns true when this update cluster o k response has a 3xx status code
func (*UpdateClusterOK) IsServerError ¶
func (o *UpdateClusterOK) IsServerError() bool
IsServerError returns true when this update cluster o k response has a 5xx status code
func (*UpdateClusterOK) IsSuccess ¶
func (o *UpdateClusterOK) IsSuccess() bool
IsSuccess returns true when this update cluster o k response has a 2xx status code
func (*UpdateClusterOK) String ¶
func (o *UpdateClusterOK) String() string
type UpdateClusterParams ¶
type UpdateClusterParams struct { // Body. Body UpdateClusterBody /* ClusterID. The ID of the cluster. Format: uint64 */ ClusterID string /* ProjectID. The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects). Format: uint64 */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateClusterParams contains all the parameters to send to the API endpoint
for the update cluster operation. Typically these are written to a http.Request.
func NewUpdateClusterParams ¶
func NewUpdateClusterParams() *UpdateClusterParams
NewUpdateClusterParams creates a new UpdateClusterParams 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 NewUpdateClusterParamsWithContext ¶
func NewUpdateClusterParamsWithContext(ctx context.Context) *UpdateClusterParams
NewUpdateClusterParamsWithContext creates a new UpdateClusterParams object with the ability to set a context for a request.
func NewUpdateClusterParamsWithHTTPClient ¶
func NewUpdateClusterParamsWithHTTPClient(client *http.Client) *UpdateClusterParams
NewUpdateClusterParamsWithHTTPClient creates a new UpdateClusterParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateClusterParamsWithTimeout ¶
func NewUpdateClusterParamsWithTimeout(timeout time.Duration) *UpdateClusterParams
NewUpdateClusterParamsWithTimeout creates a new UpdateClusterParams object with the ability to set a timeout on a request.
func (*UpdateClusterParams) SetBody ¶
func (o *UpdateClusterParams) SetBody(body UpdateClusterBody)
SetBody adds the body to the update cluster params
func (*UpdateClusterParams) SetClusterID ¶
func (o *UpdateClusterParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the update cluster params
func (*UpdateClusterParams) SetContext ¶
func (o *UpdateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the update cluster params
func (*UpdateClusterParams) SetDefaults ¶
func (o *UpdateClusterParams) SetDefaults()
SetDefaults hydrates default values in the update cluster params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterParams) SetHTTPClient ¶
func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) SetProjectID ¶
func (o *UpdateClusterParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the update cluster params
func (*UpdateClusterParams) SetTimeout ¶
func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WithBody ¶
func (o *UpdateClusterParams) WithBody(body UpdateClusterBody) *UpdateClusterParams
WithBody adds the body to the update cluster params
func (*UpdateClusterParams) WithClusterID ¶
func (o *UpdateClusterParams) WithClusterID(clusterID string) *UpdateClusterParams
WithClusterID adds the clusterID to the update cluster params
func (*UpdateClusterParams) WithContext ¶
func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
WithContext adds the context to the update cluster params
func (*UpdateClusterParams) WithDefaults ¶
func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams
WithDefaults hydrates default values in the update cluster params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterParams) WithHTTPClient ¶
func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
WithHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) WithProjectID ¶
func (o *UpdateClusterParams) WithProjectID(projectID string) *UpdateClusterParams
WithProjectID adds the projectID to the update cluster params
func (*UpdateClusterParams) WithTimeout ¶
func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
WithTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WriteToRequest ¶
func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClusterParamsBodyConfig ¶
type UpdateClusterParamsBodyConfig struct { // components Components *UpdateClusterParamsBodyConfigComponents `json:"components,omitempty"` // Flag that indicates whether the cluster is paused. `true` means to pause the cluster, and `false` means to resume the cluster. For more details, refer to [Pause or Resume a TiDB Cluster](https://docs.pingcap.com/tidbcloud/pause-or-resume-tidb-cluster). // // **Limitations:** // - The cluster can be paused only when the `cluster_status` is `"AVAILABLE"`. // - The cluster can be resumed only when the `cluster_status` is `"PAUSED"`. Paused *bool `json:"paused,omitempty"` }
UpdateClusterParamsBodyConfig UpdateClusterComponents // // The configuration of the cluster. You can modify the components of the cluster using `components`, or pause or resume the cluster using `paused`. // // You cannot change the cluster components and cluster status at the same time. That is, `components` and `paused` cannot be set at the same time. // Example: {"components":{"tidb":{"node_quantity":3,"node_size":"16C32G"},"tiflash":{"node_quantity":2,"node_size":"16C128G","storage_size_gib":2048},"tikv":{"node_quantity":6,"node_size":"16C64G","storage_size_gib":2048}}} swagger:model UpdateClusterParamsBodyConfig
func (*UpdateClusterParamsBodyConfig) ContextValidate ¶
func (o *UpdateClusterParamsBodyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update cluster params body config based on the context it is used
func (*UpdateClusterParamsBodyConfig) MarshalBinary ¶
func (o *UpdateClusterParamsBodyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterParamsBodyConfig) UnmarshalBinary ¶
func (o *UpdateClusterParamsBodyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterParamsBodyConfigComponents ¶
type UpdateClusterParamsBodyConfigComponents struct { // tidb Tidb *UpdateClusterParamsBodyConfigComponentsTidb `json:"tidb,omitempty"` // tiflash Tiflash *UpdateClusterParamsBodyConfigComponentsTiflash `json:"tiflash,omitempty"` // tikv Tikv *UpdateClusterParamsBodyConfigComponentsTikv `json:"tikv,omitempty"` }
UpdateClusterParamsBodyConfigComponents The components of the cluster. swagger:model UpdateClusterParamsBodyConfigComponents
func (*UpdateClusterParamsBodyConfigComponents) ContextValidate ¶
func (o *UpdateClusterParamsBodyConfigComponents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update cluster params body config components based on the context it is used
func (*UpdateClusterParamsBodyConfigComponents) MarshalBinary ¶
func (o *UpdateClusterParamsBodyConfigComponents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterParamsBodyConfigComponents) UnmarshalBinary ¶
func (o *UpdateClusterParamsBodyConfigComponents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterParamsBodyConfigComponentsTidb ¶
type UpdateClusterParamsBodyConfigComponentsTidb struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // Example: 3 NodeQuantity *int32 `json:"node_quantity,omitempty"` // The size of the TiDB component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // // **Limitations**: // - See [Change node size](https://docs.pingcap.com/tidbcloud/scale-tidb-cluster#change-node-size). // Example: 16C32G NodeSize *string `json:"node_size,omitempty"` }
UpdateClusterParamsBodyConfigComponentsTidb The TiDB component of the cluster. swagger:model UpdateClusterParamsBodyConfigComponentsTidb
func (*UpdateClusterParamsBodyConfigComponentsTidb) ContextValidate ¶
func (o *UpdateClusterParamsBodyConfigComponentsTidb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update cluster params body config components tidb based on context it is used
func (*UpdateClusterParamsBodyConfigComponentsTidb) MarshalBinary ¶
func (o *UpdateClusterParamsBodyConfigComponentsTidb) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterParamsBodyConfigComponentsTidb) UnmarshalBinary ¶
func (o *UpdateClusterParamsBodyConfigComponentsTidb) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterParamsBodyConfigComponentsTiflash ¶
type UpdateClusterParamsBodyConfigComponentsTiflash struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // Example: 2 NodeQuantity *int32 `json:"node_quantity,omitempty"` // The size of the TiFlash component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // // **Limitations**: // - See [Change node size](https://docs.pingcap.com/tidbcloud/scale-tidb-cluster#change-node-size). // Example: 16C128G NodeSize *string `json:"node_size,omitempty"` // The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Limitations**: // - You cannot decrease storage size for TiFlash. // - If your TiDB cluster is hosted by AWS, after changing the storage size of TiFlash, you must wait at least six hours before you can change it again. // Example: 2048 StorageSizeGib *int32 `json:"storage_size_gib,omitempty"` }
UpdateClusterParamsBodyConfigComponentsTiflash The TiFlash component of the cluster. // // If you want to add TiFlash nodes to a cluster that does not have one before (increase the node_quantity of `"TIFLASH"` from 0), you must specify the `node_size`, `storage_size_gib` and `node_quantity` of TiFlash nodes. swagger:model UpdateClusterParamsBodyConfigComponentsTiflash
func (*UpdateClusterParamsBodyConfigComponentsTiflash) ContextValidate ¶
func (o *UpdateClusterParamsBodyConfigComponentsTiflash) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update cluster params body config components tiflash based on context it is used
func (*UpdateClusterParamsBodyConfigComponentsTiflash) MarshalBinary ¶
func (o *UpdateClusterParamsBodyConfigComponentsTiflash) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterParamsBodyConfigComponentsTiflash) UnmarshalBinary ¶
func (o *UpdateClusterParamsBodyConfigComponentsTiflash) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterParamsBodyConfigComponentsTikv ¶
type UpdateClusterParamsBodyConfigComponentsTikv struct { // The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Limitations**: // - The `node_quantity` of TiKV must be a multiple of 3. // Example: 6 NodeQuantity *int32 `json:"node_quantity,omitempty"` // The size of the TiKV component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Additional combination rules**: // - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same. // - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash. // // **Limitations**: // - See [Change node size](https://docs.pingcap.com/tidbcloud/scale-tidb-cluster#change-node-size). // Example: 16C64G NodeSize *string `json:"node_size,omitempty"` // The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions). // // **Limitations**: // - You cannot decrease storage size for TiKV. // - If your TiDB cluster is hosted by AWS, after changing the storage size of TiKV, you must wait at least six hours before you can change it again. // Example: 2048 StorageSizeGib *int32 `json:"storage_size_gib,omitempty"` }
UpdateClusterParamsBodyConfigComponentsTikv The TiKV component of the cluster. swagger:model UpdateClusterParamsBodyConfigComponentsTikv
func (*UpdateClusterParamsBodyConfigComponentsTikv) ContextValidate ¶
func (o *UpdateClusterParamsBodyConfigComponentsTikv) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update cluster params body config components tikv based on context it is used
func (*UpdateClusterParamsBodyConfigComponentsTikv) MarshalBinary ¶
func (o *UpdateClusterParamsBodyConfigComponentsTikv) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterParamsBodyConfigComponentsTikv) UnmarshalBinary ¶
func (o *UpdateClusterParamsBodyConfigComponentsTikv) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterReader ¶
type UpdateClusterReader struct {
// contains filtered or unexported fields
}
UpdateClusterReader is a Reader for the UpdateCluster structure.
func (*UpdateClusterReader) ReadResponse ¶
func (o *UpdateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateClusterTooManyRequests ¶
type UpdateClusterTooManyRequests struct {
Payload *UpdateClusterTooManyRequestsBody
}
UpdateClusterTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewUpdateClusterTooManyRequests ¶
func NewUpdateClusterTooManyRequests() *UpdateClusterTooManyRequests
NewUpdateClusterTooManyRequests creates a UpdateClusterTooManyRequests with default headers values
func (*UpdateClusterTooManyRequests) Code ¶
func (o *UpdateClusterTooManyRequests) Code() int
Code gets the status code for the update cluster too many requests response
func (*UpdateClusterTooManyRequests) Error ¶
func (o *UpdateClusterTooManyRequests) Error() string
func (*UpdateClusterTooManyRequests) GetPayload ¶
func (o *UpdateClusterTooManyRequests) GetPayload() *UpdateClusterTooManyRequestsBody
func (*UpdateClusterTooManyRequests) IsClientError ¶
func (o *UpdateClusterTooManyRequests) IsClientError() bool
IsClientError returns true when this update cluster too many requests response has a 4xx status code
func (*UpdateClusterTooManyRequests) IsCode ¶
func (o *UpdateClusterTooManyRequests) IsCode(code int) bool
IsCode returns true when this update cluster too many requests response a status code equal to that given
func (*UpdateClusterTooManyRequests) IsRedirect ¶
func (o *UpdateClusterTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update cluster too many requests response has a 3xx status code
func (*UpdateClusterTooManyRequests) IsServerError ¶
func (o *UpdateClusterTooManyRequests) IsServerError() bool
IsServerError returns true when this update cluster too many requests response has a 5xx status code
func (*UpdateClusterTooManyRequests) IsSuccess ¶
func (o *UpdateClusterTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update cluster too many requests response has a 2xx status code
func (*UpdateClusterTooManyRequests) String ¶
func (o *UpdateClusterTooManyRequests) String() string
type UpdateClusterTooManyRequestsBody ¶
type UpdateClusterTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
UpdateClusterTooManyRequestsBody update cluster too many requests body swagger:model UpdateClusterTooManyRequestsBody
func (*UpdateClusterTooManyRequestsBody) ContextValidate ¶
func (o *UpdateClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update cluster too many requests body based on context it is used
func (*UpdateClusterTooManyRequestsBody) MarshalBinary ¶
func (o *UpdateClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterTooManyRequestsBody) UnmarshalBinary ¶
func (o *UpdateClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterUnauthorized ¶
type UpdateClusterUnauthorized struct {
}UpdateClusterUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewUpdateClusterUnauthorized ¶
func NewUpdateClusterUnauthorized() *UpdateClusterUnauthorized
NewUpdateClusterUnauthorized creates a UpdateClusterUnauthorized with default headers values
func (*UpdateClusterUnauthorized) Code ¶
func (o *UpdateClusterUnauthorized) Code() int
Code gets the status code for the update cluster unauthorized response
func (*UpdateClusterUnauthorized) Error ¶
func (o *UpdateClusterUnauthorized) Error() string
func (*UpdateClusterUnauthorized) GetPayload ¶
func (o *UpdateClusterUnauthorized) GetPayload() interface{}
func (*UpdateClusterUnauthorized) IsClientError ¶
func (o *UpdateClusterUnauthorized) IsClientError() bool
IsClientError returns true when this update cluster unauthorized response has a 4xx status code
func (*UpdateClusterUnauthorized) IsCode ¶
func (o *UpdateClusterUnauthorized) IsCode(code int) bool
IsCode returns true when this update cluster unauthorized response a status code equal to that given
func (*UpdateClusterUnauthorized) IsRedirect ¶
func (o *UpdateClusterUnauthorized) IsRedirect() bool
IsRedirect returns true when this update cluster unauthorized response has a 3xx status code
func (*UpdateClusterUnauthorized) IsServerError ¶
func (o *UpdateClusterUnauthorized) IsServerError() bool
IsServerError returns true when this update cluster unauthorized response has a 5xx status code
func (*UpdateClusterUnauthorized) IsSuccess ¶
func (o *UpdateClusterUnauthorized) IsSuccess() bool
IsSuccess returns true when this update cluster unauthorized response has a 2xx status code
func (*UpdateClusterUnauthorized) String ¶
func (o *UpdateClusterUnauthorized) String() string
Source Files ¶
- cluster_client.go
- create_aws_cmek_parameters.go
- create_aws_cmek_responses.go
- create_cluster_parameters.go
- create_cluster_responses.go
- create_private_endpoint_parameters.go
- create_private_endpoint_responses.go
- create_private_endpoint_service_parameters.go
- create_private_endpoint_service_responses.go
- delete_cluster_parameters.go
- delete_cluster_responses.go
- delete_private_endpoint_parameters.go
- delete_private_endpoint_responses.go
- get_cluster_parameters.go
- get_cluster_responses.go
- get_private_endpoint_service_parameters.go
- get_private_endpoint_service_responses.go
- list_aws_cmek_parameters.go
- list_aws_cmek_responses.go
- list_clusters_of_project_parameters.go
- list_clusters_of_project_responses.go
- list_private_endpoints_of_project_parameters.go
- list_private_endpoints_of_project_responses.go
- list_private_endpoints_parameters.go
- list_private_endpoints_responses.go
- list_provider_regions_parameters.go
- list_provider_regions_responses.go
- update_cluster_parameters.go
- update_cluster_responses.go