Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateEnterprise(params *CreateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateEnterpriseOK, error)
- func (a *Client) CreateEnterprisePool(params *CreateEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateEnterprisePoolOK, error)
- func (a *Client) DeleteEnterprise(params *DeleteEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) DeleteEnterprisePool(params *DeleteEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) GetEnterprise(params *GetEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetEnterpriseOK, error)
- func (a *Client) GetEnterprisePool(params *GetEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetEnterprisePoolOK, error)
- func (a *Client) ListEnterpriseInstances(params *ListEnterpriseInstancesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListEnterpriseInstancesOK, error)
- func (a *Client) ListEnterprisePools(params *ListEnterprisePoolsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListEnterprisePoolsOK, error)
- func (a *Client) ListEnterprises(params *ListEnterprisesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListEnterprisesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateEnterprise(params *UpdateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateEnterpriseOK, error)
- func (a *Client) UpdateEnterprisePool(params *UpdateEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateEnterprisePoolOK, error)
- type ClientOption
- type ClientService
- type CreateEnterpriseDefault
- func (o *CreateEnterpriseDefault) Code() int
- func (o *CreateEnterpriseDefault) Error() string
- func (o *CreateEnterpriseDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *CreateEnterpriseDefault) IsClientError() bool
- func (o *CreateEnterpriseDefault) IsCode(code int) bool
- func (o *CreateEnterpriseDefault) IsRedirect() bool
- func (o *CreateEnterpriseDefault) IsServerError() bool
- func (o *CreateEnterpriseDefault) IsSuccess() bool
- func (o *CreateEnterpriseDefault) String() string
- type CreateEnterpriseOK
- func (o *CreateEnterpriseOK) Code() int
- func (o *CreateEnterpriseOK) Error() string
- func (o *CreateEnterpriseOK) GetPayload() garm_params.Enterprise
- func (o *CreateEnterpriseOK) IsClientError() bool
- func (o *CreateEnterpriseOK) IsCode(code int) bool
- func (o *CreateEnterpriseOK) IsRedirect() bool
- func (o *CreateEnterpriseOK) IsServerError() bool
- func (o *CreateEnterpriseOK) IsSuccess() bool
- func (o *CreateEnterpriseOK) String() string
- type CreateEnterpriseParams
- func NewCreateEnterpriseParams() *CreateEnterpriseParams
- func NewCreateEnterpriseParamsWithContext(ctx context.Context) *CreateEnterpriseParams
- func NewCreateEnterpriseParamsWithHTTPClient(client *http.Client) *CreateEnterpriseParams
- func NewCreateEnterpriseParamsWithTimeout(timeout time.Duration) *CreateEnterpriseParams
- func (o *CreateEnterpriseParams) SetBody(body garm_params.CreateEnterpriseParams)
- func (o *CreateEnterpriseParams) SetContext(ctx context.Context)
- func (o *CreateEnterpriseParams) SetDefaults()
- func (o *CreateEnterpriseParams) SetHTTPClient(client *http.Client)
- func (o *CreateEnterpriseParams) SetTimeout(timeout time.Duration)
- func (o *CreateEnterpriseParams) WithBody(body garm_params.CreateEnterpriseParams) *CreateEnterpriseParams
- func (o *CreateEnterpriseParams) WithContext(ctx context.Context) *CreateEnterpriseParams
- func (o *CreateEnterpriseParams) WithDefaults() *CreateEnterpriseParams
- func (o *CreateEnterpriseParams) WithHTTPClient(client *http.Client) *CreateEnterpriseParams
- func (o *CreateEnterpriseParams) WithTimeout(timeout time.Duration) *CreateEnterpriseParams
- func (o *CreateEnterpriseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEnterprisePoolDefault
- func (o *CreateEnterprisePoolDefault) Code() int
- func (o *CreateEnterprisePoolDefault) Error() string
- func (o *CreateEnterprisePoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *CreateEnterprisePoolDefault) IsClientError() bool
- func (o *CreateEnterprisePoolDefault) IsCode(code int) bool
- func (o *CreateEnterprisePoolDefault) IsRedirect() bool
- func (o *CreateEnterprisePoolDefault) IsServerError() bool
- func (o *CreateEnterprisePoolDefault) IsSuccess() bool
- func (o *CreateEnterprisePoolDefault) String() string
- type CreateEnterprisePoolOK
- func (o *CreateEnterprisePoolOK) Code() int
- func (o *CreateEnterprisePoolOK) Error() string
- func (o *CreateEnterprisePoolOK) GetPayload() garm_params.Pool
- func (o *CreateEnterprisePoolOK) IsClientError() bool
- func (o *CreateEnterprisePoolOK) IsCode(code int) bool
- func (o *CreateEnterprisePoolOK) IsRedirect() bool
- func (o *CreateEnterprisePoolOK) IsServerError() bool
- func (o *CreateEnterprisePoolOK) IsSuccess() bool
- func (o *CreateEnterprisePoolOK) String() string
- type CreateEnterprisePoolParams
- func NewCreateEnterprisePoolParams() *CreateEnterprisePoolParams
- func NewCreateEnterprisePoolParamsWithContext(ctx context.Context) *CreateEnterprisePoolParams
- func NewCreateEnterprisePoolParamsWithHTTPClient(client *http.Client) *CreateEnterprisePoolParams
- func NewCreateEnterprisePoolParamsWithTimeout(timeout time.Duration) *CreateEnterprisePoolParams
- func (o *CreateEnterprisePoolParams) SetBody(body garm_params.CreatePoolParams)
- func (o *CreateEnterprisePoolParams) SetContext(ctx context.Context)
- func (o *CreateEnterprisePoolParams) SetDefaults()
- func (o *CreateEnterprisePoolParams) SetEnterpriseID(enterpriseID string)
- func (o *CreateEnterprisePoolParams) SetHTTPClient(client *http.Client)
- func (o *CreateEnterprisePoolParams) SetTimeout(timeout time.Duration)
- func (o *CreateEnterprisePoolParams) WithBody(body garm_params.CreatePoolParams) *CreateEnterprisePoolParams
- func (o *CreateEnterprisePoolParams) WithContext(ctx context.Context) *CreateEnterprisePoolParams
- func (o *CreateEnterprisePoolParams) WithDefaults() *CreateEnterprisePoolParams
- func (o *CreateEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *CreateEnterprisePoolParams
- func (o *CreateEnterprisePoolParams) WithHTTPClient(client *http.Client) *CreateEnterprisePoolParams
- func (o *CreateEnterprisePoolParams) WithTimeout(timeout time.Duration) *CreateEnterprisePoolParams
- func (o *CreateEnterprisePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEnterprisePoolReader
- type CreateEnterpriseReader
- type DeleteEnterpriseDefault
- func (o *DeleteEnterpriseDefault) Code() int
- func (o *DeleteEnterpriseDefault) Error() string
- func (o *DeleteEnterpriseDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *DeleteEnterpriseDefault) IsClientError() bool
- func (o *DeleteEnterpriseDefault) IsCode(code int) bool
- func (o *DeleteEnterpriseDefault) IsRedirect() bool
- func (o *DeleteEnterpriseDefault) IsServerError() bool
- func (o *DeleteEnterpriseDefault) IsSuccess() bool
- func (o *DeleteEnterpriseDefault) String() string
- type DeleteEnterpriseParams
- func NewDeleteEnterpriseParams() *DeleteEnterpriseParams
- func NewDeleteEnterpriseParamsWithContext(ctx context.Context) *DeleteEnterpriseParams
- func NewDeleteEnterpriseParamsWithHTTPClient(client *http.Client) *DeleteEnterpriseParams
- func NewDeleteEnterpriseParamsWithTimeout(timeout time.Duration) *DeleteEnterpriseParams
- func (o *DeleteEnterpriseParams) SetContext(ctx context.Context)
- func (o *DeleteEnterpriseParams) SetDefaults()
- func (o *DeleteEnterpriseParams) SetEnterpriseID(enterpriseID string)
- func (o *DeleteEnterpriseParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEnterpriseParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEnterpriseParams) WithContext(ctx context.Context) *DeleteEnterpriseParams
- func (o *DeleteEnterpriseParams) WithDefaults() *DeleteEnterpriseParams
- func (o *DeleteEnterpriseParams) WithEnterpriseID(enterpriseID string) *DeleteEnterpriseParams
- func (o *DeleteEnterpriseParams) WithHTTPClient(client *http.Client) *DeleteEnterpriseParams
- func (o *DeleteEnterpriseParams) WithTimeout(timeout time.Duration) *DeleteEnterpriseParams
- func (o *DeleteEnterpriseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEnterprisePoolDefault
- func (o *DeleteEnterprisePoolDefault) Code() int
- func (o *DeleteEnterprisePoolDefault) Error() string
- func (o *DeleteEnterprisePoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *DeleteEnterprisePoolDefault) IsClientError() bool
- func (o *DeleteEnterprisePoolDefault) IsCode(code int) bool
- func (o *DeleteEnterprisePoolDefault) IsRedirect() bool
- func (o *DeleteEnterprisePoolDefault) IsServerError() bool
- func (o *DeleteEnterprisePoolDefault) IsSuccess() bool
- func (o *DeleteEnterprisePoolDefault) String() string
- type DeleteEnterprisePoolParams
- func NewDeleteEnterprisePoolParams() *DeleteEnterprisePoolParams
- func NewDeleteEnterprisePoolParamsWithContext(ctx context.Context) *DeleteEnterprisePoolParams
- func NewDeleteEnterprisePoolParamsWithHTTPClient(client *http.Client) *DeleteEnterprisePoolParams
- func NewDeleteEnterprisePoolParamsWithTimeout(timeout time.Duration) *DeleteEnterprisePoolParams
- func (o *DeleteEnterprisePoolParams) SetContext(ctx context.Context)
- func (o *DeleteEnterprisePoolParams) SetDefaults()
- func (o *DeleteEnterprisePoolParams) SetEnterpriseID(enterpriseID string)
- func (o *DeleteEnterprisePoolParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEnterprisePoolParams) SetPoolID(poolID string)
- func (o *DeleteEnterprisePoolParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEnterprisePoolParams) WithContext(ctx context.Context) *DeleteEnterprisePoolParams
- func (o *DeleteEnterprisePoolParams) WithDefaults() *DeleteEnterprisePoolParams
- func (o *DeleteEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *DeleteEnterprisePoolParams
- func (o *DeleteEnterprisePoolParams) WithHTTPClient(client *http.Client) *DeleteEnterprisePoolParams
- func (o *DeleteEnterprisePoolParams) WithPoolID(poolID string) *DeleteEnterprisePoolParams
- func (o *DeleteEnterprisePoolParams) WithTimeout(timeout time.Duration) *DeleteEnterprisePoolParams
- func (o *DeleteEnterprisePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEnterprisePoolReader
- type DeleteEnterpriseReader
- type GetEnterpriseDefault
- func (o *GetEnterpriseDefault) Code() int
- func (o *GetEnterpriseDefault) Error() string
- func (o *GetEnterpriseDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *GetEnterpriseDefault) IsClientError() bool
- func (o *GetEnterpriseDefault) IsCode(code int) bool
- func (o *GetEnterpriseDefault) IsRedirect() bool
- func (o *GetEnterpriseDefault) IsServerError() bool
- func (o *GetEnterpriseDefault) IsSuccess() bool
- func (o *GetEnterpriseDefault) String() string
- type GetEnterpriseOK
- func (o *GetEnterpriseOK) Code() int
- func (o *GetEnterpriseOK) Error() string
- func (o *GetEnterpriseOK) GetPayload() garm_params.Enterprise
- func (o *GetEnterpriseOK) IsClientError() bool
- func (o *GetEnterpriseOK) IsCode(code int) bool
- func (o *GetEnterpriseOK) IsRedirect() bool
- func (o *GetEnterpriseOK) IsServerError() bool
- func (o *GetEnterpriseOK) IsSuccess() bool
- func (o *GetEnterpriseOK) String() string
- type GetEnterpriseParams
- func (o *GetEnterpriseParams) SetContext(ctx context.Context)
- func (o *GetEnterpriseParams) SetDefaults()
- func (o *GetEnterpriseParams) SetEnterpriseID(enterpriseID string)
- func (o *GetEnterpriseParams) SetHTTPClient(client *http.Client)
- func (o *GetEnterpriseParams) SetTimeout(timeout time.Duration)
- func (o *GetEnterpriseParams) WithContext(ctx context.Context) *GetEnterpriseParams
- func (o *GetEnterpriseParams) WithDefaults() *GetEnterpriseParams
- func (o *GetEnterpriseParams) WithEnterpriseID(enterpriseID string) *GetEnterpriseParams
- func (o *GetEnterpriseParams) WithHTTPClient(client *http.Client) *GetEnterpriseParams
- func (o *GetEnterpriseParams) WithTimeout(timeout time.Duration) *GetEnterpriseParams
- func (o *GetEnterpriseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnterprisePoolDefault
- func (o *GetEnterprisePoolDefault) Code() int
- func (o *GetEnterprisePoolDefault) Error() string
- func (o *GetEnterprisePoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *GetEnterprisePoolDefault) IsClientError() bool
- func (o *GetEnterprisePoolDefault) IsCode(code int) bool
- func (o *GetEnterprisePoolDefault) IsRedirect() bool
- func (o *GetEnterprisePoolDefault) IsServerError() bool
- func (o *GetEnterprisePoolDefault) IsSuccess() bool
- func (o *GetEnterprisePoolDefault) String() string
- type GetEnterprisePoolOK
- func (o *GetEnterprisePoolOK) Code() int
- func (o *GetEnterprisePoolOK) Error() string
- func (o *GetEnterprisePoolOK) GetPayload() garm_params.Pool
- func (o *GetEnterprisePoolOK) IsClientError() bool
- func (o *GetEnterprisePoolOK) IsCode(code int) bool
- func (o *GetEnterprisePoolOK) IsRedirect() bool
- func (o *GetEnterprisePoolOK) IsServerError() bool
- func (o *GetEnterprisePoolOK) IsSuccess() bool
- func (o *GetEnterprisePoolOK) String() string
- type GetEnterprisePoolParams
- func NewGetEnterprisePoolParams() *GetEnterprisePoolParams
- func NewGetEnterprisePoolParamsWithContext(ctx context.Context) *GetEnterprisePoolParams
- func NewGetEnterprisePoolParamsWithHTTPClient(client *http.Client) *GetEnterprisePoolParams
- func NewGetEnterprisePoolParamsWithTimeout(timeout time.Duration) *GetEnterprisePoolParams
- func (o *GetEnterprisePoolParams) SetContext(ctx context.Context)
- func (o *GetEnterprisePoolParams) SetDefaults()
- func (o *GetEnterprisePoolParams) SetEnterpriseID(enterpriseID string)
- func (o *GetEnterprisePoolParams) SetHTTPClient(client *http.Client)
- func (o *GetEnterprisePoolParams) SetPoolID(poolID string)
- func (o *GetEnterprisePoolParams) SetTimeout(timeout time.Duration)
- func (o *GetEnterprisePoolParams) WithContext(ctx context.Context) *GetEnterprisePoolParams
- func (o *GetEnterprisePoolParams) WithDefaults() *GetEnterprisePoolParams
- func (o *GetEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *GetEnterprisePoolParams
- func (o *GetEnterprisePoolParams) WithHTTPClient(client *http.Client) *GetEnterprisePoolParams
- func (o *GetEnterprisePoolParams) WithPoolID(poolID string) *GetEnterprisePoolParams
- func (o *GetEnterprisePoolParams) WithTimeout(timeout time.Duration) *GetEnterprisePoolParams
- func (o *GetEnterprisePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnterprisePoolReader
- type GetEnterpriseReader
- type ListEnterpriseInstancesDefault
- func (o *ListEnterpriseInstancesDefault) Code() int
- func (o *ListEnterpriseInstancesDefault) Error() string
- func (o *ListEnterpriseInstancesDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListEnterpriseInstancesDefault) IsClientError() bool
- func (o *ListEnterpriseInstancesDefault) IsCode(code int) bool
- func (o *ListEnterpriseInstancesDefault) IsRedirect() bool
- func (o *ListEnterpriseInstancesDefault) IsServerError() bool
- func (o *ListEnterpriseInstancesDefault) IsSuccess() bool
- func (o *ListEnterpriseInstancesDefault) String() string
- type ListEnterpriseInstancesOK
- func (o *ListEnterpriseInstancesOK) Code() int
- func (o *ListEnterpriseInstancesOK) Error() string
- func (o *ListEnterpriseInstancesOK) GetPayload() garm_params.Instances
- func (o *ListEnterpriseInstancesOK) IsClientError() bool
- func (o *ListEnterpriseInstancesOK) IsCode(code int) bool
- func (o *ListEnterpriseInstancesOK) IsRedirect() bool
- func (o *ListEnterpriseInstancesOK) IsServerError() bool
- func (o *ListEnterpriseInstancesOK) IsSuccess() bool
- func (o *ListEnterpriseInstancesOK) String() string
- type ListEnterpriseInstancesParams
- func NewListEnterpriseInstancesParams() *ListEnterpriseInstancesParams
- func NewListEnterpriseInstancesParamsWithContext(ctx context.Context) *ListEnterpriseInstancesParams
- func NewListEnterpriseInstancesParamsWithHTTPClient(client *http.Client) *ListEnterpriseInstancesParams
- func NewListEnterpriseInstancesParamsWithTimeout(timeout time.Duration) *ListEnterpriseInstancesParams
- func (o *ListEnterpriseInstancesParams) SetContext(ctx context.Context)
- func (o *ListEnterpriseInstancesParams) SetDefaults()
- func (o *ListEnterpriseInstancesParams) SetEnterpriseID(enterpriseID string)
- func (o *ListEnterpriseInstancesParams) SetHTTPClient(client *http.Client)
- func (o *ListEnterpriseInstancesParams) SetTimeout(timeout time.Duration)
- func (o *ListEnterpriseInstancesParams) WithContext(ctx context.Context) *ListEnterpriseInstancesParams
- func (o *ListEnterpriseInstancesParams) WithDefaults() *ListEnterpriseInstancesParams
- func (o *ListEnterpriseInstancesParams) WithEnterpriseID(enterpriseID string) *ListEnterpriseInstancesParams
- func (o *ListEnterpriseInstancesParams) WithHTTPClient(client *http.Client) *ListEnterpriseInstancesParams
- func (o *ListEnterpriseInstancesParams) WithTimeout(timeout time.Duration) *ListEnterpriseInstancesParams
- func (o *ListEnterpriseInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListEnterpriseInstancesReader
- type ListEnterprisePoolsDefault
- func (o *ListEnterprisePoolsDefault) Code() int
- func (o *ListEnterprisePoolsDefault) Error() string
- func (o *ListEnterprisePoolsDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListEnterprisePoolsDefault) IsClientError() bool
- func (o *ListEnterprisePoolsDefault) IsCode(code int) bool
- func (o *ListEnterprisePoolsDefault) IsRedirect() bool
- func (o *ListEnterprisePoolsDefault) IsServerError() bool
- func (o *ListEnterprisePoolsDefault) IsSuccess() bool
- func (o *ListEnterprisePoolsDefault) String() string
- type ListEnterprisePoolsOK
- func (o *ListEnterprisePoolsOK) Code() int
- func (o *ListEnterprisePoolsOK) Error() string
- func (o *ListEnterprisePoolsOK) GetPayload() garm_params.Pools
- func (o *ListEnterprisePoolsOK) IsClientError() bool
- func (o *ListEnterprisePoolsOK) IsCode(code int) bool
- func (o *ListEnterprisePoolsOK) IsRedirect() bool
- func (o *ListEnterprisePoolsOK) IsServerError() bool
- func (o *ListEnterprisePoolsOK) IsSuccess() bool
- func (o *ListEnterprisePoolsOK) String() string
- type ListEnterprisePoolsParams
- func NewListEnterprisePoolsParams() *ListEnterprisePoolsParams
- func NewListEnterprisePoolsParamsWithContext(ctx context.Context) *ListEnterprisePoolsParams
- func NewListEnterprisePoolsParamsWithHTTPClient(client *http.Client) *ListEnterprisePoolsParams
- func NewListEnterprisePoolsParamsWithTimeout(timeout time.Duration) *ListEnterprisePoolsParams
- func (o *ListEnterprisePoolsParams) SetContext(ctx context.Context)
- func (o *ListEnterprisePoolsParams) SetDefaults()
- func (o *ListEnterprisePoolsParams) SetEnterpriseID(enterpriseID string)
- func (o *ListEnterprisePoolsParams) SetHTTPClient(client *http.Client)
- func (o *ListEnterprisePoolsParams) SetTimeout(timeout time.Duration)
- func (o *ListEnterprisePoolsParams) WithContext(ctx context.Context) *ListEnterprisePoolsParams
- func (o *ListEnterprisePoolsParams) WithDefaults() *ListEnterprisePoolsParams
- func (o *ListEnterprisePoolsParams) WithEnterpriseID(enterpriseID string) *ListEnterprisePoolsParams
- func (o *ListEnterprisePoolsParams) WithHTTPClient(client *http.Client) *ListEnterprisePoolsParams
- func (o *ListEnterprisePoolsParams) WithTimeout(timeout time.Duration) *ListEnterprisePoolsParams
- func (o *ListEnterprisePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListEnterprisePoolsReader
- type ListEnterprisesDefault
- func (o *ListEnterprisesDefault) Code() int
- func (o *ListEnterprisesDefault) Error() string
- func (o *ListEnterprisesDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListEnterprisesDefault) IsClientError() bool
- func (o *ListEnterprisesDefault) IsCode(code int) bool
- func (o *ListEnterprisesDefault) IsRedirect() bool
- func (o *ListEnterprisesDefault) IsServerError() bool
- func (o *ListEnterprisesDefault) IsSuccess() bool
- func (o *ListEnterprisesDefault) String() string
- type ListEnterprisesOK
- func (o *ListEnterprisesOK) Code() int
- func (o *ListEnterprisesOK) Error() string
- func (o *ListEnterprisesOK) GetPayload() garm_params.Enterprises
- func (o *ListEnterprisesOK) IsClientError() bool
- func (o *ListEnterprisesOK) IsCode(code int) bool
- func (o *ListEnterprisesOK) IsRedirect() bool
- func (o *ListEnterprisesOK) IsServerError() bool
- func (o *ListEnterprisesOK) IsSuccess() bool
- func (o *ListEnterprisesOK) String() string
- type ListEnterprisesParams
- func NewListEnterprisesParams() *ListEnterprisesParams
- func NewListEnterprisesParamsWithContext(ctx context.Context) *ListEnterprisesParams
- func NewListEnterprisesParamsWithHTTPClient(client *http.Client) *ListEnterprisesParams
- func NewListEnterprisesParamsWithTimeout(timeout time.Duration) *ListEnterprisesParams
- func (o *ListEnterprisesParams) SetContext(ctx context.Context)
- func (o *ListEnterprisesParams) SetDefaults()
- func (o *ListEnterprisesParams) SetHTTPClient(client *http.Client)
- func (o *ListEnterprisesParams) SetTimeout(timeout time.Duration)
- func (o *ListEnterprisesParams) WithContext(ctx context.Context) *ListEnterprisesParams
- func (o *ListEnterprisesParams) WithDefaults() *ListEnterprisesParams
- func (o *ListEnterprisesParams) WithHTTPClient(client *http.Client) *ListEnterprisesParams
- func (o *ListEnterprisesParams) WithTimeout(timeout time.Duration) *ListEnterprisesParams
- func (o *ListEnterprisesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListEnterprisesReader
- type UpdateEnterpriseDefault
- func (o *UpdateEnterpriseDefault) Code() int
- func (o *UpdateEnterpriseDefault) Error() string
- func (o *UpdateEnterpriseDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *UpdateEnterpriseDefault) IsClientError() bool
- func (o *UpdateEnterpriseDefault) IsCode(code int) bool
- func (o *UpdateEnterpriseDefault) IsRedirect() bool
- func (o *UpdateEnterpriseDefault) IsServerError() bool
- func (o *UpdateEnterpriseDefault) IsSuccess() bool
- func (o *UpdateEnterpriseDefault) String() string
- type UpdateEnterpriseOK
- func (o *UpdateEnterpriseOK) Code() int
- func (o *UpdateEnterpriseOK) Error() string
- func (o *UpdateEnterpriseOK) GetPayload() garm_params.Enterprise
- func (o *UpdateEnterpriseOK) IsClientError() bool
- func (o *UpdateEnterpriseOK) IsCode(code int) bool
- func (o *UpdateEnterpriseOK) IsRedirect() bool
- func (o *UpdateEnterpriseOK) IsServerError() bool
- func (o *UpdateEnterpriseOK) IsSuccess() bool
- func (o *UpdateEnterpriseOK) String() string
- type UpdateEnterpriseParams
- func NewUpdateEnterpriseParams() *UpdateEnterpriseParams
- func NewUpdateEnterpriseParamsWithContext(ctx context.Context) *UpdateEnterpriseParams
- func NewUpdateEnterpriseParamsWithHTTPClient(client *http.Client) *UpdateEnterpriseParams
- func NewUpdateEnterpriseParamsWithTimeout(timeout time.Duration) *UpdateEnterpriseParams
- func (o *UpdateEnterpriseParams) SetBody(body garm_params.UpdateEntityParams)
- func (o *UpdateEnterpriseParams) SetContext(ctx context.Context)
- func (o *UpdateEnterpriseParams) SetDefaults()
- func (o *UpdateEnterpriseParams) SetEnterpriseID(enterpriseID string)
- func (o *UpdateEnterpriseParams) SetHTTPClient(client *http.Client)
- func (o *UpdateEnterpriseParams) SetTimeout(timeout time.Duration)
- func (o *UpdateEnterpriseParams) WithBody(body garm_params.UpdateEntityParams) *UpdateEnterpriseParams
- func (o *UpdateEnterpriseParams) WithContext(ctx context.Context) *UpdateEnterpriseParams
- func (o *UpdateEnterpriseParams) WithDefaults() *UpdateEnterpriseParams
- func (o *UpdateEnterpriseParams) WithEnterpriseID(enterpriseID string) *UpdateEnterpriseParams
- func (o *UpdateEnterpriseParams) WithHTTPClient(client *http.Client) *UpdateEnterpriseParams
- func (o *UpdateEnterpriseParams) WithTimeout(timeout time.Duration) *UpdateEnterpriseParams
- func (o *UpdateEnterpriseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateEnterprisePoolDefault
- func (o *UpdateEnterprisePoolDefault) Code() int
- func (o *UpdateEnterprisePoolDefault) Error() string
- func (o *UpdateEnterprisePoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *UpdateEnterprisePoolDefault) IsClientError() bool
- func (o *UpdateEnterprisePoolDefault) IsCode(code int) bool
- func (o *UpdateEnterprisePoolDefault) IsRedirect() bool
- func (o *UpdateEnterprisePoolDefault) IsServerError() bool
- func (o *UpdateEnterprisePoolDefault) IsSuccess() bool
- func (o *UpdateEnterprisePoolDefault) String() string
- type UpdateEnterprisePoolOK
- func (o *UpdateEnterprisePoolOK) Code() int
- func (o *UpdateEnterprisePoolOK) Error() string
- func (o *UpdateEnterprisePoolOK) GetPayload() garm_params.Pool
- func (o *UpdateEnterprisePoolOK) IsClientError() bool
- func (o *UpdateEnterprisePoolOK) IsCode(code int) bool
- func (o *UpdateEnterprisePoolOK) IsRedirect() bool
- func (o *UpdateEnterprisePoolOK) IsServerError() bool
- func (o *UpdateEnterprisePoolOK) IsSuccess() bool
- func (o *UpdateEnterprisePoolOK) String() string
- type UpdateEnterprisePoolParams
- func NewUpdateEnterprisePoolParams() *UpdateEnterprisePoolParams
- func NewUpdateEnterprisePoolParamsWithContext(ctx context.Context) *UpdateEnterprisePoolParams
- func NewUpdateEnterprisePoolParamsWithHTTPClient(client *http.Client) *UpdateEnterprisePoolParams
- func NewUpdateEnterprisePoolParamsWithTimeout(timeout time.Duration) *UpdateEnterprisePoolParams
- func (o *UpdateEnterprisePoolParams) SetBody(body garm_params.UpdatePoolParams)
- func (o *UpdateEnterprisePoolParams) SetContext(ctx context.Context)
- func (o *UpdateEnterprisePoolParams) SetDefaults()
- func (o *UpdateEnterprisePoolParams) SetEnterpriseID(enterpriseID string)
- func (o *UpdateEnterprisePoolParams) SetHTTPClient(client *http.Client)
- func (o *UpdateEnterprisePoolParams) SetPoolID(poolID string)
- func (o *UpdateEnterprisePoolParams) SetTimeout(timeout time.Duration)
- func (o *UpdateEnterprisePoolParams) WithBody(body garm_params.UpdatePoolParams) *UpdateEnterprisePoolParams
- func (o *UpdateEnterprisePoolParams) WithContext(ctx context.Context) *UpdateEnterprisePoolParams
- func (o *UpdateEnterprisePoolParams) WithDefaults() *UpdateEnterprisePoolParams
- func (o *UpdateEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *UpdateEnterprisePoolParams
- func (o *UpdateEnterprisePoolParams) WithHTTPClient(client *http.Client) *UpdateEnterprisePoolParams
- func (o *UpdateEnterprisePoolParams) WithPoolID(poolID string) *UpdateEnterprisePoolParams
- func (o *UpdateEnterprisePoolParams) WithTimeout(timeout time.Duration) *UpdateEnterprisePoolParams
- func (o *UpdateEnterprisePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateEnterprisePoolReader
- type UpdateEnterpriseReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for enterprises API
func (*Client) CreateEnterprise ¶
func (a *Client) CreateEnterprise(params *CreateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnterpriseOK, error)
CreateEnterprise creates enterprise with the given parameters
func (*Client) CreateEnterprisePool ¶
func (a *Client) CreateEnterprisePool(params *CreateEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnterprisePoolOK, error)
CreateEnterprisePool creates enterprise pool with the parameters given
func (*Client) DeleteEnterprise ¶
func (a *Client) DeleteEnterprise(params *DeleteEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeleteEnterprise deletes enterprise by ID
func (*Client) DeleteEnterprisePool ¶
func (a *Client) DeleteEnterprisePool(params *DeleteEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeleteEnterprisePool deletes enterprise pool by ID
func (*Client) GetEnterprise ¶
func (a *Client) GetEnterprise(params *GetEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnterpriseOK, error)
GetEnterprise gets enterprise by ID
func (*Client) GetEnterprisePool ¶
func (a *Client) GetEnterprisePool(params *GetEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnterprisePoolOK, error)
GetEnterprisePool gets enterprise pool by ID
func (*Client) ListEnterpriseInstances ¶
func (a *Client) ListEnterpriseInstances(params *ListEnterpriseInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterpriseInstancesOK, error)
ListEnterpriseInstances lists enterprise instances
func (*Client) ListEnterprisePools ¶
func (a *Client) ListEnterprisePools(params *ListEnterprisePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterprisePoolsOK, error)
ListEnterprisePools lists enterprise pools
func (*Client) ListEnterprises ¶
func (a *Client) ListEnterprises(params *ListEnterprisesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterprisesOK, error)
ListEnterprises lists all enterprises
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateEnterprise ¶
func (a *Client) UpdateEnterprise(params *UpdateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnterpriseOK, error)
UpdateEnterprise updates enterprise with the given parameters
func (*Client) UpdateEnterprisePool ¶
func (a *Client) UpdateEnterprisePool(params *UpdateEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnterprisePoolOK, error)
UpdateEnterprisePool updates enterprise pool with the parameters given
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateEnterprise(params *CreateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnterpriseOK, error) CreateEnterprisePool(params *CreateEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnterprisePoolOK, error) DeleteEnterprise(params *DeleteEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error DeleteEnterprisePool(params *DeleteEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error GetEnterprise(params *GetEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnterpriseOK, error) GetEnterprisePool(params *GetEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnterprisePoolOK, error) ListEnterpriseInstances(params *ListEnterpriseInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterpriseInstancesOK, error) ListEnterprisePools(params *ListEnterprisePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterprisePoolsOK, error) ListEnterprises(params *ListEnterprisesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterprisesOK, error) UpdateEnterprise(params *UpdateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnterpriseOK, error) UpdateEnterprisePool(params *UpdateEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnterprisePoolOK, 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 enterprises API client.
type CreateEnterpriseDefault ¶
type CreateEnterpriseDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
CreateEnterpriseDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewCreateEnterpriseDefault ¶
func NewCreateEnterpriseDefault(code int) *CreateEnterpriseDefault
NewCreateEnterpriseDefault creates a CreateEnterpriseDefault with default headers values
func (*CreateEnterpriseDefault) Code ¶
func (o *CreateEnterpriseDefault) Code() int
Code gets the status code for the create enterprise default response
func (*CreateEnterpriseDefault) Error ¶
func (o *CreateEnterpriseDefault) Error() string
func (*CreateEnterpriseDefault) GetPayload ¶
func (o *CreateEnterpriseDefault) GetPayload() apiserver_params.APIErrorResponse
func (*CreateEnterpriseDefault) IsClientError ¶
func (o *CreateEnterpriseDefault) IsClientError() bool
IsClientError returns true when this create enterprise default response has a 4xx status code
func (*CreateEnterpriseDefault) IsCode ¶
func (o *CreateEnterpriseDefault) IsCode(code int) bool
IsCode returns true when this create enterprise default response a status code equal to that given
func (*CreateEnterpriseDefault) IsRedirect ¶
func (o *CreateEnterpriseDefault) IsRedirect() bool
IsRedirect returns true when this create enterprise default response has a 3xx status code
func (*CreateEnterpriseDefault) IsServerError ¶
func (o *CreateEnterpriseDefault) IsServerError() bool
IsServerError returns true when this create enterprise default response has a 5xx status code
func (*CreateEnterpriseDefault) IsSuccess ¶
func (o *CreateEnterpriseDefault) IsSuccess() bool
IsSuccess returns true when this create enterprise default response has a 2xx status code
func (*CreateEnterpriseDefault) String ¶
func (o *CreateEnterpriseDefault) String() string
type CreateEnterpriseOK ¶
type CreateEnterpriseOK struct {
Payload garm_params.Enterprise
}
CreateEnterpriseOK describes a response with status code 200, with default header values.
Enterprise
func NewCreateEnterpriseOK ¶
func NewCreateEnterpriseOK() *CreateEnterpriseOK
NewCreateEnterpriseOK creates a CreateEnterpriseOK with default headers values
func (*CreateEnterpriseOK) Code ¶
func (o *CreateEnterpriseOK) Code() int
Code gets the status code for the create enterprise o k response
func (*CreateEnterpriseOK) Error ¶
func (o *CreateEnterpriseOK) Error() string
func (*CreateEnterpriseOK) GetPayload ¶
func (o *CreateEnterpriseOK) GetPayload() garm_params.Enterprise
func (*CreateEnterpriseOK) IsClientError ¶
func (o *CreateEnterpriseOK) IsClientError() bool
IsClientError returns true when this create enterprise o k response has a 4xx status code
func (*CreateEnterpriseOK) IsCode ¶
func (o *CreateEnterpriseOK) IsCode(code int) bool
IsCode returns true when this create enterprise o k response a status code equal to that given
func (*CreateEnterpriseOK) IsRedirect ¶
func (o *CreateEnterpriseOK) IsRedirect() bool
IsRedirect returns true when this create enterprise o k response has a 3xx status code
func (*CreateEnterpriseOK) IsServerError ¶
func (o *CreateEnterpriseOK) IsServerError() bool
IsServerError returns true when this create enterprise o k response has a 5xx status code
func (*CreateEnterpriseOK) IsSuccess ¶
func (o *CreateEnterpriseOK) IsSuccess() bool
IsSuccess returns true when this create enterprise o k response has a 2xx status code
func (*CreateEnterpriseOK) String ¶
func (o *CreateEnterpriseOK) String() string
type CreateEnterpriseParams ¶
type CreateEnterpriseParams struct { /* Body. Parameters used to create the enterprise. */ Body garm_params.CreateEnterpriseParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateEnterpriseParams contains all the parameters to send to the API endpoint
for the create enterprise operation. Typically these are written to a http.Request.
func NewCreateEnterpriseParams ¶
func NewCreateEnterpriseParams() *CreateEnterpriseParams
NewCreateEnterpriseParams creates a new CreateEnterpriseParams 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 NewCreateEnterpriseParamsWithContext ¶
func NewCreateEnterpriseParamsWithContext(ctx context.Context) *CreateEnterpriseParams
NewCreateEnterpriseParamsWithContext creates a new CreateEnterpriseParams object with the ability to set a context for a request.
func NewCreateEnterpriseParamsWithHTTPClient ¶
func NewCreateEnterpriseParamsWithHTTPClient(client *http.Client) *CreateEnterpriseParams
NewCreateEnterpriseParamsWithHTTPClient creates a new CreateEnterpriseParams object with the ability to set a custom HTTPClient for a request.
func NewCreateEnterpriseParamsWithTimeout ¶
func NewCreateEnterpriseParamsWithTimeout(timeout time.Duration) *CreateEnterpriseParams
NewCreateEnterpriseParamsWithTimeout creates a new CreateEnterpriseParams object with the ability to set a timeout on a request.
func (*CreateEnterpriseParams) SetBody ¶
func (o *CreateEnterpriseParams) SetBody(body garm_params.CreateEnterpriseParams)
SetBody adds the body to the create enterprise params
func (*CreateEnterpriseParams) SetContext ¶
func (o *CreateEnterpriseParams) SetContext(ctx context.Context)
SetContext adds the context to the create enterprise params
func (*CreateEnterpriseParams) SetDefaults ¶
func (o *CreateEnterpriseParams) SetDefaults()
SetDefaults hydrates default values in the create enterprise params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEnterpriseParams) SetHTTPClient ¶
func (o *CreateEnterpriseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create enterprise params
func (*CreateEnterpriseParams) SetTimeout ¶
func (o *CreateEnterpriseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create enterprise params
func (*CreateEnterpriseParams) WithBody ¶
func (o *CreateEnterpriseParams) WithBody(body garm_params.CreateEnterpriseParams) *CreateEnterpriseParams
WithBody adds the body to the create enterprise params
func (*CreateEnterpriseParams) WithContext ¶
func (o *CreateEnterpriseParams) WithContext(ctx context.Context) *CreateEnterpriseParams
WithContext adds the context to the create enterprise params
func (*CreateEnterpriseParams) WithDefaults ¶
func (o *CreateEnterpriseParams) WithDefaults() *CreateEnterpriseParams
WithDefaults hydrates default values in the create enterprise params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEnterpriseParams) WithHTTPClient ¶
func (o *CreateEnterpriseParams) WithHTTPClient(client *http.Client) *CreateEnterpriseParams
WithHTTPClient adds the HTTPClient to the create enterprise params
func (*CreateEnterpriseParams) WithTimeout ¶
func (o *CreateEnterpriseParams) WithTimeout(timeout time.Duration) *CreateEnterpriseParams
WithTimeout adds the timeout to the create enterprise params
func (*CreateEnterpriseParams) WriteToRequest ¶
func (o *CreateEnterpriseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEnterprisePoolDefault ¶
type CreateEnterprisePoolDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
CreateEnterprisePoolDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewCreateEnterprisePoolDefault ¶
func NewCreateEnterprisePoolDefault(code int) *CreateEnterprisePoolDefault
NewCreateEnterprisePoolDefault creates a CreateEnterprisePoolDefault with default headers values
func (*CreateEnterprisePoolDefault) Code ¶
func (o *CreateEnterprisePoolDefault) Code() int
Code gets the status code for the create enterprise pool default response
func (*CreateEnterprisePoolDefault) Error ¶
func (o *CreateEnterprisePoolDefault) Error() string
func (*CreateEnterprisePoolDefault) GetPayload ¶
func (o *CreateEnterprisePoolDefault) GetPayload() apiserver_params.APIErrorResponse
func (*CreateEnterprisePoolDefault) IsClientError ¶
func (o *CreateEnterprisePoolDefault) IsClientError() bool
IsClientError returns true when this create enterprise pool default response has a 4xx status code
func (*CreateEnterprisePoolDefault) IsCode ¶
func (o *CreateEnterprisePoolDefault) IsCode(code int) bool
IsCode returns true when this create enterprise pool default response a status code equal to that given
func (*CreateEnterprisePoolDefault) IsRedirect ¶
func (o *CreateEnterprisePoolDefault) IsRedirect() bool
IsRedirect returns true when this create enterprise pool default response has a 3xx status code
func (*CreateEnterprisePoolDefault) IsServerError ¶
func (o *CreateEnterprisePoolDefault) IsServerError() bool
IsServerError returns true when this create enterprise pool default response has a 5xx status code
func (*CreateEnterprisePoolDefault) IsSuccess ¶
func (o *CreateEnterprisePoolDefault) IsSuccess() bool
IsSuccess returns true when this create enterprise pool default response has a 2xx status code
func (*CreateEnterprisePoolDefault) String ¶
func (o *CreateEnterprisePoolDefault) String() string
type CreateEnterprisePoolOK ¶
type CreateEnterprisePoolOK struct {
Payload garm_params.Pool
}
CreateEnterprisePoolOK describes a response with status code 200, with default header values.
Pool
func NewCreateEnterprisePoolOK ¶
func NewCreateEnterprisePoolOK() *CreateEnterprisePoolOK
NewCreateEnterprisePoolOK creates a CreateEnterprisePoolOK with default headers values
func (*CreateEnterprisePoolOK) Code ¶
func (o *CreateEnterprisePoolOK) Code() int
Code gets the status code for the create enterprise pool o k response
func (*CreateEnterprisePoolOK) Error ¶
func (o *CreateEnterprisePoolOK) Error() string
func (*CreateEnterprisePoolOK) GetPayload ¶
func (o *CreateEnterprisePoolOK) GetPayload() garm_params.Pool
func (*CreateEnterprisePoolOK) IsClientError ¶
func (o *CreateEnterprisePoolOK) IsClientError() bool
IsClientError returns true when this create enterprise pool o k response has a 4xx status code
func (*CreateEnterprisePoolOK) IsCode ¶
func (o *CreateEnterprisePoolOK) IsCode(code int) bool
IsCode returns true when this create enterprise pool o k response a status code equal to that given
func (*CreateEnterprisePoolOK) IsRedirect ¶
func (o *CreateEnterprisePoolOK) IsRedirect() bool
IsRedirect returns true when this create enterprise pool o k response has a 3xx status code
func (*CreateEnterprisePoolOK) IsServerError ¶
func (o *CreateEnterprisePoolOK) IsServerError() bool
IsServerError returns true when this create enterprise pool o k response has a 5xx status code
func (*CreateEnterprisePoolOK) IsSuccess ¶
func (o *CreateEnterprisePoolOK) IsSuccess() bool
IsSuccess returns true when this create enterprise pool o k response has a 2xx status code
func (*CreateEnterprisePoolOK) String ¶
func (o *CreateEnterprisePoolOK) String() string
type CreateEnterprisePoolParams ¶
type CreateEnterprisePoolParams struct { /* Body. Parameters used when creating the enterprise pool. */ Body garm_params.CreatePoolParams /* EnterpriseID. Enterprise ID. */ EnterpriseID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateEnterprisePoolParams contains all the parameters to send to the API endpoint
for the create enterprise pool operation. Typically these are written to a http.Request.
func NewCreateEnterprisePoolParams ¶
func NewCreateEnterprisePoolParams() *CreateEnterprisePoolParams
NewCreateEnterprisePoolParams creates a new CreateEnterprisePoolParams 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 NewCreateEnterprisePoolParamsWithContext ¶
func NewCreateEnterprisePoolParamsWithContext(ctx context.Context) *CreateEnterprisePoolParams
NewCreateEnterprisePoolParamsWithContext creates a new CreateEnterprisePoolParams object with the ability to set a context for a request.
func NewCreateEnterprisePoolParamsWithHTTPClient ¶
func NewCreateEnterprisePoolParamsWithHTTPClient(client *http.Client) *CreateEnterprisePoolParams
NewCreateEnterprisePoolParamsWithHTTPClient creates a new CreateEnterprisePoolParams object with the ability to set a custom HTTPClient for a request.
func NewCreateEnterprisePoolParamsWithTimeout ¶
func NewCreateEnterprisePoolParamsWithTimeout(timeout time.Duration) *CreateEnterprisePoolParams
NewCreateEnterprisePoolParamsWithTimeout creates a new CreateEnterprisePoolParams object with the ability to set a timeout on a request.
func (*CreateEnterprisePoolParams) SetBody ¶
func (o *CreateEnterprisePoolParams) SetBody(body garm_params.CreatePoolParams)
SetBody adds the body to the create enterprise pool params
func (*CreateEnterprisePoolParams) SetContext ¶
func (o *CreateEnterprisePoolParams) SetContext(ctx context.Context)
SetContext adds the context to the create enterprise pool params
func (*CreateEnterprisePoolParams) SetDefaults ¶
func (o *CreateEnterprisePoolParams) SetDefaults()
SetDefaults hydrates default values in the create enterprise pool params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEnterprisePoolParams) SetEnterpriseID ¶
func (o *CreateEnterprisePoolParams) SetEnterpriseID(enterpriseID string)
SetEnterpriseID adds the enterpriseId to the create enterprise pool params
func (*CreateEnterprisePoolParams) SetHTTPClient ¶
func (o *CreateEnterprisePoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create enterprise pool params
func (*CreateEnterprisePoolParams) SetTimeout ¶
func (o *CreateEnterprisePoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create enterprise pool params
func (*CreateEnterprisePoolParams) WithBody ¶
func (o *CreateEnterprisePoolParams) WithBody(body garm_params.CreatePoolParams) *CreateEnterprisePoolParams
WithBody adds the body to the create enterprise pool params
func (*CreateEnterprisePoolParams) WithContext ¶
func (o *CreateEnterprisePoolParams) WithContext(ctx context.Context) *CreateEnterprisePoolParams
WithContext adds the context to the create enterprise pool params
func (*CreateEnterprisePoolParams) WithDefaults ¶
func (o *CreateEnterprisePoolParams) WithDefaults() *CreateEnterprisePoolParams
WithDefaults hydrates default values in the create enterprise pool params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEnterprisePoolParams) WithEnterpriseID ¶
func (o *CreateEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *CreateEnterprisePoolParams
WithEnterpriseID adds the enterpriseID to the create enterprise pool params
func (*CreateEnterprisePoolParams) WithHTTPClient ¶
func (o *CreateEnterprisePoolParams) WithHTTPClient(client *http.Client) *CreateEnterprisePoolParams
WithHTTPClient adds the HTTPClient to the create enterprise pool params
func (*CreateEnterprisePoolParams) WithTimeout ¶
func (o *CreateEnterprisePoolParams) WithTimeout(timeout time.Duration) *CreateEnterprisePoolParams
WithTimeout adds the timeout to the create enterprise pool params
func (*CreateEnterprisePoolParams) WriteToRequest ¶
func (o *CreateEnterprisePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEnterprisePoolReader ¶
type CreateEnterprisePoolReader struct {
// contains filtered or unexported fields
}
CreateEnterprisePoolReader is a Reader for the CreateEnterprisePool structure.
func (*CreateEnterprisePoolReader) ReadResponse ¶
func (o *CreateEnterprisePoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateEnterpriseReader ¶
type CreateEnterpriseReader struct {
// contains filtered or unexported fields
}
CreateEnterpriseReader is a Reader for the CreateEnterprise structure.
func (*CreateEnterpriseReader) ReadResponse ¶
func (o *CreateEnterpriseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEnterpriseDefault ¶
type DeleteEnterpriseDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
DeleteEnterpriseDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewDeleteEnterpriseDefault ¶
func NewDeleteEnterpriseDefault(code int) *DeleteEnterpriseDefault
NewDeleteEnterpriseDefault creates a DeleteEnterpriseDefault with default headers values
func (*DeleteEnterpriseDefault) Code ¶
func (o *DeleteEnterpriseDefault) Code() int
Code gets the status code for the delete enterprise default response
func (*DeleteEnterpriseDefault) Error ¶
func (o *DeleteEnterpriseDefault) Error() string
func (*DeleteEnterpriseDefault) GetPayload ¶
func (o *DeleteEnterpriseDefault) GetPayload() apiserver_params.APIErrorResponse
func (*DeleteEnterpriseDefault) IsClientError ¶
func (o *DeleteEnterpriseDefault) IsClientError() bool
IsClientError returns true when this delete enterprise default response has a 4xx status code
func (*DeleteEnterpriseDefault) IsCode ¶
func (o *DeleteEnterpriseDefault) IsCode(code int) bool
IsCode returns true when this delete enterprise default response a status code equal to that given
func (*DeleteEnterpriseDefault) IsRedirect ¶
func (o *DeleteEnterpriseDefault) IsRedirect() bool
IsRedirect returns true when this delete enterprise default response has a 3xx status code
func (*DeleteEnterpriseDefault) IsServerError ¶
func (o *DeleteEnterpriseDefault) IsServerError() bool
IsServerError returns true when this delete enterprise default response has a 5xx status code
func (*DeleteEnterpriseDefault) IsSuccess ¶
func (o *DeleteEnterpriseDefault) IsSuccess() bool
IsSuccess returns true when this delete enterprise default response has a 2xx status code
func (*DeleteEnterpriseDefault) String ¶
func (o *DeleteEnterpriseDefault) String() string
type DeleteEnterpriseParams ¶
type DeleteEnterpriseParams struct { /* EnterpriseID. ID of the enterprise to delete. */ EnterpriseID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEnterpriseParams contains all the parameters to send to the API endpoint
for the delete enterprise operation. Typically these are written to a http.Request.
func NewDeleteEnterpriseParams ¶
func NewDeleteEnterpriseParams() *DeleteEnterpriseParams
NewDeleteEnterpriseParams creates a new DeleteEnterpriseParams 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 NewDeleteEnterpriseParamsWithContext ¶
func NewDeleteEnterpriseParamsWithContext(ctx context.Context) *DeleteEnterpriseParams
NewDeleteEnterpriseParamsWithContext creates a new DeleteEnterpriseParams object with the ability to set a context for a request.
func NewDeleteEnterpriseParamsWithHTTPClient ¶
func NewDeleteEnterpriseParamsWithHTTPClient(client *http.Client) *DeleteEnterpriseParams
NewDeleteEnterpriseParamsWithHTTPClient creates a new DeleteEnterpriseParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteEnterpriseParamsWithTimeout ¶
func NewDeleteEnterpriseParamsWithTimeout(timeout time.Duration) *DeleteEnterpriseParams
NewDeleteEnterpriseParamsWithTimeout creates a new DeleteEnterpriseParams object with the ability to set a timeout on a request.
func (*DeleteEnterpriseParams) SetContext ¶
func (o *DeleteEnterpriseParams) SetContext(ctx context.Context)
SetContext adds the context to the delete enterprise params
func (*DeleteEnterpriseParams) SetDefaults ¶
func (o *DeleteEnterpriseParams) SetDefaults()
SetDefaults hydrates default values in the delete enterprise params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEnterpriseParams) SetEnterpriseID ¶
func (o *DeleteEnterpriseParams) SetEnterpriseID(enterpriseID string)
SetEnterpriseID adds the enterpriseId to the delete enterprise params
func (*DeleteEnterpriseParams) SetHTTPClient ¶
func (o *DeleteEnterpriseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete enterprise params
func (*DeleteEnterpriseParams) SetTimeout ¶
func (o *DeleteEnterpriseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete enterprise params
func (*DeleteEnterpriseParams) WithContext ¶
func (o *DeleteEnterpriseParams) WithContext(ctx context.Context) *DeleteEnterpriseParams
WithContext adds the context to the delete enterprise params
func (*DeleteEnterpriseParams) WithDefaults ¶
func (o *DeleteEnterpriseParams) WithDefaults() *DeleteEnterpriseParams
WithDefaults hydrates default values in the delete enterprise params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEnterpriseParams) WithEnterpriseID ¶
func (o *DeleteEnterpriseParams) WithEnterpriseID(enterpriseID string) *DeleteEnterpriseParams
WithEnterpriseID adds the enterpriseID to the delete enterprise params
func (*DeleteEnterpriseParams) WithHTTPClient ¶
func (o *DeleteEnterpriseParams) WithHTTPClient(client *http.Client) *DeleteEnterpriseParams
WithHTTPClient adds the HTTPClient to the delete enterprise params
func (*DeleteEnterpriseParams) WithTimeout ¶
func (o *DeleteEnterpriseParams) WithTimeout(timeout time.Duration) *DeleteEnterpriseParams
WithTimeout adds the timeout to the delete enterprise params
func (*DeleteEnterpriseParams) WriteToRequest ¶
func (o *DeleteEnterpriseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEnterprisePoolDefault ¶
type DeleteEnterprisePoolDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
DeleteEnterprisePoolDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewDeleteEnterprisePoolDefault ¶
func NewDeleteEnterprisePoolDefault(code int) *DeleteEnterprisePoolDefault
NewDeleteEnterprisePoolDefault creates a DeleteEnterprisePoolDefault with default headers values
func (*DeleteEnterprisePoolDefault) Code ¶
func (o *DeleteEnterprisePoolDefault) Code() int
Code gets the status code for the delete enterprise pool default response
func (*DeleteEnterprisePoolDefault) Error ¶
func (o *DeleteEnterprisePoolDefault) Error() string
func (*DeleteEnterprisePoolDefault) GetPayload ¶
func (o *DeleteEnterprisePoolDefault) GetPayload() apiserver_params.APIErrorResponse
func (*DeleteEnterprisePoolDefault) IsClientError ¶
func (o *DeleteEnterprisePoolDefault) IsClientError() bool
IsClientError returns true when this delete enterprise pool default response has a 4xx status code
func (*DeleteEnterprisePoolDefault) IsCode ¶
func (o *DeleteEnterprisePoolDefault) IsCode(code int) bool
IsCode returns true when this delete enterprise pool default response a status code equal to that given
func (*DeleteEnterprisePoolDefault) IsRedirect ¶
func (o *DeleteEnterprisePoolDefault) IsRedirect() bool
IsRedirect returns true when this delete enterprise pool default response has a 3xx status code
func (*DeleteEnterprisePoolDefault) IsServerError ¶
func (o *DeleteEnterprisePoolDefault) IsServerError() bool
IsServerError returns true when this delete enterprise pool default response has a 5xx status code
func (*DeleteEnterprisePoolDefault) IsSuccess ¶
func (o *DeleteEnterprisePoolDefault) IsSuccess() bool
IsSuccess returns true when this delete enterprise pool default response has a 2xx status code
func (*DeleteEnterprisePoolDefault) String ¶
func (o *DeleteEnterprisePoolDefault) String() string
type DeleteEnterprisePoolParams ¶
type DeleteEnterprisePoolParams struct { /* EnterpriseID. Enterprise ID. */ EnterpriseID string /* PoolID. ID of the enterprise pool to delete. */ PoolID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEnterprisePoolParams contains all the parameters to send to the API endpoint
for the delete enterprise pool operation. Typically these are written to a http.Request.
func NewDeleteEnterprisePoolParams ¶
func NewDeleteEnterprisePoolParams() *DeleteEnterprisePoolParams
NewDeleteEnterprisePoolParams creates a new DeleteEnterprisePoolParams 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 NewDeleteEnterprisePoolParamsWithContext ¶
func NewDeleteEnterprisePoolParamsWithContext(ctx context.Context) *DeleteEnterprisePoolParams
NewDeleteEnterprisePoolParamsWithContext creates a new DeleteEnterprisePoolParams object with the ability to set a context for a request.
func NewDeleteEnterprisePoolParamsWithHTTPClient ¶
func NewDeleteEnterprisePoolParamsWithHTTPClient(client *http.Client) *DeleteEnterprisePoolParams
NewDeleteEnterprisePoolParamsWithHTTPClient creates a new DeleteEnterprisePoolParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteEnterprisePoolParamsWithTimeout ¶
func NewDeleteEnterprisePoolParamsWithTimeout(timeout time.Duration) *DeleteEnterprisePoolParams
NewDeleteEnterprisePoolParamsWithTimeout creates a new DeleteEnterprisePoolParams object with the ability to set a timeout on a request.
func (*DeleteEnterprisePoolParams) SetContext ¶
func (o *DeleteEnterprisePoolParams) SetContext(ctx context.Context)
SetContext adds the context to the delete enterprise pool params
func (*DeleteEnterprisePoolParams) SetDefaults ¶
func (o *DeleteEnterprisePoolParams) SetDefaults()
SetDefaults hydrates default values in the delete enterprise pool params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEnterprisePoolParams) SetEnterpriseID ¶
func (o *DeleteEnterprisePoolParams) SetEnterpriseID(enterpriseID string)
SetEnterpriseID adds the enterpriseId to the delete enterprise pool params
func (*DeleteEnterprisePoolParams) SetHTTPClient ¶
func (o *DeleteEnterprisePoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete enterprise pool params
func (*DeleteEnterprisePoolParams) SetPoolID ¶
func (o *DeleteEnterprisePoolParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the delete enterprise pool params
func (*DeleteEnterprisePoolParams) SetTimeout ¶
func (o *DeleteEnterprisePoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete enterprise pool params
func (*DeleteEnterprisePoolParams) WithContext ¶
func (o *DeleteEnterprisePoolParams) WithContext(ctx context.Context) *DeleteEnterprisePoolParams
WithContext adds the context to the delete enterprise pool params
func (*DeleteEnterprisePoolParams) WithDefaults ¶
func (o *DeleteEnterprisePoolParams) WithDefaults() *DeleteEnterprisePoolParams
WithDefaults hydrates default values in the delete enterprise pool params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEnterprisePoolParams) WithEnterpriseID ¶
func (o *DeleteEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *DeleteEnterprisePoolParams
WithEnterpriseID adds the enterpriseID to the delete enterprise pool params
func (*DeleteEnterprisePoolParams) WithHTTPClient ¶
func (o *DeleteEnterprisePoolParams) WithHTTPClient(client *http.Client) *DeleteEnterprisePoolParams
WithHTTPClient adds the HTTPClient to the delete enterprise pool params
func (*DeleteEnterprisePoolParams) WithPoolID ¶
func (o *DeleteEnterprisePoolParams) WithPoolID(poolID string) *DeleteEnterprisePoolParams
WithPoolID adds the poolID to the delete enterprise pool params
func (*DeleteEnterprisePoolParams) WithTimeout ¶
func (o *DeleteEnterprisePoolParams) WithTimeout(timeout time.Duration) *DeleteEnterprisePoolParams
WithTimeout adds the timeout to the delete enterprise pool params
func (*DeleteEnterprisePoolParams) WriteToRequest ¶
func (o *DeleteEnterprisePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEnterprisePoolReader ¶
type DeleteEnterprisePoolReader struct {
// contains filtered or unexported fields
}
DeleteEnterprisePoolReader is a Reader for the DeleteEnterprisePool structure.
func (*DeleteEnterprisePoolReader) ReadResponse ¶
func (o *DeleteEnterprisePoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEnterpriseReader ¶
type DeleteEnterpriseReader struct {
// contains filtered or unexported fields
}
DeleteEnterpriseReader is a Reader for the DeleteEnterprise structure.
func (*DeleteEnterpriseReader) ReadResponse ¶
func (o *DeleteEnterpriseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEnterpriseDefault ¶
type GetEnterpriseDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
GetEnterpriseDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewGetEnterpriseDefault ¶
func NewGetEnterpriseDefault(code int) *GetEnterpriseDefault
NewGetEnterpriseDefault creates a GetEnterpriseDefault with default headers values
func (*GetEnterpriseDefault) Code ¶
func (o *GetEnterpriseDefault) Code() int
Code gets the status code for the get enterprise default response
func (*GetEnterpriseDefault) Error ¶
func (o *GetEnterpriseDefault) Error() string
func (*GetEnterpriseDefault) GetPayload ¶
func (o *GetEnterpriseDefault) GetPayload() apiserver_params.APIErrorResponse
func (*GetEnterpriseDefault) IsClientError ¶
func (o *GetEnterpriseDefault) IsClientError() bool
IsClientError returns true when this get enterprise default response has a 4xx status code
func (*GetEnterpriseDefault) IsCode ¶
func (o *GetEnterpriseDefault) IsCode(code int) bool
IsCode returns true when this get enterprise default response a status code equal to that given
func (*GetEnterpriseDefault) IsRedirect ¶
func (o *GetEnterpriseDefault) IsRedirect() bool
IsRedirect returns true when this get enterprise default response has a 3xx status code
func (*GetEnterpriseDefault) IsServerError ¶
func (o *GetEnterpriseDefault) IsServerError() bool
IsServerError returns true when this get enterprise default response has a 5xx status code
func (*GetEnterpriseDefault) IsSuccess ¶
func (o *GetEnterpriseDefault) IsSuccess() bool
IsSuccess returns true when this get enterprise default response has a 2xx status code
func (*GetEnterpriseDefault) String ¶
func (o *GetEnterpriseDefault) String() string
type GetEnterpriseOK ¶
type GetEnterpriseOK struct {
Payload garm_params.Enterprise
}
GetEnterpriseOK describes a response with status code 200, with default header values.
Enterprise
func NewGetEnterpriseOK ¶
func NewGetEnterpriseOK() *GetEnterpriseOK
NewGetEnterpriseOK creates a GetEnterpriseOK with default headers values
func (*GetEnterpriseOK) Code ¶
func (o *GetEnterpriseOK) Code() int
Code gets the status code for the get enterprise o k response
func (*GetEnterpriseOK) Error ¶
func (o *GetEnterpriseOK) Error() string
func (*GetEnterpriseOK) GetPayload ¶
func (o *GetEnterpriseOK) GetPayload() garm_params.Enterprise
func (*GetEnterpriseOK) IsClientError ¶
func (o *GetEnterpriseOK) IsClientError() bool
IsClientError returns true when this get enterprise o k response has a 4xx status code
func (*GetEnterpriseOK) IsCode ¶
func (o *GetEnterpriseOK) IsCode(code int) bool
IsCode returns true when this get enterprise o k response a status code equal to that given
func (*GetEnterpriseOK) IsRedirect ¶
func (o *GetEnterpriseOK) IsRedirect() bool
IsRedirect returns true when this get enterprise o k response has a 3xx status code
func (*GetEnterpriseOK) IsServerError ¶
func (o *GetEnterpriseOK) IsServerError() bool
IsServerError returns true when this get enterprise o k response has a 5xx status code
func (*GetEnterpriseOK) IsSuccess ¶
func (o *GetEnterpriseOK) IsSuccess() bool
IsSuccess returns true when this get enterprise o k response has a 2xx status code
func (*GetEnterpriseOK) String ¶
func (o *GetEnterpriseOK) String() string
type GetEnterpriseParams ¶
type GetEnterpriseParams struct { /* EnterpriseID. The ID of the enterprise to fetch. */ EnterpriseID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEnterpriseParams contains all the parameters to send to the API endpoint
for the get enterprise operation. Typically these are written to a http.Request.
func NewGetEnterpriseParams ¶
func NewGetEnterpriseParams() *GetEnterpriseParams
NewGetEnterpriseParams creates a new GetEnterpriseParams 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 NewGetEnterpriseParamsWithContext ¶
func NewGetEnterpriseParamsWithContext(ctx context.Context) *GetEnterpriseParams
NewGetEnterpriseParamsWithContext creates a new GetEnterpriseParams object with the ability to set a context for a request.
func NewGetEnterpriseParamsWithHTTPClient ¶
func NewGetEnterpriseParamsWithHTTPClient(client *http.Client) *GetEnterpriseParams
NewGetEnterpriseParamsWithHTTPClient creates a new GetEnterpriseParams object with the ability to set a custom HTTPClient for a request.
func NewGetEnterpriseParamsWithTimeout ¶
func NewGetEnterpriseParamsWithTimeout(timeout time.Duration) *GetEnterpriseParams
NewGetEnterpriseParamsWithTimeout creates a new GetEnterpriseParams object with the ability to set a timeout on a request.
func (*GetEnterpriseParams) SetContext ¶
func (o *GetEnterpriseParams) SetContext(ctx context.Context)
SetContext adds the context to the get enterprise params
func (*GetEnterpriseParams) SetDefaults ¶
func (o *GetEnterpriseParams) SetDefaults()
SetDefaults hydrates default values in the get enterprise params (not the query body).
All values with no default are reset to their zero value.
func (*GetEnterpriseParams) SetEnterpriseID ¶
func (o *GetEnterpriseParams) SetEnterpriseID(enterpriseID string)
SetEnterpriseID adds the enterpriseId to the get enterprise params
func (*GetEnterpriseParams) SetHTTPClient ¶
func (o *GetEnterpriseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get enterprise params
func (*GetEnterpriseParams) SetTimeout ¶
func (o *GetEnterpriseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get enterprise params
func (*GetEnterpriseParams) WithContext ¶
func (o *GetEnterpriseParams) WithContext(ctx context.Context) *GetEnterpriseParams
WithContext adds the context to the get enterprise params
func (*GetEnterpriseParams) WithDefaults ¶
func (o *GetEnterpriseParams) WithDefaults() *GetEnterpriseParams
WithDefaults hydrates default values in the get enterprise params (not the query body).
All values with no default are reset to their zero value.
func (*GetEnterpriseParams) WithEnterpriseID ¶
func (o *GetEnterpriseParams) WithEnterpriseID(enterpriseID string) *GetEnterpriseParams
WithEnterpriseID adds the enterpriseID to the get enterprise params
func (*GetEnterpriseParams) WithHTTPClient ¶
func (o *GetEnterpriseParams) WithHTTPClient(client *http.Client) *GetEnterpriseParams
WithHTTPClient adds the HTTPClient to the get enterprise params
func (*GetEnterpriseParams) WithTimeout ¶
func (o *GetEnterpriseParams) WithTimeout(timeout time.Duration) *GetEnterpriseParams
WithTimeout adds the timeout to the get enterprise params
func (*GetEnterpriseParams) WriteToRequest ¶
func (o *GetEnterpriseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEnterprisePoolDefault ¶
type GetEnterprisePoolDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
GetEnterprisePoolDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewGetEnterprisePoolDefault ¶
func NewGetEnterprisePoolDefault(code int) *GetEnterprisePoolDefault
NewGetEnterprisePoolDefault creates a GetEnterprisePoolDefault with default headers values
func (*GetEnterprisePoolDefault) Code ¶
func (o *GetEnterprisePoolDefault) Code() int
Code gets the status code for the get enterprise pool default response
func (*GetEnterprisePoolDefault) Error ¶
func (o *GetEnterprisePoolDefault) Error() string
func (*GetEnterprisePoolDefault) GetPayload ¶
func (o *GetEnterprisePoolDefault) GetPayload() apiserver_params.APIErrorResponse
func (*GetEnterprisePoolDefault) IsClientError ¶
func (o *GetEnterprisePoolDefault) IsClientError() bool
IsClientError returns true when this get enterprise pool default response has a 4xx status code
func (*GetEnterprisePoolDefault) IsCode ¶
func (o *GetEnterprisePoolDefault) IsCode(code int) bool
IsCode returns true when this get enterprise pool default response a status code equal to that given
func (*GetEnterprisePoolDefault) IsRedirect ¶
func (o *GetEnterprisePoolDefault) IsRedirect() bool
IsRedirect returns true when this get enterprise pool default response has a 3xx status code
func (*GetEnterprisePoolDefault) IsServerError ¶
func (o *GetEnterprisePoolDefault) IsServerError() bool
IsServerError returns true when this get enterprise pool default response has a 5xx status code
func (*GetEnterprisePoolDefault) IsSuccess ¶
func (o *GetEnterprisePoolDefault) IsSuccess() bool
IsSuccess returns true when this get enterprise pool default response has a 2xx status code
func (*GetEnterprisePoolDefault) String ¶
func (o *GetEnterprisePoolDefault) String() string
type GetEnterprisePoolOK ¶
type GetEnterprisePoolOK struct {
Payload garm_params.Pool
}
GetEnterprisePoolOK describes a response with status code 200, with default header values.
Pool
func NewGetEnterprisePoolOK ¶
func NewGetEnterprisePoolOK() *GetEnterprisePoolOK
NewGetEnterprisePoolOK creates a GetEnterprisePoolOK with default headers values
func (*GetEnterprisePoolOK) Code ¶
func (o *GetEnterprisePoolOK) Code() int
Code gets the status code for the get enterprise pool o k response
func (*GetEnterprisePoolOK) Error ¶
func (o *GetEnterprisePoolOK) Error() string
func (*GetEnterprisePoolOK) GetPayload ¶
func (o *GetEnterprisePoolOK) GetPayload() garm_params.Pool
func (*GetEnterprisePoolOK) IsClientError ¶
func (o *GetEnterprisePoolOK) IsClientError() bool
IsClientError returns true when this get enterprise pool o k response has a 4xx status code
func (*GetEnterprisePoolOK) IsCode ¶
func (o *GetEnterprisePoolOK) IsCode(code int) bool
IsCode returns true when this get enterprise pool o k response a status code equal to that given
func (*GetEnterprisePoolOK) IsRedirect ¶
func (o *GetEnterprisePoolOK) IsRedirect() bool
IsRedirect returns true when this get enterprise pool o k response has a 3xx status code
func (*GetEnterprisePoolOK) IsServerError ¶
func (o *GetEnterprisePoolOK) IsServerError() bool
IsServerError returns true when this get enterprise pool o k response has a 5xx status code
func (*GetEnterprisePoolOK) IsSuccess ¶
func (o *GetEnterprisePoolOK) IsSuccess() bool
IsSuccess returns true when this get enterprise pool o k response has a 2xx status code
func (*GetEnterprisePoolOK) String ¶
func (o *GetEnterprisePoolOK) String() string
type GetEnterprisePoolParams ¶
type GetEnterprisePoolParams struct { /* EnterpriseID. Enterprise ID. */ EnterpriseID string /* PoolID. Pool ID. */ PoolID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEnterprisePoolParams contains all the parameters to send to the API endpoint
for the get enterprise pool operation. Typically these are written to a http.Request.
func NewGetEnterprisePoolParams ¶
func NewGetEnterprisePoolParams() *GetEnterprisePoolParams
NewGetEnterprisePoolParams creates a new GetEnterprisePoolParams 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 NewGetEnterprisePoolParamsWithContext ¶
func NewGetEnterprisePoolParamsWithContext(ctx context.Context) *GetEnterprisePoolParams
NewGetEnterprisePoolParamsWithContext creates a new GetEnterprisePoolParams object with the ability to set a context for a request.
func NewGetEnterprisePoolParamsWithHTTPClient ¶
func NewGetEnterprisePoolParamsWithHTTPClient(client *http.Client) *GetEnterprisePoolParams
NewGetEnterprisePoolParamsWithHTTPClient creates a new GetEnterprisePoolParams object with the ability to set a custom HTTPClient for a request.
func NewGetEnterprisePoolParamsWithTimeout ¶
func NewGetEnterprisePoolParamsWithTimeout(timeout time.Duration) *GetEnterprisePoolParams
NewGetEnterprisePoolParamsWithTimeout creates a new GetEnterprisePoolParams object with the ability to set a timeout on a request.
func (*GetEnterprisePoolParams) SetContext ¶
func (o *GetEnterprisePoolParams) SetContext(ctx context.Context)
SetContext adds the context to the get enterprise pool params
func (*GetEnterprisePoolParams) SetDefaults ¶
func (o *GetEnterprisePoolParams) SetDefaults()
SetDefaults hydrates default values in the get enterprise pool params (not the query body).
All values with no default are reset to their zero value.
func (*GetEnterprisePoolParams) SetEnterpriseID ¶
func (o *GetEnterprisePoolParams) SetEnterpriseID(enterpriseID string)
SetEnterpriseID adds the enterpriseId to the get enterprise pool params
func (*GetEnterprisePoolParams) SetHTTPClient ¶
func (o *GetEnterprisePoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get enterprise pool params
func (*GetEnterprisePoolParams) SetPoolID ¶
func (o *GetEnterprisePoolParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the get enterprise pool params
func (*GetEnterprisePoolParams) SetTimeout ¶
func (o *GetEnterprisePoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get enterprise pool params
func (*GetEnterprisePoolParams) WithContext ¶
func (o *GetEnterprisePoolParams) WithContext(ctx context.Context) *GetEnterprisePoolParams
WithContext adds the context to the get enterprise pool params
func (*GetEnterprisePoolParams) WithDefaults ¶
func (o *GetEnterprisePoolParams) WithDefaults() *GetEnterprisePoolParams
WithDefaults hydrates default values in the get enterprise pool params (not the query body).
All values with no default are reset to their zero value.
func (*GetEnterprisePoolParams) WithEnterpriseID ¶
func (o *GetEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *GetEnterprisePoolParams
WithEnterpriseID adds the enterpriseID to the get enterprise pool params
func (*GetEnterprisePoolParams) WithHTTPClient ¶
func (o *GetEnterprisePoolParams) WithHTTPClient(client *http.Client) *GetEnterprisePoolParams
WithHTTPClient adds the HTTPClient to the get enterprise pool params
func (*GetEnterprisePoolParams) WithPoolID ¶
func (o *GetEnterprisePoolParams) WithPoolID(poolID string) *GetEnterprisePoolParams
WithPoolID adds the poolID to the get enterprise pool params
func (*GetEnterprisePoolParams) WithTimeout ¶
func (o *GetEnterprisePoolParams) WithTimeout(timeout time.Duration) *GetEnterprisePoolParams
WithTimeout adds the timeout to the get enterprise pool params
func (*GetEnterprisePoolParams) WriteToRequest ¶
func (o *GetEnterprisePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEnterprisePoolReader ¶
type GetEnterprisePoolReader struct {
// contains filtered or unexported fields
}
GetEnterprisePoolReader is a Reader for the GetEnterprisePool structure.
func (*GetEnterprisePoolReader) ReadResponse ¶
func (o *GetEnterprisePoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEnterpriseReader ¶
type GetEnterpriseReader struct {
// contains filtered or unexported fields
}
GetEnterpriseReader is a Reader for the GetEnterprise structure.
func (*GetEnterpriseReader) ReadResponse ¶
func (o *GetEnterpriseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListEnterpriseInstancesDefault ¶
type ListEnterpriseInstancesDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
ListEnterpriseInstancesDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewListEnterpriseInstancesDefault ¶
func NewListEnterpriseInstancesDefault(code int) *ListEnterpriseInstancesDefault
NewListEnterpriseInstancesDefault creates a ListEnterpriseInstancesDefault with default headers values
func (*ListEnterpriseInstancesDefault) Code ¶
func (o *ListEnterpriseInstancesDefault) Code() int
Code gets the status code for the list enterprise instances default response
func (*ListEnterpriseInstancesDefault) Error ¶
func (o *ListEnterpriseInstancesDefault) Error() string
func (*ListEnterpriseInstancesDefault) GetPayload ¶
func (o *ListEnterpriseInstancesDefault) GetPayload() apiserver_params.APIErrorResponse
func (*ListEnterpriseInstancesDefault) IsClientError ¶
func (o *ListEnterpriseInstancesDefault) IsClientError() bool
IsClientError returns true when this list enterprise instances default response has a 4xx status code
func (*ListEnterpriseInstancesDefault) IsCode ¶
func (o *ListEnterpriseInstancesDefault) IsCode(code int) bool
IsCode returns true when this list enterprise instances default response a status code equal to that given
func (*ListEnterpriseInstancesDefault) IsRedirect ¶
func (o *ListEnterpriseInstancesDefault) IsRedirect() bool
IsRedirect returns true when this list enterprise instances default response has a 3xx status code
func (*ListEnterpriseInstancesDefault) IsServerError ¶
func (o *ListEnterpriseInstancesDefault) IsServerError() bool
IsServerError returns true when this list enterprise instances default response has a 5xx status code
func (*ListEnterpriseInstancesDefault) IsSuccess ¶
func (o *ListEnterpriseInstancesDefault) IsSuccess() bool
IsSuccess returns true when this list enterprise instances default response has a 2xx status code
func (*ListEnterpriseInstancesDefault) String ¶
func (o *ListEnterpriseInstancesDefault) String() string
type ListEnterpriseInstancesOK ¶
type ListEnterpriseInstancesOK struct {
Payload garm_params.Instances
}
ListEnterpriseInstancesOK describes a response with status code 200, with default header values.
Instances
func NewListEnterpriseInstancesOK ¶
func NewListEnterpriseInstancesOK() *ListEnterpriseInstancesOK
NewListEnterpriseInstancesOK creates a ListEnterpriseInstancesOK with default headers values
func (*ListEnterpriseInstancesOK) Code ¶
func (o *ListEnterpriseInstancesOK) Code() int
Code gets the status code for the list enterprise instances o k response
func (*ListEnterpriseInstancesOK) Error ¶
func (o *ListEnterpriseInstancesOK) Error() string
func (*ListEnterpriseInstancesOK) GetPayload ¶
func (o *ListEnterpriseInstancesOK) GetPayload() garm_params.Instances
func (*ListEnterpriseInstancesOK) IsClientError ¶
func (o *ListEnterpriseInstancesOK) IsClientError() bool
IsClientError returns true when this list enterprise instances o k response has a 4xx status code
func (*ListEnterpriseInstancesOK) IsCode ¶
func (o *ListEnterpriseInstancesOK) IsCode(code int) bool
IsCode returns true when this list enterprise instances o k response a status code equal to that given
func (*ListEnterpriseInstancesOK) IsRedirect ¶
func (o *ListEnterpriseInstancesOK) IsRedirect() bool
IsRedirect returns true when this list enterprise instances o k response has a 3xx status code
func (*ListEnterpriseInstancesOK) IsServerError ¶
func (o *ListEnterpriseInstancesOK) IsServerError() bool
IsServerError returns true when this list enterprise instances o k response has a 5xx status code
func (*ListEnterpriseInstancesOK) IsSuccess ¶
func (o *ListEnterpriseInstancesOK) IsSuccess() bool
IsSuccess returns true when this list enterprise instances o k response has a 2xx status code
func (*ListEnterpriseInstancesOK) String ¶
func (o *ListEnterpriseInstancesOK) String() string
type ListEnterpriseInstancesParams ¶
type ListEnterpriseInstancesParams struct { /* EnterpriseID. Enterprise ID. */ EnterpriseID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListEnterpriseInstancesParams contains all the parameters to send to the API endpoint
for the list enterprise instances operation. Typically these are written to a http.Request.
func NewListEnterpriseInstancesParams ¶
func NewListEnterpriseInstancesParams() *ListEnterpriseInstancesParams
NewListEnterpriseInstancesParams creates a new ListEnterpriseInstancesParams 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 NewListEnterpriseInstancesParamsWithContext ¶
func NewListEnterpriseInstancesParamsWithContext(ctx context.Context) *ListEnterpriseInstancesParams
NewListEnterpriseInstancesParamsWithContext creates a new ListEnterpriseInstancesParams object with the ability to set a context for a request.
func NewListEnterpriseInstancesParamsWithHTTPClient ¶
func NewListEnterpriseInstancesParamsWithHTTPClient(client *http.Client) *ListEnterpriseInstancesParams
NewListEnterpriseInstancesParamsWithHTTPClient creates a new ListEnterpriseInstancesParams object with the ability to set a custom HTTPClient for a request.
func NewListEnterpriseInstancesParamsWithTimeout ¶
func NewListEnterpriseInstancesParamsWithTimeout(timeout time.Duration) *ListEnterpriseInstancesParams
NewListEnterpriseInstancesParamsWithTimeout creates a new ListEnterpriseInstancesParams object with the ability to set a timeout on a request.
func (*ListEnterpriseInstancesParams) SetContext ¶
func (o *ListEnterpriseInstancesParams) SetContext(ctx context.Context)
SetContext adds the context to the list enterprise instances params
func (*ListEnterpriseInstancesParams) SetDefaults ¶
func (o *ListEnterpriseInstancesParams) SetDefaults()
SetDefaults hydrates default values in the list enterprise instances params (not the query body).
All values with no default are reset to their zero value.
func (*ListEnterpriseInstancesParams) SetEnterpriseID ¶
func (o *ListEnterpriseInstancesParams) SetEnterpriseID(enterpriseID string)
SetEnterpriseID adds the enterpriseId to the list enterprise instances params
func (*ListEnterpriseInstancesParams) SetHTTPClient ¶
func (o *ListEnterpriseInstancesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list enterprise instances params
func (*ListEnterpriseInstancesParams) SetTimeout ¶
func (o *ListEnterpriseInstancesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list enterprise instances params
func (*ListEnterpriseInstancesParams) WithContext ¶
func (o *ListEnterpriseInstancesParams) WithContext(ctx context.Context) *ListEnterpriseInstancesParams
WithContext adds the context to the list enterprise instances params
func (*ListEnterpriseInstancesParams) WithDefaults ¶
func (o *ListEnterpriseInstancesParams) WithDefaults() *ListEnterpriseInstancesParams
WithDefaults hydrates default values in the list enterprise instances params (not the query body).
All values with no default are reset to their zero value.
func (*ListEnterpriseInstancesParams) WithEnterpriseID ¶
func (o *ListEnterpriseInstancesParams) WithEnterpriseID(enterpriseID string) *ListEnterpriseInstancesParams
WithEnterpriseID adds the enterpriseID to the list enterprise instances params
func (*ListEnterpriseInstancesParams) WithHTTPClient ¶
func (o *ListEnterpriseInstancesParams) WithHTTPClient(client *http.Client) *ListEnterpriseInstancesParams
WithHTTPClient adds the HTTPClient to the list enterprise instances params
func (*ListEnterpriseInstancesParams) WithTimeout ¶
func (o *ListEnterpriseInstancesParams) WithTimeout(timeout time.Duration) *ListEnterpriseInstancesParams
WithTimeout adds the timeout to the list enterprise instances params
func (*ListEnterpriseInstancesParams) WriteToRequest ¶
func (o *ListEnterpriseInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListEnterpriseInstancesReader ¶
type ListEnterpriseInstancesReader struct {
// contains filtered or unexported fields
}
ListEnterpriseInstancesReader is a Reader for the ListEnterpriseInstances structure.
func (*ListEnterpriseInstancesReader) ReadResponse ¶
func (o *ListEnterpriseInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListEnterprisePoolsDefault ¶
type ListEnterprisePoolsDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
ListEnterprisePoolsDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewListEnterprisePoolsDefault ¶
func NewListEnterprisePoolsDefault(code int) *ListEnterprisePoolsDefault
NewListEnterprisePoolsDefault creates a ListEnterprisePoolsDefault with default headers values
func (*ListEnterprisePoolsDefault) Code ¶
func (o *ListEnterprisePoolsDefault) Code() int
Code gets the status code for the list enterprise pools default response
func (*ListEnterprisePoolsDefault) Error ¶
func (o *ListEnterprisePoolsDefault) Error() string
func (*ListEnterprisePoolsDefault) GetPayload ¶
func (o *ListEnterprisePoolsDefault) GetPayload() apiserver_params.APIErrorResponse
func (*ListEnterprisePoolsDefault) IsClientError ¶
func (o *ListEnterprisePoolsDefault) IsClientError() bool
IsClientError returns true when this list enterprise pools default response has a 4xx status code
func (*ListEnterprisePoolsDefault) IsCode ¶
func (o *ListEnterprisePoolsDefault) IsCode(code int) bool
IsCode returns true when this list enterprise pools default response a status code equal to that given
func (*ListEnterprisePoolsDefault) IsRedirect ¶
func (o *ListEnterprisePoolsDefault) IsRedirect() bool
IsRedirect returns true when this list enterprise pools default response has a 3xx status code
func (*ListEnterprisePoolsDefault) IsServerError ¶
func (o *ListEnterprisePoolsDefault) IsServerError() bool
IsServerError returns true when this list enterprise pools default response has a 5xx status code
func (*ListEnterprisePoolsDefault) IsSuccess ¶
func (o *ListEnterprisePoolsDefault) IsSuccess() bool
IsSuccess returns true when this list enterprise pools default response has a 2xx status code
func (*ListEnterprisePoolsDefault) String ¶
func (o *ListEnterprisePoolsDefault) String() string
type ListEnterprisePoolsOK ¶
type ListEnterprisePoolsOK struct {
Payload garm_params.Pools
}
ListEnterprisePoolsOK describes a response with status code 200, with default header values.
Pools
func NewListEnterprisePoolsOK ¶
func NewListEnterprisePoolsOK() *ListEnterprisePoolsOK
NewListEnterprisePoolsOK creates a ListEnterprisePoolsOK with default headers values
func (*ListEnterprisePoolsOK) Code ¶
func (o *ListEnterprisePoolsOK) Code() int
Code gets the status code for the list enterprise pools o k response
func (*ListEnterprisePoolsOK) Error ¶
func (o *ListEnterprisePoolsOK) Error() string
func (*ListEnterprisePoolsOK) GetPayload ¶
func (o *ListEnterprisePoolsOK) GetPayload() garm_params.Pools
func (*ListEnterprisePoolsOK) IsClientError ¶
func (o *ListEnterprisePoolsOK) IsClientError() bool
IsClientError returns true when this list enterprise pools o k response has a 4xx status code
func (*ListEnterprisePoolsOK) IsCode ¶
func (o *ListEnterprisePoolsOK) IsCode(code int) bool
IsCode returns true when this list enterprise pools o k response a status code equal to that given
func (*ListEnterprisePoolsOK) IsRedirect ¶
func (o *ListEnterprisePoolsOK) IsRedirect() bool
IsRedirect returns true when this list enterprise pools o k response has a 3xx status code
func (*ListEnterprisePoolsOK) IsServerError ¶
func (o *ListEnterprisePoolsOK) IsServerError() bool
IsServerError returns true when this list enterprise pools o k response has a 5xx status code
func (*ListEnterprisePoolsOK) IsSuccess ¶
func (o *ListEnterprisePoolsOK) IsSuccess() bool
IsSuccess returns true when this list enterprise pools o k response has a 2xx status code
func (*ListEnterprisePoolsOK) String ¶
func (o *ListEnterprisePoolsOK) String() string
type ListEnterprisePoolsParams ¶
type ListEnterprisePoolsParams struct { /* EnterpriseID. Enterprise ID. */ EnterpriseID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListEnterprisePoolsParams contains all the parameters to send to the API endpoint
for the list enterprise pools operation. Typically these are written to a http.Request.
func NewListEnterprisePoolsParams ¶
func NewListEnterprisePoolsParams() *ListEnterprisePoolsParams
NewListEnterprisePoolsParams creates a new ListEnterprisePoolsParams 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 NewListEnterprisePoolsParamsWithContext ¶
func NewListEnterprisePoolsParamsWithContext(ctx context.Context) *ListEnterprisePoolsParams
NewListEnterprisePoolsParamsWithContext creates a new ListEnterprisePoolsParams object with the ability to set a context for a request.
func NewListEnterprisePoolsParamsWithHTTPClient ¶
func NewListEnterprisePoolsParamsWithHTTPClient(client *http.Client) *ListEnterprisePoolsParams
NewListEnterprisePoolsParamsWithHTTPClient creates a new ListEnterprisePoolsParams object with the ability to set a custom HTTPClient for a request.
func NewListEnterprisePoolsParamsWithTimeout ¶
func NewListEnterprisePoolsParamsWithTimeout(timeout time.Duration) *ListEnterprisePoolsParams
NewListEnterprisePoolsParamsWithTimeout creates a new ListEnterprisePoolsParams object with the ability to set a timeout on a request.
func (*ListEnterprisePoolsParams) SetContext ¶
func (o *ListEnterprisePoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the list enterprise pools params
func (*ListEnterprisePoolsParams) SetDefaults ¶
func (o *ListEnterprisePoolsParams) SetDefaults()
SetDefaults hydrates default values in the list enterprise pools params (not the query body).
All values with no default are reset to their zero value.
func (*ListEnterprisePoolsParams) SetEnterpriseID ¶
func (o *ListEnterprisePoolsParams) SetEnterpriseID(enterpriseID string)
SetEnterpriseID adds the enterpriseId to the list enterprise pools params
func (*ListEnterprisePoolsParams) SetHTTPClient ¶
func (o *ListEnterprisePoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list enterprise pools params
func (*ListEnterprisePoolsParams) SetTimeout ¶
func (o *ListEnterprisePoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list enterprise pools params
func (*ListEnterprisePoolsParams) WithContext ¶
func (o *ListEnterprisePoolsParams) WithContext(ctx context.Context) *ListEnterprisePoolsParams
WithContext adds the context to the list enterprise pools params
func (*ListEnterprisePoolsParams) WithDefaults ¶
func (o *ListEnterprisePoolsParams) WithDefaults() *ListEnterprisePoolsParams
WithDefaults hydrates default values in the list enterprise pools params (not the query body).
All values with no default are reset to their zero value.
func (*ListEnterprisePoolsParams) WithEnterpriseID ¶
func (o *ListEnterprisePoolsParams) WithEnterpriseID(enterpriseID string) *ListEnterprisePoolsParams
WithEnterpriseID adds the enterpriseID to the list enterprise pools params
func (*ListEnterprisePoolsParams) WithHTTPClient ¶
func (o *ListEnterprisePoolsParams) WithHTTPClient(client *http.Client) *ListEnterprisePoolsParams
WithHTTPClient adds the HTTPClient to the list enterprise pools params
func (*ListEnterprisePoolsParams) WithTimeout ¶
func (o *ListEnterprisePoolsParams) WithTimeout(timeout time.Duration) *ListEnterprisePoolsParams
WithTimeout adds the timeout to the list enterprise pools params
func (*ListEnterprisePoolsParams) WriteToRequest ¶
func (o *ListEnterprisePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListEnterprisePoolsReader ¶
type ListEnterprisePoolsReader struct {
// contains filtered or unexported fields
}
ListEnterprisePoolsReader is a Reader for the ListEnterprisePools structure.
func (*ListEnterprisePoolsReader) ReadResponse ¶
func (o *ListEnterprisePoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListEnterprisesDefault ¶
type ListEnterprisesDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
ListEnterprisesDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewListEnterprisesDefault ¶
func NewListEnterprisesDefault(code int) *ListEnterprisesDefault
NewListEnterprisesDefault creates a ListEnterprisesDefault with default headers values
func (*ListEnterprisesDefault) Code ¶
func (o *ListEnterprisesDefault) Code() int
Code gets the status code for the list enterprises default response
func (*ListEnterprisesDefault) Error ¶
func (o *ListEnterprisesDefault) Error() string
func (*ListEnterprisesDefault) GetPayload ¶
func (o *ListEnterprisesDefault) GetPayload() apiserver_params.APIErrorResponse
func (*ListEnterprisesDefault) IsClientError ¶
func (o *ListEnterprisesDefault) IsClientError() bool
IsClientError returns true when this list enterprises default response has a 4xx status code
func (*ListEnterprisesDefault) IsCode ¶
func (o *ListEnterprisesDefault) IsCode(code int) bool
IsCode returns true when this list enterprises default response a status code equal to that given
func (*ListEnterprisesDefault) IsRedirect ¶
func (o *ListEnterprisesDefault) IsRedirect() bool
IsRedirect returns true when this list enterprises default response has a 3xx status code
func (*ListEnterprisesDefault) IsServerError ¶
func (o *ListEnterprisesDefault) IsServerError() bool
IsServerError returns true when this list enterprises default response has a 5xx status code
func (*ListEnterprisesDefault) IsSuccess ¶
func (o *ListEnterprisesDefault) IsSuccess() bool
IsSuccess returns true when this list enterprises default response has a 2xx status code
func (*ListEnterprisesDefault) String ¶
func (o *ListEnterprisesDefault) String() string
type ListEnterprisesOK ¶
type ListEnterprisesOK struct {
Payload garm_params.Enterprises
}
ListEnterprisesOK describes a response with status code 200, with default header values.
Enterprises
func NewListEnterprisesOK ¶
func NewListEnterprisesOK() *ListEnterprisesOK
NewListEnterprisesOK creates a ListEnterprisesOK with default headers values
func (*ListEnterprisesOK) Code ¶
func (o *ListEnterprisesOK) Code() int
Code gets the status code for the list enterprises o k response
func (*ListEnterprisesOK) Error ¶
func (o *ListEnterprisesOK) Error() string
func (*ListEnterprisesOK) GetPayload ¶
func (o *ListEnterprisesOK) GetPayload() garm_params.Enterprises
func (*ListEnterprisesOK) IsClientError ¶
func (o *ListEnterprisesOK) IsClientError() bool
IsClientError returns true when this list enterprises o k response has a 4xx status code
func (*ListEnterprisesOK) IsCode ¶
func (o *ListEnterprisesOK) IsCode(code int) bool
IsCode returns true when this list enterprises o k response a status code equal to that given
func (*ListEnterprisesOK) IsRedirect ¶
func (o *ListEnterprisesOK) IsRedirect() bool
IsRedirect returns true when this list enterprises o k response has a 3xx status code
func (*ListEnterprisesOK) IsServerError ¶
func (o *ListEnterprisesOK) IsServerError() bool
IsServerError returns true when this list enterprises o k response has a 5xx status code
func (*ListEnterprisesOK) IsSuccess ¶
func (o *ListEnterprisesOK) IsSuccess() bool
IsSuccess returns true when this list enterprises o k response has a 2xx status code
func (*ListEnterprisesOK) String ¶
func (o *ListEnterprisesOK) String() string
type ListEnterprisesParams ¶
type ListEnterprisesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListEnterprisesParams contains all the parameters to send to the API endpoint
for the list enterprises operation. Typically these are written to a http.Request.
func NewListEnterprisesParams ¶
func NewListEnterprisesParams() *ListEnterprisesParams
NewListEnterprisesParams creates a new ListEnterprisesParams 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 NewListEnterprisesParamsWithContext ¶
func NewListEnterprisesParamsWithContext(ctx context.Context) *ListEnterprisesParams
NewListEnterprisesParamsWithContext creates a new ListEnterprisesParams object with the ability to set a context for a request.
func NewListEnterprisesParamsWithHTTPClient ¶
func NewListEnterprisesParamsWithHTTPClient(client *http.Client) *ListEnterprisesParams
NewListEnterprisesParamsWithHTTPClient creates a new ListEnterprisesParams object with the ability to set a custom HTTPClient for a request.
func NewListEnterprisesParamsWithTimeout ¶
func NewListEnterprisesParamsWithTimeout(timeout time.Duration) *ListEnterprisesParams
NewListEnterprisesParamsWithTimeout creates a new ListEnterprisesParams object with the ability to set a timeout on a request.
func (*ListEnterprisesParams) SetContext ¶
func (o *ListEnterprisesParams) SetContext(ctx context.Context)
SetContext adds the context to the list enterprises params
func (*ListEnterprisesParams) SetDefaults ¶
func (o *ListEnterprisesParams) SetDefaults()
SetDefaults hydrates default values in the list enterprises params (not the query body).
All values with no default are reset to their zero value.
func (*ListEnterprisesParams) SetHTTPClient ¶
func (o *ListEnterprisesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list enterprises params
func (*ListEnterprisesParams) SetTimeout ¶
func (o *ListEnterprisesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list enterprises params
func (*ListEnterprisesParams) WithContext ¶
func (o *ListEnterprisesParams) WithContext(ctx context.Context) *ListEnterprisesParams
WithContext adds the context to the list enterprises params
func (*ListEnterprisesParams) WithDefaults ¶
func (o *ListEnterprisesParams) WithDefaults() *ListEnterprisesParams
WithDefaults hydrates default values in the list enterprises params (not the query body).
All values with no default are reset to their zero value.
func (*ListEnterprisesParams) WithHTTPClient ¶
func (o *ListEnterprisesParams) WithHTTPClient(client *http.Client) *ListEnterprisesParams
WithHTTPClient adds the HTTPClient to the list enterprises params
func (*ListEnterprisesParams) WithTimeout ¶
func (o *ListEnterprisesParams) WithTimeout(timeout time.Duration) *ListEnterprisesParams
WithTimeout adds the timeout to the list enterprises params
func (*ListEnterprisesParams) WriteToRequest ¶
func (o *ListEnterprisesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListEnterprisesReader ¶
type ListEnterprisesReader struct {
// contains filtered or unexported fields
}
ListEnterprisesReader is a Reader for the ListEnterprises structure.
func (*ListEnterprisesReader) ReadResponse ¶
func (o *ListEnterprisesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateEnterpriseDefault ¶
type UpdateEnterpriseDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
UpdateEnterpriseDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewUpdateEnterpriseDefault ¶
func NewUpdateEnterpriseDefault(code int) *UpdateEnterpriseDefault
NewUpdateEnterpriseDefault creates a UpdateEnterpriseDefault with default headers values
func (*UpdateEnterpriseDefault) Code ¶
func (o *UpdateEnterpriseDefault) Code() int
Code gets the status code for the update enterprise default response
func (*UpdateEnterpriseDefault) Error ¶
func (o *UpdateEnterpriseDefault) Error() string
func (*UpdateEnterpriseDefault) GetPayload ¶
func (o *UpdateEnterpriseDefault) GetPayload() apiserver_params.APIErrorResponse
func (*UpdateEnterpriseDefault) IsClientError ¶
func (o *UpdateEnterpriseDefault) IsClientError() bool
IsClientError returns true when this update enterprise default response has a 4xx status code
func (*UpdateEnterpriseDefault) IsCode ¶
func (o *UpdateEnterpriseDefault) IsCode(code int) bool
IsCode returns true when this update enterprise default response a status code equal to that given
func (*UpdateEnterpriseDefault) IsRedirect ¶
func (o *UpdateEnterpriseDefault) IsRedirect() bool
IsRedirect returns true when this update enterprise default response has a 3xx status code
func (*UpdateEnterpriseDefault) IsServerError ¶
func (o *UpdateEnterpriseDefault) IsServerError() bool
IsServerError returns true when this update enterprise default response has a 5xx status code
func (*UpdateEnterpriseDefault) IsSuccess ¶
func (o *UpdateEnterpriseDefault) IsSuccess() bool
IsSuccess returns true when this update enterprise default response has a 2xx status code
func (*UpdateEnterpriseDefault) String ¶
func (o *UpdateEnterpriseDefault) String() string
type UpdateEnterpriseOK ¶
type UpdateEnterpriseOK struct {
Payload garm_params.Enterprise
}
UpdateEnterpriseOK describes a response with status code 200, with default header values.
Enterprise
func NewUpdateEnterpriseOK ¶
func NewUpdateEnterpriseOK() *UpdateEnterpriseOK
NewUpdateEnterpriseOK creates a UpdateEnterpriseOK with default headers values
func (*UpdateEnterpriseOK) Code ¶
func (o *UpdateEnterpriseOK) Code() int
Code gets the status code for the update enterprise o k response
func (*UpdateEnterpriseOK) Error ¶
func (o *UpdateEnterpriseOK) Error() string
func (*UpdateEnterpriseOK) GetPayload ¶
func (o *UpdateEnterpriseOK) GetPayload() garm_params.Enterprise
func (*UpdateEnterpriseOK) IsClientError ¶
func (o *UpdateEnterpriseOK) IsClientError() bool
IsClientError returns true when this update enterprise o k response has a 4xx status code
func (*UpdateEnterpriseOK) IsCode ¶
func (o *UpdateEnterpriseOK) IsCode(code int) bool
IsCode returns true when this update enterprise o k response a status code equal to that given
func (*UpdateEnterpriseOK) IsRedirect ¶
func (o *UpdateEnterpriseOK) IsRedirect() bool
IsRedirect returns true when this update enterprise o k response has a 3xx status code
func (*UpdateEnterpriseOK) IsServerError ¶
func (o *UpdateEnterpriseOK) IsServerError() bool
IsServerError returns true when this update enterprise o k response has a 5xx status code
func (*UpdateEnterpriseOK) IsSuccess ¶
func (o *UpdateEnterpriseOK) IsSuccess() bool
IsSuccess returns true when this update enterprise o k response has a 2xx status code
func (*UpdateEnterpriseOK) String ¶
func (o *UpdateEnterpriseOK) String() string
type UpdateEnterpriseParams ¶
type UpdateEnterpriseParams struct { /* Body. Parameters used when updating the enterprise. */ Body garm_params.UpdateEntityParams /* EnterpriseID. The ID of the enterprise to update. */ EnterpriseID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateEnterpriseParams contains all the parameters to send to the API endpoint
for the update enterprise operation. Typically these are written to a http.Request.
func NewUpdateEnterpriseParams ¶
func NewUpdateEnterpriseParams() *UpdateEnterpriseParams
NewUpdateEnterpriseParams creates a new UpdateEnterpriseParams 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 NewUpdateEnterpriseParamsWithContext ¶
func NewUpdateEnterpriseParamsWithContext(ctx context.Context) *UpdateEnterpriseParams
NewUpdateEnterpriseParamsWithContext creates a new UpdateEnterpriseParams object with the ability to set a context for a request.
func NewUpdateEnterpriseParamsWithHTTPClient ¶
func NewUpdateEnterpriseParamsWithHTTPClient(client *http.Client) *UpdateEnterpriseParams
NewUpdateEnterpriseParamsWithHTTPClient creates a new UpdateEnterpriseParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateEnterpriseParamsWithTimeout ¶
func NewUpdateEnterpriseParamsWithTimeout(timeout time.Duration) *UpdateEnterpriseParams
NewUpdateEnterpriseParamsWithTimeout creates a new UpdateEnterpriseParams object with the ability to set a timeout on a request.
func (*UpdateEnterpriseParams) SetBody ¶
func (o *UpdateEnterpriseParams) SetBody(body garm_params.UpdateEntityParams)
SetBody adds the body to the update enterprise params
func (*UpdateEnterpriseParams) SetContext ¶
func (o *UpdateEnterpriseParams) SetContext(ctx context.Context)
SetContext adds the context to the update enterprise params
func (*UpdateEnterpriseParams) SetDefaults ¶
func (o *UpdateEnterpriseParams) SetDefaults()
SetDefaults hydrates default values in the update enterprise params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateEnterpriseParams) SetEnterpriseID ¶
func (o *UpdateEnterpriseParams) SetEnterpriseID(enterpriseID string)
SetEnterpriseID adds the enterpriseId to the update enterprise params
func (*UpdateEnterpriseParams) SetHTTPClient ¶
func (o *UpdateEnterpriseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update enterprise params
func (*UpdateEnterpriseParams) SetTimeout ¶
func (o *UpdateEnterpriseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update enterprise params
func (*UpdateEnterpriseParams) WithBody ¶
func (o *UpdateEnterpriseParams) WithBody(body garm_params.UpdateEntityParams) *UpdateEnterpriseParams
WithBody adds the body to the update enterprise params
func (*UpdateEnterpriseParams) WithContext ¶
func (o *UpdateEnterpriseParams) WithContext(ctx context.Context) *UpdateEnterpriseParams
WithContext adds the context to the update enterprise params
func (*UpdateEnterpriseParams) WithDefaults ¶
func (o *UpdateEnterpriseParams) WithDefaults() *UpdateEnterpriseParams
WithDefaults hydrates default values in the update enterprise params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateEnterpriseParams) WithEnterpriseID ¶
func (o *UpdateEnterpriseParams) WithEnterpriseID(enterpriseID string) *UpdateEnterpriseParams
WithEnterpriseID adds the enterpriseID to the update enterprise params
func (*UpdateEnterpriseParams) WithHTTPClient ¶
func (o *UpdateEnterpriseParams) WithHTTPClient(client *http.Client) *UpdateEnterpriseParams
WithHTTPClient adds the HTTPClient to the update enterprise params
func (*UpdateEnterpriseParams) WithTimeout ¶
func (o *UpdateEnterpriseParams) WithTimeout(timeout time.Duration) *UpdateEnterpriseParams
WithTimeout adds the timeout to the update enterprise params
func (*UpdateEnterpriseParams) WriteToRequest ¶
func (o *UpdateEnterpriseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateEnterprisePoolDefault ¶
type UpdateEnterprisePoolDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
UpdateEnterprisePoolDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewUpdateEnterprisePoolDefault ¶
func NewUpdateEnterprisePoolDefault(code int) *UpdateEnterprisePoolDefault
NewUpdateEnterprisePoolDefault creates a UpdateEnterprisePoolDefault with default headers values
func (*UpdateEnterprisePoolDefault) Code ¶
func (o *UpdateEnterprisePoolDefault) Code() int
Code gets the status code for the update enterprise pool default response
func (*UpdateEnterprisePoolDefault) Error ¶
func (o *UpdateEnterprisePoolDefault) Error() string
func (*UpdateEnterprisePoolDefault) GetPayload ¶
func (o *UpdateEnterprisePoolDefault) GetPayload() apiserver_params.APIErrorResponse
func (*UpdateEnterprisePoolDefault) IsClientError ¶
func (o *UpdateEnterprisePoolDefault) IsClientError() bool
IsClientError returns true when this update enterprise pool default response has a 4xx status code
func (*UpdateEnterprisePoolDefault) IsCode ¶
func (o *UpdateEnterprisePoolDefault) IsCode(code int) bool
IsCode returns true when this update enterprise pool default response a status code equal to that given
func (*UpdateEnterprisePoolDefault) IsRedirect ¶
func (o *UpdateEnterprisePoolDefault) IsRedirect() bool
IsRedirect returns true when this update enterprise pool default response has a 3xx status code
func (*UpdateEnterprisePoolDefault) IsServerError ¶
func (o *UpdateEnterprisePoolDefault) IsServerError() bool
IsServerError returns true when this update enterprise pool default response has a 5xx status code
func (*UpdateEnterprisePoolDefault) IsSuccess ¶
func (o *UpdateEnterprisePoolDefault) IsSuccess() bool
IsSuccess returns true when this update enterprise pool default response has a 2xx status code
func (*UpdateEnterprisePoolDefault) String ¶
func (o *UpdateEnterprisePoolDefault) String() string
type UpdateEnterprisePoolOK ¶
type UpdateEnterprisePoolOK struct {
Payload garm_params.Pool
}
UpdateEnterprisePoolOK describes a response with status code 200, with default header values.
Pool
func NewUpdateEnterprisePoolOK ¶
func NewUpdateEnterprisePoolOK() *UpdateEnterprisePoolOK
NewUpdateEnterprisePoolOK creates a UpdateEnterprisePoolOK with default headers values
func (*UpdateEnterprisePoolOK) Code ¶
func (o *UpdateEnterprisePoolOK) Code() int
Code gets the status code for the update enterprise pool o k response
func (*UpdateEnterprisePoolOK) Error ¶
func (o *UpdateEnterprisePoolOK) Error() string
func (*UpdateEnterprisePoolOK) GetPayload ¶
func (o *UpdateEnterprisePoolOK) GetPayload() garm_params.Pool
func (*UpdateEnterprisePoolOK) IsClientError ¶
func (o *UpdateEnterprisePoolOK) IsClientError() bool
IsClientError returns true when this update enterprise pool o k response has a 4xx status code
func (*UpdateEnterprisePoolOK) IsCode ¶
func (o *UpdateEnterprisePoolOK) IsCode(code int) bool
IsCode returns true when this update enterprise pool o k response a status code equal to that given
func (*UpdateEnterprisePoolOK) IsRedirect ¶
func (o *UpdateEnterprisePoolOK) IsRedirect() bool
IsRedirect returns true when this update enterprise pool o k response has a 3xx status code
func (*UpdateEnterprisePoolOK) IsServerError ¶
func (o *UpdateEnterprisePoolOK) IsServerError() bool
IsServerError returns true when this update enterprise pool o k response has a 5xx status code
func (*UpdateEnterprisePoolOK) IsSuccess ¶
func (o *UpdateEnterprisePoolOK) IsSuccess() bool
IsSuccess returns true when this update enterprise pool o k response has a 2xx status code
func (*UpdateEnterprisePoolOK) String ¶
func (o *UpdateEnterprisePoolOK) String() string
type UpdateEnterprisePoolParams ¶
type UpdateEnterprisePoolParams struct { /* Body. Parameters used when updating the enterprise pool. */ Body garm_params.UpdatePoolParams /* EnterpriseID. Enterprise ID. */ EnterpriseID string /* PoolID. ID of the enterprise pool to update. */ PoolID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateEnterprisePoolParams contains all the parameters to send to the API endpoint
for the update enterprise pool operation. Typically these are written to a http.Request.
func NewUpdateEnterprisePoolParams ¶
func NewUpdateEnterprisePoolParams() *UpdateEnterprisePoolParams
NewUpdateEnterprisePoolParams creates a new UpdateEnterprisePoolParams 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 NewUpdateEnterprisePoolParamsWithContext ¶
func NewUpdateEnterprisePoolParamsWithContext(ctx context.Context) *UpdateEnterprisePoolParams
NewUpdateEnterprisePoolParamsWithContext creates a new UpdateEnterprisePoolParams object with the ability to set a context for a request.
func NewUpdateEnterprisePoolParamsWithHTTPClient ¶
func NewUpdateEnterprisePoolParamsWithHTTPClient(client *http.Client) *UpdateEnterprisePoolParams
NewUpdateEnterprisePoolParamsWithHTTPClient creates a new UpdateEnterprisePoolParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateEnterprisePoolParamsWithTimeout ¶
func NewUpdateEnterprisePoolParamsWithTimeout(timeout time.Duration) *UpdateEnterprisePoolParams
NewUpdateEnterprisePoolParamsWithTimeout creates a new UpdateEnterprisePoolParams object with the ability to set a timeout on a request.
func (*UpdateEnterprisePoolParams) SetBody ¶
func (o *UpdateEnterprisePoolParams) SetBody(body garm_params.UpdatePoolParams)
SetBody adds the body to the update enterprise pool params
func (*UpdateEnterprisePoolParams) SetContext ¶
func (o *UpdateEnterprisePoolParams) SetContext(ctx context.Context)
SetContext adds the context to the update enterprise pool params
func (*UpdateEnterprisePoolParams) SetDefaults ¶
func (o *UpdateEnterprisePoolParams) SetDefaults()
SetDefaults hydrates default values in the update enterprise pool params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateEnterprisePoolParams) SetEnterpriseID ¶
func (o *UpdateEnterprisePoolParams) SetEnterpriseID(enterpriseID string)
SetEnterpriseID adds the enterpriseId to the update enterprise pool params
func (*UpdateEnterprisePoolParams) SetHTTPClient ¶
func (o *UpdateEnterprisePoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update enterprise pool params
func (*UpdateEnterprisePoolParams) SetPoolID ¶
func (o *UpdateEnterprisePoolParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the update enterprise pool params
func (*UpdateEnterprisePoolParams) SetTimeout ¶
func (o *UpdateEnterprisePoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update enterprise pool params
func (*UpdateEnterprisePoolParams) WithBody ¶
func (o *UpdateEnterprisePoolParams) WithBody(body garm_params.UpdatePoolParams) *UpdateEnterprisePoolParams
WithBody adds the body to the update enterprise pool params
func (*UpdateEnterprisePoolParams) WithContext ¶
func (o *UpdateEnterprisePoolParams) WithContext(ctx context.Context) *UpdateEnterprisePoolParams
WithContext adds the context to the update enterprise pool params
func (*UpdateEnterprisePoolParams) WithDefaults ¶
func (o *UpdateEnterprisePoolParams) WithDefaults() *UpdateEnterprisePoolParams
WithDefaults hydrates default values in the update enterprise pool params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateEnterprisePoolParams) WithEnterpriseID ¶
func (o *UpdateEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *UpdateEnterprisePoolParams
WithEnterpriseID adds the enterpriseID to the update enterprise pool params
func (*UpdateEnterprisePoolParams) WithHTTPClient ¶
func (o *UpdateEnterprisePoolParams) WithHTTPClient(client *http.Client) *UpdateEnterprisePoolParams
WithHTTPClient adds the HTTPClient to the update enterprise pool params
func (*UpdateEnterprisePoolParams) WithPoolID ¶
func (o *UpdateEnterprisePoolParams) WithPoolID(poolID string) *UpdateEnterprisePoolParams
WithPoolID adds the poolID to the update enterprise pool params
func (*UpdateEnterprisePoolParams) WithTimeout ¶
func (o *UpdateEnterprisePoolParams) WithTimeout(timeout time.Duration) *UpdateEnterprisePoolParams
WithTimeout adds the timeout to the update enterprise pool params
func (*UpdateEnterprisePoolParams) WriteToRequest ¶
func (o *UpdateEnterprisePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateEnterprisePoolReader ¶
type UpdateEnterprisePoolReader struct {
// contains filtered or unexported fields
}
UpdateEnterprisePoolReader is a Reader for the UpdateEnterprisePool structure.
func (*UpdateEnterprisePoolReader) ReadResponse ¶
func (o *UpdateEnterprisePoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateEnterpriseReader ¶
type UpdateEnterpriseReader struct {
// contains filtered or unexported fields
}
UpdateEnterpriseReader is a Reader for the UpdateEnterprise structure.
func (*UpdateEnterpriseReader) ReadResponse ¶
func (o *UpdateEnterpriseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_enterprise_parameters.go
- create_enterprise_pool_parameters.go
- create_enterprise_pool_responses.go
- create_enterprise_responses.go
- delete_enterprise_parameters.go
- delete_enterprise_pool_parameters.go
- delete_enterprise_pool_responses.go
- delete_enterprise_responses.go
- enterprises_client.go
- get_enterprise_parameters.go
- get_enterprise_pool_parameters.go
- get_enterprise_pool_responses.go
- get_enterprise_responses.go
- list_enterprise_instances_parameters.go
- list_enterprise_instances_responses.go
- list_enterprise_pools_parameters.go
- list_enterprise_pools_responses.go
- list_enterprises_parameters.go
- list_enterprises_responses.go
- update_enterprise_parameters.go
- update_enterprise_pool_parameters.go
- update_enterprise_pool_responses.go
- update_enterprise_responses.go