Documentation ¶
Index ¶
- type AddClusterBadGateway
- func (o *AddClusterBadGateway) Code() int
- func (o *AddClusterBadGateway) Error() string
- func (o *AddClusterBadGateway) GetPayload() *models.ErrorResponse
- func (o *AddClusterBadGateway) IsClientError() bool
- func (o *AddClusterBadGateway) IsCode(code int) bool
- func (o *AddClusterBadGateway) IsRedirect() bool
- func (o *AddClusterBadGateway) IsServerError() bool
- func (o *AddClusterBadGateway) IsSuccess() bool
- func (o *AddClusterBadGateway) String() string
- type AddClusterBadRequest
- func (o *AddClusterBadRequest) Code() int
- func (o *AddClusterBadRequest) Error() string
- func (o *AddClusterBadRequest) GetPayload() *models.ErrorResponse
- func (o *AddClusterBadRequest) IsClientError() bool
- func (o *AddClusterBadRequest) IsCode(code int) bool
- func (o *AddClusterBadRequest) IsRedirect() bool
- func (o *AddClusterBadRequest) IsServerError() bool
- func (o *AddClusterBadRequest) IsSuccess() bool
- func (o *AddClusterBadRequest) String() string
- type AddClusterOK
- func (o *AddClusterOK) Code() int
- func (o *AddClusterOK) Error() string
- func (o *AddClusterOK) GetPayload() *models.Cluster
- func (o *AddClusterOK) IsClientError() bool
- func (o *AddClusterOK) IsCode(code int) bool
- func (o *AddClusterOK) IsRedirect() bool
- func (o *AddClusterOK) IsServerError() bool
- func (o *AddClusterOK) IsSuccess() bool
- func (o *AddClusterOK) String() string
- type AddClusterParams
- func (o *AddClusterParams) SetClusterName(clusterName string)
- func (o *AddClusterParams) SetContext(ctx context.Context)
- func (o *AddClusterParams) SetDefaults()
- func (o *AddClusterParams) SetHTTPClient(client *http.Client)
- func (o *AddClusterParams) SetOrgName(orgName string)
- func (o *AddClusterParams) SetTimeout(timeout time.Duration)
- func (o *AddClusterParams) WithClusterName(clusterName string) *AddClusterParams
- func (o *AddClusterParams) WithContext(ctx context.Context) *AddClusterParams
- func (o *AddClusterParams) WithDefaults() *AddClusterParams
- func (o *AddClusterParams) WithHTTPClient(client *http.Client) *AddClusterParams
- func (o *AddClusterParams) WithOrgName(orgName string) *AddClusterParams
- func (o *AddClusterParams) WithTimeout(timeout time.Duration) *AddClusterParams
- func (o *AddClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddClusterReader
- type AddClusterUnauthorized
- func (o *AddClusterUnauthorized) Code() int
- func (o *AddClusterUnauthorized) Error() string
- func (o *AddClusterUnauthorized) GetPayload() *models.ErrorResponse
- func (o *AddClusterUnauthorized) IsClientError() bool
- func (o *AddClusterUnauthorized) IsCode(code int) bool
- func (o *AddClusterUnauthorized) IsRedirect() bool
- func (o *AddClusterUnauthorized) IsServerError() bool
- func (o *AddClusterUnauthorized) IsSuccess() bool
- func (o *AddClusterUnauthorized) String() string
- type Client
- func (a *Client) AddCluster(params *AddClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddClusterOK, error)
- func (a *Client) CreateClusterToken(params *CreateClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateClusterTokenOK, error)
- func (a *Client) DeleteClusterToken(params *DeleteClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteClusterTokenOK, error)
- func (a *Client) GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClusterOK, error)
- func (a *Client) GetClusterToken(params *GetClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClusterTokenOK, error)
- func (a *Client) ListClusterTokens(params *ListClusterTokensParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListClusterTokensOK, error)
- func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListClustersOK, error)
- func (a *Client) RemoveCluster(params *RemoveClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveClusterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateClusterTokenOK
- func (o *CreateClusterTokenOK) Code() int
- func (o *CreateClusterTokenOK) Error() string
- func (o *CreateClusterTokenOK) GetPayload() *models.ClusterToken
- func (o *CreateClusterTokenOK) IsClientError() bool
- func (o *CreateClusterTokenOK) IsCode(code int) bool
- func (o *CreateClusterTokenOK) IsRedirect() bool
- func (o *CreateClusterTokenOK) IsServerError() bool
- func (o *CreateClusterTokenOK) IsSuccess() bool
- func (o *CreateClusterTokenOK) String() string
- type CreateClusterTokenParams
- func NewCreateClusterTokenParams() *CreateClusterTokenParams
- func NewCreateClusterTokenParamsWithContext(ctx context.Context) *CreateClusterTokenParams
- func NewCreateClusterTokenParamsWithHTTPClient(client *http.Client) *CreateClusterTokenParams
- func NewCreateClusterTokenParamsWithTimeout(timeout time.Duration) *CreateClusterTokenParams
- func (o *CreateClusterTokenParams) SetClusterName(clusterName string)
- func (o *CreateClusterTokenParams) SetContext(ctx context.Context)
- func (o *CreateClusterTokenParams) SetDefaults()
- func (o *CreateClusterTokenParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterTokenParams) SetOrgName(orgName string)
- func (o *CreateClusterTokenParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterTokenParams) WithClusterName(clusterName string) *CreateClusterTokenParams
- func (o *CreateClusterTokenParams) WithContext(ctx context.Context) *CreateClusterTokenParams
- func (o *CreateClusterTokenParams) WithDefaults() *CreateClusterTokenParams
- func (o *CreateClusterTokenParams) WithHTTPClient(client *http.Client) *CreateClusterTokenParams
- func (o *CreateClusterTokenParams) WithOrgName(orgName string) *CreateClusterTokenParams
- func (o *CreateClusterTokenParams) WithTimeout(timeout time.Duration) *CreateClusterTokenParams
- func (o *CreateClusterTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterTokenReader
- type DeleteClusterTokenOK
- func (o *DeleteClusterTokenOK) Code() int
- func (o *DeleteClusterTokenOK) Error() string
- func (o *DeleteClusterTokenOK) GetPayload() models.EmptyResponse
- func (o *DeleteClusterTokenOK) IsClientError() bool
- func (o *DeleteClusterTokenOK) IsCode(code int) bool
- func (o *DeleteClusterTokenOK) IsRedirect() bool
- func (o *DeleteClusterTokenOK) IsServerError() bool
- func (o *DeleteClusterTokenOK) IsSuccess() bool
- func (o *DeleteClusterTokenOK) String() string
- type DeleteClusterTokenParams
- func NewDeleteClusterTokenParams() *DeleteClusterTokenParams
- func NewDeleteClusterTokenParamsWithContext(ctx context.Context) *DeleteClusterTokenParams
- func NewDeleteClusterTokenParamsWithHTTPClient(client *http.Client) *DeleteClusterTokenParams
- func NewDeleteClusterTokenParamsWithTimeout(timeout time.Duration) *DeleteClusterTokenParams
- func (o *DeleteClusterTokenParams) SetClusterName(clusterName string)
- func (o *DeleteClusterTokenParams) SetContext(ctx context.Context)
- func (o *DeleteClusterTokenParams) SetDefaults()
- func (o *DeleteClusterTokenParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterTokenParams) SetOrgName(orgName string)
- func (o *DeleteClusterTokenParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterTokenParams) SetTokenID(tokenID string)
- func (o *DeleteClusterTokenParams) WithClusterName(clusterName string) *DeleteClusterTokenParams
- func (o *DeleteClusterTokenParams) WithContext(ctx context.Context) *DeleteClusterTokenParams
- func (o *DeleteClusterTokenParams) WithDefaults() *DeleteClusterTokenParams
- func (o *DeleteClusterTokenParams) WithHTTPClient(client *http.Client) *DeleteClusterTokenParams
- func (o *DeleteClusterTokenParams) WithOrgName(orgName string) *DeleteClusterTokenParams
- func (o *DeleteClusterTokenParams) WithTimeout(timeout time.Duration) *DeleteClusterTokenParams
- func (o *DeleteClusterTokenParams) WithTokenID(tokenID string) *DeleteClusterTokenParams
- func (o *DeleteClusterTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterTokenReader
- type GetClusterBadGateway
- func (o *GetClusterBadGateway) Code() int
- func (o *GetClusterBadGateway) Error() string
- func (o *GetClusterBadGateway) GetPayload() *models.ErrorResponse
- func (o *GetClusterBadGateway) IsClientError() bool
- func (o *GetClusterBadGateway) IsCode(code int) bool
- func (o *GetClusterBadGateway) IsRedirect() bool
- func (o *GetClusterBadGateway) IsServerError() bool
- func (o *GetClusterBadGateway) IsSuccess() bool
- func (o *GetClusterBadGateway) String() string
- type GetClusterBadRequest
- func (o *GetClusterBadRequest) Code() int
- func (o *GetClusterBadRequest) Error() string
- func (o *GetClusterBadRequest) GetPayload() *models.ErrorResponse
- 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 GetClusterOK
- func (o *GetClusterOK) Code() int
- func (o *GetClusterOK) Error() string
- func (o *GetClusterOK) GetPayload() *models.Cluster
- 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 GetClusterParams
- func (o *GetClusterParams) SetClusterName(clusterName string)
- func (o *GetClusterParams) SetContext(ctx context.Context)
- func (o *GetClusterParams) SetDefaults()
- func (o *GetClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterParams) SetOrgName(orgName string)
- func (o *GetClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterParams) WithClusterName(clusterName 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) WithOrgName(orgName string) *GetClusterParams
- func (o *GetClusterParams) WithTimeout(timeout time.Duration) *GetClusterParams
- func (o *GetClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterReader
- type GetClusterTokenOK
- func (o *GetClusterTokenOK) Code() int
- func (o *GetClusterTokenOK) Error() string
- func (o *GetClusterTokenOK) GetPayload() *models.ClusterToken
- func (o *GetClusterTokenOK) IsClientError() bool
- func (o *GetClusterTokenOK) IsCode(code int) bool
- func (o *GetClusterTokenOK) IsRedirect() bool
- func (o *GetClusterTokenOK) IsServerError() bool
- func (o *GetClusterTokenOK) IsSuccess() bool
- func (o *GetClusterTokenOK) String() string
- type GetClusterTokenParams
- func NewGetClusterTokenParams() *GetClusterTokenParams
- func NewGetClusterTokenParamsWithContext(ctx context.Context) *GetClusterTokenParams
- func NewGetClusterTokenParamsWithHTTPClient(client *http.Client) *GetClusterTokenParams
- func NewGetClusterTokenParamsWithTimeout(timeout time.Duration) *GetClusterTokenParams
- func (o *GetClusterTokenParams) SetClusterName(clusterName string)
- func (o *GetClusterTokenParams) SetContext(ctx context.Context)
- func (o *GetClusterTokenParams) SetDefaults()
- func (o *GetClusterTokenParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterTokenParams) SetOrgName(orgName string)
- func (o *GetClusterTokenParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterTokenParams) SetTokenID(tokenID string)
- func (o *GetClusterTokenParams) WithClusterName(clusterName string) *GetClusterTokenParams
- func (o *GetClusterTokenParams) WithContext(ctx context.Context) *GetClusterTokenParams
- func (o *GetClusterTokenParams) WithDefaults() *GetClusterTokenParams
- func (o *GetClusterTokenParams) WithHTTPClient(client *http.Client) *GetClusterTokenParams
- func (o *GetClusterTokenParams) WithOrgName(orgName string) *GetClusterTokenParams
- func (o *GetClusterTokenParams) WithTimeout(timeout time.Duration) *GetClusterTokenParams
- func (o *GetClusterTokenParams) WithTokenID(tokenID string) *GetClusterTokenParams
- func (o *GetClusterTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterTokenReader
- type GetClusterUnauthorized
- func (o *GetClusterUnauthorized) Code() int
- func (o *GetClusterUnauthorized) Error() string
- func (o *GetClusterUnauthorized) GetPayload() *models.ErrorResponse
- 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 ListClusterTokensOK
- func (o *ListClusterTokensOK) Code() int
- func (o *ListClusterTokensOK) Error() string
- func (o *ListClusterTokensOK) GetPayload() []*models.ClusterToken
- func (o *ListClusterTokensOK) IsClientError() bool
- func (o *ListClusterTokensOK) IsCode(code int) bool
- func (o *ListClusterTokensOK) IsRedirect() bool
- func (o *ListClusterTokensOK) IsServerError() bool
- func (o *ListClusterTokensOK) IsSuccess() bool
- func (o *ListClusterTokensOK) String() string
- type ListClusterTokensParams
- func NewListClusterTokensParams() *ListClusterTokensParams
- func NewListClusterTokensParamsWithContext(ctx context.Context) *ListClusterTokensParams
- func NewListClusterTokensParamsWithHTTPClient(client *http.Client) *ListClusterTokensParams
- func NewListClusterTokensParamsWithTimeout(timeout time.Duration) *ListClusterTokensParams
- func (o *ListClusterTokensParams) SetClusterName(clusterName string)
- func (o *ListClusterTokensParams) SetContext(ctx context.Context)
- func (o *ListClusterTokensParams) SetDefaults()
- func (o *ListClusterTokensParams) SetHTTPClient(client *http.Client)
- func (o *ListClusterTokensParams) SetOrgName(orgName string)
- func (o *ListClusterTokensParams) SetTimeout(timeout time.Duration)
- func (o *ListClusterTokensParams) WithClusterName(clusterName string) *ListClusterTokensParams
- func (o *ListClusterTokensParams) WithContext(ctx context.Context) *ListClusterTokensParams
- func (o *ListClusterTokensParams) WithDefaults() *ListClusterTokensParams
- func (o *ListClusterTokensParams) WithHTTPClient(client *http.Client) *ListClusterTokensParams
- func (o *ListClusterTokensParams) WithOrgName(orgName string) *ListClusterTokensParams
- func (o *ListClusterTokensParams) WithTimeout(timeout time.Duration) *ListClusterTokensParams
- func (o *ListClusterTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClusterTokensReader
- type ListClustersBadGateway
- func (o *ListClustersBadGateway) Code() int
- func (o *ListClustersBadGateway) Error() string
- func (o *ListClustersBadGateway) GetPayload() *models.ErrorResponse
- func (o *ListClustersBadGateway) IsClientError() bool
- func (o *ListClustersBadGateway) IsCode(code int) bool
- func (o *ListClustersBadGateway) IsRedirect() bool
- func (o *ListClustersBadGateway) IsServerError() bool
- func (o *ListClustersBadGateway) IsSuccess() bool
- func (o *ListClustersBadGateway) String() string
- type ListClustersBadRequest
- func (o *ListClustersBadRequest) Code() int
- func (o *ListClustersBadRequest) Error() string
- func (o *ListClustersBadRequest) GetPayload() *models.ErrorResponse
- func (o *ListClustersBadRequest) IsClientError() bool
- func (o *ListClustersBadRequest) IsCode(code int) bool
- func (o *ListClustersBadRequest) IsRedirect() bool
- func (o *ListClustersBadRequest) IsServerError() bool
- func (o *ListClustersBadRequest) IsSuccess() bool
- func (o *ListClustersBadRequest) String() string
- type ListClustersOK
- func (o *ListClustersOK) Code() int
- func (o *ListClustersOK) Error() string
- func (o *ListClustersOK) GetPayload() []*models.Cluster
- func (o *ListClustersOK) IsClientError() bool
- func (o *ListClustersOK) IsCode(code int) bool
- func (o *ListClustersOK) IsRedirect() bool
- func (o *ListClustersOK) IsServerError() bool
- func (o *ListClustersOK) IsSuccess() bool
- func (o *ListClustersOK) String() string
- type ListClustersParams
- func (o *ListClustersParams) SetContext(ctx context.Context)
- func (o *ListClustersParams) SetDefaults()
- func (o *ListClustersParams) SetHTTPClient(client *http.Client)
- func (o *ListClustersParams) SetOrgName(orgName string)
- func (o *ListClustersParams) SetTimeout(timeout time.Duration)
- func (o *ListClustersParams) WithContext(ctx context.Context) *ListClustersParams
- func (o *ListClustersParams) WithDefaults() *ListClustersParams
- func (o *ListClustersParams) WithHTTPClient(client *http.Client) *ListClustersParams
- func (o *ListClustersParams) WithOrgName(orgName string) *ListClustersParams
- func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams
- func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClustersReader
- type ListClustersUnauthorized
- func (o *ListClustersUnauthorized) Code() int
- func (o *ListClustersUnauthorized) Error() string
- func (o *ListClustersUnauthorized) GetPayload() *models.ErrorResponse
- func (o *ListClustersUnauthorized) IsClientError() bool
- func (o *ListClustersUnauthorized) IsCode(code int) bool
- func (o *ListClustersUnauthorized) IsRedirect() bool
- func (o *ListClustersUnauthorized) IsServerError() bool
- func (o *ListClustersUnauthorized) IsSuccess() bool
- func (o *ListClustersUnauthorized) String() string
- type RemoveClusterBadGateway
- func (o *RemoveClusterBadGateway) Code() int
- func (o *RemoveClusterBadGateway) Error() string
- func (o *RemoveClusterBadGateway) GetPayload() *models.ErrorResponse
- func (o *RemoveClusterBadGateway) IsClientError() bool
- func (o *RemoveClusterBadGateway) IsCode(code int) bool
- func (o *RemoveClusterBadGateway) IsRedirect() bool
- func (o *RemoveClusterBadGateway) IsServerError() bool
- func (o *RemoveClusterBadGateway) IsSuccess() bool
- func (o *RemoveClusterBadGateway) String() string
- type RemoveClusterBadRequest
- func (o *RemoveClusterBadRequest) Code() int
- func (o *RemoveClusterBadRequest) Error() string
- func (o *RemoveClusterBadRequest) GetPayload() *models.ErrorResponse
- func (o *RemoveClusterBadRequest) IsClientError() bool
- func (o *RemoveClusterBadRequest) IsCode(code int) bool
- func (o *RemoveClusterBadRequest) IsRedirect() bool
- func (o *RemoveClusterBadRequest) IsServerError() bool
- func (o *RemoveClusterBadRequest) IsSuccess() bool
- func (o *RemoveClusterBadRequest) String() string
- type RemoveClusterOK
- func (o *RemoveClusterOK) Code() int
- func (o *RemoveClusterOK) Error() string
- func (o *RemoveClusterOK) GetPayload() models.EmptyResponse
- func (o *RemoveClusterOK) IsClientError() bool
- func (o *RemoveClusterOK) IsCode(code int) bool
- func (o *RemoveClusterOK) IsRedirect() bool
- func (o *RemoveClusterOK) IsServerError() bool
- func (o *RemoveClusterOK) IsSuccess() bool
- func (o *RemoveClusterOK) String() string
- type RemoveClusterParams
- func (o *RemoveClusterParams) SetClusterName(clusterName string)
- func (o *RemoveClusterParams) SetContext(ctx context.Context)
- func (o *RemoveClusterParams) SetDefaults()
- func (o *RemoveClusterParams) SetHTTPClient(client *http.Client)
- func (o *RemoveClusterParams) SetOrgName(orgName string)
- func (o *RemoveClusterParams) SetTimeout(timeout time.Duration)
- func (o *RemoveClusterParams) WithClusterName(clusterName string) *RemoveClusterParams
- func (o *RemoveClusterParams) WithContext(ctx context.Context) *RemoveClusterParams
- func (o *RemoveClusterParams) WithDefaults() *RemoveClusterParams
- func (o *RemoveClusterParams) WithHTTPClient(client *http.Client) *RemoveClusterParams
- func (o *RemoveClusterParams) WithOrgName(orgName string) *RemoveClusterParams
- func (o *RemoveClusterParams) WithTimeout(timeout time.Duration) *RemoveClusterParams
- func (o *RemoveClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveClusterReader
- type RemoveClusterUnauthorized
- func (o *RemoveClusterUnauthorized) Code() int
- func (o *RemoveClusterUnauthorized) Error() string
- func (o *RemoveClusterUnauthorized) GetPayload() *models.ErrorResponse
- func (o *RemoveClusterUnauthorized) IsClientError() bool
- func (o *RemoveClusterUnauthorized) IsCode(code int) bool
- func (o *RemoveClusterUnauthorized) IsRedirect() bool
- func (o *RemoveClusterUnauthorized) IsServerError() bool
- func (o *RemoveClusterUnauthorized) IsSuccess() bool
- func (o *RemoveClusterUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddClusterBadGateway ¶ added in v0.2.0
type AddClusterBadGateway struct {
Payload *models.ErrorResponse
}
AddClusterBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewAddClusterBadGateway ¶ added in v0.2.0
func NewAddClusterBadGateway() *AddClusterBadGateway
NewAddClusterBadGateway creates a AddClusterBadGateway with default headers values
func (*AddClusterBadGateway) Code ¶ added in v0.3.7
func (o *AddClusterBadGateway) Code() int
Code gets the status code for the add cluster bad gateway response
func (*AddClusterBadGateway) Error ¶ added in v0.2.0
func (o *AddClusterBadGateway) Error() string
func (*AddClusterBadGateway) GetPayload ¶ added in v0.2.0
func (o *AddClusterBadGateway) GetPayload() *models.ErrorResponse
func (*AddClusterBadGateway) IsClientError ¶ added in v0.3.3
func (o *AddClusterBadGateway) IsClientError() bool
IsClientError returns true when this add cluster bad gateway response has a 4xx status code
func (*AddClusterBadGateway) IsCode ¶ added in v0.3.3
func (o *AddClusterBadGateway) IsCode(code int) bool
IsCode returns true when this add cluster bad gateway response a status code equal to that given
func (*AddClusterBadGateway) IsRedirect ¶ added in v0.3.3
func (o *AddClusterBadGateway) IsRedirect() bool
IsRedirect returns true when this add cluster bad gateway response has a 3xx status code
func (*AddClusterBadGateway) IsServerError ¶ added in v0.3.3
func (o *AddClusterBadGateway) IsServerError() bool
IsServerError returns true when this add cluster bad gateway response has a 5xx status code
func (*AddClusterBadGateway) IsSuccess ¶ added in v0.3.3
func (o *AddClusterBadGateway) IsSuccess() bool
IsSuccess returns true when this add cluster bad gateway response has a 2xx status code
func (*AddClusterBadGateway) String ¶ added in v0.3.3
func (o *AddClusterBadGateway) String() string
type AddClusterBadRequest ¶ added in v0.2.0
type AddClusterBadRequest struct {
Payload *models.ErrorResponse
}
AddClusterBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewAddClusterBadRequest ¶ added in v0.2.0
func NewAddClusterBadRequest() *AddClusterBadRequest
NewAddClusterBadRequest creates a AddClusterBadRequest with default headers values
func (*AddClusterBadRequest) Code ¶ added in v0.3.7
func (o *AddClusterBadRequest) Code() int
Code gets the status code for the add cluster bad request response
func (*AddClusterBadRequest) Error ¶ added in v0.2.0
func (o *AddClusterBadRequest) Error() string
func (*AddClusterBadRequest) GetPayload ¶ added in v0.2.0
func (o *AddClusterBadRequest) GetPayload() *models.ErrorResponse
func (*AddClusterBadRequest) IsClientError ¶ added in v0.3.3
func (o *AddClusterBadRequest) IsClientError() bool
IsClientError returns true when this add cluster bad request response has a 4xx status code
func (*AddClusterBadRequest) IsCode ¶ added in v0.3.3
func (o *AddClusterBadRequest) IsCode(code int) bool
IsCode returns true when this add cluster bad request response a status code equal to that given
func (*AddClusterBadRequest) IsRedirect ¶ added in v0.3.3
func (o *AddClusterBadRequest) IsRedirect() bool
IsRedirect returns true when this add cluster bad request response has a 3xx status code
func (*AddClusterBadRequest) IsServerError ¶ added in v0.3.3
func (o *AddClusterBadRequest) IsServerError() bool
IsServerError returns true when this add cluster bad request response has a 5xx status code
func (*AddClusterBadRequest) IsSuccess ¶ added in v0.3.3
func (o *AddClusterBadRequest) IsSuccess() bool
IsSuccess returns true when this add cluster bad request response has a 2xx status code
func (*AddClusterBadRequest) String ¶ added in v0.3.3
func (o *AddClusterBadRequest) String() string
type AddClusterOK ¶ added in v0.2.0
AddClusterOK describes a response with status code 200, with default header values.
OK
func NewAddClusterOK ¶ added in v0.2.0
func NewAddClusterOK() *AddClusterOK
NewAddClusterOK creates a AddClusterOK with default headers values
func (*AddClusterOK) Code ¶ added in v0.3.7
func (o *AddClusterOK) Code() int
Code gets the status code for the add cluster o k response
func (*AddClusterOK) Error ¶ added in v0.2.0
func (o *AddClusterOK) Error() string
func (*AddClusterOK) GetPayload ¶ added in v0.2.0
func (o *AddClusterOK) GetPayload() *models.Cluster
func (*AddClusterOK) IsClientError ¶ added in v0.3.3
func (o *AddClusterOK) IsClientError() bool
IsClientError returns true when this add cluster o k response has a 4xx status code
func (*AddClusterOK) IsCode ¶ added in v0.3.3
func (o *AddClusterOK) IsCode(code int) bool
IsCode returns true when this add cluster o k response a status code equal to that given
func (*AddClusterOK) IsRedirect ¶ added in v0.3.3
func (o *AddClusterOK) IsRedirect() bool
IsRedirect returns true when this add cluster o k response has a 3xx status code
func (*AddClusterOK) IsServerError ¶ added in v0.3.3
func (o *AddClusterOK) IsServerError() bool
IsServerError returns true when this add cluster o k response has a 5xx status code
func (*AddClusterOK) IsSuccess ¶ added in v0.3.3
func (o *AddClusterOK) IsSuccess() bool
IsSuccess returns true when this add cluster o k response has a 2xx status code
func (*AddClusterOK) String ¶ added in v0.3.3
func (o *AddClusterOK) String() string
type AddClusterParams ¶ added in v0.2.0
type AddClusterParams struct { /* ClusterName. Cluster Name */ ClusterName string /* OrgName. Signadot Org Name */ OrgName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddClusterParams contains all the parameters to send to the API endpoint
for the add cluster operation. Typically these are written to a http.Request.
func NewAddClusterParams ¶ added in v0.2.0
func NewAddClusterParams() *AddClusterParams
NewAddClusterParams creates a new AddClusterParams 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 NewAddClusterParamsWithContext ¶ added in v0.2.0
func NewAddClusterParamsWithContext(ctx context.Context) *AddClusterParams
NewAddClusterParamsWithContext creates a new AddClusterParams object with the ability to set a context for a request.
func NewAddClusterParamsWithHTTPClient ¶ added in v0.2.0
func NewAddClusterParamsWithHTTPClient(client *http.Client) *AddClusterParams
NewAddClusterParamsWithHTTPClient creates a new AddClusterParams object with the ability to set a custom HTTPClient for a request.
func NewAddClusterParamsWithTimeout ¶ added in v0.2.0
func NewAddClusterParamsWithTimeout(timeout time.Duration) *AddClusterParams
NewAddClusterParamsWithTimeout creates a new AddClusterParams object with the ability to set a timeout on a request.
func (*AddClusterParams) SetClusterName ¶ added in v0.2.0
func (o *AddClusterParams) SetClusterName(clusterName string)
SetClusterName adds the clusterName to the add cluster params
func (*AddClusterParams) SetContext ¶ added in v0.2.0
func (o *AddClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the add cluster params
func (*AddClusterParams) SetDefaults ¶ added in v0.2.0
func (o *AddClusterParams) SetDefaults()
SetDefaults hydrates default values in the add cluster params (not the query body).
All values with no default are reset to their zero value.
func (*AddClusterParams) SetHTTPClient ¶ added in v0.2.0
func (o *AddClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add cluster params
func (*AddClusterParams) SetOrgName ¶ added in v0.2.0
func (o *AddClusterParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the add cluster params
func (*AddClusterParams) SetTimeout ¶ added in v0.2.0
func (o *AddClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add cluster params
func (*AddClusterParams) WithClusterName ¶ added in v0.2.0
func (o *AddClusterParams) WithClusterName(clusterName string) *AddClusterParams
WithClusterName adds the clusterName to the add cluster params
func (*AddClusterParams) WithContext ¶ added in v0.2.0
func (o *AddClusterParams) WithContext(ctx context.Context) *AddClusterParams
WithContext adds the context to the add cluster params
func (*AddClusterParams) WithDefaults ¶ added in v0.2.0
func (o *AddClusterParams) WithDefaults() *AddClusterParams
WithDefaults hydrates default values in the add cluster params (not the query body).
All values with no default are reset to their zero value.
func (*AddClusterParams) WithHTTPClient ¶ added in v0.2.0
func (o *AddClusterParams) WithHTTPClient(client *http.Client) *AddClusterParams
WithHTTPClient adds the HTTPClient to the add cluster params
func (*AddClusterParams) WithOrgName ¶ added in v0.2.0
func (o *AddClusterParams) WithOrgName(orgName string) *AddClusterParams
WithOrgName adds the orgName to the add cluster params
func (*AddClusterParams) WithTimeout ¶ added in v0.2.0
func (o *AddClusterParams) WithTimeout(timeout time.Duration) *AddClusterParams
WithTimeout adds the timeout to the add cluster params
func (*AddClusterParams) WriteToRequest ¶ added in v0.2.0
func (o *AddClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddClusterReader ¶ added in v0.2.0
type AddClusterReader struct {
// contains filtered or unexported fields
}
AddClusterReader is a Reader for the AddCluster structure.
func (*AddClusterReader) ReadResponse ¶ added in v0.2.0
func (o *AddClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddClusterUnauthorized ¶ added in v0.2.0
type AddClusterUnauthorized struct {
}AddClusterUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewAddClusterUnauthorized ¶ added in v0.2.0
func NewAddClusterUnauthorized() *AddClusterUnauthorized
NewAddClusterUnauthorized creates a AddClusterUnauthorized with default headers values
func (*AddClusterUnauthorized) Code ¶ added in v0.3.7
func (o *AddClusterUnauthorized) Code() int
Code gets the status code for the add cluster unauthorized response
func (*AddClusterUnauthorized) Error ¶ added in v0.2.0
func (o *AddClusterUnauthorized) Error() string
func (*AddClusterUnauthorized) GetPayload ¶ added in v0.2.0
func (o *AddClusterUnauthorized) GetPayload() *models.ErrorResponse
func (*AddClusterUnauthorized) IsClientError ¶ added in v0.3.3
func (o *AddClusterUnauthorized) IsClientError() bool
IsClientError returns true when this add cluster unauthorized response has a 4xx status code
func (*AddClusterUnauthorized) IsCode ¶ added in v0.3.3
func (o *AddClusterUnauthorized) IsCode(code int) bool
IsCode returns true when this add cluster unauthorized response a status code equal to that given
func (*AddClusterUnauthorized) IsRedirect ¶ added in v0.3.3
func (o *AddClusterUnauthorized) IsRedirect() bool
IsRedirect returns true when this add cluster unauthorized response has a 3xx status code
func (*AddClusterUnauthorized) IsServerError ¶ added in v0.3.3
func (o *AddClusterUnauthorized) IsServerError() bool
IsServerError returns true when this add cluster unauthorized response has a 5xx status code
func (*AddClusterUnauthorized) IsSuccess ¶ added in v0.3.3
func (o *AddClusterUnauthorized) IsSuccess() bool
IsSuccess returns true when this add cluster unauthorized response has a 2xx status code
func (*AddClusterUnauthorized) String ¶ added in v0.3.3
func (o *AddClusterUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for cluster API
func (*Client) AddCluster ¶ added in v0.2.0
func (a *Client) AddCluster(params *AddClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddClusterOK, error)
AddCluster adds a cluster
Add a Kubernetes cluster to Signadot.
func (*Client) CreateClusterToken ¶
func (a *Client) CreateClusterToken(params *CreateClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterTokenOK, error)
CreateClusterToken creates cluster token
Create a new token for connecting a cluster.
func (*Client) DeleteClusterToken ¶
func (a *Client) DeleteClusterToken(params *DeleteClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterTokenOK, error)
DeleteClusterToken deletes cluster token
Delete a cluster token associated with a cluster.
func (*Client) GetCluster ¶ added in v0.2.0
func (a *Client) GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterOK, error)
GetCluster gets a cluster
Get a cluster.
func (*Client) GetClusterToken ¶ added in v0.2.0
func (a *Client) GetClusterToken(params *GetClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterTokenOK, error)
GetClusterToken gets a cluster token
Get a cluster token associated with a cluster.
func (*Client) ListClusterTokens ¶ added in v0.2.0
func (a *Client) ListClusterTokens(params *ListClusterTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterTokensOK, error)
ListClusterTokens lists cluster tokens
List the cluster tokens associated with a cluster.
func (*Client) ListClusters ¶ added in v0.2.0
func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error)
ListClusters lists clusters
List clusters.
func (*Client) RemoveCluster ¶ added in v0.2.0
func (a *Client) RemoveCluster(params *RemoveClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveClusterOK, error)
RemoveCluster removes a cluster
Remove a Kubernetes cluster from Signadot.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddCluster(params *AddClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddClusterOK, error) CreateClusterToken(params *CreateClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterTokenOK, error) DeleteClusterToken(params *DeleteClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterTokenOK, error) GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterOK, error) GetClusterToken(params *GetClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterTokenOK, error) ListClusterTokens(params *ListClusterTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterTokensOK, error) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error) RemoveCluster(params *RemoveClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveClusterOK, 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 CreateClusterTokenOK ¶
type CreateClusterTokenOK struct {
Payload *models.ClusterToken
}
CreateClusterTokenOK describes a response with status code 200, with default header values.
OK
func NewCreateClusterTokenOK ¶
func NewCreateClusterTokenOK() *CreateClusterTokenOK
NewCreateClusterTokenOK creates a CreateClusterTokenOK with default headers values
func (*CreateClusterTokenOK) Code ¶ added in v0.3.7
func (o *CreateClusterTokenOK) Code() int
Code gets the status code for the create cluster token o k response
func (*CreateClusterTokenOK) Error ¶
func (o *CreateClusterTokenOK) Error() string
func (*CreateClusterTokenOK) GetPayload ¶
func (o *CreateClusterTokenOK) GetPayload() *models.ClusterToken
func (*CreateClusterTokenOK) IsClientError ¶ added in v0.3.3
func (o *CreateClusterTokenOK) IsClientError() bool
IsClientError returns true when this create cluster token o k response has a 4xx status code
func (*CreateClusterTokenOK) IsCode ¶ added in v0.3.3
func (o *CreateClusterTokenOK) IsCode(code int) bool
IsCode returns true when this create cluster token o k response a status code equal to that given
func (*CreateClusterTokenOK) IsRedirect ¶ added in v0.3.3
func (o *CreateClusterTokenOK) IsRedirect() bool
IsRedirect returns true when this create cluster token o k response has a 3xx status code
func (*CreateClusterTokenOK) IsServerError ¶ added in v0.3.3
func (o *CreateClusterTokenOK) IsServerError() bool
IsServerError returns true when this create cluster token o k response has a 5xx status code
func (*CreateClusterTokenOK) IsSuccess ¶ added in v0.3.3
func (o *CreateClusterTokenOK) IsSuccess() bool
IsSuccess returns true when this create cluster token o k response has a 2xx status code
func (*CreateClusterTokenOK) String ¶ added in v0.3.3
func (o *CreateClusterTokenOK) String() string
type CreateClusterTokenParams ¶
type CreateClusterTokenParams struct { /* ClusterName. Cluster Name */ ClusterName string /* OrgName. Signadot Org Name */ OrgName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClusterTokenParams contains all the parameters to send to the API endpoint
for the create cluster token operation. Typically these are written to a http.Request.
func NewCreateClusterTokenParams ¶
func NewCreateClusterTokenParams() *CreateClusterTokenParams
NewCreateClusterTokenParams creates a new CreateClusterTokenParams 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 NewCreateClusterTokenParamsWithContext ¶
func NewCreateClusterTokenParamsWithContext(ctx context.Context) *CreateClusterTokenParams
NewCreateClusterTokenParamsWithContext creates a new CreateClusterTokenParams object with the ability to set a context for a request.
func NewCreateClusterTokenParamsWithHTTPClient ¶
func NewCreateClusterTokenParamsWithHTTPClient(client *http.Client) *CreateClusterTokenParams
NewCreateClusterTokenParamsWithHTTPClient creates a new CreateClusterTokenParams object with the ability to set a custom HTTPClient for a request.
func NewCreateClusterTokenParamsWithTimeout ¶
func NewCreateClusterTokenParamsWithTimeout(timeout time.Duration) *CreateClusterTokenParams
NewCreateClusterTokenParamsWithTimeout creates a new CreateClusterTokenParams object with the ability to set a timeout on a request.
func (*CreateClusterTokenParams) SetClusterName ¶
func (o *CreateClusterTokenParams) SetClusterName(clusterName string)
SetClusterName adds the clusterName to the create cluster token params
func (*CreateClusterTokenParams) SetContext ¶
func (o *CreateClusterTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the create cluster token params
func (*CreateClusterTokenParams) SetDefaults ¶
func (o *CreateClusterTokenParams) SetDefaults()
SetDefaults hydrates default values in the create cluster token params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClusterTokenParams) SetHTTPClient ¶
func (o *CreateClusterTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster token params
func (*CreateClusterTokenParams) SetOrgName ¶
func (o *CreateClusterTokenParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the create cluster token params
func (*CreateClusterTokenParams) SetTimeout ¶
func (o *CreateClusterTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster token params
func (*CreateClusterTokenParams) WithClusterName ¶
func (o *CreateClusterTokenParams) WithClusterName(clusterName string) *CreateClusterTokenParams
WithClusterName adds the clusterName to the create cluster token params
func (*CreateClusterTokenParams) WithContext ¶
func (o *CreateClusterTokenParams) WithContext(ctx context.Context) *CreateClusterTokenParams
WithContext adds the context to the create cluster token params
func (*CreateClusterTokenParams) WithDefaults ¶
func (o *CreateClusterTokenParams) WithDefaults() *CreateClusterTokenParams
WithDefaults hydrates default values in the create cluster token params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClusterTokenParams) WithHTTPClient ¶
func (o *CreateClusterTokenParams) WithHTTPClient(client *http.Client) *CreateClusterTokenParams
WithHTTPClient adds the HTTPClient to the create cluster token params
func (*CreateClusterTokenParams) WithOrgName ¶
func (o *CreateClusterTokenParams) WithOrgName(orgName string) *CreateClusterTokenParams
WithOrgName adds the orgName to the create cluster token params
func (*CreateClusterTokenParams) WithTimeout ¶
func (o *CreateClusterTokenParams) WithTimeout(timeout time.Duration) *CreateClusterTokenParams
WithTimeout adds the timeout to the create cluster token params
func (*CreateClusterTokenParams) WriteToRequest ¶
func (o *CreateClusterTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClusterTokenReader ¶
type CreateClusterTokenReader struct {
// contains filtered or unexported fields
}
CreateClusterTokenReader is a Reader for the CreateClusterToken structure.
func (*CreateClusterTokenReader) ReadResponse ¶
func (o *CreateClusterTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterTokenOK ¶
type DeleteClusterTokenOK struct {
Payload models.EmptyResponse
}
DeleteClusterTokenOK describes a response with status code 200, with default header values.
OK
func NewDeleteClusterTokenOK ¶
func NewDeleteClusterTokenOK() *DeleteClusterTokenOK
NewDeleteClusterTokenOK creates a DeleteClusterTokenOK with default headers values
func (*DeleteClusterTokenOK) Code ¶ added in v0.3.7
func (o *DeleteClusterTokenOK) Code() int
Code gets the status code for the delete cluster token o k response
func (*DeleteClusterTokenOK) Error ¶
func (o *DeleteClusterTokenOK) Error() string
func (*DeleteClusterTokenOK) GetPayload ¶
func (o *DeleteClusterTokenOK) GetPayload() models.EmptyResponse
func (*DeleteClusterTokenOK) IsClientError ¶ added in v0.3.3
func (o *DeleteClusterTokenOK) IsClientError() bool
IsClientError returns true when this delete cluster token o k response has a 4xx status code
func (*DeleteClusterTokenOK) IsCode ¶ added in v0.3.3
func (o *DeleteClusterTokenOK) IsCode(code int) bool
IsCode returns true when this delete cluster token o k response a status code equal to that given
func (*DeleteClusterTokenOK) IsRedirect ¶ added in v0.3.3
func (o *DeleteClusterTokenOK) IsRedirect() bool
IsRedirect returns true when this delete cluster token o k response has a 3xx status code
func (*DeleteClusterTokenOK) IsServerError ¶ added in v0.3.3
func (o *DeleteClusterTokenOK) IsServerError() bool
IsServerError returns true when this delete cluster token o k response has a 5xx status code
func (*DeleteClusterTokenOK) IsSuccess ¶ added in v0.3.3
func (o *DeleteClusterTokenOK) IsSuccess() bool
IsSuccess returns true when this delete cluster token o k response has a 2xx status code
func (*DeleteClusterTokenOK) String ¶ added in v0.3.3
func (o *DeleteClusterTokenOK) String() string
type DeleteClusterTokenParams ¶
type DeleteClusterTokenParams struct { /* ClusterName. Cluster Name */ ClusterName string /* OrgName. Signadot Org Name */ OrgName string /* TokenID. Token Id */ TokenID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterTokenParams contains all the parameters to send to the API endpoint
for the delete cluster token operation. Typically these are written to a http.Request.
func NewDeleteClusterTokenParams ¶
func NewDeleteClusterTokenParams() *DeleteClusterTokenParams
NewDeleteClusterTokenParams creates a new DeleteClusterTokenParams 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 NewDeleteClusterTokenParamsWithContext ¶
func NewDeleteClusterTokenParamsWithContext(ctx context.Context) *DeleteClusterTokenParams
NewDeleteClusterTokenParamsWithContext creates a new DeleteClusterTokenParams object with the ability to set a context for a request.
func NewDeleteClusterTokenParamsWithHTTPClient ¶
func NewDeleteClusterTokenParamsWithHTTPClient(client *http.Client) *DeleteClusterTokenParams
NewDeleteClusterTokenParamsWithHTTPClient creates a new DeleteClusterTokenParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteClusterTokenParamsWithTimeout ¶
func NewDeleteClusterTokenParamsWithTimeout(timeout time.Duration) *DeleteClusterTokenParams
NewDeleteClusterTokenParamsWithTimeout creates a new DeleteClusterTokenParams object with the ability to set a timeout on a request.
func (*DeleteClusterTokenParams) SetClusterName ¶
func (o *DeleteClusterTokenParams) SetClusterName(clusterName string)
SetClusterName adds the clusterName to the delete cluster token params
func (*DeleteClusterTokenParams) SetContext ¶
func (o *DeleteClusterTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster token params
func (*DeleteClusterTokenParams) SetDefaults ¶
func (o *DeleteClusterTokenParams) SetDefaults()
SetDefaults hydrates default values in the delete cluster token params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterTokenParams) SetHTTPClient ¶
func (o *DeleteClusterTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster token params
func (*DeleteClusterTokenParams) SetOrgName ¶
func (o *DeleteClusterTokenParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the delete cluster token params
func (*DeleteClusterTokenParams) SetTimeout ¶
func (o *DeleteClusterTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster token params
func (*DeleteClusterTokenParams) SetTokenID ¶
func (o *DeleteClusterTokenParams) SetTokenID(tokenID string)
SetTokenID adds the tokenId to the delete cluster token params
func (*DeleteClusterTokenParams) WithClusterName ¶
func (o *DeleteClusterTokenParams) WithClusterName(clusterName string) *DeleteClusterTokenParams
WithClusterName adds the clusterName to the delete cluster token params
func (*DeleteClusterTokenParams) WithContext ¶
func (o *DeleteClusterTokenParams) WithContext(ctx context.Context) *DeleteClusterTokenParams
WithContext adds the context to the delete cluster token params
func (*DeleteClusterTokenParams) WithDefaults ¶
func (o *DeleteClusterTokenParams) WithDefaults() *DeleteClusterTokenParams
WithDefaults hydrates default values in the delete cluster token params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterTokenParams) WithHTTPClient ¶
func (o *DeleteClusterTokenParams) WithHTTPClient(client *http.Client) *DeleteClusterTokenParams
WithHTTPClient adds the HTTPClient to the delete cluster token params
func (*DeleteClusterTokenParams) WithOrgName ¶
func (o *DeleteClusterTokenParams) WithOrgName(orgName string) *DeleteClusterTokenParams
WithOrgName adds the orgName to the delete cluster token params
func (*DeleteClusterTokenParams) WithTimeout ¶
func (o *DeleteClusterTokenParams) WithTimeout(timeout time.Duration) *DeleteClusterTokenParams
WithTimeout adds the timeout to the delete cluster token params
func (*DeleteClusterTokenParams) WithTokenID ¶
func (o *DeleteClusterTokenParams) WithTokenID(tokenID string) *DeleteClusterTokenParams
WithTokenID adds the tokenID to the delete cluster token params
func (*DeleteClusterTokenParams) WriteToRequest ¶
func (o *DeleteClusterTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterTokenReader ¶
type DeleteClusterTokenReader struct {
// contains filtered or unexported fields
}
DeleteClusterTokenReader is a Reader for the DeleteClusterToken structure.
func (*DeleteClusterTokenReader) ReadResponse ¶
func (o *DeleteClusterTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterBadGateway ¶ added in v0.2.0
type GetClusterBadGateway struct {
Payload *models.ErrorResponse
}
GetClusterBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewGetClusterBadGateway ¶ added in v0.2.0
func NewGetClusterBadGateway() *GetClusterBadGateway
NewGetClusterBadGateway creates a GetClusterBadGateway with default headers values
func (*GetClusterBadGateway) Code ¶ added in v0.3.7
func (o *GetClusterBadGateway) Code() int
Code gets the status code for the get cluster bad gateway response
func (*GetClusterBadGateway) Error ¶ added in v0.2.0
func (o *GetClusterBadGateway) Error() string
func (*GetClusterBadGateway) GetPayload ¶ added in v0.2.0
func (o *GetClusterBadGateway) GetPayload() *models.ErrorResponse
func (*GetClusterBadGateway) IsClientError ¶ added in v0.3.3
func (o *GetClusterBadGateway) IsClientError() bool
IsClientError returns true when this get cluster bad gateway response has a 4xx status code
func (*GetClusterBadGateway) IsCode ¶ added in v0.3.3
func (o *GetClusterBadGateway) IsCode(code int) bool
IsCode returns true when this get cluster bad gateway response a status code equal to that given
func (*GetClusterBadGateway) IsRedirect ¶ added in v0.3.3
func (o *GetClusterBadGateway) IsRedirect() bool
IsRedirect returns true when this get cluster bad gateway response has a 3xx status code
func (*GetClusterBadGateway) IsServerError ¶ added in v0.3.3
func (o *GetClusterBadGateway) IsServerError() bool
IsServerError returns true when this get cluster bad gateway response has a 5xx status code
func (*GetClusterBadGateway) IsSuccess ¶ added in v0.3.3
func (o *GetClusterBadGateway) IsSuccess() bool
IsSuccess returns true when this get cluster bad gateway response has a 2xx status code
func (*GetClusterBadGateway) String ¶ added in v0.3.3
func (o *GetClusterBadGateway) String() string
type GetClusterBadRequest ¶ added in v0.2.0
type GetClusterBadRequest struct {
Payload *models.ErrorResponse
}
GetClusterBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetClusterBadRequest ¶ added in v0.2.0
func NewGetClusterBadRequest() *GetClusterBadRequest
NewGetClusterBadRequest creates a GetClusterBadRequest with default headers values
func (*GetClusterBadRequest) Code ¶ added in v0.3.7
func (o *GetClusterBadRequest) Code() int
Code gets the status code for the get cluster bad request response
func (*GetClusterBadRequest) Error ¶ added in v0.2.0
func (o *GetClusterBadRequest) Error() string
func (*GetClusterBadRequest) GetPayload ¶ added in v0.2.0
func (o *GetClusterBadRequest) GetPayload() *models.ErrorResponse
func (*GetClusterBadRequest) IsClientError ¶ added in v0.3.3
func (o *GetClusterBadRequest) IsClientError() bool
IsClientError returns true when this get cluster bad request response has a 4xx status code
func (*GetClusterBadRequest) IsCode ¶ added in v0.3.3
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 ¶ added in v0.3.3
func (o *GetClusterBadRequest) IsRedirect() bool
IsRedirect returns true when this get cluster bad request response has a 3xx status code
func (*GetClusterBadRequest) IsServerError ¶ added in v0.3.3
func (o *GetClusterBadRequest) IsServerError() bool
IsServerError returns true when this get cluster bad request response has a 5xx status code
func (*GetClusterBadRequest) IsSuccess ¶ added in v0.3.3
func (o *GetClusterBadRequest) IsSuccess() bool
IsSuccess returns true when this get cluster bad request response has a 2xx status code
func (*GetClusterBadRequest) String ¶ added in v0.3.3
func (o *GetClusterBadRequest) String() string
type GetClusterOK ¶ added in v0.2.0
GetClusterOK describes a response with status code 200, with default header values.
OK
func NewGetClusterOK ¶ added in v0.2.0
func NewGetClusterOK() *GetClusterOK
NewGetClusterOK creates a GetClusterOK with default headers values
func (*GetClusterOK) Code ¶ added in v0.3.7
func (o *GetClusterOK) Code() int
Code gets the status code for the get cluster o k response
func (*GetClusterOK) Error ¶ added in v0.2.0
func (o *GetClusterOK) Error() string
func (*GetClusterOK) GetPayload ¶ added in v0.2.0
func (o *GetClusterOK) GetPayload() *models.Cluster
func (*GetClusterOK) IsClientError ¶ added in v0.3.3
func (o *GetClusterOK) IsClientError() bool
IsClientError returns true when this get cluster o k response has a 4xx status code
func (*GetClusterOK) IsCode ¶ added in v0.3.3
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 ¶ added in v0.3.3
func (o *GetClusterOK) IsRedirect() bool
IsRedirect returns true when this get cluster o k response has a 3xx status code
func (*GetClusterOK) IsServerError ¶ added in v0.3.3
func (o *GetClusterOK) IsServerError() bool
IsServerError returns true when this get cluster o k response has a 5xx status code
func (*GetClusterOK) IsSuccess ¶ added in v0.3.3
func (o *GetClusterOK) IsSuccess() bool
IsSuccess returns true when this get cluster o k response has a 2xx status code
func (*GetClusterOK) String ¶ added in v0.3.3
func (o *GetClusterOK) String() string
type GetClusterParams ¶ added in v0.2.0
type GetClusterParams struct { /* ClusterName. Cluster Name */ ClusterName string /* OrgName. Signadot Org Name */ OrgName 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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
func NewGetClusterParamsWithContext(ctx context.Context) *GetClusterParams
NewGetClusterParamsWithContext creates a new GetClusterParams object with the ability to set a context for a request.
func NewGetClusterParamsWithHTTPClient ¶ added in v0.2.0
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 ¶ added in v0.2.0
func NewGetClusterParamsWithTimeout(timeout time.Duration) *GetClusterParams
NewGetClusterParamsWithTimeout creates a new GetClusterParams object with the ability to set a timeout on a request.
func (*GetClusterParams) SetClusterName ¶ added in v0.2.0
func (o *GetClusterParams) SetClusterName(clusterName string)
SetClusterName adds the clusterName to the get cluster params
func (*GetClusterParams) SetContext ¶ added in v0.2.0
func (o *GetClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster params
func (*GetClusterParams) SetDefaults ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *GetClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster params
func (*GetClusterParams) SetOrgName ¶ added in v0.2.0
func (o *GetClusterParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the get cluster params
func (*GetClusterParams) SetTimeout ¶ added in v0.2.0
func (o *GetClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster params
func (*GetClusterParams) WithClusterName ¶ added in v0.2.0
func (o *GetClusterParams) WithClusterName(clusterName string) *GetClusterParams
WithClusterName adds the clusterName to the get cluster params
func (*GetClusterParams) WithContext ¶ added in v0.2.0
func (o *GetClusterParams) WithContext(ctx context.Context) *GetClusterParams
WithContext adds the context to the get cluster params
func (*GetClusterParams) WithDefaults ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (o *GetClusterParams) WithHTTPClient(client *http.Client) *GetClusterParams
WithHTTPClient adds the HTTPClient to the get cluster params
func (*GetClusterParams) WithOrgName ¶ added in v0.2.0
func (o *GetClusterParams) WithOrgName(orgName string) *GetClusterParams
WithOrgName adds the orgName to the get cluster params
func (*GetClusterParams) WithTimeout ¶ added in v0.2.0
func (o *GetClusterParams) WithTimeout(timeout time.Duration) *GetClusterParams
WithTimeout adds the timeout to the get cluster params
func (*GetClusterParams) WriteToRequest ¶ added in v0.2.0
func (o *GetClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterReader ¶ added in v0.2.0
type GetClusterReader struct {
// contains filtered or unexported fields
}
GetClusterReader is a Reader for the GetCluster structure.
func (*GetClusterReader) ReadResponse ¶ added in v0.2.0
func (o *GetClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterTokenOK ¶ added in v0.2.0
type GetClusterTokenOK struct {
Payload *models.ClusterToken
}
GetClusterTokenOK describes a response with status code 200, with default header values.
OK
func NewGetClusterTokenOK ¶ added in v0.2.0
func NewGetClusterTokenOK() *GetClusterTokenOK
NewGetClusterTokenOK creates a GetClusterTokenOK with default headers values
func (*GetClusterTokenOK) Code ¶ added in v0.3.7
func (o *GetClusterTokenOK) Code() int
Code gets the status code for the get cluster token o k response
func (*GetClusterTokenOK) Error ¶ added in v0.2.0
func (o *GetClusterTokenOK) Error() string
func (*GetClusterTokenOK) GetPayload ¶ added in v0.2.0
func (o *GetClusterTokenOK) GetPayload() *models.ClusterToken
func (*GetClusterTokenOK) IsClientError ¶ added in v0.3.3
func (o *GetClusterTokenOK) IsClientError() bool
IsClientError returns true when this get cluster token o k response has a 4xx status code
func (*GetClusterTokenOK) IsCode ¶ added in v0.3.3
func (o *GetClusterTokenOK) IsCode(code int) bool
IsCode returns true when this get cluster token o k response a status code equal to that given
func (*GetClusterTokenOK) IsRedirect ¶ added in v0.3.3
func (o *GetClusterTokenOK) IsRedirect() bool
IsRedirect returns true when this get cluster token o k response has a 3xx status code
func (*GetClusterTokenOK) IsServerError ¶ added in v0.3.3
func (o *GetClusterTokenOK) IsServerError() bool
IsServerError returns true when this get cluster token o k response has a 5xx status code
func (*GetClusterTokenOK) IsSuccess ¶ added in v0.3.3
func (o *GetClusterTokenOK) IsSuccess() bool
IsSuccess returns true when this get cluster token o k response has a 2xx status code
func (*GetClusterTokenOK) String ¶ added in v0.3.3
func (o *GetClusterTokenOK) String() string
type GetClusterTokenParams ¶ added in v0.2.0
type GetClusterTokenParams struct { /* ClusterName. Cluster Name */ ClusterName string /* OrgName. Signadot Org Name */ OrgName string /* TokenID. Token Id */ TokenID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterTokenParams contains all the parameters to send to the API endpoint
for the get cluster token operation. Typically these are written to a http.Request.
func NewGetClusterTokenParams ¶ added in v0.2.0
func NewGetClusterTokenParams() *GetClusterTokenParams
NewGetClusterTokenParams creates a new GetClusterTokenParams 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 NewGetClusterTokenParamsWithContext ¶ added in v0.2.0
func NewGetClusterTokenParamsWithContext(ctx context.Context) *GetClusterTokenParams
NewGetClusterTokenParamsWithContext creates a new GetClusterTokenParams object with the ability to set a context for a request.
func NewGetClusterTokenParamsWithHTTPClient ¶ added in v0.2.0
func NewGetClusterTokenParamsWithHTTPClient(client *http.Client) *GetClusterTokenParams
NewGetClusterTokenParamsWithHTTPClient creates a new GetClusterTokenParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterTokenParamsWithTimeout ¶ added in v0.2.0
func NewGetClusterTokenParamsWithTimeout(timeout time.Duration) *GetClusterTokenParams
NewGetClusterTokenParamsWithTimeout creates a new GetClusterTokenParams object with the ability to set a timeout on a request.
func (*GetClusterTokenParams) SetClusterName ¶ added in v0.2.0
func (o *GetClusterTokenParams) SetClusterName(clusterName string)
SetClusterName adds the clusterName to the get cluster token params
func (*GetClusterTokenParams) SetContext ¶ added in v0.2.0
func (o *GetClusterTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster token params
func (*GetClusterTokenParams) SetDefaults ¶ added in v0.2.0
func (o *GetClusterTokenParams) SetDefaults()
SetDefaults hydrates default values in the get cluster token params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterTokenParams) SetHTTPClient ¶ added in v0.2.0
func (o *GetClusterTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster token params
func (*GetClusterTokenParams) SetOrgName ¶ added in v0.2.0
func (o *GetClusterTokenParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the get cluster token params
func (*GetClusterTokenParams) SetTimeout ¶ added in v0.2.0
func (o *GetClusterTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster token params
func (*GetClusterTokenParams) SetTokenID ¶ added in v0.2.0
func (o *GetClusterTokenParams) SetTokenID(tokenID string)
SetTokenID adds the tokenId to the get cluster token params
func (*GetClusterTokenParams) WithClusterName ¶ added in v0.2.0
func (o *GetClusterTokenParams) WithClusterName(clusterName string) *GetClusterTokenParams
WithClusterName adds the clusterName to the get cluster token params
func (*GetClusterTokenParams) WithContext ¶ added in v0.2.0
func (o *GetClusterTokenParams) WithContext(ctx context.Context) *GetClusterTokenParams
WithContext adds the context to the get cluster token params
func (*GetClusterTokenParams) WithDefaults ¶ added in v0.2.0
func (o *GetClusterTokenParams) WithDefaults() *GetClusterTokenParams
WithDefaults hydrates default values in the get cluster token params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterTokenParams) WithHTTPClient ¶ added in v0.2.0
func (o *GetClusterTokenParams) WithHTTPClient(client *http.Client) *GetClusterTokenParams
WithHTTPClient adds the HTTPClient to the get cluster token params
func (*GetClusterTokenParams) WithOrgName ¶ added in v0.2.0
func (o *GetClusterTokenParams) WithOrgName(orgName string) *GetClusterTokenParams
WithOrgName adds the orgName to the get cluster token params
func (*GetClusterTokenParams) WithTimeout ¶ added in v0.2.0
func (o *GetClusterTokenParams) WithTimeout(timeout time.Duration) *GetClusterTokenParams
WithTimeout adds the timeout to the get cluster token params
func (*GetClusterTokenParams) WithTokenID ¶ added in v0.2.0
func (o *GetClusterTokenParams) WithTokenID(tokenID string) *GetClusterTokenParams
WithTokenID adds the tokenID to the get cluster token params
func (*GetClusterTokenParams) WriteToRequest ¶ added in v0.2.0
func (o *GetClusterTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterTokenReader ¶ added in v0.2.0
type GetClusterTokenReader struct {
// contains filtered or unexported fields
}
GetClusterTokenReader is a Reader for the GetClusterToken structure.
func (*GetClusterTokenReader) ReadResponse ¶ added in v0.2.0
func (o *GetClusterTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterUnauthorized ¶ added in v0.2.0
type GetClusterUnauthorized struct {
}GetClusterUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetClusterUnauthorized ¶ added in v0.2.0
func NewGetClusterUnauthorized() *GetClusterUnauthorized
NewGetClusterUnauthorized creates a GetClusterUnauthorized with default headers values
func (*GetClusterUnauthorized) Code ¶ added in v0.3.7
func (o *GetClusterUnauthorized) Code() int
Code gets the status code for the get cluster unauthorized response
func (*GetClusterUnauthorized) Error ¶ added in v0.2.0
func (o *GetClusterUnauthorized) Error() string
func (*GetClusterUnauthorized) GetPayload ¶ added in v0.2.0
func (o *GetClusterUnauthorized) GetPayload() *models.ErrorResponse
func (*GetClusterUnauthorized) IsClientError ¶ added in v0.3.3
func (o *GetClusterUnauthorized) IsClientError() bool
IsClientError returns true when this get cluster unauthorized response has a 4xx status code
func (*GetClusterUnauthorized) IsCode ¶ added in v0.3.3
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 ¶ added in v0.3.3
func (o *GetClusterUnauthorized) IsRedirect() bool
IsRedirect returns true when this get cluster unauthorized response has a 3xx status code
func (*GetClusterUnauthorized) IsServerError ¶ added in v0.3.3
func (o *GetClusterUnauthorized) IsServerError() bool
IsServerError returns true when this get cluster unauthorized response has a 5xx status code
func (*GetClusterUnauthorized) IsSuccess ¶ added in v0.3.3
func (o *GetClusterUnauthorized) IsSuccess() bool
IsSuccess returns true when this get cluster unauthorized response has a 2xx status code
func (*GetClusterUnauthorized) String ¶ added in v0.3.3
func (o *GetClusterUnauthorized) String() string
type ListClusterTokensOK ¶ added in v0.2.0
type ListClusterTokensOK struct {
Payload []*models.ClusterToken
}
ListClusterTokensOK describes a response with status code 200, with default header values.
OK
func NewListClusterTokensOK ¶ added in v0.2.0
func NewListClusterTokensOK() *ListClusterTokensOK
NewListClusterTokensOK creates a ListClusterTokensOK with default headers values
func (*ListClusterTokensOK) Code ¶ added in v0.3.7
func (o *ListClusterTokensOK) Code() int
Code gets the status code for the list cluster tokens o k response
func (*ListClusterTokensOK) Error ¶ added in v0.2.0
func (o *ListClusterTokensOK) Error() string
func (*ListClusterTokensOK) GetPayload ¶ added in v0.2.0
func (o *ListClusterTokensOK) GetPayload() []*models.ClusterToken
func (*ListClusterTokensOK) IsClientError ¶ added in v0.3.3
func (o *ListClusterTokensOK) IsClientError() bool
IsClientError returns true when this list cluster tokens o k response has a 4xx status code
func (*ListClusterTokensOK) IsCode ¶ added in v0.3.3
func (o *ListClusterTokensOK) IsCode(code int) bool
IsCode returns true when this list cluster tokens o k response a status code equal to that given
func (*ListClusterTokensOK) IsRedirect ¶ added in v0.3.3
func (o *ListClusterTokensOK) IsRedirect() bool
IsRedirect returns true when this list cluster tokens o k response has a 3xx status code
func (*ListClusterTokensOK) IsServerError ¶ added in v0.3.3
func (o *ListClusterTokensOK) IsServerError() bool
IsServerError returns true when this list cluster tokens o k response has a 5xx status code
func (*ListClusterTokensOK) IsSuccess ¶ added in v0.3.3
func (o *ListClusterTokensOK) IsSuccess() bool
IsSuccess returns true when this list cluster tokens o k response has a 2xx status code
func (*ListClusterTokensOK) String ¶ added in v0.3.3
func (o *ListClusterTokensOK) String() string
type ListClusterTokensParams ¶ added in v0.2.0
type ListClusterTokensParams struct { /* ClusterName. Cluster Name */ ClusterName string /* OrgName. Signadot Org Name */ OrgName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClusterTokensParams contains all the parameters to send to the API endpoint
for the list cluster tokens operation. Typically these are written to a http.Request.
func NewListClusterTokensParams ¶ added in v0.2.0
func NewListClusterTokensParams() *ListClusterTokensParams
NewListClusterTokensParams creates a new ListClusterTokensParams 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 NewListClusterTokensParamsWithContext ¶ added in v0.2.0
func NewListClusterTokensParamsWithContext(ctx context.Context) *ListClusterTokensParams
NewListClusterTokensParamsWithContext creates a new ListClusterTokensParams object with the ability to set a context for a request.
func NewListClusterTokensParamsWithHTTPClient ¶ added in v0.2.0
func NewListClusterTokensParamsWithHTTPClient(client *http.Client) *ListClusterTokensParams
NewListClusterTokensParamsWithHTTPClient creates a new ListClusterTokensParams object with the ability to set a custom HTTPClient for a request.
func NewListClusterTokensParamsWithTimeout ¶ added in v0.2.0
func NewListClusterTokensParamsWithTimeout(timeout time.Duration) *ListClusterTokensParams
NewListClusterTokensParamsWithTimeout creates a new ListClusterTokensParams object with the ability to set a timeout on a request.
func (*ListClusterTokensParams) SetClusterName ¶ added in v0.2.0
func (o *ListClusterTokensParams) SetClusterName(clusterName string)
SetClusterName adds the clusterName to the list cluster tokens params
func (*ListClusterTokensParams) SetContext ¶ added in v0.2.0
func (o *ListClusterTokensParams) SetContext(ctx context.Context)
SetContext adds the context to the list cluster tokens params
func (*ListClusterTokensParams) SetDefaults ¶ added in v0.2.0
func (o *ListClusterTokensParams) SetDefaults()
SetDefaults hydrates default values in the list cluster tokens params (not the query body).
All values with no default are reset to their zero value.
func (*ListClusterTokensParams) SetHTTPClient ¶ added in v0.2.0
func (o *ListClusterTokensParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list cluster tokens params
func (*ListClusterTokensParams) SetOrgName ¶ added in v0.2.0
func (o *ListClusterTokensParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the list cluster tokens params
func (*ListClusterTokensParams) SetTimeout ¶ added in v0.2.0
func (o *ListClusterTokensParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list cluster tokens params
func (*ListClusterTokensParams) WithClusterName ¶ added in v0.2.0
func (o *ListClusterTokensParams) WithClusterName(clusterName string) *ListClusterTokensParams
WithClusterName adds the clusterName to the list cluster tokens params
func (*ListClusterTokensParams) WithContext ¶ added in v0.2.0
func (o *ListClusterTokensParams) WithContext(ctx context.Context) *ListClusterTokensParams
WithContext adds the context to the list cluster tokens params
func (*ListClusterTokensParams) WithDefaults ¶ added in v0.2.0
func (o *ListClusterTokensParams) WithDefaults() *ListClusterTokensParams
WithDefaults hydrates default values in the list cluster tokens params (not the query body).
All values with no default are reset to their zero value.
func (*ListClusterTokensParams) WithHTTPClient ¶ added in v0.2.0
func (o *ListClusterTokensParams) WithHTTPClient(client *http.Client) *ListClusterTokensParams
WithHTTPClient adds the HTTPClient to the list cluster tokens params
func (*ListClusterTokensParams) WithOrgName ¶ added in v0.2.0
func (o *ListClusterTokensParams) WithOrgName(orgName string) *ListClusterTokensParams
WithOrgName adds the orgName to the list cluster tokens params
func (*ListClusterTokensParams) WithTimeout ¶ added in v0.2.0
func (o *ListClusterTokensParams) WithTimeout(timeout time.Duration) *ListClusterTokensParams
WithTimeout adds the timeout to the list cluster tokens params
func (*ListClusterTokensParams) WriteToRequest ¶ added in v0.2.0
func (o *ListClusterTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClusterTokensReader ¶ added in v0.2.0
type ListClusterTokensReader struct {
// contains filtered or unexported fields
}
ListClusterTokensReader is a Reader for the ListClusterTokens structure.
func (*ListClusterTokensReader) ReadResponse ¶ added in v0.2.0
func (o *ListClusterTokensReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClustersBadGateway ¶ added in v0.2.0
type ListClustersBadGateway struct {
Payload *models.ErrorResponse
}
ListClustersBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewListClustersBadGateway ¶ added in v0.2.0
func NewListClustersBadGateway() *ListClustersBadGateway
NewListClustersBadGateway creates a ListClustersBadGateway with default headers values
func (*ListClustersBadGateway) Code ¶ added in v0.3.7
func (o *ListClustersBadGateway) Code() int
Code gets the status code for the list clusters bad gateway response
func (*ListClustersBadGateway) Error ¶ added in v0.2.0
func (o *ListClustersBadGateway) Error() string
func (*ListClustersBadGateway) GetPayload ¶ added in v0.2.0
func (o *ListClustersBadGateway) GetPayload() *models.ErrorResponse
func (*ListClustersBadGateway) IsClientError ¶ added in v0.3.3
func (o *ListClustersBadGateway) IsClientError() bool
IsClientError returns true when this list clusters bad gateway response has a 4xx status code
func (*ListClustersBadGateway) IsCode ¶ added in v0.3.3
func (o *ListClustersBadGateway) IsCode(code int) bool
IsCode returns true when this list clusters bad gateway response a status code equal to that given
func (*ListClustersBadGateway) IsRedirect ¶ added in v0.3.3
func (o *ListClustersBadGateway) IsRedirect() bool
IsRedirect returns true when this list clusters bad gateway response has a 3xx status code
func (*ListClustersBadGateway) IsServerError ¶ added in v0.3.3
func (o *ListClustersBadGateway) IsServerError() bool
IsServerError returns true when this list clusters bad gateway response has a 5xx status code
func (*ListClustersBadGateway) IsSuccess ¶ added in v0.3.3
func (o *ListClustersBadGateway) IsSuccess() bool
IsSuccess returns true when this list clusters bad gateway response has a 2xx status code
func (*ListClustersBadGateway) String ¶ added in v0.3.3
func (o *ListClustersBadGateway) String() string
type ListClustersBadRequest ¶ added in v0.2.0
type ListClustersBadRequest struct {
Payload *models.ErrorResponse
}
ListClustersBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListClustersBadRequest ¶ added in v0.2.0
func NewListClustersBadRequest() *ListClustersBadRequest
NewListClustersBadRequest creates a ListClustersBadRequest with default headers values
func (*ListClustersBadRequest) Code ¶ added in v0.3.7
func (o *ListClustersBadRequest) Code() int
Code gets the status code for the list clusters bad request response
func (*ListClustersBadRequest) Error ¶ added in v0.2.0
func (o *ListClustersBadRequest) Error() string
func (*ListClustersBadRequest) GetPayload ¶ added in v0.2.0
func (o *ListClustersBadRequest) GetPayload() *models.ErrorResponse
func (*ListClustersBadRequest) IsClientError ¶ added in v0.3.3
func (o *ListClustersBadRequest) IsClientError() bool
IsClientError returns true when this list clusters bad request response has a 4xx status code
func (*ListClustersBadRequest) IsCode ¶ added in v0.3.3
func (o *ListClustersBadRequest) IsCode(code int) bool
IsCode returns true when this list clusters bad request response a status code equal to that given
func (*ListClustersBadRequest) IsRedirect ¶ added in v0.3.3
func (o *ListClustersBadRequest) IsRedirect() bool
IsRedirect returns true when this list clusters bad request response has a 3xx status code
func (*ListClustersBadRequest) IsServerError ¶ added in v0.3.3
func (o *ListClustersBadRequest) IsServerError() bool
IsServerError returns true when this list clusters bad request response has a 5xx status code
func (*ListClustersBadRequest) IsSuccess ¶ added in v0.3.3
func (o *ListClustersBadRequest) IsSuccess() bool
IsSuccess returns true when this list clusters bad request response has a 2xx status code
func (*ListClustersBadRequest) String ¶ added in v0.3.3
func (o *ListClustersBadRequest) String() string
type ListClustersOK ¶ added in v0.2.0
ListClustersOK describes a response with status code 200, with default header values.
OK
func NewListClustersOK ¶ added in v0.2.0
func NewListClustersOK() *ListClustersOK
NewListClustersOK creates a ListClustersOK with default headers values
func (*ListClustersOK) Code ¶ added in v0.3.7
func (o *ListClustersOK) Code() int
Code gets the status code for the list clusters o k response
func (*ListClustersOK) Error ¶ added in v0.2.0
func (o *ListClustersOK) Error() string
func (*ListClustersOK) GetPayload ¶ added in v0.2.0
func (o *ListClustersOK) GetPayload() []*models.Cluster
func (*ListClustersOK) IsClientError ¶ added in v0.3.3
func (o *ListClustersOK) IsClientError() bool
IsClientError returns true when this list clusters o k response has a 4xx status code
func (*ListClustersOK) IsCode ¶ added in v0.3.3
func (o *ListClustersOK) IsCode(code int) bool
IsCode returns true when this list clusters o k response a status code equal to that given
func (*ListClustersOK) IsRedirect ¶ added in v0.3.3
func (o *ListClustersOK) IsRedirect() bool
IsRedirect returns true when this list clusters o k response has a 3xx status code
func (*ListClustersOK) IsServerError ¶ added in v0.3.3
func (o *ListClustersOK) IsServerError() bool
IsServerError returns true when this list clusters o k response has a 5xx status code
func (*ListClustersOK) IsSuccess ¶ added in v0.3.3
func (o *ListClustersOK) IsSuccess() bool
IsSuccess returns true when this list clusters o k response has a 2xx status code
func (*ListClustersOK) String ¶ added in v0.3.3
func (o *ListClustersOK) String() string
type ListClustersParams ¶ added in v0.2.0
type ListClustersParams struct { /* OrgName. Signadot Org Name */ OrgName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClustersParams contains all the parameters to send to the API endpoint
for the list clusters operation. Typically these are written to a http.Request.
func NewListClustersParams ¶ added in v0.2.0
func NewListClustersParams() *ListClustersParams
NewListClustersParams creates a new ListClustersParams 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 NewListClustersParamsWithContext ¶ added in v0.2.0
func NewListClustersParamsWithContext(ctx context.Context) *ListClustersParams
NewListClustersParamsWithContext creates a new ListClustersParams object with the ability to set a context for a request.
func NewListClustersParamsWithHTTPClient ¶ added in v0.2.0
func NewListClustersParamsWithHTTPClient(client *http.Client) *ListClustersParams
NewListClustersParamsWithHTTPClient creates a new ListClustersParams object with the ability to set a custom HTTPClient for a request.
func NewListClustersParamsWithTimeout ¶ added in v0.2.0
func NewListClustersParamsWithTimeout(timeout time.Duration) *ListClustersParams
NewListClustersParamsWithTimeout creates a new ListClustersParams object with the ability to set a timeout on a request.
func (*ListClustersParams) SetContext ¶ added in v0.2.0
func (o *ListClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the list clusters params
func (*ListClustersParams) SetDefaults ¶ added in v0.2.0
func (o *ListClustersParams) SetDefaults()
SetDefaults hydrates default values in the list clusters params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersParams) SetHTTPClient ¶ added in v0.2.0
func (o *ListClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list clusters params
func (*ListClustersParams) SetOrgName ¶ added in v0.2.0
func (o *ListClustersParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the list clusters params
func (*ListClustersParams) SetTimeout ¶ added in v0.2.0
func (o *ListClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list clusters params
func (*ListClustersParams) WithContext ¶ added in v0.2.0
func (o *ListClustersParams) WithContext(ctx context.Context) *ListClustersParams
WithContext adds the context to the list clusters params
func (*ListClustersParams) WithDefaults ¶ added in v0.2.0
func (o *ListClustersParams) WithDefaults() *ListClustersParams
WithDefaults hydrates default values in the list clusters params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersParams) WithHTTPClient ¶ added in v0.2.0
func (o *ListClustersParams) WithHTTPClient(client *http.Client) *ListClustersParams
WithHTTPClient adds the HTTPClient to the list clusters params
func (*ListClustersParams) WithOrgName ¶ added in v0.2.0
func (o *ListClustersParams) WithOrgName(orgName string) *ListClustersParams
WithOrgName adds the orgName to the list clusters params
func (*ListClustersParams) WithTimeout ¶ added in v0.2.0
func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams
WithTimeout adds the timeout to the list clusters params
func (*ListClustersParams) WriteToRequest ¶ added in v0.2.0
func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClustersReader ¶ added in v0.2.0
type ListClustersReader struct {
// contains filtered or unexported fields
}
ListClustersReader is a Reader for the ListClusters structure.
func (*ListClustersReader) ReadResponse ¶ added in v0.2.0
func (o *ListClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClustersUnauthorized ¶ added in v0.2.0
type ListClustersUnauthorized struct {
}ListClustersUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListClustersUnauthorized ¶ added in v0.2.0
func NewListClustersUnauthorized() *ListClustersUnauthorized
NewListClustersUnauthorized creates a ListClustersUnauthorized with default headers values
func (*ListClustersUnauthorized) Code ¶ added in v0.3.7
func (o *ListClustersUnauthorized) Code() int
Code gets the status code for the list clusters unauthorized response
func (*ListClustersUnauthorized) Error ¶ added in v0.2.0
func (o *ListClustersUnauthorized) Error() string
func (*ListClustersUnauthorized) GetPayload ¶ added in v0.2.0
func (o *ListClustersUnauthorized) GetPayload() *models.ErrorResponse
func (*ListClustersUnauthorized) IsClientError ¶ added in v0.3.3
func (o *ListClustersUnauthorized) IsClientError() bool
IsClientError returns true when this list clusters unauthorized response has a 4xx status code
func (*ListClustersUnauthorized) IsCode ¶ added in v0.3.3
func (o *ListClustersUnauthorized) IsCode(code int) bool
IsCode returns true when this list clusters unauthorized response a status code equal to that given
func (*ListClustersUnauthorized) IsRedirect ¶ added in v0.3.3
func (o *ListClustersUnauthorized) IsRedirect() bool
IsRedirect returns true when this list clusters unauthorized response has a 3xx status code
func (*ListClustersUnauthorized) IsServerError ¶ added in v0.3.3
func (o *ListClustersUnauthorized) IsServerError() bool
IsServerError returns true when this list clusters unauthorized response has a 5xx status code
func (*ListClustersUnauthorized) IsSuccess ¶ added in v0.3.3
func (o *ListClustersUnauthorized) IsSuccess() bool
IsSuccess returns true when this list clusters unauthorized response has a 2xx status code
func (*ListClustersUnauthorized) String ¶ added in v0.3.3
func (o *ListClustersUnauthorized) String() string
type RemoveClusterBadGateway ¶ added in v0.2.0
type RemoveClusterBadGateway struct {
Payload *models.ErrorResponse
}
RemoveClusterBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewRemoveClusterBadGateway ¶ added in v0.2.0
func NewRemoveClusterBadGateway() *RemoveClusterBadGateway
NewRemoveClusterBadGateway creates a RemoveClusterBadGateway with default headers values
func (*RemoveClusterBadGateway) Code ¶ added in v0.3.7
func (o *RemoveClusterBadGateway) Code() int
Code gets the status code for the remove cluster bad gateway response
func (*RemoveClusterBadGateway) Error ¶ added in v0.2.0
func (o *RemoveClusterBadGateway) Error() string
func (*RemoveClusterBadGateway) GetPayload ¶ added in v0.2.0
func (o *RemoveClusterBadGateway) GetPayload() *models.ErrorResponse
func (*RemoveClusterBadGateway) IsClientError ¶ added in v0.3.3
func (o *RemoveClusterBadGateway) IsClientError() bool
IsClientError returns true when this remove cluster bad gateway response has a 4xx status code
func (*RemoveClusterBadGateway) IsCode ¶ added in v0.3.3
func (o *RemoveClusterBadGateway) IsCode(code int) bool
IsCode returns true when this remove cluster bad gateway response a status code equal to that given
func (*RemoveClusterBadGateway) IsRedirect ¶ added in v0.3.3
func (o *RemoveClusterBadGateway) IsRedirect() bool
IsRedirect returns true when this remove cluster bad gateway response has a 3xx status code
func (*RemoveClusterBadGateway) IsServerError ¶ added in v0.3.3
func (o *RemoveClusterBadGateway) IsServerError() bool
IsServerError returns true when this remove cluster bad gateway response has a 5xx status code
func (*RemoveClusterBadGateway) IsSuccess ¶ added in v0.3.3
func (o *RemoveClusterBadGateway) IsSuccess() bool
IsSuccess returns true when this remove cluster bad gateway response has a 2xx status code
func (*RemoveClusterBadGateway) String ¶ added in v0.3.3
func (o *RemoveClusterBadGateway) String() string
type RemoveClusterBadRequest ¶ added in v0.2.0
type RemoveClusterBadRequest struct {
Payload *models.ErrorResponse
}
RemoveClusterBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRemoveClusterBadRequest ¶ added in v0.2.0
func NewRemoveClusterBadRequest() *RemoveClusterBadRequest
NewRemoveClusterBadRequest creates a RemoveClusterBadRequest with default headers values
func (*RemoveClusterBadRequest) Code ¶ added in v0.3.7
func (o *RemoveClusterBadRequest) Code() int
Code gets the status code for the remove cluster bad request response
func (*RemoveClusterBadRequest) Error ¶ added in v0.2.0
func (o *RemoveClusterBadRequest) Error() string
func (*RemoveClusterBadRequest) GetPayload ¶ added in v0.2.0
func (o *RemoveClusterBadRequest) GetPayload() *models.ErrorResponse
func (*RemoveClusterBadRequest) IsClientError ¶ added in v0.3.3
func (o *RemoveClusterBadRequest) IsClientError() bool
IsClientError returns true when this remove cluster bad request response has a 4xx status code
func (*RemoveClusterBadRequest) IsCode ¶ added in v0.3.3
func (o *RemoveClusterBadRequest) IsCode(code int) bool
IsCode returns true when this remove cluster bad request response a status code equal to that given
func (*RemoveClusterBadRequest) IsRedirect ¶ added in v0.3.3
func (o *RemoveClusterBadRequest) IsRedirect() bool
IsRedirect returns true when this remove cluster bad request response has a 3xx status code
func (*RemoveClusterBadRequest) IsServerError ¶ added in v0.3.3
func (o *RemoveClusterBadRequest) IsServerError() bool
IsServerError returns true when this remove cluster bad request response has a 5xx status code
func (*RemoveClusterBadRequest) IsSuccess ¶ added in v0.3.3
func (o *RemoveClusterBadRequest) IsSuccess() bool
IsSuccess returns true when this remove cluster bad request response has a 2xx status code
func (*RemoveClusterBadRequest) String ¶ added in v0.3.3
func (o *RemoveClusterBadRequest) String() string
type RemoveClusterOK ¶ added in v0.2.0
type RemoveClusterOK struct {
Payload models.EmptyResponse
}
RemoveClusterOK describes a response with status code 200, with default header values.
OK
func NewRemoveClusterOK ¶ added in v0.2.0
func NewRemoveClusterOK() *RemoveClusterOK
NewRemoveClusterOK creates a RemoveClusterOK with default headers values
func (*RemoveClusterOK) Code ¶ added in v0.3.7
func (o *RemoveClusterOK) Code() int
Code gets the status code for the remove cluster o k response
func (*RemoveClusterOK) Error ¶ added in v0.2.0
func (o *RemoveClusterOK) Error() string
func (*RemoveClusterOK) GetPayload ¶ added in v0.2.0
func (o *RemoveClusterOK) GetPayload() models.EmptyResponse
func (*RemoveClusterOK) IsClientError ¶ added in v0.3.3
func (o *RemoveClusterOK) IsClientError() bool
IsClientError returns true when this remove cluster o k response has a 4xx status code
func (*RemoveClusterOK) IsCode ¶ added in v0.3.3
func (o *RemoveClusterOK) IsCode(code int) bool
IsCode returns true when this remove cluster o k response a status code equal to that given
func (*RemoveClusterOK) IsRedirect ¶ added in v0.3.3
func (o *RemoveClusterOK) IsRedirect() bool
IsRedirect returns true when this remove cluster o k response has a 3xx status code
func (*RemoveClusterOK) IsServerError ¶ added in v0.3.3
func (o *RemoveClusterOK) IsServerError() bool
IsServerError returns true when this remove cluster o k response has a 5xx status code
func (*RemoveClusterOK) IsSuccess ¶ added in v0.3.3
func (o *RemoveClusterOK) IsSuccess() bool
IsSuccess returns true when this remove cluster o k response has a 2xx status code
func (*RemoveClusterOK) String ¶ added in v0.3.3
func (o *RemoveClusterOK) String() string
type RemoveClusterParams ¶ added in v0.2.0
type RemoveClusterParams struct { /* ClusterName. Cluster Name */ ClusterName string /* OrgName. Signadot Org Name */ OrgName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveClusterParams contains all the parameters to send to the API endpoint
for the remove cluster operation. Typically these are written to a http.Request.
func NewRemoveClusterParams ¶ added in v0.2.0
func NewRemoveClusterParams() *RemoveClusterParams
NewRemoveClusterParams creates a new RemoveClusterParams 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 NewRemoveClusterParamsWithContext ¶ added in v0.2.0
func NewRemoveClusterParamsWithContext(ctx context.Context) *RemoveClusterParams
NewRemoveClusterParamsWithContext creates a new RemoveClusterParams object with the ability to set a context for a request.
func NewRemoveClusterParamsWithHTTPClient ¶ added in v0.2.0
func NewRemoveClusterParamsWithHTTPClient(client *http.Client) *RemoveClusterParams
NewRemoveClusterParamsWithHTTPClient creates a new RemoveClusterParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveClusterParamsWithTimeout ¶ added in v0.2.0
func NewRemoveClusterParamsWithTimeout(timeout time.Duration) *RemoveClusterParams
NewRemoveClusterParamsWithTimeout creates a new RemoveClusterParams object with the ability to set a timeout on a request.
func (*RemoveClusterParams) SetClusterName ¶ added in v0.2.0
func (o *RemoveClusterParams) SetClusterName(clusterName string)
SetClusterName adds the clusterName to the remove cluster params
func (*RemoveClusterParams) SetContext ¶ added in v0.2.0
func (o *RemoveClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the remove cluster params
func (*RemoveClusterParams) SetDefaults ¶ added in v0.2.0
func (o *RemoveClusterParams) SetDefaults()
SetDefaults hydrates default values in the remove cluster params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveClusterParams) SetHTTPClient ¶ added in v0.2.0
func (o *RemoveClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove cluster params
func (*RemoveClusterParams) SetOrgName ¶ added in v0.2.0
func (o *RemoveClusterParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the remove cluster params
func (*RemoveClusterParams) SetTimeout ¶ added in v0.2.0
func (o *RemoveClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove cluster params
func (*RemoveClusterParams) WithClusterName ¶ added in v0.2.0
func (o *RemoveClusterParams) WithClusterName(clusterName string) *RemoveClusterParams
WithClusterName adds the clusterName to the remove cluster params
func (*RemoveClusterParams) WithContext ¶ added in v0.2.0
func (o *RemoveClusterParams) WithContext(ctx context.Context) *RemoveClusterParams
WithContext adds the context to the remove cluster params
func (*RemoveClusterParams) WithDefaults ¶ added in v0.2.0
func (o *RemoveClusterParams) WithDefaults() *RemoveClusterParams
WithDefaults hydrates default values in the remove cluster params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveClusterParams) WithHTTPClient ¶ added in v0.2.0
func (o *RemoveClusterParams) WithHTTPClient(client *http.Client) *RemoveClusterParams
WithHTTPClient adds the HTTPClient to the remove cluster params
func (*RemoveClusterParams) WithOrgName ¶ added in v0.2.0
func (o *RemoveClusterParams) WithOrgName(orgName string) *RemoveClusterParams
WithOrgName adds the orgName to the remove cluster params
func (*RemoveClusterParams) WithTimeout ¶ added in v0.2.0
func (o *RemoveClusterParams) WithTimeout(timeout time.Duration) *RemoveClusterParams
WithTimeout adds the timeout to the remove cluster params
func (*RemoveClusterParams) WriteToRequest ¶ added in v0.2.0
func (o *RemoveClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveClusterReader ¶ added in v0.2.0
type RemoveClusterReader struct {
// contains filtered or unexported fields
}
RemoveClusterReader is a Reader for the RemoveCluster structure.
func (*RemoveClusterReader) ReadResponse ¶ added in v0.2.0
func (o *RemoveClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveClusterUnauthorized ¶ added in v0.2.0
type RemoveClusterUnauthorized struct {
}RemoveClusterUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRemoveClusterUnauthorized ¶ added in v0.2.0
func NewRemoveClusterUnauthorized() *RemoveClusterUnauthorized
NewRemoveClusterUnauthorized creates a RemoveClusterUnauthorized with default headers values
func (*RemoveClusterUnauthorized) Code ¶ added in v0.3.7
func (o *RemoveClusterUnauthorized) Code() int
Code gets the status code for the remove cluster unauthorized response
func (*RemoveClusterUnauthorized) Error ¶ added in v0.2.0
func (o *RemoveClusterUnauthorized) Error() string
func (*RemoveClusterUnauthorized) GetPayload ¶ added in v0.2.0
func (o *RemoveClusterUnauthorized) GetPayload() *models.ErrorResponse
func (*RemoveClusterUnauthorized) IsClientError ¶ added in v0.3.3
func (o *RemoveClusterUnauthorized) IsClientError() bool
IsClientError returns true when this remove cluster unauthorized response has a 4xx status code
func (*RemoveClusterUnauthorized) IsCode ¶ added in v0.3.3
func (o *RemoveClusterUnauthorized) IsCode(code int) bool
IsCode returns true when this remove cluster unauthorized response a status code equal to that given
func (*RemoveClusterUnauthorized) IsRedirect ¶ added in v0.3.3
func (o *RemoveClusterUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove cluster unauthorized response has a 3xx status code
func (*RemoveClusterUnauthorized) IsServerError ¶ added in v0.3.3
func (o *RemoveClusterUnauthorized) IsServerError() bool
IsServerError returns true when this remove cluster unauthorized response has a 5xx status code
func (*RemoveClusterUnauthorized) IsSuccess ¶ added in v0.3.3
func (o *RemoveClusterUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove cluster unauthorized response has a 2xx status code
func (*RemoveClusterUnauthorized) String ¶ added in v0.3.3
func (o *RemoveClusterUnauthorized) String() string
Source Files ¶
- add_cluster_parameters.go
- add_cluster_responses.go
- cluster_client.go
- create_cluster_token_parameters.go
- create_cluster_token_responses.go
- delete_cluster_token_parameters.go
- delete_cluster_token_responses.go
- get_cluster_parameters.go
- get_cluster_responses.go
- get_cluster_token_parameters.go
- get_cluster_token_responses.go
- list_cluster_tokens_parameters.go
- list_cluster_tokens_responses.go
- list_clusters_parameters.go
- list_clusters_responses.go
- remove_cluster_parameters.go
- remove_cluster_responses.go