Documentation
¶
Index ¶
- type AdminLoginOK
- func (o *AdminLoginOK) Code() int
- func (o *AdminLoginOK) Error() string
- func (o *AdminLoginOK) GetPayload() *models.AdminLoginResponse
- func (o *AdminLoginOK) IsClientError() bool
- func (o *AdminLoginOK) IsCode(code int) bool
- func (o *AdminLoginOK) IsRedirect() bool
- func (o *AdminLoginOK) IsServerError() bool
- func (o *AdminLoginOK) IsSuccess() bool
- func (o *AdminLoginOK) String() string
- type AdminLoginParams
- func (o *AdminLoginParams) SetContext(ctx context.Context)
- func (o *AdminLoginParams) SetDefaults()
- func (o *AdminLoginParams) SetHTTPClient(client *http.Client)
- func (o *AdminLoginParams) SetTimeout(timeout time.Duration)
- func (o *AdminLoginParams) WithContext(ctx context.Context) *AdminLoginParams
- func (o *AdminLoginParams) WithDefaults() *AdminLoginParams
- func (o *AdminLoginParams) WithHTTPClient(client *http.Client) *AdminLoginParams
- func (o *AdminLoginParams) WithTimeout(timeout time.Duration) *AdminLoginParams
- func (o *AdminLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminLoginReader
- type Client
- func (a *Client) AdminLogin(params *AdminLoginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminLoginOK, error)
- func (a *Client) DeleteClusterConfig(params *DeleteClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteClusterConfigNoContent, error)
- func (a *Client) GetClusterConfig(params *GetClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClusterConfigOK, error)
- func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetConfigOK, error)
- func (a *Client) GetPublicConfig(params *GetPublicConfigParams, opts ...ClientOption) (*GetPublicConfigOK, error)
- func (a *Client) GetVersionInfo(params *GetVersionInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetVersionInfoOK, error)
- func (a *Client) RefreshClusterConfig(params *RefreshClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RefreshClusterConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteClusterConfigNoContent
- func (o *DeleteClusterConfigNoContent) Code() int
- func (o *DeleteClusterConfigNoContent) Error() string
- func (o *DeleteClusterConfigNoContent) IsClientError() bool
- func (o *DeleteClusterConfigNoContent) IsCode(code int) bool
- func (o *DeleteClusterConfigNoContent) IsRedirect() bool
- func (o *DeleteClusterConfigNoContent) IsServerError() bool
- func (o *DeleteClusterConfigNoContent) IsSuccess() bool
- func (o *DeleteClusterConfigNoContent) String() string
- type DeleteClusterConfigParams
- func NewDeleteClusterConfigParams() *DeleteClusterConfigParams
- func NewDeleteClusterConfigParamsWithContext(ctx context.Context) *DeleteClusterConfigParams
- func NewDeleteClusterConfigParamsWithHTTPClient(client *http.Client) *DeleteClusterConfigParams
- func NewDeleteClusterConfigParamsWithTimeout(timeout time.Duration) *DeleteClusterConfigParams
- func (o *DeleteClusterConfigParams) SetContext(ctx context.Context)
- func (o *DeleteClusterConfigParams) SetDefaults()
- func (o *DeleteClusterConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterConfigParams) WithContext(ctx context.Context) *DeleteClusterConfigParams
- func (o *DeleteClusterConfigParams) WithDefaults() *DeleteClusterConfigParams
- func (o *DeleteClusterConfigParams) WithHTTPClient(client *http.Client) *DeleteClusterConfigParams
- func (o *DeleteClusterConfigParams) WithTimeout(timeout time.Duration) *DeleteClusterConfigParams
- func (o *DeleteClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterConfigReader
- type GetClusterConfigOK
- func (o *GetClusterConfigOK) Code() int
- func (o *GetClusterConfigOK) Error() string
- func (o *GetClusterConfigOK) GetPayload() any
- func (o *GetClusterConfigOK) IsClientError() bool
- func (o *GetClusterConfigOK) IsCode(code int) bool
- func (o *GetClusterConfigOK) IsRedirect() bool
- func (o *GetClusterConfigOK) IsServerError() bool
- func (o *GetClusterConfigOK) IsSuccess() bool
- func (o *GetClusterConfigOK) String() string
- type GetClusterConfigParams
- func NewGetClusterConfigParams() *GetClusterConfigParams
- func NewGetClusterConfigParamsWithContext(ctx context.Context) *GetClusterConfigParams
- func NewGetClusterConfigParamsWithHTTPClient(client *http.Client) *GetClusterConfigParams
- func NewGetClusterConfigParamsWithTimeout(timeout time.Duration) *GetClusterConfigParams
- func (o *GetClusterConfigParams) SetContext(ctx context.Context)
- func (o *GetClusterConfigParams) SetDefaults()
- func (o *GetClusterConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterConfigParams) WithContext(ctx context.Context) *GetClusterConfigParams
- func (o *GetClusterConfigParams) WithDefaults() *GetClusterConfigParams
- func (o *GetClusterConfigParams) WithHTTPClient(client *http.Client) *GetClusterConfigParams
- func (o *GetClusterConfigParams) WithTimeout(timeout time.Duration) *GetClusterConfigParams
- func (o *GetClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterConfigReader
- type GetConfigOK
- func (o *GetConfigOK) Code() int
- func (o *GetConfigOK) Error() string
- func (o *GetConfigOK) GetPayload() *models.GetConfigResponse
- func (o *GetConfigOK) IsClientError() bool
- func (o *GetConfigOK) IsCode(code int) bool
- func (o *GetConfigOK) IsRedirect() bool
- func (o *GetConfigOK) IsServerError() bool
- func (o *GetConfigOK) IsSuccess() bool
- func (o *GetConfigOK) String() string
- type GetConfigParams
- func (o *GetConfigParams) SetContext(ctx context.Context)
- func (o *GetConfigParams) SetDefaults()
- func (o *GetConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
- func (o *GetConfigParams) WithDefaults() *GetConfigParams
- func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
- func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
- func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigReader
- type GetPublicConfigOK
- func (o *GetPublicConfigOK) Code() int
- func (o *GetPublicConfigOK) Error() string
- func (o *GetPublicConfigOK) GetPayload() *models.PublicConfig
- func (o *GetPublicConfigOK) IsClientError() bool
- func (o *GetPublicConfigOK) IsCode(code int) bool
- func (o *GetPublicConfigOK) IsRedirect() bool
- func (o *GetPublicConfigOK) IsServerError() bool
- func (o *GetPublicConfigOK) IsSuccess() bool
- func (o *GetPublicConfigOK) String() string
- type GetPublicConfigParams
- func NewGetPublicConfigParams() *GetPublicConfigParams
- func NewGetPublicConfigParamsWithContext(ctx context.Context) *GetPublicConfigParams
- func NewGetPublicConfigParamsWithHTTPClient(client *http.Client) *GetPublicConfigParams
- func NewGetPublicConfigParamsWithTimeout(timeout time.Duration) *GetPublicConfigParams
- func (o *GetPublicConfigParams) SetContext(ctx context.Context)
- func (o *GetPublicConfigParams) SetDefaults()
- func (o *GetPublicConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicConfigParams) WithContext(ctx context.Context) *GetPublicConfigParams
- func (o *GetPublicConfigParams) WithDefaults() *GetPublicConfigParams
- func (o *GetPublicConfigParams) WithHTTPClient(client *http.Client) *GetPublicConfigParams
- func (o *GetPublicConfigParams) WithTimeout(timeout time.Duration) *GetPublicConfigParams
- func (o *GetPublicConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicConfigReader
- type GetVersionInfoOK
- func (o *GetVersionInfoOK) Code() int
- func (o *GetVersionInfoOK) Error() string
- func (o *GetVersionInfoOK) GetPayload() *models.GithubComAkuityKargoPkgxVersionVersion
- func (o *GetVersionInfoOK) IsClientError() bool
- func (o *GetVersionInfoOK) IsCode(code int) bool
- func (o *GetVersionInfoOK) IsRedirect() bool
- func (o *GetVersionInfoOK) IsServerError() bool
- func (o *GetVersionInfoOK) IsSuccess() bool
- func (o *GetVersionInfoOK) String() string
- type GetVersionInfoParams
- func NewGetVersionInfoParams() *GetVersionInfoParams
- func NewGetVersionInfoParamsWithContext(ctx context.Context) *GetVersionInfoParams
- func NewGetVersionInfoParamsWithHTTPClient(client *http.Client) *GetVersionInfoParams
- func NewGetVersionInfoParamsWithTimeout(timeout time.Duration) *GetVersionInfoParams
- func (o *GetVersionInfoParams) SetContext(ctx context.Context)
- func (o *GetVersionInfoParams) SetDefaults()
- func (o *GetVersionInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetVersionInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetVersionInfoParams) WithContext(ctx context.Context) *GetVersionInfoParams
- func (o *GetVersionInfoParams) WithDefaults() *GetVersionInfoParams
- func (o *GetVersionInfoParams) WithHTTPClient(client *http.Client) *GetVersionInfoParams
- func (o *GetVersionInfoParams) WithTimeout(timeout time.Duration) *GetVersionInfoParams
- func (o *GetVersionInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVersionInfoReader
- type RefreshClusterConfigOK
- func (o *RefreshClusterConfigOK) Code() int
- func (o *RefreshClusterConfigOK) Error() string
- func (o *RefreshClusterConfigOK) IsClientError() bool
- func (o *RefreshClusterConfigOK) IsCode(code int) bool
- func (o *RefreshClusterConfigOK) IsRedirect() bool
- func (o *RefreshClusterConfigOK) IsServerError() bool
- func (o *RefreshClusterConfigOK) IsSuccess() bool
- func (o *RefreshClusterConfigOK) String() string
- type RefreshClusterConfigParams
- func NewRefreshClusterConfigParams() *RefreshClusterConfigParams
- func NewRefreshClusterConfigParamsWithContext(ctx context.Context) *RefreshClusterConfigParams
- func NewRefreshClusterConfigParamsWithHTTPClient(client *http.Client) *RefreshClusterConfigParams
- func NewRefreshClusterConfigParamsWithTimeout(timeout time.Duration) *RefreshClusterConfigParams
- func (o *RefreshClusterConfigParams) SetContext(ctx context.Context)
- func (o *RefreshClusterConfigParams) SetDefaults()
- func (o *RefreshClusterConfigParams) SetHTTPClient(client *http.Client)
- func (o *RefreshClusterConfigParams) SetTimeout(timeout time.Duration)
- func (o *RefreshClusterConfigParams) WithContext(ctx context.Context) *RefreshClusterConfigParams
- func (o *RefreshClusterConfigParams) WithDefaults() *RefreshClusterConfigParams
- func (o *RefreshClusterConfigParams) WithHTTPClient(client *http.Client) *RefreshClusterConfigParams
- func (o *RefreshClusterConfigParams) WithTimeout(timeout time.Duration) *RefreshClusterConfigParams
- func (o *RefreshClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RefreshClusterConfigReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminLoginOK ¶
type AdminLoginOK struct {
Payload *models.AdminLoginResponse
}
AdminLoginOK describes a response with status code 200, with default header values.
OK
func NewAdminLoginOK ¶
func NewAdminLoginOK() *AdminLoginOK
NewAdminLoginOK creates a AdminLoginOK with default headers values
func (*AdminLoginOK) Code ¶
func (o *AdminLoginOK) Code() int
Code gets the status code for the admin login o k response
func (*AdminLoginOK) Error ¶
func (o *AdminLoginOK) Error() string
func (*AdminLoginOK) GetPayload ¶
func (o *AdminLoginOK) GetPayload() *models.AdminLoginResponse
func (*AdminLoginOK) IsClientError ¶
func (o *AdminLoginOK) IsClientError() bool
IsClientError returns true when this admin login o k response has a 4xx status code
func (*AdminLoginOK) IsCode ¶
func (o *AdminLoginOK) IsCode(code int) bool
IsCode returns true when this admin login o k response a status code equal to that given
func (*AdminLoginOK) IsRedirect ¶
func (o *AdminLoginOK) IsRedirect() bool
IsRedirect returns true when this admin login o k response has a 3xx status code
func (*AdminLoginOK) IsServerError ¶
func (o *AdminLoginOK) IsServerError() bool
IsServerError returns true when this admin login o k response has a 5xx status code
func (*AdminLoginOK) IsSuccess ¶
func (o *AdminLoginOK) IsSuccess() bool
IsSuccess returns true when this admin login o k response has a 2xx status code
func (*AdminLoginOK) String ¶
func (o *AdminLoginOK) String() string
type AdminLoginParams ¶
type AdminLoginParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminLoginParams contains all the parameters to send to the API endpoint
for the admin login operation. Typically these are written to a http.Request.
func NewAdminLoginParams ¶
func NewAdminLoginParams() *AdminLoginParams
NewAdminLoginParams creates a new AdminLoginParams 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 NewAdminLoginParamsWithContext ¶
func NewAdminLoginParamsWithContext(ctx context.Context) *AdminLoginParams
NewAdminLoginParamsWithContext creates a new AdminLoginParams object with the ability to set a context for a request.
func NewAdminLoginParamsWithHTTPClient ¶
func NewAdminLoginParamsWithHTTPClient(client *http.Client) *AdminLoginParams
NewAdminLoginParamsWithHTTPClient creates a new AdminLoginParams object with the ability to set a custom HTTPClient for a request.
func NewAdminLoginParamsWithTimeout ¶
func NewAdminLoginParamsWithTimeout(timeout time.Duration) *AdminLoginParams
NewAdminLoginParamsWithTimeout creates a new AdminLoginParams object with the ability to set a timeout on a request.
func (*AdminLoginParams) SetContext ¶
func (o *AdminLoginParams) SetContext(ctx context.Context)
SetContext adds the context to the admin login params
func (*AdminLoginParams) SetDefaults ¶
func (o *AdminLoginParams) SetDefaults()
SetDefaults hydrates default values in the admin login params (not the query body).
All values with no default are reset to their zero value.
func (*AdminLoginParams) SetHTTPClient ¶
func (o *AdminLoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin login params
func (*AdminLoginParams) SetTimeout ¶
func (o *AdminLoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin login params
func (*AdminLoginParams) WithContext ¶
func (o *AdminLoginParams) WithContext(ctx context.Context) *AdminLoginParams
WithContext adds the context to the admin login params
func (*AdminLoginParams) WithDefaults ¶
func (o *AdminLoginParams) WithDefaults() *AdminLoginParams
WithDefaults hydrates default values in the admin login params (not the query body).
All values with no default are reset to their zero value.
func (*AdminLoginParams) WithHTTPClient ¶
func (o *AdminLoginParams) WithHTTPClient(client *http.Client) *AdminLoginParams
WithHTTPClient adds the HTTPClient to the admin login params
func (*AdminLoginParams) WithTimeout ¶
func (o *AdminLoginParams) WithTimeout(timeout time.Duration) *AdminLoginParams
WithTimeout adds the timeout to the admin login params
func (*AdminLoginParams) WriteToRequest ¶
func (o *AdminLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminLoginReader ¶
type AdminLoginReader struct {
// contains filtered or unexported fields
}
AdminLoginReader is a Reader for the AdminLogin structure.
func (*AdminLoginReader) ReadResponse ¶
func (o *AdminLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for system API
func (*Client) AdminLogin ¶
func (a *Client) AdminLogin(params *AdminLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminLoginOK, error)
AdminLogin admins login
Authenticate as the admin user if enabled.
func (*Client) DeleteClusterConfig ¶
func (a *Client) DeleteClusterConfig(params *DeleteClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterConfigNoContent, error)
DeleteClusterConfig deletes the cluster config
Deletes the single ClusterConfig resource.
func (*Client) GetClusterConfig ¶
func (a *Client) GetClusterConfig(params *GetClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterConfigOK, error)
GetClusterConfig retrieves the cluster config
Retrieve the single ClusterConfig resource.
func (*Client) GetConfig ¶
func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigOK, error)
GetConfig retrieves server configuration Retrieve information a client may need to know about how the
Kargo API server is configured.
func (*Client) GetPublicConfig ¶
func (a *Client) GetPublicConfig(params *GetPublicConfigParams, opts ...ClientOption) (*GetPublicConfigOK, error)
GetPublicConfig retrieves public server configuration Retrieve information a client may need to know about how the
Kargo API server is configured in order to proceed with authentication.
func (*Client) GetVersionInfo ¶
func (a *Client) GetVersionInfo(params *GetVersionInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVersionInfoOK, error)
GetVersionInfo retrieves API server version information
Retrieve API Server version information.
func (*Client) RefreshClusterConfig ¶
func (a *Client) RefreshClusterConfig(params *RefreshClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshClusterConfigOK, error)
RefreshClusterConfig refreshes the cluster config Refresh the single ClusterConfig resource. Refreshing enqueues
the resource for reconciliation by its corresponding controller.
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 may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
AdminLogin(params *AdminLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminLoginOK, error)
DeleteClusterConfig(params *DeleteClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterConfigNoContent, error)
GetClusterConfig(params *GetClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterConfigOK, error)
GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigOK, error)
GetPublicConfig(params *GetPublicConfigParams, opts ...ClientOption) (*GetPublicConfigOK, error)
GetVersionInfo(params *GetVersionInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVersionInfoOK, error)
RefreshClusterConfig(params *RefreshClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshClusterConfigOK, 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 system API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new system API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new system API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type DeleteClusterConfigNoContent ¶
type DeleteClusterConfigNoContent struct {
}
DeleteClusterConfigNoContent describes a response with status code 204, with default header values.
Deleted successfully
func NewDeleteClusterConfigNoContent ¶
func NewDeleteClusterConfigNoContent() *DeleteClusterConfigNoContent
NewDeleteClusterConfigNoContent creates a DeleteClusterConfigNoContent with default headers values
func (*DeleteClusterConfigNoContent) Code ¶
func (o *DeleteClusterConfigNoContent) Code() int
Code gets the status code for the delete cluster config no content response
func (*DeleteClusterConfigNoContent) Error ¶
func (o *DeleteClusterConfigNoContent) Error() string
func (*DeleteClusterConfigNoContent) IsClientError ¶
func (o *DeleteClusterConfigNoContent) IsClientError() bool
IsClientError returns true when this delete cluster config no content response has a 4xx status code
func (*DeleteClusterConfigNoContent) IsCode ¶
func (o *DeleteClusterConfigNoContent) IsCode(code int) bool
IsCode returns true when this delete cluster config no content response a status code equal to that given
func (*DeleteClusterConfigNoContent) IsRedirect ¶
func (o *DeleteClusterConfigNoContent) IsRedirect() bool
IsRedirect returns true when this delete cluster config no content response has a 3xx status code
func (*DeleteClusterConfigNoContent) IsServerError ¶
func (o *DeleteClusterConfigNoContent) IsServerError() bool
IsServerError returns true when this delete cluster config no content response has a 5xx status code
func (*DeleteClusterConfigNoContent) IsSuccess ¶
func (o *DeleteClusterConfigNoContent) IsSuccess() bool
IsSuccess returns true when this delete cluster config no content response has a 2xx status code
func (*DeleteClusterConfigNoContent) String ¶
func (o *DeleteClusterConfigNoContent) String() string
type DeleteClusterConfigParams ¶
type DeleteClusterConfigParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteClusterConfigParams contains all the parameters to send to the API endpoint
for the delete cluster config operation. Typically these are written to a http.Request.
func NewDeleteClusterConfigParams ¶
func NewDeleteClusterConfigParams() *DeleteClusterConfigParams
NewDeleteClusterConfigParams creates a new DeleteClusterConfigParams 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 NewDeleteClusterConfigParamsWithContext ¶
func NewDeleteClusterConfigParamsWithContext(ctx context.Context) *DeleteClusterConfigParams
NewDeleteClusterConfigParamsWithContext creates a new DeleteClusterConfigParams object with the ability to set a context for a request.
func NewDeleteClusterConfigParamsWithHTTPClient ¶
func NewDeleteClusterConfigParamsWithHTTPClient(client *http.Client) *DeleteClusterConfigParams
NewDeleteClusterConfigParamsWithHTTPClient creates a new DeleteClusterConfigParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteClusterConfigParamsWithTimeout ¶
func NewDeleteClusterConfigParamsWithTimeout(timeout time.Duration) *DeleteClusterConfigParams
NewDeleteClusterConfigParamsWithTimeout creates a new DeleteClusterConfigParams object with the ability to set a timeout on a request.
func (*DeleteClusterConfigParams) SetContext ¶
func (o *DeleteClusterConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster config params
func (*DeleteClusterConfigParams) SetDefaults ¶
func (o *DeleteClusterConfigParams) SetDefaults()
SetDefaults hydrates default values in the delete cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterConfigParams) SetHTTPClient ¶
func (o *DeleteClusterConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster config params
func (*DeleteClusterConfigParams) SetTimeout ¶
func (o *DeleteClusterConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster config params
func (*DeleteClusterConfigParams) WithContext ¶
func (o *DeleteClusterConfigParams) WithContext(ctx context.Context) *DeleteClusterConfigParams
WithContext adds the context to the delete cluster config params
func (*DeleteClusterConfigParams) WithDefaults ¶
func (o *DeleteClusterConfigParams) WithDefaults() *DeleteClusterConfigParams
WithDefaults hydrates default values in the delete cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterConfigParams) WithHTTPClient ¶
func (o *DeleteClusterConfigParams) WithHTTPClient(client *http.Client) *DeleteClusterConfigParams
WithHTTPClient adds the HTTPClient to the delete cluster config params
func (*DeleteClusterConfigParams) WithTimeout ¶
func (o *DeleteClusterConfigParams) WithTimeout(timeout time.Duration) *DeleteClusterConfigParams
WithTimeout adds the timeout to the delete cluster config params
func (*DeleteClusterConfigParams) WriteToRequest ¶
func (o *DeleteClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterConfigReader ¶
type DeleteClusterConfigReader struct {
// contains filtered or unexported fields
}
DeleteClusterConfigReader is a Reader for the DeleteClusterConfig structure.
func (*DeleteClusterConfigReader) ReadResponse ¶
func (o *DeleteClusterConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetClusterConfigOK ¶
type GetClusterConfigOK struct {
Payload any
}
GetClusterConfigOK describes a response with status code 200, with default header values.
ClusterConfig custom resource (github.com/akuity/kargo/api/v1alpha1.ClusterConfig)
func NewGetClusterConfigOK ¶
func NewGetClusterConfigOK() *GetClusterConfigOK
NewGetClusterConfigOK creates a GetClusterConfigOK with default headers values
func (*GetClusterConfigOK) Code ¶
func (o *GetClusterConfigOK) Code() int
Code gets the status code for the get cluster config o k response
func (*GetClusterConfigOK) Error ¶
func (o *GetClusterConfigOK) Error() string
func (*GetClusterConfigOK) GetPayload ¶
func (o *GetClusterConfigOK) GetPayload() any
func (*GetClusterConfigOK) IsClientError ¶
func (o *GetClusterConfigOK) IsClientError() bool
IsClientError returns true when this get cluster config o k response has a 4xx status code
func (*GetClusterConfigOK) IsCode ¶
func (o *GetClusterConfigOK) IsCode(code int) bool
IsCode returns true when this get cluster config o k response a status code equal to that given
func (*GetClusterConfigOK) IsRedirect ¶
func (o *GetClusterConfigOK) IsRedirect() bool
IsRedirect returns true when this get cluster config o k response has a 3xx status code
func (*GetClusterConfigOK) IsServerError ¶
func (o *GetClusterConfigOK) IsServerError() bool
IsServerError returns true when this get cluster config o k response has a 5xx status code
func (*GetClusterConfigOK) IsSuccess ¶
func (o *GetClusterConfigOK) IsSuccess() bool
IsSuccess returns true when this get cluster config o k response has a 2xx status code
func (*GetClusterConfigOK) String ¶
func (o *GetClusterConfigOK) String() string
type GetClusterConfigParams ¶
type GetClusterConfigParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetClusterConfigParams contains all the parameters to send to the API endpoint
for the get cluster config operation. Typically these are written to a http.Request.
func NewGetClusterConfigParams ¶
func NewGetClusterConfigParams() *GetClusterConfigParams
NewGetClusterConfigParams creates a new GetClusterConfigParams 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 NewGetClusterConfigParamsWithContext ¶
func NewGetClusterConfigParamsWithContext(ctx context.Context) *GetClusterConfigParams
NewGetClusterConfigParamsWithContext creates a new GetClusterConfigParams object with the ability to set a context for a request.
func NewGetClusterConfigParamsWithHTTPClient ¶
func NewGetClusterConfigParamsWithHTTPClient(client *http.Client) *GetClusterConfigParams
NewGetClusterConfigParamsWithHTTPClient creates a new GetClusterConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterConfigParamsWithTimeout ¶
func NewGetClusterConfigParamsWithTimeout(timeout time.Duration) *GetClusterConfigParams
NewGetClusterConfigParamsWithTimeout creates a new GetClusterConfigParams object with the ability to set a timeout on a request.
func (*GetClusterConfigParams) SetContext ¶
func (o *GetClusterConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster config params
func (*GetClusterConfigParams) SetDefaults ¶
func (o *GetClusterConfigParams) SetDefaults()
SetDefaults hydrates default values in the get cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterConfigParams) SetHTTPClient ¶
func (o *GetClusterConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster config params
func (*GetClusterConfigParams) SetTimeout ¶
func (o *GetClusterConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster config params
func (*GetClusterConfigParams) WithContext ¶
func (o *GetClusterConfigParams) WithContext(ctx context.Context) *GetClusterConfigParams
WithContext adds the context to the get cluster config params
func (*GetClusterConfigParams) WithDefaults ¶
func (o *GetClusterConfigParams) WithDefaults() *GetClusterConfigParams
WithDefaults hydrates default values in the get cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterConfigParams) WithHTTPClient ¶
func (o *GetClusterConfigParams) WithHTTPClient(client *http.Client) *GetClusterConfigParams
WithHTTPClient adds the HTTPClient to the get cluster config params
func (*GetClusterConfigParams) WithTimeout ¶
func (o *GetClusterConfigParams) WithTimeout(timeout time.Duration) *GetClusterConfigParams
WithTimeout adds the timeout to the get cluster config params
func (*GetClusterConfigParams) WriteToRequest ¶
func (o *GetClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterConfigReader ¶
type GetClusterConfigReader struct {
// contains filtered or unexported fields
}
GetClusterConfigReader is a Reader for the GetClusterConfig structure.
func (*GetClusterConfigReader) ReadResponse ¶
func (o *GetClusterConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetConfigOK ¶
type GetConfigOK struct {
Payload *models.GetConfigResponse
}
GetConfigOK describes a response with status code 200, with default header values.
OK
func NewGetConfigOK ¶
func NewGetConfigOK() *GetConfigOK
NewGetConfigOK creates a GetConfigOK with default headers values
func (*GetConfigOK) Code ¶
func (o *GetConfigOK) Code() int
Code gets the status code for the get config o k response
func (*GetConfigOK) Error ¶
func (o *GetConfigOK) Error() string
func (*GetConfigOK) GetPayload ¶
func (o *GetConfigOK) GetPayload() *models.GetConfigResponse
func (*GetConfigOK) IsClientError ¶
func (o *GetConfigOK) IsClientError() bool
IsClientError returns true when this get config o k response has a 4xx status code
func (*GetConfigOK) IsCode ¶
func (o *GetConfigOK) IsCode(code int) bool
IsCode returns true when this get config o k response a status code equal to that given
func (*GetConfigOK) IsRedirect ¶
func (o *GetConfigOK) IsRedirect() bool
IsRedirect returns true when this get config o k response has a 3xx status code
func (*GetConfigOK) IsServerError ¶
func (o *GetConfigOK) IsServerError() bool
IsServerError returns true when this get config o k response has a 5xx status code
func (*GetConfigOK) IsSuccess ¶
func (o *GetConfigOK) IsSuccess() bool
IsSuccess returns true when this get config o k response has a 2xx status code
func (*GetConfigOK) String ¶
func (o *GetConfigOK) String() string
type GetConfigParams ¶
type GetConfigParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetConfigParams contains all the parameters to send to the API endpoint
for the get config operation. Typically these are written to a http.Request.
func NewGetConfigParams ¶
func NewGetConfigParams() *GetConfigParams
NewGetConfigParams creates a new GetConfigParams 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 NewGetConfigParamsWithContext ¶
func NewGetConfigParamsWithContext(ctx context.Context) *GetConfigParams
NewGetConfigParamsWithContext creates a new GetConfigParams object with the ability to set a context for a request.
func NewGetConfigParamsWithHTTPClient ¶
func NewGetConfigParamsWithHTTPClient(client *http.Client) *GetConfigParams
NewGetConfigParamsWithHTTPClient creates a new GetConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetConfigParamsWithTimeout ¶
func NewGetConfigParamsWithTimeout(timeout time.Duration) *GetConfigParams
NewGetConfigParamsWithTimeout creates a new GetConfigParams object with the ability to set a timeout on a request.
func (*GetConfigParams) SetContext ¶
func (o *GetConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get config params
func (*GetConfigParams) SetDefaults ¶
func (o *GetConfigParams) SetDefaults()
SetDefaults hydrates default values in the get config params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigParams) SetHTTPClient ¶
func (o *GetConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) SetTimeout ¶
func (o *GetConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config params
func (*GetConfigParams) WithContext ¶
func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
WithContext adds the context to the get config params
func (*GetConfigParams) WithDefaults ¶
func (o *GetConfigParams) WithDefaults() *GetConfigParams
WithDefaults hydrates default values in the get config params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigParams) WithHTTPClient ¶
func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
WithHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) WithTimeout ¶
func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
WithTimeout adds the timeout to the get config params
func (*GetConfigParams) WriteToRequest ¶
func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigReader ¶
type GetConfigReader struct {
// contains filtered or unexported fields
}
GetConfigReader is a Reader for the GetConfig structure.
func (*GetConfigReader) ReadResponse ¶
func (o *GetConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetPublicConfigOK ¶
type GetPublicConfigOK struct {
Payload *models.PublicConfig
}
GetPublicConfigOK describes a response with status code 200, with default header values.
OK
func NewGetPublicConfigOK ¶
func NewGetPublicConfigOK() *GetPublicConfigOK
NewGetPublicConfigOK creates a GetPublicConfigOK with default headers values
func (*GetPublicConfigOK) Code ¶
func (o *GetPublicConfigOK) Code() int
Code gets the status code for the get public config o k response
func (*GetPublicConfigOK) Error ¶
func (o *GetPublicConfigOK) Error() string
func (*GetPublicConfigOK) GetPayload ¶
func (o *GetPublicConfigOK) GetPayload() *models.PublicConfig
func (*GetPublicConfigOK) IsClientError ¶
func (o *GetPublicConfigOK) IsClientError() bool
IsClientError returns true when this get public config o k response has a 4xx status code
func (*GetPublicConfigOK) IsCode ¶
func (o *GetPublicConfigOK) IsCode(code int) bool
IsCode returns true when this get public config o k response a status code equal to that given
func (*GetPublicConfigOK) IsRedirect ¶
func (o *GetPublicConfigOK) IsRedirect() bool
IsRedirect returns true when this get public config o k response has a 3xx status code
func (*GetPublicConfigOK) IsServerError ¶
func (o *GetPublicConfigOK) IsServerError() bool
IsServerError returns true when this get public config o k response has a 5xx status code
func (*GetPublicConfigOK) IsSuccess ¶
func (o *GetPublicConfigOK) IsSuccess() bool
IsSuccess returns true when this get public config o k response has a 2xx status code
func (*GetPublicConfigOK) String ¶
func (o *GetPublicConfigOK) String() string
type GetPublicConfigParams ¶
type GetPublicConfigParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetPublicConfigParams contains all the parameters to send to the API endpoint
for the get public config operation. Typically these are written to a http.Request.
func NewGetPublicConfigParams ¶
func NewGetPublicConfigParams() *GetPublicConfigParams
NewGetPublicConfigParams creates a new GetPublicConfigParams 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 NewGetPublicConfigParamsWithContext ¶
func NewGetPublicConfigParamsWithContext(ctx context.Context) *GetPublicConfigParams
NewGetPublicConfigParamsWithContext creates a new GetPublicConfigParams object with the ability to set a context for a request.
func NewGetPublicConfigParamsWithHTTPClient ¶
func NewGetPublicConfigParamsWithHTTPClient(client *http.Client) *GetPublicConfigParams
NewGetPublicConfigParamsWithHTTPClient creates a new GetPublicConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetPublicConfigParamsWithTimeout ¶
func NewGetPublicConfigParamsWithTimeout(timeout time.Duration) *GetPublicConfigParams
NewGetPublicConfigParamsWithTimeout creates a new GetPublicConfigParams object with the ability to set a timeout on a request.
func (*GetPublicConfigParams) SetContext ¶
func (o *GetPublicConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get public config params
func (*GetPublicConfigParams) SetDefaults ¶
func (o *GetPublicConfigParams) SetDefaults()
SetDefaults hydrates default values in the get public config params (not the query body).
All values with no default are reset to their zero value.
func (*GetPublicConfigParams) SetHTTPClient ¶
func (o *GetPublicConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public config params
func (*GetPublicConfigParams) SetTimeout ¶
func (o *GetPublicConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public config params
func (*GetPublicConfigParams) WithContext ¶
func (o *GetPublicConfigParams) WithContext(ctx context.Context) *GetPublicConfigParams
WithContext adds the context to the get public config params
func (*GetPublicConfigParams) WithDefaults ¶
func (o *GetPublicConfigParams) WithDefaults() *GetPublicConfigParams
WithDefaults hydrates default values in the get public config params (not the query body).
All values with no default are reset to their zero value.
func (*GetPublicConfigParams) WithHTTPClient ¶
func (o *GetPublicConfigParams) WithHTTPClient(client *http.Client) *GetPublicConfigParams
WithHTTPClient adds the HTTPClient to the get public config params
func (*GetPublicConfigParams) WithTimeout ¶
func (o *GetPublicConfigParams) WithTimeout(timeout time.Duration) *GetPublicConfigParams
WithTimeout adds the timeout to the get public config params
func (*GetPublicConfigParams) WriteToRequest ¶
func (o *GetPublicConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicConfigReader ¶
type GetPublicConfigReader struct {
// contains filtered or unexported fields
}
GetPublicConfigReader is a Reader for the GetPublicConfig structure.
func (*GetPublicConfigReader) ReadResponse ¶
func (o *GetPublicConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetVersionInfoOK ¶
type GetVersionInfoOK struct {
Payload *models.GithubComAkuityKargoPkgxVersionVersion
}
GetVersionInfoOK describes a response with status code 200, with default header values.
OK
func NewGetVersionInfoOK ¶
func NewGetVersionInfoOK() *GetVersionInfoOK
NewGetVersionInfoOK creates a GetVersionInfoOK with default headers values
func (*GetVersionInfoOK) Code ¶
func (o *GetVersionInfoOK) Code() int
Code gets the status code for the get version info o k response
func (*GetVersionInfoOK) Error ¶
func (o *GetVersionInfoOK) Error() string
func (*GetVersionInfoOK) GetPayload ¶
func (o *GetVersionInfoOK) GetPayload() *models.GithubComAkuityKargoPkgxVersionVersion
func (*GetVersionInfoOK) IsClientError ¶
func (o *GetVersionInfoOK) IsClientError() bool
IsClientError returns true when this get version info o k response has a 4xx status code
func (*GetVersionInfoOK) IsCode ¶
func (o *GetVersionInfoOK) IsCode(code int) bool
IsCode returns true when this get version info o k response a status code equal to that given
func (*GetVersionInfoOK) IsRedirect ¶
func (o *GetVersionInfoOK) IsRedirect() bool
IsRedirect returns true when this get version info o k response has a 3xx status code
func (*GetVersionInfoOK) IsServerError ¶
func (o *GetVersionInfoOK) IsServerError() bool
IsServerError returns true when this get version info o k response has a 5xx status code
func (*GetVersionInfoOK) IsSuccess ¶
func (o *GetVersionInfoOK) IsSuccess() bool
IsSuccess returns true when this get version info o k response has a 2xx status code
func (*GetVersionInfoOK) String ¶
func (o *GetVersionInfoOK) String() string
type GetVersionInfoParams ¶
type GetVersionInfoParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetVersionInfoParams contains all the parameters to send to the API endpoint
for the get version info operation. Typically these are written to a http.Request.
func NewGetVersionInfoParams ¶
func NewGetVersionInfoParams() *GetVersionInfoParams
NewGetVersionInfoParams creates a new GetVersionInfoParams 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 NewGetVersionInfoParamsWithContext ¶
func NewGetVersionInfoParamsWithContext(ctx context.Context) *GetVersionInfoParams
NewGetVersionInfoParamsWithContext creates a new GetVersionInfoParams object with the ability to set a context for a request.
func NewGetVersionInfoParamsWithHTTPClient ¶
func NewGetVersionInfoParamsWithHTTPClient(client *http.Client) *GetVersionInfoParams
NewGetVersionInfoParamsWithHTTPClient creates a new GetVersionInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetVersionInfoParamsWithTimeout ¶
func NewGetVersionInfoParamsWithTimeout(timeout time.Duration) *GetVersionInfoParams
NewGetVersionInfoParamsWithTimeout creates a new GetVersionInfoParams object with the ability to set a timeout on a request.
func (*GetVersionInfoParams) SetContext ¶
func (o *GetVersionInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get version info params
func (*GetVersionInfoParams) SetDefaults ¶
func (o *GetVersionInfoParams) SetDefaults()
SetDefaults hydrates default values in the get version info params (not the query body).
All values with no default are reset to their zero value.
func (*GetVersionInfoParams) SetHTTPClient ¶
func (o *GetVersionInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get version info params
func (*GetVersionInfoParams) SetTimeout ¶
func (o *GetVersionInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get version info params
func (*GetVersionInfoParams) WithContext ¶
func (o *GetVersionInfoParams) WithContext(ctx context.Context) *GetVersionInfoParams
WithContext adds the context to the get version info params
func (*GetVersionInfoParams) WithDefaults ¶
func (o *GetVersionInfoParams) WithDefaults() *GetVersionInfoParams
WithDefaults hydrates default values in the get version info params (not the query body).
All values with no default are reset to their zero value.
func (*GetVersionInfoParams) WithHTTPClient ¶
func (o *GetVersionInfoParams) WithHTTPClient(client *http.Client) *GetVersionInfoParams
WithHTTPClient adds the HTTPClient to the get version info params
func (*GetVersionInfoParams) WithTimeout ¶
func (o *GetVersionInfoParams) WithTimeout(timeout time.Duration) *GetVersionInfoParams
WithTimeout adds the timeout to the get version info params
func (*GetVersionInfoParams) WriteToRequest ¶
func (o *GetVersionInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVersionInfoReader ¶
type GetVersionInfoReader struct {
// contains filtered or unexported fields
}
GetVersionInfoReader is a Reader for the GetVersionInfo structure.
func (*GetVersionInfoReader) ReadResponse ¶
func (o *GetVersionInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type RefreshClusterConfigOK ¶
type RefreshClusterConfigOK struct {
}
RefreshClusterConfigOK describes a response with status code 200, with default header values.
Success
func NewRefreshClusterConfigOK ¶
func NewRefreshClusterConfigOK() *RefreshClusterConfigOK
NewRefreshClusterConfigOK creates a RefreshClusterConfigOK with default headers values
func (*RefreshClusterConfigOK) Code ¶
func (o *RefreshClusterConfigOK) Code() int
Code gets the status code for the refresh cluster config o k response
func (*RefreshClusterConfigOK) Error ¶
func (o *RefreshClusterConfigOK) Error() string
func (*RefreshClusterConfigOK) IsClientError ¶
func (o *RefreshClusterConfigOK) IsClientError() bool
IsClientError returns true when this refresh cluster config o k response has a 4xx status code
func (*RefreshClusterConfigOK) IsCode ¶
func (o *RefreshClusterConfigOK) IsCode(code int) bool
IsCode returns true when this refresh cluster config o k response a status code equal to that given
func (*RefreshClusterConfigOK) IsRedirect ¶
func (o *RefreshClusterConfigOK) IsRedirect() bool
IsRedirect returns true when this refresh cluster config o k response has a 3xx status code
func (*RefreshClusterConfigOK) IsServerError ¶
func (o *RefreshClusterConfigOK) IsServerError() bool
IsServerError returns true when this refresh cluster config o k response has a 5xx status code
func (*RefreshClusterConfigOK) IsSuccess ¶
func (o *RefreshClusterConfigOK) IsSuccess() bool
IsSuccess returns true when this refresh cluster config o k response has a 2xx status code
func (*RefreshClusterConfigOK) String ¶
func (o *RefreshClusterConfigOK) String() string
type RefreshClusterConfigParams ¶
type RefreshClusterConfigParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RefreshClusterConfigParams contains all the parameters to send to the API endpoint
for the refresh cluster config operation. Typically these are written to a http.Request.
func NewRefreshClusterConfigParams ¶
func NewRefreshClusterConfigParams() *RefreshClusterConfigParams
NewRefreshClusterConfigParams creates a new RefreshClusterConfigParams 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 NewRefreshClusterConfigParamsWithContext ¶
func NewRefreshClusterConfigParamsWithContext(ctx context.Context) *RefreshClusterConfigParams
NewRefreshClusterConfigParamsWithContext creates a new RefreshClusterConfigParams object with the ability to set a context for a request.
func NewRefreshClusterConfigParamsWithHTTPClient ¶
func NewRefreshClusterConfigParamsWithHTTPClient(client *http.Client) *RefreshClusterConfigParams
NewRefreshClusterConfigParamsWithHTTPClient creates a new RefreshClusterConfigParams object with the ability to set a custom HTTPClient for a request.
func NewRefreshClusterConfigParamsWithTimeout ¶
func NewRefreshClusterConfigParamsWithTimeout(timeout time.Duration) *RefreshClusterConfigParams
NewRefreshClusterConfigParamsWithTimeout creates a new RefreshClusterConfigParams object with the ability to set a timeout on a request.
func (*RefreshClusterConfigParams) SetContext ¶
func (o *RefreshClusterConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the refresh cluster config params
func (*RefreshClusterConfigParams) SetDefaults ¶
func (o *RefreshClusterConfigParams) SetDefaults()
SetDefaults hydrates default values in the refresh cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*RefreshClusterConfigParams) SetHTTPClient ¶
func (o *RefreshClusterConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the refresh cluster config params
func (*RefreshClusterConfigParams) SetTimeout ¶
func (o *RefreshClusterConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the refresh cluster config params
func (*RefreshClusterConfigParams) WithContext ¶
func (o *RefreshClusterConfigParams) WithContext(ctx context.Context) *RefreshClusterConfigParams
WithContext adds the context to the refresh cluster config params
func (*RefreshClusterConfigParams) WithDefaults ¶
func (o *RefreshClusterConfigParams) WithDefaults() *RefreshClusterConfigParams
WithDefaults hydrates default values in the refresh cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*RefreshClusterConfigParams) WithHTTPClient ¶
func (o *RefreshClusterConfigParams) WithHTTPClient(client *http.Client) *RefreshClusterConfigParams
WithHTTPClient adds the HTTPClient to the refresh cluster config params
func (*RefreshClusterConfigParams) WithTimeout ¶
func (o *RefreshClusterConfigParams) WithTimeout(timeout time.Duration) *RefreshClusterConfigParams
WithTimeout adds the timeout to the refresh cluster config params
func (*RefreshClusterConfigParams) WriteToRequest ¶
func (o *RefreshClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RefreshClusterConfigReader ¶
type RefreshClusterConfigReader struct {
// contains filtered or unexported fields
}
RefreshClusterConfigReader is a Reader for the RefreshClusterConfig structure.
func (*RefreshClusterConfigReader) ReadResponse ¶
func (o *RefreshClusterConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- admin_login_parameters.go
- admin_login_responses.go
- delete_cluster_config_parameters.go
- delete_cluster_config_responses.go
- get_cluster_config_parameters.go
- get_cluster_config_responses.go
- get_config_parameters.go
- get_config_responses.go
- get_public_config_parameters.go
- get_public_config_responses.go
- get_version_info_parameters.go
- get_version_info_responses.go
- refresh_cluster_config_parameters.go
- refresh_cluster_config_responses.go
- system_client.go