Documentation ¶
Index ¶
- Constants
- type CreateNamespace
- type CreateNamespaceCreated
- type CreateNamespaceDefault
- func (o *CreateNamespaceDefault) SetPayload(payload *models.Error)
- func (o *CreateNamespaceDefault) SetStatusCode(code int)
- func (o *CreateNamespaceDefault) WithPayload(payload *models.Error) *CreateNamespaceDefault
- func (o *CreateNamespaceDefault) WithStatusCode(code int) *CreateNamespaceDefault
- func (o *CreateNamespaceDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateNamespaceHandler
- type CreateNamespaceHandlerFunc
- type CreateNamespaceParams
- type CreateNamespaceURL
- func (o *CreateNamespaceURL) Build() (*url.URL, error)
- func (o *CreateNamespaceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateNamespaceURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateNamespaceURL) SetBasePath(bp string)
- func (o *CreateNamespaceURL) String() string
- func (o *CreateNamespaceURL) StringFull(scheme, host string) string
- func (o *CreateNamespaceURL) WithBasePath(bp string) *CreateNamespaceURL
- type CreateTenant
- type CreateTenantDefault
- func (o *CreateTenantDefault) SetPayload(payload *models.Error)
- func (o *CreateTenantDefault) SetStatusCode(code int)
- func (o *CreateTenantDefault) WithPayload(payload *models.Error) *CreateTenantDefault
- func (o *CreateTenantDefault) WithStatusCode(code int) *CreateTenantDefault
- func (o *CreateTenantDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateTenantHandler
- type CreateTenantHandlerFunc
- type CreateTenantOK
- type CreateTenantParams
- type CreateTenantURL
- func (o *CreateTenantURL) Build() (*url.URL, error)
- func (o *CreateTenantURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateTenantURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateTenantURL) SetBasePath(bp string)
- func (o *CreateTenantURL) String() string
- func (o *CreateTenantURL) StringFull(scheme, host string) string
- func (o *CreateTenantURL) WithBasePath(bp string) *CreateTenantURL
- type DeletePod
- type DeletePodDefault
- func (o *DeletePodDefault) SetPayload(payload *models.Error)
- func (o *DeletePodDefault) SetStatusCode(code int)
- func (o *DeletePodDefault) WithPayload(payload *models.Error) *DeletePodDefault
- func (o *DeletePodDefault) WithStatusCode(code int) *DeletePodDefault
- func (o *DeletePodDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeletePodHandler
- type DeletePodHandlerFunc
- type DeletePodNoContent
- type DeletePodParams
- type DeletePodURL
- func (o *DeletePodURL) Build() (*url.URL, error)
- func (o *DeletePodURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeletePodURL) Must(u *url.URL, err error) *url.URL
- func (o *DeletePodURL) SetBasePath(bp string)
- func (o *DeletePodURL) String() string
- func (o *DeletePodURL) StringFull(scheme, host string) string
- func (o *DeletePodURL) WithBasePath(bp string) *DeletePodURL
- type DeleteTenant
- type DeleteTenantDefault
- func (o *DeleteTenantDefault) SetPayload(payload *models.Error)
- func (o *DeleteTenantDefault) SetStatusCode(code int)
- func (o *DeleteTenantDefault) WithPayload(payload *models.Error) *DeleteTenantDefault
- func (o *DeleteTenantDefault) WithStatusCode(code int) *DeleteTenantDefault
- func (o *DeleteTenantDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteTenantHandler
- type DeleteTenantHandlerFunc
- type DeleteTenantNoContent
- type DeleteTenantParams
- type DeleteTenantURL
- func (o *DeleteTenantURL) Build() (*url.URL, error)
- func (o *DeleteTenantURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteTenantURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteTenantURL) SetBasePath(bp string)
- func (o *DeleteTenantURL) String() string
- func (o *DeleteTenantURL) StringFull(scheme, host string) string
- func (o *DeleteTenantURL) WithBasePath(bp string) *DeleteTenantURL
- type DirectCSIFormatDrive
- type DirectCSIFormatDriveDefault
- func (o *DirectCSIFormatDriveDefault) SetPayload(payload *models.Error)
- func (o *DirectCSIFormatDriveDefault) SetStatusCode(code int)
- func (o *DirectCSIFormatDriveDefault) WithPayload(payload *models.Error) *DirectCSIFormatDriveDefault
- func (o *DirectCSIFormatDriveDefault) WithStatusCode(code int) *DirectCSIFormatDriveDefault
- func (o *DirectCSIFormatDriveDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DirectCSIFormatDriveHandler
- type DirectCSIFormatDriveHandlerFunc
- type DirectCSIFormatDriveOK
- func (o *DirectCSIFormatDriveOK) SetPayload(payload *models.FormatDirectCSIDrivesResponse)
- func (o *DirectCSIFormatDriveOK) WithPayload(payload *models.FormatDirectCSIDrivesResponse) *DirectCSIFormatDriveOK
- func (o *DirectCSIFormatDriveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DirectCSIFormatDriveParams
- type DirectCSIFormatDriveURL
- func (o *DirectCSIFormatDriveURL) Build() (*url.URL, error)
- func (o *DirectCSIFormatDriveURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DirectCSIFormatDriveURL) Must(u *url.URL, err error) *url.URL
- func (o *DirectCSIFormatDriveURL) SetBasePath(bp string)
- func (o *DirectCSIFormatDriveURL) String() string
- func (o *DirectCSIFormatDriveURL) StringFull(scheme, host string) string
- func (o *DirectCSIFormatDriveURL) WithBasePath(bp string) *DirectCSIFormatDriveURL
- type GetDirectCSIDriveList
- type GetDirectCSIDriveListDefault
- func (o *GetDirectCSIDriveListDefault) SetPayload(payload *models.Error)
- func (o *GetDirectCSIDriveListDefault) SetStatusCode(code int)
- func (o *GetDirectCSIDriveListDefault) WithPayload(payload *models.Error) *GetDirectCSIDriveListDefault
- func (o *GetDirectCSIDriveListDefault) WithStatusCode(code int) *GetDirectCSIDriveListDefault
- func (o *GetDirectCSIDriveListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDirectCSIDriveListHandler
- type GetDirectCSIDriveListHandlerFunc
- type GetDirectCSIDriveListOK
- func (o *GetDirectCSIDriveListOK) SetPayload(payload *models.GetDirectCSIDriveListResponse)
- func (o *GetDirectCSIDriveListOK) WithPayload(payload *models.GetDirectCSIDriveListResponse) *GetDirectCSIDriveListOK
- func (o *GetDirectCSIDriveListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDirectCSIDriveListParams
- type GetDirectCSIDriveListURL
- func (o *GetDirectCSIDriveListURL) Build() (*url.URL, error)
- func (o *GetDirectCSIDriveListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDirectCSIDriveListURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDirectCSIDriveListURL) SetBasePath(bp string)
- func (o *GetDirectCSIDriveListURL) String() string
- func (o *GetDirectCSIDriveListURL) StringFull(scheme, host string) string
- func (o *GetDirectCSIDriveListURL) WithBasePath(bp string) *GetDirectCSIDriveListURL
- type GetDirectCSIVolumeList
- type GetDirectCSIVolumeListDefault
- func (o *GetDirectCSIVolumeListDefault) SetPayload(payload *models.Error)
- func (o *GetDirectCSIVolumeListDefault) SetStatusCode(code int)
- func (o *GetDirectCSIVolumeListDefault) WithPayload(payload *models.Error) *GetDirectCSIVolumeListDefault
- func (o *GetDirectCSIVolumeListDefault) WithStatusCode(code int) *GetDirectCSIVolumeListDefault
- func (o *GetDirectCSIVolumeListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDirectCSIVolumeListHandler
- type GetDirectCSIVolumeListHandlerFunc
- type GetDirectCSIVolumeListOK
- func (o *GetDirectCSIVolumeListOK) SetPayload(payload *models.GetDirectCSIVolumeListResponse)
- func (o *GetDirectCSIVolumeListOK) WithPayload(payload *models.GetDirectCSIVolumeListResponse) *GetDirectCSIVolumeListOK
- func (o *GetDirectCSIVolumeListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDirectCSIVolumeListParams
- type GetDirectCSIVolumeListURL
- func (o *GetDirectCSIVolumeListURL) Build() (*url.URL, error)
- func (o *GetDirectCSIVolumeListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDirectCSIVolumeListURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDirectCSIVolumeListURL) SetBasePath(bp string)
- func (o *GetDirectCSIVolumeListURL) String() string
- func (o *GetDirectCSIVolumeListURL) StringFull(scheme, host string) string
- func (o *GetDirectCSIVolumeListURL) WithBasePath(bp string) *GetDirectCSIVolumeListURL
- type GetMaxAllocatableMem
- type GetMaxAllocatableMemDefault
- func (o *GetMaxAllocatableMemDefault) SetPayload(payload *models.Error)
- func (o *GetMaxAllocatableMemDefault) SetStatusCode(code int)
- func (o *GetMaxAllocatableMemDefault) WithPayload(payload *models.Error) *GetMaxAllocatableMemDefault
- func (o *GetMaxAllocatableMemDefault) WithStatusCode(code int) *GetMaxAllocatableMemDefault
- func (o *GetMaxAllocatableMemDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetMaxAllocatableMemHandler
- type GetMaxAllocatableMemHandlerFunc
- type GetMaxAllocatableMemOK
- type GetMaxAllocatableMemParams
- type GetMaxAllocatableMemURL
- func (o *GetMaxAllocatableMemURL) Build() (*url.URL, error)
- func (o *GetMaxAllocatableMemURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetMaxAllocatableMemURL) Must(u *url.URL, err error) *url.URL
- func (o *GetMaxAllocatableMemURL) SetBasePath(bp string)
- func (o *GetMaxAllocatableMemURL) String() string
- func (o *GetMaxAllocatableMemURL) StringFull(scheme, host string) string
- func (o *GetMaxAllocatableMemURL) WithBasePath(bp string) *GetMaxAllocatableMemURL
- type GetParity
- type GetParityDefault
- func (o *GetParityDefault) SetPayload(payload *models.Error)
- func (o *GetParityDefault) SetStatusCode(code int)
- func (o *GetParityDefault) WithPayload(payload *models.Error) *GetParityDefault
- func (o *GetParityDefault) WithStatusCode(code int) *GetParityDefault
- func (o *GetParityDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetParityHandler
- type GetParityHandlerFunc
- type GetParityOK
- type GetParityParams
- type GetParityURL
- func (o *GetParityURL) Build() (*url.URL, error)
- func (o *GetParityURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetParityURL) Must(u *url.URL, err error) *url.URL
- func (o *GetParityURL) SetBasePath(bp string)
- func (o *GetParityURL) String() string
- func (o *GetParityURL) StringFull(scheme, host string) string
- func (o *GetParityURL) WithBasePath(bp string) *GetParityURL
- type GetPodEvents
- type GetPodEventsDefault
- func (o *GetPodEventsDefault) SetPayload(payload *models.Error)
- func (o *GetPodEventsDefault) SetStatusCode(code int)
- func (o *GetPodEventsDefault) WithPayload(payload *models.Error) *GetPodEventsDefault
- func (o *GetPodEventsDefault) WithStatusCode(code int) *GetPodEventsDefault
- func (o *GetPodEventsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPodEventsHandler
- type GetPodEventsHandlerFunc
- type GetPodEventsOK
- type GetPodEventsParams
- type GetPodEventsURL
- func (o *GetPodEventsURL) Build() (*url.URL, error)
- func (o *GetPodEventsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPodEventsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPodEventsURL) SetBasePath(bp string)
- func (o *GetPodEventsURL) String() string
- func (o *GetPodEventsURL) StringFull(scheme, host string) string
- func (o *GetPodEventsURL) WithBasePath(bp string) *GetPodEventsURL
- type GetPodLogs
- type GetPodLogsDefault
- func (o *GetPodLogsDefault) SetPayload(payload *models.Error)
- func (o *GetPodLogsDefault) SetStatusCode(code int)
- func (o *GetPodLogsDefault) WithPayload(payload *models.Error) *GetPodLogsDefault
- func (o *GetPodLogsDefault) WithStatusCode(code int) *GetPodLogsDefault
- func (o *GetPodLogsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPodLogsHandler
- type GetPodLogsHandlerFunc
- type GetPodLogsOK
- type GetPodLogsParams
- type GetPodLogsURL
- func (o *GetPodLogsURL) Build() (*url.URL, error)
- func (o *GetPodLogsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPodLogsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPodLogsURL) SetBasePath(bp string)
- func (o *GetPodLogsURL) String() string
- func (o *GetPodLogsURL) StringFull(scheme, host string) string
- func (o *GetPodLogsURL) WithBasePath(bp string) *GetPodLogsURL
- type GetResourceQuota
- type GetResourceQuotaDefault
- func (o *GetResourceQuotaDefault) SetPayload(payload *models.Error)
- func (o *GetResourceQuotaDefault) SetStatusCode(code int)
- func (o *GetResourceQuotaDefault) WithPayload(payload *models.Error) *GetResourceQuotaDefault
- func (o *GetResourceQuotaDefault) WithStatusCode(code int) *GetResourceQuotaDefault
- func (o *GetResourceQuotaDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetResourceQuotaHandler
- type GetResourceQuotaHandlerFunc
- type GetResourceQuotaOK
- type GetResourceQuotaParams
- type GetResourceQuotaURL
- func (o *GetResourceQuotaURL) Build() (*url.URL, error)
- func (o *GetResourceQuotaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetResourceQuotaURL) Must(u *url.URL, err error) *url.URL
- func (o *GetResourceQuotaURL) SetBasePath(bp string)
- func (o *GetResourceQuotaURL) String() string
- func (o *GetResourceQuotaURL) StringFull(scheme, host string) string
- func (o *GetResourceQuotaURL) WithBasePath(bp string) *GetResourceQuotaURL
- type GetTenantPods
- type GetTenantPodsDefault
- func (o *GetTenantPodsDefault) SetPayload(payload *models.Error)
- func (o *GetTenantPodsDefault) SetStatusCode(code int)
- func (o *GetTenantPodsDefault) WithPayload(payload *models.Error) *GetTenantPodsDefault
- func (o *GetTenantPodsDefault) WithStatusCode(code int) *GetTenantPodsDefault
- func (o *GetTenantPodsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTenantPodsHandler
- type GetTenantPodsHandlerFunc
- type GetTenantPodsOK
- type GetTenantPodsParams
- type GetTenantPodsURL
- func (o *GetTenantPodsURL) Build() (*url.URL, error)
- func (o *GetTenantPodsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTenantPodsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTenantPodsURL) SetBasePath(bp string)
- func (o *GetTenantPodsURL) String() string
- func (o *GetTenantPodsURL) StringFull(scheme, host string) string
- func (o *GetTenantPodsURL) WithBasePath(bp string) *GetTenantPodsURL
- type GetTenantUsage
- type GetTenantUsageDefault
- func (o *GetTenantUsageDefault) SetPayload(payload *models.Error)
- func (o *GetTenantUsageDefault) SetStatusCode(code int)
- func (o *GetTenantUsageDefault) WithPayload(payload *models.Error) *GetTenantUsageDefault
- func (o *GetTenantUsageDefault) WithStatusCode(code int) *GetTenantUsageDefault
- func (o *GetTenantUsageDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTenantUsageHandler
- type GetTenantUsageHandlerFunc
- type GetTenantUsageOK
- type GetTenantUsageParams
- type GetTenantUsageURL
- func (o *GetTenantUsageURL) Build() (*url.URL, error)
- func (o *GetTenantUsageURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTenantUsageURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTenantUsageURL) SetBasePath(bp string)
- func (o *GetTenantUsageURL) String() string
- func (o *GetTenantUsageURL) StringFull(scheme, host string) string
- func (o *GetTenantUsageURL) WithBasePath(bp string) *GetTenantUsageURL
- type GetTenantYAML
- type GetTenantYAMLDefault
- func (o *GetTenantYAMLDefault) SetPayload(payload *models.Error)
- func (o *GetTenantYAMLDefault) SetStatusCode(code int)
- func (o *GetTenantYAMLDefault) WithPayload(payload *models.Error) *GetTenantYAMLDefault
- func (o *GetTenantYAMLDefault) WithStatusCode(code int) *GetTenantYAMLDefault
- func (o *GetTenantYAMLDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTenantYAMLHandler
- type GetTenantYAMLHandlerFunc
- type GetTenantYAMLOK
- type GetTenantYAMLParams
- type GetTenantYAMLURL
- func (o *GetTenantYAMLURL) Build() (*url.URL, error)
- func (o *GetTenantYAMLURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTenantYAMLURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTenantYAMLURL) SetBasePath(bp string)
- func (o *GetTenantYAMLURL) String() string
- func (o *GetTenantYAMLURL) StringFull(scheme, host string) string
- func (o *GetTenantYAMLURL) WithBasePath(bp string) *GetTenantYAMLURL
- type ListAllTenants
- type ListAllTenantsDefault
- func (o *ListAllTenantsDefault) SetPayload(payload *models.Error)
- func (o *ListAllTenantsDefault) SetStatusCode(code int)
- func (o *ListAllTenantsDefault) WithPayload(payload *models.Error) *ListAllTenantsDefault
- func (o *ListAllTenantsDefault) WithStatusCode(code int) *ListAllTenantsDefault
- func (o *ListAllTenantsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllTenantsHandler
- type ListAllTenantsHandlerFunc
- type ListAllTenantsOK
- type ListAllTenantsParams
- type ListAllTenantsURL
- func (o *ListAllTenantsURL) Build() (*url.URL, error)
- func (o *ListAllTenantsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllTenantsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllTenantsURL) SetBasePath(bp string)
- func (o *ListAllTenantsURL) String() string
- func (o *ListAllTenantsURL) StringFull(scheme, host string) string
- func (o *ListAllTenantsURL) WithBasePath(bp string) *ListAllTenantsURL
- type ListNodeLabels
- type ListNodeLabelsDefault
- func (o *ListNodeLabelsDefault) SetPayload(payload *models.Error)
- func (o *ListNodeLabelsDefault) SetStatusCode(code int)
- func (o *ListNodeLabelsDefault) WithPayload(payload *models.Error) *ListNodeLabelsDefault
- func (o *ListNodeLabelsDefault) WithStatusCode(code int) *ListNodeLabelsDefault
- func (o *ListNodeLabelsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListNodeLabelsHandler
- type ListNodeLabelsHandlerFunc
- type ListNodeLabelsOK
- type ListNodeLabelsParams
- type ListNodeLabelsURL
- func (o *ListNodeLabelsURL) Build() (*url.URL, error)
- func (o *ListNodeLabelsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListNodeLabelsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListNodeLabelsURL) SetBasePath(bp string)
- func (o *ListNodeLabelsURL) String() string
- func (o *ListNodeLabelsURL) StringFull(scheme, host string) string
- func (o *ListNodeLabelsURL) WithBasePath(bp string) *ListNodeLabelsURL
- type ListPVCs
- type ListPVCsDefault
- func (o *ListPVCsDefault) SetPayload(payload *models.Error)
- func (o *ListPVCsDefault) SetStatusCode(code int)
- func (o *ListPVCsDefault) WithPayload(payload *models.Error) *ListPVCsDefault
- func (o *ListPVCsDefault) WithStatusCode(code int) *ListPVCsDefault
- func (o *ListPVCsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListPVCsHandler
- type ListPVCsHandlerFunc
- type ListPVCsOK
- type ListPVCsParams
- type ListPVCsURL
- func (o *ListPVCsURL) Build() (*url.URL, error)
- func (o *ListPVCsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListPVCsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListPVCsURL) SetBasePath(bp string)
- func (o *ListPVCsURL) String() string
- func (o *ListPVCsURL) StringFull(scheme, host string) string
- func (o *ListPVCsURL) WithBasePath(bp string) *ListPVCsURL
- type ListTenants
- type ListTenantsDefault
- func (o *ListTenantsDefault) SetPayload(payload *models.Error)
- func (o *ListTenantsDefault) SetStatusCode(code int)
- func (o *ListTenantsDefault) WithPayload(payload *models.Error) *ListTenantsDefault
- func (o *ListTenantsDefault) WithStatusCode(code int) *ListTenantsDefault
- func (o *ListTenantsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListTenantsHandler
- type ListTenantsHandlerFunc
- type ListTenantsOK
- type ListTenantsParams
- type ListTenantsURL
- func (o *ListTenantsURL) Build() (*url.URL, error)
- func (o *ListTenantsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListTenantsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListTenantsURL) SetBasePath(bp string)
- func (o *ListTenantsURL) String() string
- func (o *ListTenantsURL) StringFull(scheme, host string) string
- func (o *ListTenantsURL) WithBasePath(bp string) *ListTenantsURL
- type PutTenantYAML
- type PutTenantYAMLCreated
- type PutTenantYAMLDefault
- func (o *PutTenantYAMLDefault) SetPayload(payload *models.Error)
- func (o *PutTenantYAMLDefault) SetStatusCode(code int)
- func (o *PutTenantYAMLDefault) WithPayload(payload *models.Error) *PutTenantYAMLDefault
- func (o *PutTenantYAMLDefault) WithStatusCode(code int) *PutTenantYAMLDefault
- func (o *PutTenantYAMLDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutTenantYAMLHandler
- type PutTenantYAMLHandlerFunc
- type PutTenantYAMLParams
- type PutTenantYAMLURL
- func (o *PutTenantYAMLURL) Build() (*url.URL, error)
- func (o *PutTenantYAMLURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutTenantYAMLURL) Must(u *url.URL, err error) *url.URL
- func (o *PutTenantYAMLURL) SetBasePath(bp string)
- func (o *PutTenantYAMLURL) String() string
- func (o *PutTenantYAMLURL) StringFull(scheme, host string) string
- func (o *PutTenantYAMLURL) WithBasePath(bp string) *PutTenantYAMLURL
- type SubscriptionActivate
- type SubscriptionActivateDefault
- func (o *SubscriptionActivateDefault) SetPayload(payload *models.Error)
- func (o *SubscriptionActivateDefault) SetStatusCode(code int)
- func (o *SubscriptionActivateDefault) WithPayload(payload *models.Error) *SubscriptionActivateDefault
- func (o *SubscriptionActivateDefault) WithStatusCode(code int) *SubscriptionActivateDefault
- func (o *SubscriptionActivateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubscriptionActivateHandler
- type SubscriptionActivateHandlerFunc
- type SubscriptionActivateNoContent
- type SubscriptionActivateParams
- type SubscriptionActivateURL
- func (o *SubscriptionActivateURL) Build() (*url.URL, error)
- func (o *SubscriptionActivateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubscriptionActivateURL) Must(u *url.URL, err error) *url.URL
- func (o *SubscriptionActivateURL) SetBasePath(bp string)
- func (o *SubscriptionActivateURL) String() string
- func (o *SubscriptionActivateURL) StringFull(scheme, host string) string
- func (o *SubscriptionActivateURL) WithBasePath(bp string) *SubscriptionActivateURL
- type SubscriptionInfo
- type SubscriptionInfoDefault
- func (o *SubscriptionInfoDefault) SetPayload(payload *models.Error)
- func (o *SubscriptionInfoDefault) SetStatusCode(code int)
- func (o *SubscriptionInfoDefault) WithPayload(payload *models.Error) *SubscriptionInfoDefault
- func (o *SubscriptionInfoDefault) WithStatusCode(code int) *SubscriptionInfoDefault
- func (o *SubscriptionInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubscriptionInfoHandler
- type SubscriptionInfoHandlerFunc
- type SubscriptionInfoOK
- type SubscriptionInfoParams
- type SubscriptionInfoURL
- func (o *SubscriptionInfoURL) Build() (*url.URL, error)
- func (o *SubscriptionInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubscriptionInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *SubscriptionInfoURL) SetBasePath(bp string)
- func (o *SubscriptionInfoURL) String() string
- func (o *SubscriptionInfoURL) StringFull(scheme, host string) string
- func (o *SubscriptionInfoURL) WithBasePath(bp string) *SubscriptionInfoURL
- type SubscriptionRefresh
- type SubscriptionRefreshDefault
- func (o *SubscriptionRefreshDefault) SetPayload(payload *models.Error)
- func (o *SubscriptionRefreshDefault) SetStatusCode(code int)
- func (o *SubscriptionRefreshDefault) WithPayload(payload *models.Error) *SubscriptionRefreshDefault
- func (o *SubscriptionRefreshDefault) WithStatusCode(code int) *SubscriptionRefreshDefault
- func (o *SubscriptionRefreshDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubscriptionRefreshHandler
- type SubscriptionRefreshHandlerFunc
- type SubscriptionRefreshOK
- type SubscriptionRefreshParams
- type SubscriptionRefreshURL
- func (o *SubscriptionRefreshURL) Build() (*url.URL, error)
- func (o *SubscriptionRefreshURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubscriptionRefreshURL) Must(u *url.URL, err error) *url.URL
- func (o *SubscriptionRefreshURL) SetBasePath(bp string)
- func (o *SubscriptionRefreshURL) String() string
- func (o *SubscriptionRefreshURL) StringFull(scheme, host string) string
- func (o *SubscriptionRefreshURL) WithBasePath(bp string) *SubscriptionRefreshURL
- type SubscriptionValidate
- type SubscriptionValidateDefault
- func (o *SubscriptionValidateDefault) SetPayload(payload *models.Error)
- func (o *SubscriptionValidateDefault) SetStatusCode(code int)
- func (o *SubscriptionValidateDefault) WithPayload(payload *models.Error) *SubscriptionValidateDefault
- func (o *SubscriptionValidateDefault) WithStatusCode(code int) *SubscriptionValidateDefault
- func (o *SubscriptionValidateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubscriptionValidateHandler
- type SubscriptionValidateHandlerFunc
- type SubscriptionValidateOK
- type SubscriptionValidateParams
- type SubscriptionValidateURL
- func (o *SubscriptionValidateURL) Build() (*url.URL, error)
- func (o *SubscriptionValidateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubscriptionValidateURL) Must(u *url.URL, err error) *url.URL
- func (o *SubscriptionValidateURL) SetBasePath(bp string)
- func (o *SubscriptionValidateURL) String() string
- func (o *SubscriptionValidateURL) StringFull(scheme, host string) string
- func (o *SubscriptionValidateURL) WithBasePath(bp string) *SubscriptionValidateURL
- type TenantAddPool
- type TenantAddPoolCreated
- type TenantAddPoolDefault
- func (o *TenantAddPoolDefault) SetPayload(payload *models.Error)
- func (o *TenantAddPoolDefault) SetStatusCode(code int)
- func (o *TenantAddPoolDefault) WithPayload(payload *models.Error) *TenantAddPoolDefault
- func (o *TenantAddPoolDefault) WithStatusCode(code int) *TenantAddPoolDefault
- func (o *TenantAddPoolDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantAddPoolHandler
- type TenantAddPoolHandlerFunc
- type TenantAddPoolParams
- type TenantAddPoolURL
- func (o *TenantAddPoolURL) Build() (*url.URL, error)
- func (o *TenantAddPoolURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantAddPoolURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantAddPoolURL) SetBasePath(bp string)
- func (o *TenantAddPoolURL) String() string
- func (o *TenantAddPoolURL) StringFull(scheme, host string) string
- func (o *TenantAddPoolURL) WithBasePath(bp string) *TenantAddPoolURL
- type TenantDetails
- type TenantDetailsDefault
- func (o *TenantDetailsDefault) SetPayload(payload *models.Error)
- func (o *TenantDetailsDefault) SetStatusCode(code int)
- func (o *TenantDetailsDefault) WithPayload(payload *models.Error) *TenantDetailsDefault
- func (o *TenantDetailsDefault) WithStatusCode(code int) *TenantDetailsDefault
- func (o *TenantDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantDetailsHandler
- type TenantDetailsHandlerFunc
- type TenantDetailsOK
- type TenantDetailsParams
- type TenantDetailsURL
- func (o *TenantDetailsURL) Build() (*url.URL, error)
- func (o *TenantDetailsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantDetailsURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantDetailsURL) SetBasePath(bp string)
- func (o *TenantDetailsURL) String() string
- func (o *TenantDetailsURL) StringFull(scheme, host string) string
- func (o *TenantDetailsURL) WithBasePath(bp string) *TenantDetailsURL
- type TenantSecurity
- type TenantSecurityDefault
- func (o *TenantSecurityDefault) SetPayload(payload *models.Error)
- func (o *TenantSecurityDefault) SetStatusCode(code int)
- func (o *TenantSecurityDefault) WithPayload(payload *models.Error) *TenantSecurityDefault
- func (o *TenantSecurityDefault) WithStatusCode(code int) *TenantSecurityDefault
- func (o *TenantSecurityDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantSecurityHandler
- type TenantSecurityHandlerFunc
- type TenantSecurityOK
- type TenantSecurityParams
- type TenantSecurityURL
- func (o *TenantSecurityURL) Build() (*url.URL, error)
- func (o *TenantSecurityURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantSecurityURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantSecurityURL) SetBasePath(bp string)
- func (o *TenantSecurityURL) String() string
- func (o *TenantSecurityURL) StringFull(scheme, host string) string
- func (o *TenantSecurityURL) WithBasePath(bp string) *TenantSecurityURL
- type TenantUpdateCertificate
- type TenantUpdateCertificateCreated
- type TenantUpdateCertificateDefault
- func (o *TenantUpdateCertificateDefault) SetPayload(payload *models.Error)
- func (o *TenantUpdateCertificateDefault) SetStatusCode(code int)
- func (o *TenantUpdateCertificateDefault) WithPayload(payload *models.Error) *TenantUpdateCertificateDefault
- func (o *TenantUpdateCertificateDefault) WithStatusCode(code int) *TenantUpdateCertificateDefault
- func (o *TenantUpdateCertificateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantUpdateCertificateHandler
- type TenantUpdateCertificateHandlerFunc
- type TenantUpdateCertificateParams
- type TenantUpdateCertificateURL
- func (o *TenantUpdateCertificateURL) Build() (*url.URL, error)
- func (o *TenantUpdateCertificateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantUpdateCertificateURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantUpdateCertificateURL) SetBasePath(bp string)
- func (o *TenantUpdateCertificateURL) String() string
- func (o *TenantUpdateCertificateURL) StringFull(scheme, host string) string
- func (o *TenantUpdateCertificateURL) WithBasePath(bp string) *TenantUpdateCertificateURL
- type TenantUpdateEncryption
- type TenantUpdateEncryptionCreated
- type TenantUpdateEncryptionDefault
- func (o *TenantUpdateEncryptionDefault) SetPayload(payload *models.Error)
- func (o *TenantUpdateEncryptionDefault) SetStatusCode(code int)
- func (o *TenantUpdateEncryptionDefault) WithPayload(payload *models.Error) *TenantUpdateEncryptionDefault
- func (o *TenantUpdateEncryptionDefault) WithStatusCode(code int) *TenantUpdateEncryptionDefault
- func (o *TenantUpdateEncryptionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantUpdateEncryptionHandler
- type TenantUpdateEncryptionHandlerFunc
- type TenantUpdateEncryptionParams
- type TenantUpdateEncryptionURL
- func (o *TenantUpdateEncryptionURL) Build() (*url.URL, error)
- func (o *TenantUpdateEncryptionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantUpdateEncryptionURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantUpdateEncryptionURL) SetBasePath(bp string)
- func (o *TenantUpdateEncryptionURL) String() string
- func (o *TenantUpdateEncryptionURL) StringFull(scheme, host string) string
- func (o *TenantUpdateEncryptionURL) WithBasePath(bp string) *TenantUpdateEncryptionURL
- type TenantUpdatePools
- type TenantUpdatePoolsDefault
- func (o *TenantUpdatePoolsDefault) SetPayload(payload *models.Error)
- func (o *TenantUpdatePoolsDefault) SetStatusCode(code int)
- func (o *TenantUpdatePoolsDefault) WithPayload(payload *models.Error) *TenantUpdatePoolsDefault
- func (o *TenantUpdatePoolsDefault) WithStatusCode(code int) *TenantUpdatePoolsDefault
- func (o *TenantUpdatePoolsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantUpdatePoolsHandler
- type TenantUpdatePoolsHandlerFunc
- type TenantUpdatePoolsOK
- type TenantUpdatePoolsParams
- type TenantUpdatePoolsURL
- func (o *TenantUpdatePoolsURL) Build() (*url.URL, error)
- func (o *TenantUpdatePoolsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantUpdatePoolsURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantUpdatePoolsURL) SetBasePath(bp string)
- func (o *TenantUpdatePoolsURL) String() string
- func (o *TenantUpdatePoolsURL) StringFull(scheme, host string) string
- func (o *TenantUpdatePoolsURL) WithBasePath(bp string) *TenantUpdatePoolsURL
- type UpdateTenant
- type UpdateTenantCreated
- type UpdateTenantDefault
- func (o *UpdateTenantDefault) SetPayload(payload *models.Error)
- func (o *UpdateTenantDefault) SetStatusCode(code int)
- func (o *UpdateTenantDefault) WithPayload(payload *models.Error) *UpdateTenantDefault
- func (o *UpdateTenantDefault) WithStatusCode(code int) *UpdateTenantDefault
- func (o *UpdateTenantDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateTenantHandler
- type UpdateTenantHandlerFunc
- type UpdateTenantParams
- type UpdateTenantSecurity
- type UpdateTenantSecurityDefault
- func (o *UpdateTenantSecurityDefault) SetPayload(payload *models.Error)
- func (o *UpdateTenantSecurityDefault) SetStatusCode(code int)
- func (o *UpdateTenantSecurityDefault) WithPayload(payload *models.Error) *UpdateTenantSecurityDefault
- func (o *UpdateTenantSecurityDefault) WithStatusCode(code int) *UpdateTenantSecurityDefault
- func (o *UpdateTenantSecurityDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateTenantSecurityHandler
- type UpdateTenantSecurityHandlerFunc
- type UpdateTenantSecurityNoContent
- type UpdateTenantSecurityParams
- type UpdateTenantSecurityURL
- func (o *UpdateTenantSecurityURL) Build() (*url.URL, error)
- func (o *UpdateTenantSecurityURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateTenantSecurityURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateTenantSecurityURL) SetBasePath(bp string)
- func (o *UpdateTenantSecurityURL) String() string
- func (o *UpdateTenantSecurityURL) StringFull(scheme, host string) string
- func (o *UpdateTenantSecurityURL) WithBasePath(bp string) *UpdateTenantSecurityURL
- type UpdateTenantURL
- func (o *UpdateTenantURL) Build() (*url.URL, error)
- func (o *UpdateTenantURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateTenantURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateTenantURL) SetBasePath(bp string)
- func (o *UpdateTenantURL) String() string
- func (o *UpdateTenantURL) StringFull(scheme, host string) string
- func (o *UpdateTenantURL) WithBasePath(bp string) *UpdateTenantURL
Constants ¶
const CreateNamespaceCreatedCode int = 201
CreateNamespaceCreatedCode is the HTTP code returned for type CreateNamespaceCreated
const CreateTenantOKCode int = 200
CreateTenantOKCode is the HTTP code returned for type CreateTenantOK
const DeletePodNoContentCode int = 204
DeletePodNoContentCode is the HTTP code returned for type DeletePodNoContent
const DeleteTenantNoContentCode int = 204
DeleteTenantNoContentCode is the HTTP code returned for type DeleteTenantNoContent
const DirectCSIFormatDriveOKCode int = 200
DirectCSIFormatDriveOKCode is the HTTP code returned for type DirectCSIFormatDriveOK
const GetDirectCSIDriveListOKCode int = 200
GetDirectCSIDriveListOKCode is the HTTP code returned for type GetDirectCSIDriveListOK
const GetDirectCSIVolumeListOKCode int = 200
GetDirectCSIVolumeListOKCode is the HTTP code returned for type GetDirectCSIVolumeListOK
const GetMaxAllocatableMemOKCode int = 200
GetMaxAllocatableMemOKCode is the HTTP code returned for type GetMaxAllocatableMemOK
const GetParityOKCode int = 200
GetParityOKCode is the HTTP code returned for type GetParityOK
const GetPodEventsOKCode int = 200
GetPodEventsOKCode is the HTTP code returned for type GetPodEventsOK
const GetPodLogsOKCode int = 200
GetPodLogsOKCode is the HTTP code returned for type GetPodLogsOK
const GetResourceQuotaOKCode int = 200
GetResourceQuotaOKCode is the HTTP code returned for type GetResourceQuotaOK
const GetTenantPodsOKCode int = 200
GetTenantPodsOKCode is the HTTP code returned for type GetTenantPodsOK
const GetTenantUsageOKCode int = 200
GetTenantUsageOKCode is the HTTP code returned for type GetTenantUsageOK
const GetTenantYAMLOKCode int = 200
GetTenantYAMLOKCode is the HTTP code returned for type GetTenantYAMLOK
const ListAllTenantsOKCode int = 200
ListAllTenantsOKCode is the HTTP code returned for type ListAllTenantsOK
const ListNodeLabelsOKCode int = 200
ListNodeLabelsOKCode is the HTTP code returned for type ListNodeLabelsOK
const ListPVCsOKCode int = 200
ListPVCsOKCode is the HTTP code returned for type ListPVCsOK
const ListTenantsOKCode int = 200
ListTenantsOKCode is the HTTP code returned for type ListTenantsOK
const PutTenantYAMLCreatedCode int = 201
PutTenantYAMLCreatedCode is the HTTP code returned for type PutTenantYAMLCreated
const SubscriptionActivateNoContentCode int = 204
SubscriptionActivateNoContentCode is the HTTP code returned for type SubscriptionActivateNoContent
const SubscriptionInfoOKCode int = 200
SubscriptionInfoOKCode is the HTTP code returned for type SubscriptionInfoOK
const SubscriptionRefreshOKCode int = 200
SubscriptionRefreshOKCode is the HTTP code returned for type SubscriptionRefreshOK
const SubscriptionValidateOKCode int = 200
SubscriptionValidateOKCode is the HTTP code returned for type SubscriptionValidateOK
const TenantAddPoolCreatedCode int = 201
TenantAddPoolCreatedCode is the HTTP code returned for type TenantAddPoolCreated
const TenantDetailsOKCode int = 200
TenantDetailsOKCode is the HTTP code returned for type TenantDetailsOK
const TenantSecurityOKCode int = 200
TenantSecurityOKCode is the HTTP code returned for type TenantSecurityOK
const TenantUpdateCertificateCreatedCode int = 201
TenantUpdateCertificateCreatedCode is the HTTP code returned for type TenantUpdateCertificateCreated
const TenantUpdateEncryptionCreatedCode int = 201
TenantUpdateEncryptionCreatedCode is the HTTP code returned for type TenantUpdateEncryptionCreated
const TenantUpdatePoolsOKCode int = 200
TenantUpdatePoolsOKCode is the HTTP code returned for type TenantUpdatePoolsOK
const UpdateTenantCreatedCode int = 201
UpdateTenantCreatedCode is the HTTP code returned for type UpdateTenantCreated
const UpdateTenantSecurityNoContentCode int = 204
UpdateTenantSecurityNoContentCode is the HTTP code returned for type UpdateTenantSecurityNoContent
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateNamespace ¶
type CreateNamespace struct { Context *middleware.Context Handler CreateNamespaceHandler }
CreateNamespace swagger:route POST /namespace OperatorAPI createNamespace
Creates a new Namespace with given information
func NewCreateNamespace ¶
func NewCreateNamespace(ctx *middleware.Context, handler CreateNamespaceHandler) *CreateNamespace
NewCreateNamespace creates a new http.Handler for the create namespace operation
func (*CreateNamespace) ServeHTTP ¶
func (o *CreateNamespace) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateNamespaceCreated ¶
type CreateNamespaceCreated struct { }
CreateNamespaceCreated A successful response.
swagger:response createNamespaceCreated
func NewCreateNamespaceCreated ¶
func NewCreateNamespaceCreated() *CreateNamespaceCreated
NewCreateNamespaceCreated creates CreateNamespaceCreated with default headers values
func (*CreateNamespaceCreated) WriteResponse ¶
func (o *CreateNamespaceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateNamespaceDefault ¶
type CreateNamespaceDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateNamespaceDefault Generic error response.
swagger:response createNamespaceDefault
func NewCreateNamespaceDefault ¶
func NewCreateNamespaceDefault(code int) *CreateNamespaceDefault
NewCreateNamespaceDefault creates CreateNamespaceDefault with default headers values
func (*CreateNamespaceDefault) SetPayload ¶
func (o *CreateNamespaceDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the create namespace default response
func (*CreateNamespaceDefault) SetStatusCode ¶
func (o *CreateNamespaceDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create namespace default response
func (*CreateNamespaceDefault) WithPayload ¶
func (o *CreateNamespaceDefault) WithPayload(payload *models.Error) *CreateNamespaceDefault
WithPayload adds the payload to the create namespace default response
func (*CreateNamespaceDefault) WithStatusCode ¶
func (o *CreateNamespaceDefault) WithStatusCode(code int) *CreateNamespaceDefault
WithStatusCode adds the status to the create namespace default response
func (*CreateNamespaceDefault) WriteResponse ¶
func (o *CreateNamespaceDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateNamespaceHandler ¶
type CreateNamespaceHandler interface {
Handle(CreateNamespaceParams, *models.Principal) middleware.Responder
}
CreateNamespaceHandler interface for that can handle valid create namespace params
type CreateNamespaceHandlerFunc ¶
type CreateNamespaceHandlerFunc func(CreateNamespaceParams, *models.Principal) middleware.Responder
CreateNamespaceHandlerFunc turns a function with the right signature into a create namespace handler
func (CreateNamespaceHandlerFunc) Handle ¶
func (fn CreateNamespaceHandlerFunc) Handle(params CreateNamespaceParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type CreateNamespaceParams ¶
type CreateNamespaceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.Namespace }
CreateNamespaceParams contains all the bound params for the create namespace operation typically these are obtained from a http.Request
swagger:parameters CreateNamespace
func NewCreateNamespaceParams ¶
func NewCreateNamespaceParams() CreateNamespaceParams
NewCreateNamespaceParams creates a new CreateNamespaceParams object
There are no default values defined in the spec.
func (*CreateNamespaceParams) BindRequest ¶
func (o *CreateNamespaceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateNamespaceParams() beforehand.
type CreateNamespaceURL ¶
type CreateNamespaceURL struct {
// contains filtered or unexported fields
}
CreateNamespaceURL generates an URL for the create namespace operation
func (*CreateNamespaceURL) Build ¶
func (o *CreateNamespaceURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateNamespaceURL) BuildFull ¶
func (o *CreateNamespaceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateNamespaceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateNamespaceURL) SetBasePath ¶
func (o *CreateNamespaceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateNamespaceURL) String ¶
func (o *CreateNamespaceURL) String() string
String returns the string representation of the path with query string
func (*CreateNamespaceURL) StringFull ¶
func (o *CreateNamespaceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateNamespaceURL) WithBasePath ¶
func (o *CreateNamespaceURL) WithBasePath(bp string) *CreateNamespaceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateTenant ¶
type CreateTenant struct { Context *middleware.Context Handler CreateTenantHandler }
CreateTenant swagger:route POST /tenants OperatorAPI createTenant
Create Tenant
func NewCreateTenant ¶
func NewCreateTenant(ctx *middleware.Context, handler CreateTenantHandler) *CreateTenant
NewCreateTenant creates a new http.Handler for the create tenant operation
func (*CreateTenant) ServeHTTP ¶
func (o *CreateTenant) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateTenantDefault ¶
type CreateTenantDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateTenantDefault Generic error response.
swagger:response createTenantDefault
func NewCreateTenantDefault ¶
func NewCreateTenantDefault(code int) *CreateTenantDefault
NewCreateTenantDefault creates CreateTenantDefault with default headers values
func (*CreateTenantDefault) SetPayload ¶
func (o *CreateTenantDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the create tenant default response
func (*CreateTenantDefault) SetStatusCode ¶
func (o *CreateTenantDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create tenant default response
func (*CreateTenantDefault) WithPayload ¶
func (o *CreateTenantDefault) WithPayload(payload *models.Error) *CreateTenantDefault
WithPayload adds the payload to the create tenant default response
func (*CreateTenantDefault) WithStatusCode ¶
func (o *CreateTenantDefault) WithStatusCode(code int) *CreateTenantDefault
WithStatusCode adds the status to the create tenant default response
func (*CreateTenantDefault) WriteResponse ¶
func (o *CreateTenantDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateTenantHandler ¶
type CreateTenantHandler interface {
Handle(CreateTenantParams, *models.Principal) middleware.Responder
}
CreateTenantHandler interface for that can handle valid create tenant params
type CreateTenantHandlerFunc ¶
type CreateTenantHandlerFunc func(CreateTenantParams, *models.Principal) middleware.Responder
CreateTenantHandlerFunc turns a function with the right signature into a create tenant handler
func (CreateTenantHandlerFunc) Handle ¶
func (fn CreateTenantHandlerFunc) Handle(params CreateTenantParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type CreateTenantOK ¶
type CreateTenantOK struct { /* In: Body */ Payload *models.CreateTenantResponse `json:"body,omitempty"` }
CreateTenantOK A successful response.
swagger:response createTenantOK
func NewCreateTenantOK ¶
func NewCreateTenantOK() *CreateTenantOK
NewCreateTenantOK creates CreateTenantOK with default headers values
func (*CreateTenantOK) SetPayload ¶
func (o *CreateTenantOK) SetPayload(payload *models.CreateTenantResponse)
SetPayload sets the payload to the create tenant o k response
func (*CreateTenantOK) WithPayload ¶
func (o *CreateTenantOK) WithPayload(payload *models.CreateTenantResponse) *CreateTenantOK
WithPayload adds the payload to the create tenant o k response
func (*CreateTenantOK) WriteResponse ¶
func (o *CreateTenantOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateTenantParams ¶
type CreateTenantParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.CreateTenantRequest }
CreateTenantParams contains all the bound params for the create tenant operation typically these are obtained from a http.Request
swagger:parameters CreateTenant
func NewCreateTenantParams ¶
func NewCreateTenantParams() CreateTenantParams
NewCreateTenantParams creates a new CreateTenantParams object
There are no default values defined in the spec.
func (*CreateTenantParams) BindRequest ¶
func (o *CreateTenantParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateTenantParams() beforehand.
type CreateTenantURL ¶
type CreateTenantURL struct {
// contains filtered or unexported fields
}
CreateTenantURL generates an URL for the create tenant operation
func (*CreateTenantURL) Build ¶
func (o *CreateTenantURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateTenantURL) BuildFull ¶
func (o *CreateTenantURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateTenantURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateTenantURL) SetBasePath ¶
func (o *CreateTenantURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateTenantURL) String ¶
func (o *CreateTenantURL) String() string
String returns the string representation of the path with query string
func (*CreateTenantURL) StringFull ¶
func (o *CreateTenantURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateTenantURL) WithBasePath ¶
func (o *CreateTenantURL) WithBasePath(bp string) *CreateTenantURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeletePod ¶
type DeletePod struct { Context *middleware.Context Handler DeletePodHandler }
DeletePod swagger:route DELETE /namespaces/{namespace}/tenants/{tenant}/pods/{podName} OperatorAPI deletePod
Delete pod
func NewDeletePod ¶
func NewDeletePod(ctx *middleware.Context, handler DeletePodHandler) *DeletePod
NewDeletePod creates a new http.Handler for the delete pod operation
type DeletePodDefault ¶
type DeletePodDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeletePodDefault Generic error response.
swagger:response deletePodDefault
func NewDeletePodDefault ¶
func NewDeletePodDefault(code int) *DeletePodDefault
NewDeletePodDefault creates DeletePodDefault with default headers values
func (*DeletePodDefault) SetPayload ¶
func (o *DeletePodDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete pod default response
func (*DeletePodDefault) SetStatusCode ¶
func (o *DeletePodDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete pod default response
func (*DeletePodDefault) WithPayload ¶
func (o *DeletePodDefault) WithPayload(payload *models.Error) *DeletePodDefault
WithPayload adds the payload to the delete pod default response
func (*DeletePodDefault) WithStatusCode ¶
func (o *DeletePodDefault) WithStatusCode(code int) *DeletePodDefault
WithStatusCode adds the status to the delete pod default response
func (*DeletePodDefault) WriteResponse ¶
func (o *DeletePodDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePodHandler ¶
type DeletePodHandler interface {
Handle(DeletePodParams, *models.Principal) middleware.Responder
}
DeletePodHandler interface for that can handle valid delete pod params
type DeletePodHandlerFunc ¶
type DeletePodHandlerFunc func(DeletePodParams, *models.Principal) middleware.Responder
DeletePodHandlerFunc turns a function with the right signature into a delete pod handler
func (DeletePodHandlerFunc) Handle ¶
func (fn DeletePodHandlerFunc) Handle(params DeletePodParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeletePodNoContent ¶
type DeletePodNoContent struct { }
DeletePodNoContent A successful response.
swagger:response deletePodNoContent
func NewDeletePodNoContent ¶
func NewDeletePodNoContent() *DeletePodNoContent
NewDeletePodNoContent creates DeletePodNoContent with default headers values
func (*DeletePodNoContent) WriteResponse ¶
func (o *DeletePodNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePodParams ¶
type DeletePodParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Namespace string /* Required: true In: path */ PodName string /* Required: true In: path */ Tenant string }
DeletePodParams contains all the bound params for the delete pod operation typically these are obtained from a http.Request
swagger:parameters DeletePod
func NewDeletePodParams ¶
func NewDeletePodParams() DeletePodParams
NewDeletePodParams creates a new DeletePodParams object
There are no default values defined in the spec.
func (*DeletePodParams) BindRequest ¶
func (o *DeletePodParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeletePodParams() beforehand.
type DeletePodURL ¶
type DeletePodURL struct { Namespace string PodName string Tenant string // contains filtered or unexported fields }
DeletePodURL generates an URL for the delete pod operation
func (*DeletePodURL) Build ¶
func (o *DeletePodURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeletePodURL) BuildFull ¶
func (o *DeletePodURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeletePodURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeletePodURL) SetBasePath ¶
func (o *DeletePodURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeletePodURL) String ¶
func (o *DeletePodURL) String() string
String returns the string representation of the path with query string
func (*DeletePodURL) StringFull ¶
func (o *DeletePodURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeletePodURL) WithBasePath ¶
func (o *DeletePodURL) WithBasePath(bp string) *DeletePodURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteTenant ¶
type DeleteTenant struct { Context *middleware.Context Handler DeleteTenantHandler }
DeleteTenant swagger:route DELETE /namespaces/{namespace}/tenants/{tenant} OperatorAPI deleteTenant
Delete tenant and underlying pvcs
func NewDeleteTenant ¶
func NewDeleteTenant(ctx *middleware.Context, handler DeleteTenantHandler) *DeleteTenant
NewDeleteTenant creates a new http.Handler for the delete tenant operation
func (*DeleteTenant) ServeHTTP ¶
func (o *DeleteTenant) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteTenantDefault ¶
type DeleteTenantDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteTenantDefault Generic error response.
swagger:response deleteTenantDefault
func NewDeleteTenantDefault ¶
func NewDeleteTenantDefault(code int) *DeleteTenantDefault
NewDeleteTenantDefault creates DeleteTenantDefault with default headers values
func (*DeleteTenantDefault) SetPayload ¶
func (o *DeleteTenantDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete tenant default response
func (*DeleteTenantDefault) SetStatusCode ¶
func (o *DeleteTenantDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete tenant default response
func (*DeleteTenantDefault) WithPayload ¶
func (o *DeleteTenantDefault) WithPayload(payload *models.Error) *DeleteTenantDefault
WithPayload adds the payload to the delete tenant default response
func (*DeleteTenantDefault) WithStatusCode ¶
func (o *DeleteTenantDefault) WithStatusCode(code int) *DeleteTenantDefault
WithStatusCode adds the status to the delete tenant default response
func (*DeleteTenantDefault) WriteResponse ¶
func (o *DeleteTenantDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTenantHandler ¶
type DeleteTenantHandler interface {
Handle(DeleteTenantParams, *models.Principal) middleware.Responder
}
DeleteTenantHandler interface for that can handle valid delete tenant params
type DeleteTenantHandlerFunc ¶
type DeleteTenantHandlerFunc func(DeleteTenantParams, *models.Principal) middleware.Responder
DeleteTenantHandlerFunc turns a function with the right signature into a delete tenant handler
func (DeleteTenantHandlerFunc) Handle ¶
func (fn DeleteTenantHandlerFunc) Handle(params DeleteTenantParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteTenantNoContent ¶
type DeleteTenantNoContent struct { }
DeleteTenantNoContent A successful response.
swagger:response deleteTenantNoContent
func NewDeleteTenantNoContent ¶
func NewDeleteTenantNoContent() *DeleteTenantNoContent
NewDeleteTenantNoContent creates DeleteTenantNoContent with default headers values
func (*DeleteTenantNoContent) WriteResponse ¶
func (o *DeleteTenantNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTenantParams ¶
type DeleteTenantParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *models.DeleteTenantRequest /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
DeleteTenantParams contains all the bound params for the delete tenant operation typically these are obtained from a http.Request
swagger:parameters DeleteTenant
func NewDeleteTenantParams ¶
func NewDeleteTenantParams() DeleteTenantParams
NewDeleteTenantParams creates a new DeleteTenantParams object
There are no default values defined in the spec.
func (*DeleteTenantParams) BindRequest ¶
func (o *DeleteTenantParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteTenantParams() beforehand.
type DeleteTenantURL ¶
type DeleteTenantURL struct { Namespace string Tenant string // contains filtered or unexported fields }
DeleteTenantURL generates an URL for the delete tenant operation
func (*DeleteTenantURL) Build ¶
func (o *DeleteTenantURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteTenantURL) BuildFull ¶
func (o *DeleteTenantURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteTenantURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteTenantURL) SetBasePath ¶
func (o *DeleteTenantURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteTenantURL) String ¶
func (o *DeleteTenantURL) String() string
String returns the string representation of the path with query string
func (*DeleteTenantURL) StringFull ¶
func (o *DeleteTenantURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteTenantURL) WithBasePath ¶
func (o *DeleteTenantURL) WithBasePath(bp string) *DeleteTenantURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DirectCSIFormatDrive ¶
type DirectCSIFormatDrive struct { Context *middleware.Context Handler DirectCSIFormatDriveHandler }
DirectCSIFormatDrive swagger:route POST /direct-csi/drives/format OperatorAPI directCSIFormatDrive
Format direct-csi drives from a list
func NewDirectCSIFormatDrive ¶
func NewDirectCSIFormatDrive(ctx *middleware.Context, handler DirectCSIFormatDriveHandler) *DirectCSIFormatDrive
NewDirectCSIFormatDrive creates a new http.Handler for the direct c s i format drive operation
func (*DirectCSIFormatDrive) ServeHTTP ¶
func (o *DirectCSIFormatDrive) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DirectCSIFormatDriveDefault ¶
type DirectCSIFormatDriveDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DirectCSIFormatDriveDefault Generic error response.
swagger:response directCSIFormatDriveDefault
func NewDirectCSIFormatDriveDefault ¶
func NewDirectCSIFormatDriveDefault(code int) *DirectCSIFormatDriveDefault
NewDirectCSIFormatDriveDefault creates DirectCSIFormatDriveDefault with default headers values
func (*DirectCSIFormatDriveDefault) SetPayload ¶
func (o *DirectCSIFormatDriveDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the direct c s i format drive default response
func (*DirectCSIFormatDriveDefault) SetStatusCode ¶
func (o *DirectCSIFormatDriveDefault) SetStatusCode(code int)
SetStatusCode sets the status to the direct c s i format drive default response
func (*DirectCSIFormatDriveDefault) WithPayload ¶
func (o *DirectCSIFormatDriveDefault) WithPayload(payload *models.Error) *DirectCSIFormatDriveDefault
WithPayload adds the payload to the direct c s i format drive default response
func (*DirectCSIFormatDriveDefault) WithStatusCode ¶
func (o *DirectCSIFormatDriveDefault) WithStatusCode(code int) *DirectCSIFormatDriveDefault
WithStatusCode adds the status to the direct c s i format drive default response
func (*DirectCSIFormatDriveDefault) WriteResponse ¶
func (o *DirectCSIFormatDriveDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DirectCSIFormatDriveHandler ¶
type DirectCSIFormatDriveHandler interface {
Handle(DirectCSIFormatDriveParams, *models.Principal) middleware.Responder
}
DirectCSIFormatDriveHandler interface for that can handle valid direct c s i format drive params
type DirectCSIFormatDriveHandlerFunc ¶
type DirectCSIFormatDriveHandlerFunc func(DirectCSIFormatDriveParams, *models.Principal) middleware.Responder
DirectCSIFormatDriveHandlerFunc turns a function with the right signature into a direct c s i format drive handler
func (DirectCSIFormatDriveHandlerFunc) Handle ¶
func (fn DirectCSIFormatDriveHandlerFunc) Handle(params DirectCSIFormatDriveParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DirectCSIFormatDriveOK ¶
type DirectCSIFormatDriveOK struct { /* In: Body */ Payload *models.FormatDirectCSIDrivesResponse `json:"body,omitempty"` }
DirectCSIFormatDriveOK A successful response.
swagger:response directCSIFormatDriveOK
func NewDirectCSIFormatDriveOK ¶
func NewDirectCSIFormatDriveOK() *DirectCSIFormatDriveOK
NewDirectCSIFormatDriveOK creates DirectCSIFormatDriveOK with default headers values
func (*DirectCSIFormatDriveOK) SetPayload ¶
func (o *DirectCSIFormatDriveOK) SetPayload(payload *models.FormatDirectCSIDrivesResponse)
SetPayload sets the payload to the direct c s i format drive o k response
func (*DirectCSIFormatDriveOK) WithPayload ¶
func (o *DirectCSIFormatDriveOK) WithPayload(payload *models.FormatDirectCSIDrivesResponse) *DirectCSIFormatDriveOK
WithPayload adds the payload to the direct c s i format drive o k response
func (*DirectCSIFormatDriveOK) WriteResponse ¶
func (o *DirectCSIFormatDriveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DirectCSIFormatDriveParams ¶
type DirectCSIFormatDriveParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.FormatConfiguration }
DirectCSIFormatDriveParams contains all the bound params for the direct c s i format drive operation typically these are obtained from a http.Request
swagger:parameters DirectCSIFormatDrive
func NewDirectCSIFormatDriveParams ¶
func NewDirectCSIFormatDriveParams() DirectCSIFormatDriveParams
NewDirectCSIFormatDriveParams creates a new DirectCSIFormatDriveParams object
There are no default values defined in the spec.
func (*DirectCSIFormatDriveParams) BindRequest ¶
func (o *DirectCSIFormatDriveParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDirectCSIFormatDriveParams() beforehand.
type DirectCSIFormatDriveURL ¶
type DirectCSIFormatDriveURL struct {
// contains filtered or unexported fields
}
DirectCSIFormatDriveURL generates an URL for the direct c s i format drive operation
func (*DirectCSIFormatDriveURL) Build ¶
func (o *DirectCSIFormatDriveURL) Build() (*url.URL, error)
Build a url path and query string
func (*DirectCSIFormatDriveURL) BuildFull ¶
func (o *DirectCSIFormatDriveURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DirectCSIFormatDriveURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DirectCSIFormatDriveURL) SetBasePath ¶
func (o *DirectCSIFormatDriveURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DirectCSIFormatDriveURL) String ¶
func (o *DirectCSIFormatDriveURL) String() string
String returns the string representation of the path with query string
func (*DirectCSIFormatDriveURL) StringFull ¶
func (o *DirectCSIFormatDriveURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DirectCSIFormatDriveURL) WithBasePath ¶
func (o *DirectCSIFormatDriveURL) WithBasePath(bp string) *DirectCSIFormatDriveURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDirectCSIDriveList ¶
type GetDirectCSIDriveList struct { Context *middleware.Context Handler GetDirectCSIDriveListHandler }
GetDirectCSIDriveList swagger:route GET /direct-csi/drives OperatorAPI getDirectCSIDriveList
Get direct-csi drives list
func NewGetDirectCSIDriveList ¶
func NewGetDirectCSIDriveList(ctx *middleware.Context, handler GetDirectCSIDriveListHandler) *GetDirectCSIDriveList
NewGetDirectCSIDriveList creates a new http.Handler for the get direct c s i drive list operation
func (*GetDirectCSIDriveList) ServeHTTP ¶
func (o *GetDirectCSIDriveList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDirectCSIDriveListDefault ¶
type GetDirectCSIDriveListDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetDirectCSIDriveListDefault Generic error response.
swagger:response getDirectCSIDriveListDefault
func NewGetDirectCSIDriveListDefault ¶
func NewGetDirectCSIDriveListDefault(code int) *GetDirectCSIDriveListDefault
NewGetDirectCSIDriveListDefault creates GetDirectCSIDriveListDefault with default headers values
func (*GetDirectCSIDriveListDefault) SetPayload ¶
func (o *GetDirectCSIDriveListDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get direct c s i drive list default response
func (*GetDirectCSIDriveListDefault) SetStatusCode ¶
func (o *GetDirectCSIDriveListDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get direct c s i drive list default response
func (*GetDirectCSIDriveListDefault) WithPayload ¶
func (o *GetDirectCSIDriveListDefault) WithPayload(payload *models.Error) *GetDirectCSIDriveListDefault
WithPayload adds the payload to the get direct c s i drive list default response
func (*GetDirectCSIDriveListDefault) WithStatusCode ¶
func (o *GetDirectCSIDriveListDefault) WithStatusCode(code int) *GetDirectCSIDriveListDefault
WithStatusCode adds the status to the get direct c s i drive list default response
func (*GetDirectCSIDriveListDefault) WriteResponse ¶
func (o *GetDirectCSIDriveListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDirectCSIDriveListHandler ¶
type GetDirectCSIDriveListHandler interface {
Handle(GetDirectCSIDriveListParams, *models.Principal) middleware.Responder
}
GetDirectCSIDriveListHandler interface for that can handle valid get direct c s i drive list params
type GetDirectCSIDriveListHandlerFunc ¶
type GetDirectCSIDriveListHandlerFunc func(GetDirectCSIDriveListParams, *models.Principal) middleware.Responder
GetDirectCSIDriveListHandlerFunc turns a function with the right signature into a get direct c s i drive list handler
func (GetDirectCSIDriveListHandlerFunc) Handle ¶
func (fn GetDirectCSIDriveListHandlerFunc) Handle(params GetDirectCSIDriveListParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetDirectCSIDriveListOK ¶
type GetDirectCSIDriveListOK struct { /* In: Body */ Payload *models.GetDirectCSIDriveListResponse `json:"body,omitempty"` }
GetDirectCSIDriveListOK A successful response.
swagger:response getDirectCSIDriveListOK
func NewGetDirectCSIDriveListOK ¶
func NewGetDirectCSIDriveListOK() *GetDirectCSIDriveListOK
NewGetDirectCSIDriveListOK creates GetDirectCSIDriveListOK with default headers values
func (*GetDirectCSIDriveListOK) SetPayload ¶
func (o *GetDirectCSIDriveListOK) SetPayload(payload *models.GetDirectCSIDriveListResponse)
SetPayload sets the payload to the get direct c s i drive list o k response
func (*GetDirectCSIDriveListOK) WithPayload ¶
func (o *GetDirectCSIDriveListOK) WithPayload(payload *models.GetDirectCSIDriveListResponse) *GetDirectCSIDriveListOK
WithPayload adds the payload to the get direct c s i drive list o k response
func (*GetDirectCSIDriveListOK) WriteResponse ¶
func (o *GetDirectCSIDriveListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDirectCSIDriveListParams ¶
type GetDirectCSIDriveListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Drives *string /* In: query */ Nodes *string }
GetDirectCSIDriveListParams contains all the bound params for the get direct c s i drive list operation typically these are obtained from a http.Request
swagger:parameters GetDirectCSIDriveList
func NewGetDirectCSIDriveListParams ¶
func NewGetDirectCSIDriveListParams() GetDirectCSIDriveListParams
NewGetDirectCSIDriveListParams creates a new GetDirectCSIDriveListParams object
There are no default values defined in the spec.
func (*GetDirectCSIDriveListParams) BindRequest ¶
func (o *GetDirectCSIDriveListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDirectCSIDriveListParams() beforehand.
type GetDirectCSIDriveListURL ¶
type GetDirectCSIDriveListURL struct { Drives *string Nodes *string // contains filtered or unexported fields }
GetDirectCSIDriveListURL generates an URL for the get direct c s i drive list operation
func (*GetDirectCSIDriveListURL) Build ¶
func (o *GetDirectCSIDriveListURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDirectCSIDriveListURL) BuildFull ¶
func (o *GetDirectCSIDriveListURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDirectCSIDriveListURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDirectCSIDriveListURL) SetBasePath ¶
func (o *GetDirectCSIDriveListURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDirectCSIDriveListURL) String ¶
func (o *GetDirectCSIDriveListURL) String() string
String returns the string representation of the path with query string
func (*GetDirectCSIDriveListURL) StringFull ¶
func (o *GetDirectCSIDriveListURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDirectCSIDriveListURL) WithBasePath ¶
func (o *GetDirectCSIDriveListURL) WithBasePath(bp string) *GetDirectCSIDriveListURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDirectCSIVolumeList ¶
type GetDirectCSIVolumeList struct { Context *middleware.Context Handler GetDirectCSIVolumeListHandler }
GetDirectCSIVolumeList swagger:route GET /direct-csi/volumes OperatorAPI getDirectCSIVolumeList
Get direct-csi volumes list
func NewGetDirectCSIVolumeList ¶
func NewGetDirectCSIVolumeList(ctx *middleware.Context, handler GetDirectCSIVolumeListHandler) *GetDirectCSIVolumeList
NewGetDirectCSIVolumeList creates a new http.Handler for the get direct c s i volume list operation
func (*GetDirectCSIVolumeList) ServeHTTP ¶
func (o *GetDirectCSIVolumeList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDirectCSIVolumeListDefault ¶
type GetDirectCSIVolumeListDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetDirectCSIVolumeListDefault Generic error response.
swagger:response getDirectCSIVolumeListDefault
func NewGetDirectCSIVolumeListDefault ¶
func NewGetDirectCSIVolumeListDefault(code int) *GetDirectCSIVolumeListDefault
NewGetDirectCSIVolumeListDefault creates GetDirectCSIVolumeListDefault with default headers values
func (*GetDirectCSIVolumeListDefault) SetPayload ¶
func (o *GetDirectCSIVolumeListDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get direct c s i volume list default response
func (*GetDirectCSIVolumeListDefault) SetStatusCode ¶
func (o *GetDirectCSIVolumeListDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get direct c s i volume list default response
func (*GetDirectCSIVolumeListDefault) WithPayload ¶
func (o *GetDirectCSIVolumeListDefault) WithPayload(payload *models.Error) *GetDirectCSIVolumeListDefault
WithPayload adds the payload to the get direct c s i volume list default response
func (*GetDirectCSIVolumeListDefault) WithStatusCode ¶
func (o *GetDirectCSIVolumeListDefault) WithStatusCode(code int) *GetDirectCSIVolumeListDefault
WithStatusCode adds the status to the get direct c s i volume list default response
func (*GetDirectCSIVolumeListDefault) WriteResponse ¶
func (o *GetDirectCSIVolumeListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDirectCSIVolumeListHandler ¶
type GetDirectCSIVolumeListHandler interface {
Handle(GetDirectCSIVolumeListParams, *models.Principal) middleware.Responder
}
GetDirectCSIVolumeListHandler interface for that can handle valid get direct c s i volume list params
type GetDirectCSIVolumeListHandlerFunc ¶
type GetDirectCSIVolumeListHandlerFunc func(GetDirectCSIVolumeListParams, *models.Principal) middleware.Responder
GetDirectCSIVolumeListHandlerFunc turns a function with the right signature into a get direct c s i volume list handler
func (GetDirectCSIVolumeListHandlerFunc) Handle ¶
func (fn GetDirectCSIVolumeListHandlerFunc) Handle(params GetDirectCSIVolumeListParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetDirectCSIVolumeListOK ¶
type GetDirectCSIVolumeListOK struct { /* In: Body */ Payload *models.GetDirectCSIVolumeListResponse `json:"body,omitempty"` }
GetDirectCSIVolumeListOK A successful response.
swagger:response getDirectCSIVolumeListOK
func NewGetDirectCSIVolumeListOK ¶
func NewGetDirectCSIVolumeListOK() *GetDirectCSIVolumeListOK
NewGetDirectCSIVolumeListOK creates GetDirectCSIVolumeListOK with default headers values
func (*GetDirectCSIVolumeListOK) SetPayload ¶
func (o *GetDirectCSIVolumeListOK) SetPayload(payload *models.GetDirectCSIVolumeListResponse)
SetPayload sets the payload to the get direct c s i volume list o k response
func (*GetDirectCSIVolumeListOK) WithPayload ¶
func (o *GetDirectCSIVolumeListOK) WithPayload(payload *models.GetDirectCSIVolumeListResponse) *GetDirectCSIVolumeListOK
WithPayload adds the payload to the get direct c s i volume list o k response
func (*GetDirectCSIVolumeListOK) WriteResponse ¶
func (o *GetDirectCSIVolumeListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDirectCSIVolumeListParams ¶
type GetDirectCSIVolumeListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Drives *string /* In: query */ Nodes *string }
GetDirectCSIVolumeListParams contains all the bound params for the get direct c s i volume list operation typically these are obtained from a http.Request
swagger:parameters GetDirectCSIVolumeList
func NewGetDirectCSIVolumeListParams ¶
func NewGetDirectCSIVolumeListParams() GetDirectCSIVolumeListParams
NewGetDirectCSIVolumeListParams creates a new GetDirectCSIVolumeListParams object
There are no default values defined in the spec.
func (*GetDirectCSIVolumeListParams) BindRequest ¶
func (o *GetDirectCSIVolumeListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDirectCSIVolumeListParams() beforehand.
type GetDirectCSIVolumeListURL ¶
type GetDirectCSIVolumeListURL struct { Drives *string Nodes *string // contains filtered or unexported fields }
GetDirectCSIVolumeListURL generates an URL for the get direct c s i volume list operation
func (*GetDirectCSIVolumeListURL) Build ¶
func (o *GetDirectCSIVolumeListURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDirectCSIVolumeListURL) BuildFull ¶
func (o *GetDirectCSIVolumeListURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDirectCSIVolumeListURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDirectCSIVolumeListURL) SetBasePath ¶
func (o *GetDirectCSIVolumeListURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDirectCSIVolumeListURL) String ¶
func (o *GetDirectCSIVolumeListURL) String() string
String returns the string representation of the path with query string
func (*GetDirectCSIVolumeListURL) StringFull ¶
func (o *GetDirectCSIVolumeListURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDirectCSIVolumeListURL) WithBasePath ¶
func (o *GetDirectCSIVolumeListURL) WithBasePath(bp string) *GetDirectCSIVolumeListURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetMaxAllocatableMem ¶
type GetMaxAllocatableMem struct { Context *middleware.Context Handler GetMaxAllocatableMemHandler }
GetMaxAllocatableMem swagger:route GET /cluster/max-allocatable-memory OperatorAPI getMaxAllocatableMem
Get maximum allocatable memory for given number of nodes
func NewGetMaxAllocatableMem ¶
func NewGetMaxAllocatableMem(ctx *middleware.Context, handler GetMaxAllocatableMemHandler) *GetMaxAllocatableMem
NewGetMaxAllocatableMem creates a new http.Handler for the get max allocatable mem operation
func (*GetMaxAllocatableMem) ServeHTTP ¶
func (o *GetMaxAllocatableMem) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetMaxAllocatableMemDefault ¶
type GetMaxAllocatableMemDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetMaxAllocatableMemDefault Generic error response.
swagger:response getMaxAllocatableMemDefault
func NewGetMaxAllocatableMemDefault ¶
func NewGetMaxAllocatableMemDefault(code int) *GetMaxAllocatableMemDefault
NewGetMaxAllocatableMemDefault creates GetMaxAllocatableMemDefault with default headers values
func (*GetMaxAllocatableMemDefault) SetPayload ¶
func (o *GetMaxAllocatableMemDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get max allocatable mem default response
func (*GetMaxAllocatableMemDefault) SetStatusCode ¶
func (o *GetMaxAllocatableMemDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get max allocatable mem default response
func (*GetMaxAllocatableMemDefault) WithPayload ¶
func (o *GetMaxAllocatableMemDefault) WithPayload(payload *models.Error) *GetMaxAllocatableMemDefault
WithPayload adds the payload to the get max allocatable mem default response
func (*GetMaxAllocatableMemDefault) WithStatusCode ¶
func (o *GetMaxAllocatableMemDefault) WithStatusCode(code int) *GetMaxAllocatableMemDefault
WithStatusCode adds the status to the get max allocatable mem default response
func (*GetMaxAllocatableMemDefault) WriteResponse ¶
func (o *GetMaxAllocatableMemDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMaxAllocatableMemHandler ¶
type GetMaxAllocatableMemHandler interface {
Handle(GetMaxAllocatableMemParams, *models.Principal) middleware.Responder
}
GetMaxAllocatableMemHandler interface for that can handle valid get max allocatable mem params
type GetMaxAllocatableMemHandlerFunc ¶
type GetMaxAllocatableMemHandlerFunc func(GetMaxAllocatableMemParams, *models.Principal) middleware.Responder
GetMaxAllocatableMemHandlerFunc turns a function with the right signature into a get max allocatable mem handler
func (GetMaxAllocatableMemHandlerFunc) Handle ¶
func (fn GetMaxAllocatableMemHandlerFunc) Handle(params GetMaxAllocatableMemParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetMaxAllocatableMemOK ¶
type GetMaxAllocatableMemOK struct { /* In: Body */ Payload *models.MaxAllocatableMemResponse `json:"body,omitempty"` }
GetMaxAllocatableMemOK A successful response.
swagger:response getMaxAllocatableMemOK
func NewGetMaxAllocatableMemOK ¶
func NewGetMaxAllocatableMemOK() *GetMaxAllocatableMemOK
NewGetMaxAllocatableMemOK creates GetMaxAllocatableMemOK with default headers values
func (*GetMaxAllocatableMemOK) SetPayload ¶
func (o *GetMaxAllocatableMemOK) SetPayload(payload *models.MaxAllocatableMemResponse)
SetPayload sets the payload to the get max allocatable mem o k response
func (*GetMaxAllocatableMemOK) WithPayload ¶
func (o *GetMaxAllocatableMemOK) WithPayload(payload *models.MaxAllocatableMemResponse) *GetMaxAllocatableMemOK
WithPayload adds the payload to the get max allocatable mem o k response
func (*GetMaxAllocatableMemOK) WriteResponse ¶
func (o *GetMaxAllocatableMemOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMaxAllocatableMemParams ¶
type GetMaxAllocatableMemParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Minimum: 1 In: query */ NumNodes int32 }
GetMaxAllocatableMemParams contains all the bound params for the get max allocatable mem operation typically these are obtained from a http.Request
swagger:parameters GetMaxAllocatableMem
func NewGetMaxAllocatableMemParams ¶
func NewGetMaxAllocatableMemParams() GetMaxAllocatableMemParams
NewGetMaxAllocatableMemParams creates a new GetMaxAllocatableMemParams object
There are no default values defined in the spec.
func (*GetMaxAllocatableMemParams) BindRequest ¶
func (o *GetMaxAllocatableMemParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetMaxAllocatableMemParams() beforehand.
type GetMaxAllocatableMemURL ¶
type GetMaxAllocatableMemURL struct { NumNodes int32 // contains filtered or unexported fields }
GetMaxAllocatableMemURL generates an URL for the get max allocatable mem operation
func (*GetMaxAllocatableMemURL) Build ¶
func (o *GetMaxAllocatableMemURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetMaxAllocatableMemURL) BuildFull ¶
func (o *GetMaxAllocatableMemURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetMaxAllocatableMemURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetMaxAllocatableMemURL) SetBasePath ¶
func (o *GetMaxAllocatableMemURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetMaxAllocatableMemURL) String ¶
func (o *GetMaxAllocatableMemURL) String() string
String returns the string representation of the path with query string
func (*GetMaxAllocatableMemURL) StringFull ¶
func (o *GetMaxAllocatableMemURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetMaxAllocatableMemURL) WithBasePath ¶
func (o *GetMaxAllocatableMemURL) WithBasePath(bp string) *GetMaxAllocatableMemURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetParity ¶
type GetParity struct { Context *middleware.Context Handler GetParityHandler }
GetParity swagger:route GET /get-parity/{nodes}/{disksPerNode} OperatorAPI getParity
Gets parity by sending number of nodes & number of disks
func NewGetParity ¶
func NewGetParity(ctx *middleware.Context, handler GetParityHandler) *GetParity
NewGetParity creates a new http.Handler for the get parity operation
type GetParityDefault ¶
type GetParityDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetParityDefault Generic error response.
swagger:response getParityDefault
func NewGetParityDefault ¶
func NewGetParityDefault(code int) *GetParityDefault
NewGetParityDefault creates GetParityDefault with default headers values
func (*GetParityDefault) SetPayload ¶
func (o *GetParityDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get parity default response
func (*GetParityDefault) SetStatusCode ¶
func (o *GetParityDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get parity default response
func (*GetParityDefault) WithPayload ¶
func (o *GetParityDefault) WithPayload(payload *models.Error) *GetParityDefault
WithPayload adds the payload to the get parity default response
func (*GetParityDefault) WithStatusCode ¶
func (o *GetParityDefault) WithStatusCode(code int) *GetParityDefault
WithStatusCode adds the status to the get parity default response
func (*GetParityDefault) WriteResponse ¶
func (o *GetParityDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetParityHandler ¶
type GetParityHandler interface {
Handle(GetParityParams, *models.Principal) middleware.Responder
}
GetParityHandler interface for that can handle valid get parity params
type GetParityHandlerFunc ¶
type GetParityHandlerFunc func(GetParityParams, *models.Principal) middleware.Responder
GetParityHandlerFunc turns a function with the right signature into a get parity handler
func (GetParityHandlerFunc) Handle ¶
func (fn GetParityHandlerFunc) Handle(params GetParityParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetParityOK ¶
type GetParityOK struct { /* In: Body */ Payload models.ParityResponse `json:"body,omitempty"` }
GetParityOK A successful response.
swagger:response getParityOK
func NewGetParityOK ¶
func NewGetParityOK() *GetParityOK
NewGetParityOK creates GetParityOK with default headers values
func (*GetParityOK) SetPayload ¶
func (o *GetParityOK) SetPayload(payload models.ParityResponse)
SetPayload sets the payload to the get parity o k response
func (*GetParityOK) WithPayload ¶
func (o *GetParityOK) WithPayload(payload models.ParityResponse) *GetParityOK
WithPayload adds the payload to the get parity o k response
func (*GetParityOK) WriteResponse ¶
func (o *GetParityOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetParityParams ¶
type GetParityParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Minimum: 1 In: path */ DisksPerNode int64 /* Required: true Minimum: 2 In: path */ Nodes int64 }
GetParityParams contains all the bound params for the get parity operation typically these are obtained from a http.Request
swagger:parameters GetParity
func NewGetParityParams ¶
func NewGetParityParams() GetParityParams
NewGetParityParams creates a new GetParityParams object
There are no default values defined in the spec.
func (*GetParityParams) BindRequest ¶
func (o *GetParityParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetParityParams() beforehand.
type GetParityURL ¶
type GetParityURL struct { DisksPerNode int64 Nodes int64 // contains filtered or unexported fields }
GetParityURL generates an URL for the get parity operation
func (*GetParityURL) Build ¶
func (o *GetParityURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetParityURL) BuildFull ¶
func (o *GetParityURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetParityURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetParityURL) SetBasePath ¶
func (o *GetParityURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetParityURL) String ¶
func (o *GetParityURL) String() string
String returns the string representation of the path with query string
func (*GetParityURL) StringFull ¶
func (o *GetParityURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetParityURL) WithBasePath ¶
func (o *GetParityURL) WithBasePath(bp string) *GetParityURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetPodEvents ¶
type GetPodEvents struct { Context *middleware.Context Handler GetPodEventsHandler }
GetPodEvents swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pods/{podName}/events OperatorAPI getPodEvents
Get Events for Pod
func NewGetPodEvents ¶
func NewGetPodEvents(ctx *middleware.Context, handler GetPodEventsHandler) *GetPodEvents
NewGetPodEvents creates a new http.Handler for the get pod events operation
func (*GetPodEvents) ServeHTTP ¶
func (o *GetPodEvents) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPodEventsDefault ¶
type GetPodEventsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetPodEventsDefault Generic error response.
swagger:response getPodEventsDefault
func NewGetPodEventsDefault ¶
func NewGetPodEventsDefault(code int) *GetPodEventsDefault
NewGetPodEventsDefault creates GetPodEventsDefault with default headers values
func (*GetPodEventsDefault) SetPayload ¶
func (o *GetPodEventsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get pod events default response
func (*GetPodEventsDefault) SetStatusCode ¶
func (o *GetPodEventsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get pod events default response
func (*GetPodEventsDefault) WithPayload ¶
func (o *GetPodEventsDefault) WithPayload(payload *models.Error) *GetPodEventsDefault
WithPayload adds the payload to the get pod events default response
func (*GetPodEventsDefault) WithStatusCode ¶
func (o *GetPodEventsDefault) WithStatusCode(code int) *GetPodEventsDefault
WithStatusCode adds the status to the get pod events default response
func (*GetPodEventsDefault) WriteResponse ¶
func (o *GetPodEventsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPodEventsHandler ¶
type GetPodEventsHandler interface {
Handle(GetPodEventsParams, *models.Principal) middleware.Responder
}
GetPodEventsHandler interface for that can handle valid get pod events params
type GetPodEventsHandlerFunc ¶
type GetPodEventsHandlerFunc func(GetPodEventsParams, *models.Principal) middleware.Responder
GetPodEventsHandlerFunc turns a function with the right signature into a get pod events handler
func (GetPodEventsHandlerFunc) Handle ¶
func (fn GetPodEventsHandlerFunc) Handle(params GetPodEventsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetPodEventsOK ¶
type GetPodEventsOK struct { /* In: Body */ Payload models.EventListWrapper `json:"body,omitempty"` }
GetPodEventsOK A successful response.
swagger:response getPodEventsOK
func NewGetPodEventsOK ¶
func NewGetPodEventsOK() *GetPodEventsOK
NewGetPodEventsOK creates GetPodEventsOK with default headers values
func (*GetPodEventsOK) SetPayload ¶
func (o *GetPodEventsOK) SetPayload(payload models.EventListWrapper)
SetPayload sets the payload to the get pod events o k response
func (*GetPodEventsOK) WithPayload ¶
func (o *GetPodEventsOK) WithPayload(payload models.EventListWrapper) *GetPodEventsOK
WithPayload adds the payload to the get pod events o k response
func (*GetPodEventsOK) WriteResponse ¶
func (o *GetPodEventsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPodEventsParams ¶
type GetPodEventsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Namespace string /* Required: true In: path */ PodName string /* Required: true In: path */ Tenant string }
GetPodEventsParams contains all the bound params for the get pod events operation typically these are obtained from a http.Request
swagger:parameters GetPodEvents
func NewGetPodEventsParams ¶
func NewGetPodEventsParams() GetPodEventsParams
NewGetPodEventsParams creates a new GetPodEventsParams object
There are no default values defined in the spec.
func (*GetPodEventsParams) BindRequest ¶
func (o *GetPodEventsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetPodEventsParams() beforehand.
type GetPodEventsURL ¶
type GetPodEventsURL struct { Namespace string PodName string Tenant string // contains filtered or unexported fields }
GetPodEventsURL generates an URL for the get pod events operation
func (*GetPodEventsURL) Build ¶
func (o *GetPodEventsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPodEventsURL) BuildFull ¶
func (o *GetPodEventsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPodEventsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPodEventsURL) SetBasePath ¶
func (o *GetPodEventsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetPodEventsURL) String ¶
func (o *GetPodEventsURL) String() string
String returns the string representation of the path with query string
func (*GetPodEventsURL) StringFull ¶
func (o *GetPodEventsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPodEventsURL) WithBasePath ¶
func (o *GetPodEventsURL) WithBasePath(bp string) *GetPodEventsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetPodLogs ¶
type GetPodLogs struct { Context *middleware.Context Handler GetPodLogsHandler }
GetPodLogs swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pods/{podName} OperatorAPI getPodLogs
Get Logs for Pod
func NewGetPodLogs ¶
func NewGetPodLogs(ctx *middleware.Context, handler GetPodLogsHandler) *GetPodLogs
NewGetPodLogs creates a new http.Handler for the get pod logs operation
func (*GetPodLogs) ServeHTTP ¶
func (o *GetPodLogs) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPodLogsDefault ¶
type GetPodLogsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetPodLogsDefault Generic error response.
swagger:response getPodLogsDefault
func NewGetPodLogsDefault ¶
func NewGetPodLogsDefault(code int) *GetPodLogsDefault
NewGetPodLogsDefault creates GetPodLogsDefault with default headers values
func (*GetPodLogsDefault) SetPayload ¶
func (o *GetPodLogsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get pod logs default response
func (*GetPodLogsDefault) SetStatusCode ¶
func (o *GetPodLogsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get pod logs default response
func (*GetPodLogsDefault) WithPayload ¶
func (o *GetPodLogsDefault) WithPayload(payload *models.Error) *GetPodLogsDefault
WithPayload adds the payload to the get pod logs default response
func (*GetPodLogsDefault) WithStatusCode ¶
func (o *GetPodLogsDefault) WithStatusCode(code int) *GetPodLogsDefault
WithStatusCode adds the status to the get pod logs default response
func (*GetPodLogsDefault) WriteResponse ¶
func (o *GetPodLogsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPodLogsHandler ¶
type GetPodLogsHandler interface {
Handle(GetPodLogsParams, *models.Principal) middleware.Responder
}
GetPodLogsHandler interface for that can handle valid get pod logs params
type GetPodLogsHandlerFunc ¶
type GetPodLogsHandlerFunc func(GetPodLogsParams, *models.Principal) middleware.Responder
GetPodLogsHandlerFunc turns a function with the right signature into a get pod logs handler
func (GetPodLogsHandlerFunc) Handle ¶
func (fn GetPodLogsHandlerFunc) Handle(params GetPodLogsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetPodLogsOK ¶
type GetPodLogsOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetPodLogsOK A successful response.
swagger:response getPodLogsOK
func NewGetPodLogsOK ¶
func NewGetPodLogsOK() *GetPodLogsOK
NewGetPodLogsOK creates GetPodLogsOK with default headers values
func (*GetPodLogsOK) SetPayload ¶
func (o *GetPodLogsOK) SetPayload(payload string)
SetPayload sets the payload to the get pod logs o k response
func (*GetPodLogsOK) WithPayload ¶
func (o *GetPodLogsOK) WithPayload(payload string) *GetPodLogsOK
WithPayload adds the payload to the get pod logs o k response
func (*GetPodLogsOK) WriteResponse ¶
func (o *GetPodLogsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPodLogsParams ¶
type GetPodLogsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Namespace string /* Required: true In: path */ PodName string /* Required: true In: path */ Tenant string }
GetPodLogsParams contains all the bound params for the get pod logs operation typically these are obtained from a http.Request
swagger:parameters GetPodLogs
func NewGetPodLogsParams ¶
func NewGetPodLogsParams() GetPodLogsParams
NewGetPodLogsParams creates a new GetPodLogsParams object
There are no default values defined in the spec.
func (*GetPodLogsParams) BindRequest ¶
func (o *GetPodLogsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetPodLogsParams() beforehand.
type GetPodLogsURL ¶
type GetPodLogsURL struct { Namespace string PodName string Tenant string // contains filtered or unexported fields }
GetPodLogsURL generates an URL for the get pod logs operation
func (*GetPodLogsURL) Build ¶
func (o *GetPodLogsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPodLogsURL) BuildFull ¶
func (o *GetPodLogsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPodLogsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPodLogsURL) SetBasePath ¶
func (o *GetPodLogsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetPodLogsURL) String ¶
func (o *GetPodLogsURL) String() string
String returns the string representation of the path with query string
func (*GetPodLogsURL) StringFull ¶
func (o *GetPodLogsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPodLogsURL) WithBasePath ¶
func (o *GetPodLogsURL) WithBasePath(bp string) *GetPodLogsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetResourceQuota ¶
type GetResourceQuota struct { Context *middleware.Context Handler GetResourceQuotaHandler }
GetResourceQuota swagger:route GET /namespaces/{namespace}/resourcequotas/{resource-quota-name} OperatorAPI getResourceQuota
Get Resource Quota
func NewGetResourceQuota ¶
func NewGetResourceQuota(ctx *middleware.Context, handler GetResourceQuotaHandler) *GetResourceQuota
NewGetResourceQuota creates a new http.Handler for the get resource quota operation
func (*GetResourceQuota) ServeHTTP ¶
func (o *GetResourceQuota) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetResourceQuotaDefault ¶
type GetResourceQuotaDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetResourceQuotaDefault Generic error response.
swagger:response getResourceQuotaDefault
func NewGetResourceQuotaDefault ¶
func NewGetResourceQuotaDefault(code int) *GetResourceQuotaDefault
NewGetResourceQuotaDefault creates GetResourceQuotaDefault with default headers values
func (*GetResourceQuotaDefault) SetPayload ¶
func (o *GetResourceQuotaDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get resource quota default response
func (*GetResourceQuotaDefault) SetStatusCode ¶
func (o *GetResourceQuotaDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get resource quota default response
func (*GetResourceQuotaDefault) WithPayload ¶
func (o *GetResourceQuotaDefault) WithPayload(payload *models.Error) *GetResourceQuotaDefault
WithPayload adds the payload to the get resource quota default response
func (*GetResourceQuotaDefault) WithStatusCode ¶
func (o *GetResourceQuotaDefault) WithStatusCode(code int) *GetResourceQuotaDefault
WithStatusCode adds the status to the get resource quota default response
func (*GetResourceQuotaDefault) WriteResponse ¶
func (o *GetResourceQuotaDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetResourceQuotaHandler ¶
type GetResourceQuotaHandler interface {
Handle(GetResourceQuotaParams, *models.Principal) middleware.Responder
}
GetResourceQuotaHandler interface for that can handle valid get resource quota params
type GetResourceQuotaHandlerFunc ¶
type GetResourceQuotaHandlerFunc func(GetResourceQuotaParams, *models.Principal) middleware.Responder
GetResourceQuotaHandlerFunc turns a function with the right signature into a get resource quota handler
func (GetResourceQuotaHandlerFunc) Handle ¶
func (fn GetResourceQuotaHandlerFunc) Handle(params GetResourceQuotaParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetResourceQuotaOK ¶
type GetResourceQuotaOK struct { /* In: Body */ Payload *models.ResourceQuota `json:"body,omitempty"` }
GetResourceQuotaOK A successful response.
swagger:response getResourceQuotaOK
func NewGetResourceQuotaOK ¶
func NewGetResourceQuotaOK() *GetResourceQuotaOK
NewGetResourceQuotaOK creates GetResourceQuotaOK with default headers values
func (*GetResourceQuotaOK) SetPayload ¶
func (o *GetResourceQuotaOK) SetPayload(payload *models.ResourceQuota)
SetPayload sets the payload to the get resource quota o k response
func (*GetResourceQuotaOK) WithPayload ¶
func (o *GetResourceQuotaOK) WithPayload(payload *models.ResourceQuota) *GetResourceQuotaOK
WithPayload adds the payload to the get resource quota o k response
func (*GetResourceQuotaOK) WriteResponse ¶
func (o *GetResourceQuotaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetResourceQuotaParams ¶
type GetResourceQuotaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Namespace string /* Required: true In: path */ ResourceQuotaName string }
GetResourceQuotaParams contains all the bound params for the get resource quota operation typically these are obtained from a http.Request
swagger:parameters GetResourceQuota
func NewGetResourceQuotaParams ¶
func NewGetResourceQuotaParams() GetResourceQuotaParams
NewGetResourceQuotaParams creates a new GetResourceQuotaParams object
There are no default values defined in the spec.
func (*GetResourceQuotaParams) BindRequest ¶
func (o *GetResourceQuotaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetResourceQuotaParams() beforehand.
type GetResourceQuotaURL ¶
type GetResourceQuotaURL struct { Namespace string ResourceQuotaName string // contains filtered or unexported fields }
GetResourceQuotaURL generates an URL for the get resource quota operation
func (*GetResourceQuotaURL) Build ¶
func (o *GetResourceQuotaURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetResourceQuotaURL) BuildFull ¶
func (o *GetResourceQuotaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetResourceQuotaURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetResourceQuotaURL) SetBasePath ¶
func (o *GetResourceQuotaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetResourceQuotaURL) String ¶
func (o *GetResourceQuotaURL) String() string
String returns the string representation of the path with query string
func (*GetResourceQuotaURL) StringFull ¶
func (o *GetResourceQuotaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetResourceQuotaURL) WithBasePath ¶
func (o *GetResourceQuotaURL) WithBasePath(bp string) *GetResourceQuotaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetTenantPods ¶
type GetTenantPods struct { Context *middleware.Context Handler GetTenantPodsHandler }
GetTenantPods swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pods OperatorAPI getTenantPods
Get Pods For The Tenant
func NewGetTenantPods ¶
func NewGetTenantPods(ctx *middleware.Context, handler GetTenantPodsHandler) *GetTenantPods
NewGetTenantPods creates a new http.Handler for the get tenant pods operation
func (*GetTenantPods) ServeHTTP ¶
func (o *GetTenantPods) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTenantPodsDefault ¶
type GetTenantPodsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetTenantPodsDefault Generic error response.
swagger:response getTenantPodsDefault
func NewGetTenantPodsDefault ¶
func NewGetTenantPodsDefault(code int) *GetTenantPodsDefault
NewGetTenantPodsDefault creates GetTenantPodsDefault with default headers values
func (*GetTenantPodsDefault) SetPayload ¶
func (o *GetTenantPodsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get tenant pods default response
func (*GetTenantPodsDefault) SetStatusCode ¶
func (o *GetTenantPodsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get tenant pods default response
func (*GetTenantPodsDefault) WithPayload ¶
func (o *GetTenantPodsDefault) WithPayload(payload *models.Error) *GetTenantPodsDefault
WithPayload adds the payload to the get tenant pods default response
func (*GetTenantPodsDefault) WithStatusCode ¶
func (o *GetTenantPodsDefault) WithStatusCode(code int) *GetTenantPodsDefault
WithStatusCode adds the status to the get tenant pods default response
func (*GetTenantPodsDefault) WriteResponse ¶
func (o *GetTenantPodsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTenantPodsHandler ¶
type GetTenantPodsHandler interface {
Handle(GetTenantPodsParams, *models.Principal) middleware.Responder
}
GetTenantPodsHandler interface for that can handle valid get tenant pods params
type GetTenantPodsHandlerFunc ¶
type GetTenantPodsHandlerFunc func(GetTenantPodsParams, *models.Principal) middleware.Responder
GetTenantPodsHandlerFunc turns a function with the right signature into a get tenant pods handler
func (GetTenantPodsHandlerFunc) Handle ¶
func (fn GetTenantPodsHandlerFunc) Handle(params GetTenantPodsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetTenantPodsOK ¶
GetTenantPodsOK A successful response.
swagger:response getTenantPodsOK
func NewGetTenantPodsOK ¶
func NewGetTenantPodsOK() *GetTenantPodsOK
NewGetTenantPodsOK creates GetTenantPodsOK with default headers values
func (*GetTenantPodsOK) SetPayload ¶
func (o *GetTenantPodsOK) SetPayload(payload []*models.TenantPod)
SetPayload sets the payload to the get tenant pods o k response
func (*GetTenantPodsOK) WithPayload ¶
func (o *GetTenantPodsOK) WithPayload(payload []*models.TenantPod) *GetTenantPodsOK
WithPayload adds the payload to the get tenant pods o k response
func (*GetTenantPodsOK) WriteResponse ¶
func (o *GetTenantPodsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTenantPodsParams ¶
type GetTenantPodsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
GetTenantPodsParams contains all the bound params for the get tenant pods operation typically these are obtained from a http.Request
swagger:parameters GetTenantPods
func NewGetTenantPodsParams ¶
func NewGetTenantPodsParams() GetTenantPodsParams
NewGetTenantPodsParams creates a new GetTenantPodsParams object
There are no default values defined in the spec.
func (*GetTenantPodsParams) BindRequest ¶
func (o *GetTenantPodsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetTenantPodsParams() beforehand.
type GetTenantPodsURL ¶
type GetTenantPodsURL struct { Namespace string Tenant string // contains filtered or unexported fields }
GetTenantPodsURL generates an URL for the get tenant pods operation
func (*GetTenantPodsURL) Build ¶
func (o *GetTenantPodsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTenantPodsURL) BuildFull ¶
func (o *GetTenantPodsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTenantPodsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTenantPodsURL) SetBasePath ¶
func (o *GetTenantPodsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetTenantPodsURL) String ¶
func (o *GetTenantPodsURL) String() string
String returns the string representation of the path with query string
func (*GetTenantPodsURL) StringFull ¶
func (o *GetTenantPodsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTenantPodsURL) WithBasePath ¶
func (o *GetTenantPodsURL) WithBasePath(bp string) *GetTenantPodsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetTenantUsage ¶
type GetTenantUsage struct { Context *middleware.Context Handler GetTenantUsageHandler }
GetTenantUsage swagger:route GET /namespaces/{namespace}/tenants/{tenant}/usage OperatorAPI getTenantUsage
Get Usage For The Tenant
func NewGetTenantUsage ¶
func NewGetTenantUsage(ctx *middleware.Context, handler GetTenantUsageHandler) *GetTenantUsage
NewGetTenantUsage creates a new http.Handler for the get tenant usage operation
func (*GetTenantUsage) ServeHTTP ¶
func (o *GetTenantUsage) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTenantUsageDefault ¶
type GetTenantUsageDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetTenantUsageDefault Generic error response.
swagger:response getTenantUsageDefault
func NewGetTenantUsageDefault ¶
func NewGetTenantUsageDefault(code int) *GetTenantUsageDefault
NewGetTenantUsageDefault creates GetTenantUsageDefault with default headers values
func (*GetTenantUsageDefault) SetPayload ¶
func (o *GetTenantUsageDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get tenant usage default response
func (*GetTenantUsageDefault) SetStatusCode ¶
func (o *GetTenantUsageDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get tenant usage default response
func (*GetTenantUsageDefault) WithPayload ¶
func (o *GetTenantUsageDefault) WithPayload(payload *models.Error) *GetTenantUsageDefault
WithPayload adds the payload to the get tenant usage default response
func (*GetTenantUsageDefault) WithStatusCode ¶
func (o *GetTenantUsageDefault) WithStatusCode(code int) *GetTenantUsageDefault
WithStatusCode adds the status to the get tenant usage default response
func (*GetTenantUsageDefault) WriteResponse ¶
func (o *GetTenantUsageDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTenantUsageHandler ¶
type GetTenantUsageHandler interface {
Handle(GetTenantUsageParams, *models.Principal) middleware.Responder
}
GetTenantUsageHandler interface for that can handle valid get tenant usage params
type GetTenantUsageHandlerFunc ¶
type GetTenantUsageHandlerFunc func(GetTenantUsageParams, *models.Principal) middleware.Responder
GetTenantUsageHandlerFunc turns a function with the right signature into a get tenant usage handler
func (GetTenantUsageHandlerFunc) Handle ¶
func (fn GetTenantUsageHandlerFunc) Handle(params GetTenantUsageParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetTenantUsageOK ¶
type GetTenantUsageOK struct { /* In: Body */ Payload *models.TenantUsage `json:"body,omitempty"` }
GetTenantUsageOK A successful response.
swagger:response getTenantUsageOK
func NewGetTenantUsageOK ¶
func NewGetTenantUsageOK() *GetTenantUsageOK
NewGetTenantUsageOK creates GetTenantUsageOK with default headers values
func (*GetTenantUsageOK) SetPayload ¶
func (o *GetTenantUsageOK) SetPayload(payload *models.TenantUsage)
SetPayload sets the payload to the get tenant usage o k response
func (*GetTenantUsageOK) WithPayload ¶
func (o *GetTenantUsageOK) WithPayload(payload *models.TenantUsage) *GetTenantUsageOK
WithPayload adds the payload to the get tenant usage o k response
func (*GetTenantUsageOK) WriteResponse ¶
func (o *GetTenantUsageOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTenantUsageParams ¶
type GetTenantUsageParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
GetTenantUsageParams contains all the bound params for the get tenant usage operation typically these are obtained from a http.Request
swagger:parameters GetTenantUsage
func NewGetTenantUsageParams ¶
func NewGetTenantUsageParams() GetTenantUsageParams
NewGetTenantUsageParams creates a new GetTenantUsageParams object
There are no default values defined in the spec.
func (*GetTenantUsageParams) BindRequest ¶
func (o *GetTenantUsageParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetTenantUsageParams() beforehand.
type GetTenantUsageURL ¶
type GetTenantUsageURL struct { Namespace string Tenant string // contains filtered or unexported fields }
GetTenantUsageURL generates an URL for the get tenant usage operation
func (*GetTenantUsageURL) Build ¶
func (o *GetTenantUsageURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTenantUsageURL) BuildFull ¶
func (o *GetTenantUsageURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTenantUsageURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTenantUsageURL) SetBasePath ¶
func (o *GetTenantUsageURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetTenantUsageURL) String ¶
func (o *GetTenantUsageURL) String() string
String returns the string representation of the path with query string
func (*GetTenantUsageURL) StringFull ¶
func (o *GetTenantUsageURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTenantUsageURL) WithBasePath ¶
func (o *GetTenantUsageURL) WithBasePath(bp string) *GetTenantUsageURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetTenantYAML ¶
type GetTenantYAML struct { Context *middleware.Context Handler GetTenantYAMLHandler }
GetTenantYAML swagger:route GET /namespaces/{namespace}/tenants/{tenant}/yaml OperatorAPI getTenantYAML
Get the Tenant YAML
func NewGetTenantYAML ¶
func NewGetTenantYAML(ctx *middleware.Context, handler GetTenantYAMLHandler) *GetTenantYAML
NewGetTenantYAML creates a new http.Handler for the get tenant y a m l operation
func (*GetTenantYAML) ServeHTTP ¶
func (o *GetTenantYAML) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTenantYAMLDefault ¶
type GetTenantYAMLDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetTenantYAMLDefault Generic error response.
swagger:response getTenantYAMLDefault
func NewGetTenantYAMLDefault ¶
func NewGetTenantYAMLDefault(code int) *GetTenantYAMLDefault
NewGetTenantYAMLDefault creates GetTenantYAMLDefault with default headers values
func (*GetTenantYAMLDefault) SetPayload ¶
func (o *GetTenantYAMLDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get tenant y a m l default response
func (*GetTenantYAMLDefault) SetStatusCode ¶
func (o *GetTenantYAMLDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get tenant y a m l default response
func (*GetTenantYAMLDefault) WithPayload ¶
func (o *GetTenantYAMLDefault) WithPayload(payload *models.Error) *GetTenantYAMLDefault
WithPayload adds the payload to the get tenant y a m l default response
func (*GetTenantYAMLDefault) WithStatusCode ¶
func (o *GetTenantYAMLDefault) WithStatusCode(code int) *GetTenantYAMLDefault
WithStatusCode adds the status to the get tenant y a m l default response
func (*GetTenantYAMLDefault) WriteResponse ¶
func (o *GetTenantYAMLDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTenantYAMLHandler ¶
type GetTenantYAMLHandler interface {
Handle(GetTenantYAMLParams, *models.Principal) middleware.Responder
}
GetTenantYAMLHandler interface for that can handle valid get tenant y a m l params
type GetTenantYAMLHandlerFunc ¶
type GetTenantYAMLHandlerFunc func(GetTenantYAMLParams, *models.Principal) middleware.Responder
GetTenantYAMLHandlerFunc turns a function with the right signature into a get tenant y a m l handler
func (GetTenantYAMLHandlerFunc) Handle ¶
func (fn GetTenantYAMLHandlerFunc) Handle(params GetTenantYAMLParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetTenantYAMLOK ¶
type GetTenantYAMLOK struct { /* In: Body */ Payload *models.TenantYAML `json:"body,omitempty"` }
GetTenantYAMLOK A successful response.
swagger:response getTenantYAMLOK
func NewGetTenantYAMLOK ¶
func NewGetTenantYAMLOK() *GetTenantYAMLOK
NewGetTenantYAMLOK creates GetTenantYAMLOK with default headers values
func (*GetTenantYAMLOK) SetPayload ¶
func (o *GetTenantYAMLOK) SetPayload(payload *models.TenantYAML)
SetPayload sets the payload to the get tenant y a m l o k response
func (*GetTenantYAMLOK) WithPayload ¶
func (o *GetTenantYAMLOK) WithPayload(payload *models.TenantYAML) *GetTenantYAMLOK
WithPayload adds the payload to the get tenant y a m l o k response
func (*GetTenantYAMLOK) WriteResponse ¶
func (o *GetTenantYAMLOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTenantYAMLParams ¶
type GetTenantYAMLParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
GetTenantYAMLParams contains all the bound params for the get tenant y a m l operation typically these are obtained from a http.Request
swagger:parameters GetTenantYAML
func NewGetTenantYAMLParams ¶
func NewGetTenantYAMLParams() GetTenantYAMLParams
NewGetTenantYAMLParams creates a new GetTenantYAMLParams object
There are no default values defined in the spec.
func (*GetTenantYAMLParams) BindRequest ¶
func (o *GetTenantYAMLParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetTenantYAMLParams() beforehand.
type GetTenantYAMLURL ¶
type GetTenantYAMLURL struct { Namespace string Tenant string // contains filtered or unexported fields }
GetTenantYAMLURL generates an URL for the get tenant y a m l operation
func (*GetTenantYAMLURL) Build ¶
func (o *GetTenantYAMLURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTenantYAMLURL) BuildFull ¶
func (o *GetTenantYAMLURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTenantYAMLURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTenantYAMLURL) SetBasePath ¶
func (o *GetTenantYAMLURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetTenantYAMLURL) String ¶
func (o *GetTenantYAMLURL) String() string
String returns the string representation of the path with query string
func (*GetTenantYAMLURL) StringFull ¶
func (o *GetTenantYAMLURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTenantYAMLURL) WithBasePath ¶
func (o *GetTenantYAMLURL) WithBasePath(bp string) *GetTenantYAMLURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListAllTenants ¶
type ListAllTenants struct { Context *middleware.Context Handler ListAllTenantsHandler }
ListAllTenants swagger:route GET /tenants OperatorAPI listAllTenants
List Tenant of All Namespaces
func NewListAllTenants ¶
func NewListAllTenants(ctx *middleware.Context, handler ListAllTenantsHandler) *ListAllTenants
NewListAllTenants creates a new http.Handler for the list all tenants operation
func (*ListAllTenants) ServeHTTP ¶
func (o *ListAllTenants) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllTenantsDefault ¶
type ListAllTenantsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListAllTenantsDefault Generic error response.
swagger:response listAllTenantsDefault
func NewListAllTenantsDefault ¶
func NewListAllTenantsDefault(code int) *ListAllTenantsDefault
NewListAllTenantsDefault creates ListAllTenantsDefault with default headers values
func (*ListAllTenantsDefault) SetPayload ¶
func (o *ListAllTenantsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the list all tenants default response
func (*ListAllTenantsDefault) SetStatusCode ¶
func (o *ListAllTenantsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list all tenants default response
func (*ListAllTenantsDefault) WithPayload ¶
func (o *ListAllTenantsDefault) WithPayload(payload *models.Error) *ListAllTenantsDefault
WithPayload adds the payload to the list all tenants default response
func (*ListAllTenantsDefault) WithStatusCode ¶
func (o *ListAllTenantsDefault) WithStatusCode(code int) *ListAllTenantsDefault
WithStatusCode adds the status to the list all tenants default response
func (*ListAllTenantsDefault) WriteResponse ¶
func (o *ListAllTenantsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllTenantsHandler ¶
type ListAllTenantsHandler interface {
Handle(ListAllTenantsParams, *models.Principal) middleware.Responder
}
ListAllTenantsHandler interface for that can handle valid list all tenants params
type ListAllTenantsHandlerFunc ¶
type ListAllTenantsHandlerFunc func(ListAllTenantsParams, *models.Principal) middleware.Responder
ListAllTenantsHandlerFunc turns a function with the right signature into a list all tenants handler
func (ListAllTenantsHandlerFunc) Handle ¶
func (fn ListAllTenantsHandlerFunc) Handle(params ListAllTenantsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListAllTenantsOK ¶
type ListAllTenantsOK struct { /* In: Body */ Payload *models.ListTenantsResponse `json:"body,omitempty"` }
ListAllTenantsOK A successful response.
swagger:response listAllTenantsOK
func NewListAllTenantsOK ¶
func NewListAllTenantsOK() *ListAllTenantsOK
NewListAllTenantsOK creates ListAllTenantsOK with default headers values
func (*ListAllTenantsOK) SetPayload ¶
func (o *ListAllTenantsOK) SetPayload(payload *models.ListTenantsResponse)
SetPayload sets the payload to the list all tenants o k response
func (*ListAllTenantsOK) WithPayload ¶
func (o *ListAllTenantsOK) WithPayload(payload *models.ListTenantsResponse) *ListAllTenantsOK
WithPayload adds the payload to the list all tenants o k response
func (*ListAllTenantsOK) WriteResponse ¶
func (o *ListAllTenantsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllTenantsParams ¶
type ListAllTenantsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Limit *int32 /* In: query */ Offset *int32 /* In: query */ SortBy *string }
ListAllTenantsParams contains all the bound params for the list all tenants operation typically these are obtained from a http.Request
swagger:parameters ListAllTenants
func NewListAllTenantsParams ¶
func NewListAllTenantsParams() ListAllTenantsParams
NewListAllTenantsParams creates a new ListAllTenantsParams object
There are no default values defined in the spec.
func (*ListAllTenantsParams) BindRequest ¶
func (o *ListAllTenantsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListAllTenantsParams() beforehand.
type ListAllTenantsURL ¶
type ListAllTenantsURL struct { Limit *int32 Offset *int32 SortBy *string // contains filtered or unexported fields }
ListAllTenantsURL generates an URL for the list all tenants operation
func (*ListAllTenantsURL) Build ¶
func (o *ListAllTenantsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllTenantsURL) BuildFull ¶
func (o *ListAllTenantsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllTenantsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllTenantsURL) SetBasePath ¶
func (o *ListAllTenantsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListAllTenantsURL) String ¶
func (o *ListAllTenantsURL) String() string
String returns the string representation of the path with query string
func (*ListAllTenantsURL) StringFull ¶
func (o *ListAllTenantsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllTenantsURL) WithBasePath ¶
func (o *ListAllTenantsURL) WithBasePath(bp string) *ListAllTenantsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListNodeLabels ¶
type ListNodeLabels struct { Context *middleware.Context Handler ListNodeLabelsHandler }
ListNodeLabels swagger:route GET /nodes/labels OperatorAPI listNodeLabels
List node labels
func NewListNodeLabels ¶
func NewListNodeLabels(ctx *middleware.Context, handler ListNodeLabelsHandler) *ListNodeLabels
NewListNodeLabels creates a new http.Handler for the list node labels operation
func (*ListNodeLabels) ServeHTTP ¶
func (o *ListNodeLabels) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListNodeLabelsDefault ¶
type ListNodeLabelsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListNodeLabelsDefault Generic error response.
swagger:response listNodeLabelsDefault
func NewListNodeLabelsDefault ¶
func NewListNodeLabelsDefault(code int) *ListNodeLabelsDefault
NewListNodeLabelsDefault creates ListNodeLabelsDefault with default headers values
func (*ListNodeLabelsDefault) SetPayload ¶
func (o *ListNodeLabelsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the list node labels default response
func (*ListNodeLabelsDefault) SetStatusCode ¶
func (o *ListNodeLabelsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list node labels default response
func (*ListNodeLabelsDefault) WithPayload ¶
func (o *ListNodeLabelsDefault) WithPayload(payload *models.Error) *ListNodeLabelsDefault
WithPayload adds the payload to the list node labels default response
func (*ListNodeLabelsDefault) WithStatusCode ¶
func (o *ListNodeLabelsDefault) WithStatusCode(code int) *ListNodeLabelsDefault
WithStatusCode adds the status to the list node labels default response
func (*ListNodeLabelsDefault) WriteResponse ¶
func (o *ListNodeLabelsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListNodeLabelsHandler ¶
type ListNodeLabelsHandler interface {
Handle(ListNodeLabelsParams, *models.Principal) middleware.Responder
}
ListNodeLabelsHandler interface for that can handle valid list node labels params
type ListNodeLabelsHandlerFunc ¶
type ListNodeLabelsHandlerFunc func(ListNodeLabelsParams, *models.Principal) middleware.Responder
ListNodeLabelsHandlerFunc turns a function with the right signature into a list node labels handler
func (ListNodeLabelsHandlerFunc) Handle ¶
func (fn ListNodeLabelsHandlerFunc) Handle(params ListNodeLabelsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListNodeLabelsOK ¶
type ListNodeLabelsOK struct { /* In: Body */ Payload models.NodeLabels `json:"body,omitempty"` }
ListNodeLabelsOK A successful response.
swagger:response listNodeLabelsOK
func NewListNodeLabelsOK ¶
func NewListNodeLabelsOK() *ListNodeLabelsOK
NewListNodeLabelsOK creates ListNodeLabelsOK with default headers values
func (*ListNodeLabelsOK) SetPayload ¶
func (o *ListNodeLabelsOK) SetPayload(payload models.NodeLabels)
SetPayload sets the payload to the list node labels o k response
func (*ListNodeLabelsOK) WithPayload ¶
func (o *ListNodeLabelsOK) WithPayload(payload models.NodeLabels) *ListNodeLabelsOK
WithPayload adds the payload to the list node labels o k response
func (*ListNodeLabelsOK) WriteResponse ¶
func (o *ListNodeLabelsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListNodeLabelsParams ¶
ListNodeLabelsParams contains all the bound params for the list node labels operation typically these are obtained from a http.Request
swagger:parameters ListNodeLabels
func NewListNodeLabelsParams ¶
func NewListNodeLabelsParams() ListNodeLabelsParams
NewListNodeLabelsParams creates a new ListNodeLabelsParams object
There are no default values defined in the spec.
func (*ListNodeLabelsParams) BindRequest ¶
func (o *ListNodeLabelsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListNodeLabelsParams() beforehand.
type ListNodeLabelsURL ¶
type ListNodeLabelsURL struct {
// contains filtered or unexported fields
}
ListNodeLabelsURL generates an URL for the list node labels operation
func (*ListNodeLabelsURL) Build ¶
func (o *ListNodeLabelsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListNodeLabelsURL) BuildFull ¶
func (o *ListNodeLabelsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListNodeLabelsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListNodeLabelsURL) SetBasePath ¶
func (o *ListNodeLabelsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListNodeLabelsURL) String ¶
func (o *ListNodeLabelsURL) String() string
String returns the string representation of the path with query string
func (*ListNodeLabelsURL) StringFull ¶
func (o *ListNodeLabelsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListNodeLabelsURL) WithBasePath ¶
func (o *ListNodeLabelsURL) WithBasePath(bp string) *ListNodeLabelsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListPVCs ¶
type ListPVCs struct { Context *middleware.Context Handler ListPVCsHandler }
ListPVCs swagger:route GET /list-pvcs OperatorAPI listPVCs
List all PVCs from namespaces that the user has access to
func NewListPVCs ¶
func NewListPVCs(ctx *middleware.Context, handler ListPVCsHandler) *ListPVCs
NewListPVCs creates a new http.Handler for the list p v cs operation
type ListPVCsDefault ¶
type ListPVCsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListPVCsDefault Generic error response.
swagger:response listPVCsDefault
func NewListPVCsDefault ¶
func NewListPVCsDefault(code int) *ListPVCsDefault
NewListPVCsDefault creates ListPVCsDefault with default headers values
func (*ListPVCsDefault) SetPayload ¶
func (o *ListPVCsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the list p v cs default response
func (*ListPVCsDefault) SetStatusCode ¶
func (o *ListPVCsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list p v cs default response
func (*ListPVCsDefault) WithPayload ¶
func (o *ListPVCsDefault) WithPayload(payload *models.Error) *ListPVCsDefault
WithPayload adds the payload to the list p v cs default response
func (*ListPVCsDefault) WithStatusCode ¶
func (o *ListPVCsDefault) WithStatusCode(code int) *ListPVCsDefault
WithStatusCode adds the status to the list p v cs default response
func (*ListPVCsDefault) WriteResponse ¶
func (o *ListPVCsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListPVCsHandler ¶
type ListPVCsHandler interface {
Handle(ListPVCsParams, *models.Principal) middleware.Responder
}
ListPVCsHandler interface for that can handle valid list p v cs params
type ListPVCsHandlerFunc ¶
type ListPVCsHandlerFunc func(ListPVCsParams, *models.Principal) middleware.Responder
ListPVCsHandlerFunc turns a function with the right signature into a list p v cs handler
func (ListPVCsHandlerFunc) Handle ¶
func (fn ListPVCsHandlerFunc) Handle(params ListPVCsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListPVCsOK ¶
type ListPVCsOK struct { /* In: Body */ Payload *models.ListPVCsResponse `json:"body,omitempty"` }
ListPVCsOK A successful response.
swagger:response listPVCsOK
func NewListPVCsOK ¶
func NewListPVCsOK() *ListPVCsOK
NewListPVCsOK creates ListPVCsOK with default headers values
func (*ListPVCsOK) SetPayload ¶
func (o *ListPVCsOK) SetPayload(payload *models.ListPVCsResponse)
SetPayload sets the payload to the list p v cs o k response
func (*ListPVCsOK) WithPayload ¶
func (o *ListPVCsOK) WithPayload(payload *models.ListPVCsResponse) *ListPVCsOK
WithPayload adds the payload to the list p v cs o k response
func (*ListPVCsOK) WriteResponse ¶
func (o *ListPVCsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListPVCsParams ¶
ListPVCsParams contains all the bound params for the list p v cs operation typically these are obtained from a http.Request
swagger:parameters ListPVCs
func NewListPVCsParams ¶
func NewListPVCsParams() ListPVCsParams
NewListPVCsParams creates a new ListPVCsParams object
There are no default values defined in the spec.
func (*ListPVCsParams) BindRequest ¶
func (o *ListPVCsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListPVCsParams() beforehand.
type ListPVCsURL ¶
type ListPVCsURL struct {
// contains filtered or unexported fields
}
ListPVCsURL generates an URL for the list p v cs operation
func (*ListPVCsURL) Build ¶
func (o *ListPVCsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListPVCsURL) BuildFull ¶
func (o *ListPVCsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListPVCsURL) SetBasePath ¶
func (o *ListPVCsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListPVCsURL) String ¶
func (o *ListPVCsURL) String() string
String returns the string representation of the path with query string
func (*ListPVCsURL) StringFull ¶
func (o *ListPVCsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListPVCsURL) WithBasePath ¶
func (o *ListPVCsURL) WithBasePath(bp string) *ListPVCsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListTenants ¶
type ListTenants struct { Context *middleware.Context Handler ListTenantsHandler }
ListTenants swagger:route GET /namespaces/{namespace}/tenants OperatorAPI listTenants
List Tenants by Namespace
func NewListTenants ¶
func NewListTenants(ctx *middleware.Context, handler ListTenantsHandler) *ListTenants
NewListTenants creates a new http.Handler for the list tenants operation
func (*ListTenants) ServeHTTP ¶
func (o *ListTenants) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListTenantsDefault ¶
type ListTenantsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListTenantsDefault Generic error response.
swagger:response listTenantsDefault
func NewListTenantsDefault ¶
func NewListTenantsDefault(code int) *ListTenantsDefault
NewListTenantsDefault creates ListTenantsDefault with default headers values
func (*ListTenantsDefault) SetPayload ¶
func (o *ListTenantsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the list tenants default response
func (*ListTenantsDefault) SetStatusCode ¶
func (o *ListTenantsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list tenants default response
func (*ListTenantsDefault) WithPayload ¶
func (o *ListTenantsDefault) WithPayload(payload *models.Error) *ListTenantsDefault
WithPayload adds the payload to the list tenants default response
func (*ListTenantsDefault) WithStatusCode ¶
func (o *ListTenantsDefault) WithStatusCode(code int) *ListTenantsDefault
WithStatusCode adds the status to the list tenants default response
func (*ListTenantsDefault) WriteResponse ¶
func (o *ListTenantsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListTenantsHandler ¶
type ListTenantsHandler interface {
Handle(ListTenantsParams, *models.Principal) middleware.Responder
}
ListTenantsHandler interface for that can handle valid list tenants params
type ListTenantsHandlerFunc ¶
type ListTenantsHandlerFunc func(ListTenantsParams, *models.Principal) middleware.Responder
ListTenantsHandlerFunc turns a function with the right signature into a list tenants handler
func (ListTenantsHandlerFunc) Handle ¶
func (fn ListTenantsHandlerFunc) Handle(params ListTenantsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListTenantsOK ¶
type ListTenantsOK struct { /* In: Body */ Payload *models.ListTenantsResponse `json:"body,omitempty"` }
ListTenantsOK A successful response.
swagger:response listTenantsOK
func NewListTenantsOK ¶
func NewListTenantsOK() *ListTenantsOK
NewListTenantsOK creates ListTenantsOK with default headers values
func (*ListTenantsOK) SetPayload ¶
func (o *ListTenantsOK) SetPayload(payload *models.ListTenantsResponse)
SetPayload sets the payload to the list tenants o k response
func (*ListTenantsOK) WithPayload ¶
func (o *ListTenantsOK) WithPayload(payload *models.ListTenantsResponse) *ListTenantsOK
WithPayload adds the payload to the list tenants o k response
func (*ListTenantsOK) WriteResponse ¶
func (o *ListTenantsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListTenantsParams ¶
type ListTenantsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Limit *int32 /* Required: true In: path */ Namespace string /* In: query */ Offset *int32 /* In: query */ SortBy *string }
ListTenantsParams contains all the bound params for the list tenants operation typically these are obtained from a http.Request
swagger:parameters ListTenants
func NewListTenantsParams ¶
func NewListTenantsParams() ListTenantsParams
NewListTenantsParams creates a new ListTenantsParams object
There are no default values defined in the spec.
func (*ListTenantsParams) BindRequest ¶
func (o *ListTenantsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListTenantsParams() beforehand.
type ListTenantsURL ¶
type ListTenantsURL struct { Namespace string Limit *int32 Offset *int32 SortBy *string // contains filtered or unexported fields }
ListTenantsURL generates an URL for the list tenants operation
func (*ListTenantsURL) Build ¶
func (o *ListTenantsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListTenantsURL) BuildFull ¶
func (o *ListTenantsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListTenantsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListTenantsURL) SetBasePath ¶
func (o *ListTenantsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListTenantsURL) String ¶
func (o *ListTenantsURL) String() string
String returns the string representation of the path with query string
func (*ListTenantsURL) StringFull ¶
func (o *ListTenantsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListTenantsURL) WithBasePath ¶
func (o *ListTenantsURL) WithBasePath(bp string) *ListTenantsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutTenantYAML ¶
type PutTenantYAML struct { Context *middleware.Context Handler PutTenantYAMLHandler }
PutTenantYAML swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/yaml OperatorAPI putTenantYAML
Put the Tenant YAML
func NewPutTenantYAML ¶
func NewPutTenantYAML(ctx *middleware.Context, handler PutTenantYAMLHandler) *PutTenantYAML
NewPutTenantYAML creates a new http.Handler for the put tenant y a m l operation
func (*PutTenantYAML) ServeHTTP ¶
func (o *PutTenantYAML) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutTenantYAMLCreated ¶
type PutTenantYAMLCreated struct { }
PutTenantYAMLCreated A successful response.
swagger:response putTenantYAMLCreated
func NewPutTenantYAMLCreated ¶
func NewPutTenantYAMLCreated() *PutTenantYAMLCreated
NewPutTenantYAMLCreated creates PutTenantYAMLCreated with default headers values
func (*PutTenantYAMLCreated) WriteResponse ¶
func (o *PutTenantYAMLCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutTenantYAMLDefault ¶
type PutTenantYAMLDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PutTenantYAMLDefault Generic error response.
swagger:response putTenantYAMLDefault
func NewPutTenantYAMLDefault ¶
func NewPutTenantYAMLDefault(code int) *PutTenantYAMLDefault
NewPutTenantYAMLDefault creates PutTenantYAMLDefault with default headers values
func (*PutTenantYAMLDefault) SetPayload ¶
func (o *PutTenantYAMLDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the put tenant y a m l default response
func (*PutTenantYAMLDefault) SetStatusCode ¶
func (o *PutTenantYAMLDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put tenant y a m l default response
func (*PutTenantYAMLDefault) WithPayload ¶
func (o *PutTenantYAMLDefault) WithPayload(payload *models.Error) *PutTenantYAMLDefault
WithPayload adds the payload to the put tenant y a m l default response
func (*PutTenantYAMLDefault) WithStatusCode ¶
func (o *PutTenantYAMLDefault) WithStatusCode(code int) *PutTenantYAMLDefault
WithStatusCode adds the status to the put tenant y a m l default response
func (*PutTenantYAMLDefault) WriteResponse ¶
func (o *PutTenantYAMLDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutTenantYAMLHandler ¶
type PutTenantYAMLHandler interface {
Handle(PutTenantYAMLParams, *models.Principal) middleware.Responder
}
PutTenantYAMLHandler interface for that can handle valid put tenant y a m l params
type PutTenantYAMLHandlerFunc ¶
type PutTenantYAMLHandlerFunc func(PutTenantYAMLParams, *models.Principal) middleware.Responder
PutTenantYAMLHandlerFunc turns a function with the right signature into a put tenant y a m l handler
func (PutTenantYAMLHandlerFunc) Handle ¶
func (fn PutTenantYAMLHandlerFunc) Handle(params PutTenantYAMLParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutTenantYAMLParams ¶
type PutTenantYAMLParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.TenantYAML /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
PutTenantYAMLParams contains all the bound params for the put tenant y a m l operation typically these are obtained from a http.Request
swagger:parameters PutTenantYAML
func NewPutTenantYAMLParams ¶
func NewPutTenantYAMLParams() PutTenantYAMLParams
NewPutTenantYAMLParams creates a new PutTenantYAMLParams object
There are no default values defined in the spec.
func (*PutTenantYAMLParams) BindRequest ¶
func (o *PutTenantYAMLParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutTenantYAMLParams() beforehand.
type PutTenantYAMLURL ¶
type PutTenantYAMLURL struct { Namespace string Tenant string // contains filtered or unexported fields }
PutTenantYAMLURL generates an URL for the put tenant y a m l operation
func (*PutTenantYAMLURL) Build ¶
func (o *PutTenantYAMLURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutTenantYAMLURL) BuildFull ¶
func (o *PutTenantYAMLURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutTenantYAMLURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutTenantYAMLURL) SetBasePath ¶
func (o *PutTenantYAMLURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutTenantYAMLURL) String ¶
func (o *PutTenantYAMLURL) String() string
String returns the string representation of the path with query string
func (*PutTenantYAMLURL) StringFull ¶
func (o *PutTenantYAMLURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutTenantYAMLURL) WithBasePath ¶
func (o *PutTenantYAMLURL) WithBasePath(bp string) *PutTenantYAMLURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SubscriptionActivate ¶
type SubscriptionActivate struct { Context *middleware.Context Handler SubscriptionActivateHandler }
SubscriptionActivate swagger:route POST /subscription/namespaces/{namespace}/tenants/{tenant}/activate OperatorAPI subscriptionActivate
Activate a particular tenant using the existing subscription license
func NewSubscriptionActivate ¶
func NewSubscriptionActivate(ctx *middleware.Context, handler SubscriptionActivateHandler) *SubscriptionActivate
NewSubscriptionActivate creates a new http.Handler for the subscription activate operation
func (*SubscriptionActivate) ServeHTTP ¶
func (o *SubscriptionActivate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubscriptionActivateDefault ¶
type SubscriptionActivateDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SubscriptionActivateDefault Generic error response.
swagger:response subscriptionActivateDefault
func NewSubscriptionActivateDefault ¶
func NewSubscriptionActivateDefault(code int) *SubscriptionActivateDefault
NewSubscriptionActivateDefault creates SubscriptionActivateDefault with default headers values
func (*SubscriptionActivateDefault) SetPayload ¶
func (o *SubscriptionActivateDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the subscription activate default response
func (*SubscriptionActivateDefault) SetStatusCode ¶
func (o *SubscriptionActivateDefault) SetStatusCode(code int)
SetStatusCode sets the status to the subscription activate default response
func (*SubscriptionActivateDefault) WithPayload ¶
func (o *SubscriptionActivateDefault) WithPayload(payload *models.Error) *SubscriptionActivateDefault
WithPayload adds the payload to the subscription activate default response
func (*SubscriptionActivateDefault) WithStatusCode ¶
func (o *SubscriptionActivateDefault) WithStatusCode(code int) *SubscriptionActivateDefault
WithStatusCode adds the status to the subscription activate default response
func (*SubscriptionActivateDefault) WriteResponse ¶
func (o *SubscriptionActivateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubscriptionActivateHandler ¶
type SubscriptionActivateHandler interface {
Handle(SubscriptionActivateParams, *models.Principal) middleware.Responder
}
SubscriptionActivateHandler interface for that can handle valid subscription activate params
type SubscriptionActivateHandlerFunc ¶
type SubscriptionActivateHandlerFunc func(SubscriptionActivateParams, *models.Principal) middleware.Responder
SubscriptionActivateHandlerFunc turns a function with the right signature into a subscription activate handler
func (SubscriptionActivateHandlerFunc) Handle ¶
func (fn SubscriptionActivateHandlerFunc) Handle(params SubscriptionActivateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SubscriptionActivateNoContent ¶
type SubscriptionActivateNoContent struct { }
SubscriptionActivateNoContent A successful response.
swagger:response subscriptionActivateNoContent
func NewSubscriptionActivateNoContent ¶
func NewSubscriptionActivateNoContent() *SubscriptionActivateNoContent
NewSubscriptionActivateNoContent creates SubscriptionActivateNoContent with default headers values
func (*SubscriptionActivateNoContent) WriteResponse ¶
func (o *SubscriptionActivateNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubscriptionActivateParams ¶
type SubscriptionActivateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
SubscriptionActivateParams contains all the bound params for the subscription activate operation typically these are obtained from a http.Request
swagger:parameters SubscriptionActivate
func NewSubscriptionActivateParams ¶
func NewSubscriptionActivateParams() SubscriptionActivateParams
NewSubscriptionActivateParams creates a new SubscriptionActivateParams object
There are no default values defined in the spec.
func (*SubscriptionActivateParams) BindRequest ¶
func (o *SubscriptionActivateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSubscriptionActivateParams() beforehand.
type SubscriptionActivateURL ¶
type SubscriptionActivateURL struct { Namespace string Tenant string // contains filtered or unexported fields }
SubscriptionActivateURL generates an URL for the subscription activate operation
func (*SubscriptionActivateURL) Build ¶
func (o *SubscriptionActivateURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubscriptionActivateURL) BuildFull ¶
func (o *SubscriptionActivateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubscriptionActivateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubscriptionActivateURL) SetBasePath ¶
func (o *SubscriptionActivateURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SubscriptionActivateURL) String ¶
func (o *SubscriptionActivateURL) String() string
String returns the string representation of the path with query string
func (*SubscriptionActivateURL) StringFull ¶
func (o *SubscriptionActivateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubscriptionActivateURL) WithBasePath ¶
func (o *SubscriptionActivateURL) WithBasePath(bp string) *SubscriptionActivateURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SubscriptionInfo ¶
type SubscriptionInfo struct { Context *middleware.Context Handler SubscriptionInfoHandler }
SubscriptionInfo swagger:route GET /subscription/info OperatorAPI subscriptionInfo
Subscription info
func NewSubscriptionInfo ¶
func NewSubscriptionInfo(ctx *middleware.Context, handler SubscriptionInfoHandler) *SubscriptionInfo
NewSubscriptionInfo creates a new http.Handler for the subscription info operation
func (*SubscriptionInfo) ServeHTTP ¶
func (o *SubscriptionInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubscriptionInfoDefault ¶
type SubscriptionInfoDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SubscriptionInfoDefault Generic error response.
swagger:response subscriptionInfoDefault
func NewSubscriptionInfoDefault ¶
func NewSubscriptionInfoDefault(code int) *SubscriptionInfoDefault
NewSubscriptionInfoDefault creates SubscriptionInfoDefault with default headers values
func (*SubscriptionInfoDefault) SetPayload ¶
func (o *SubscriptionInfoDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the subscription info default response
func (*SubscriptionInfoDefault) SetStatusCode ¶
func (o *SubscriptionInfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the subscription info default response
func (*SubscriptionInfoDefault) WithPayload ¶
func (o *SubscriptionInfoDefault) WithPayload(payload *models.Error) *SubscriptionInfoDefault
WithPayload adds the payload to the subscription info default response
func (*SubscriptionInfoDefault) WithStatusCode ¶
func (o *SubscriptionInfoDefault) WithStatusCode(code int) *SubscriptionInfoDefault
WithStatusCode adds the status to the subscription info default response
func (*SubscriptionInfoDefault) WriteResponse ¶
func (o *SubscriptionInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubscriptionInfoHandler ¶
type SubscriptionInfoHandler interface {
Handle(SubscriptionInfoParams, *models.Principal) middleware.Responder
}
SubscriptionInfoHandler interface for that can handle valid subscription info params
type SubscriptionInfoHandlerFunc ¶
type SubscriptionInfoHandlerFunc func(SubscriptionInfoParams, *models.Principal) middleware.Responder
SubscriptionInfoHandlerFunc turns a function with the right signature into a subscription info handler
func (SubscriptionInfoHandlerFunc) Handle ¶
func (fn SubscriptionInfoHandlerFunc) Handle(params SubscriptionInfoParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SubscriptionInfoOK ¶
SubscriptionInfoOK A successful response.
swagger:response subscriptionInfoOK
func NewSubscriptionInfoOK ¶
func NewSubscriptionInfoOK() *SubscriptionInfoOK
NewSubscriptionInfoOK creates SubscriptionInfoOK with default headers values
func (*SubscriptionInfoOK) SetPayload ¶
func (o *SubscriptionInfoOK) SetPayload(payload *models.License)
SetPayload sets the payload to the subscription info o k response
func (*SubscriptionInfoOK) WithPayload ¶
func (o *SubscriptionInfoOK) WithPayload(payload *models.License) *SubscriptionInfoOK
WithPayload adds the payload to the subscription info o k response
func (*SubscriptionInfoOK) WriteResponse ¶
func (o *SubscriptionInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubscriptionInfoParams ¶
SubscriptionInfoParams contains all the bound params for the subscription info operation typically these are obtained from a http.Request
swagger:parameters SubscriptionInfo
func NewSubscriptionInfoParams ¶
func NewSubscriptionInfoParams() SubscriptionInfoParams
NewSubscriptionInfoParams creates a new SubscriptionInfoParams object
There are no default values defined in the spec.
func (*SubscriptionInfoParams) BindRequest ¶
func (o *SubscriptionInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSubscriptionInfoParams() beforehand.
type SubscriptionInfoURL ¶
type SubscriptionInfoURL struct {
// contains filtered or unexported fields
}
SubscriptionInfoURL generates an URL for the subscription info operation
func (*SubscriptionInfoURL) Build ¶
func (o *SubscriptionInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubscriptionInfoURL) BuildFull ¶
func (o *SubscriptionInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubscriptionInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubscriptionInfoURL) SetBasePath ¶
func (o *SubscriptionInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SubscriptionInfoURL) String ¶
func (o *SubscriptionInfoURL) String() string
String returns the string representation of the path with query string
func (*SubscriptionInfoURL) StringFull ¶
func (o *SubscriptionInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubscriptionInfoURL) WithBasePath ¶
func (o *SubscriptionInfoURL) WithBasePath(bp string) *SubscriptionInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SubscriptionRefresh ¶
type SubscriptionRefresh struct { Context *middleware.Context Handler SubscriptionRefreshHandler }
SubscriptionRefresh swagger:route POST /subscription/refresh OperatorAPI subscriptionRefresh
Refresh existing subscription license
func NewSubscriptionRefresh ¶
func NewSubscriptionRefresh(ctx *middleware.Context, handler SubscriptionRefreshHandler) *SubscriptionRefresh
NewSubscriptionRefresh creates a new http.Handler for the subscription refresh operation
func (*SubscriptionRefresh) ServeHTTP ¶
func (o *SubscriptionRefresh) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubscriptionRefreshDefault ¶
type SubscriptionRefreshDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SubscriptionRefreshDefault Generic error response.
swagger:response subscriptionRefreshDefault
func NewSubscriptionRefreshDefault ¶
func NewSubscriptionRefreshDefault(code int) *SubscriptionRefreshDefault
NewSubscriptionRefreshDefault creates SubscriptionRefreshDefault with default headers values
func (*SubscriptionRefreshDefault) SetPayload ¶
func (o *SubscriptionRefreshDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the subscription refresh default response
func (*SubscriptionRefreshDefault) SetStatusCode ¶
func (o *SubscriptionRefreshDefault) SetStatusCode(code int)
SetStatusCode sets the status to the subscription refresh default response
func (*SubscriptionRefreshDefault) WithPayload ¶
func (o *SubscriptionRefreshDefault) WithPayload(payload *models.Error) *SubscriptionRefreshDefault
WithPayload adds the payload to the subscription refresh default response
func (*SubscriptionRefreshDefault) WithStatusCode ¶
func (o *SubscriptionRefreshDefault) WithStatusCode(code int) *SubscriptionRefreshDefault
WithStatusCode adds the status to the subscription refresh default response
func (*SubscriptionRefreshDefault) WriteResponse ¶
func (o *SubscriptionRefreshDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubscriptionRefreshHandler ¶
type SubscriptionRefreshHandler interface {
Handle(SubscriptionRefreshParams, *models.Principal) middleware.Responder
}
SubscriptionRefreshHandler interface for that can handle valid subscription refresh params
type SubscriptionRefreshHandlerFunc ¶
type SubscriptionRefreshHandlerFunc func(SubscriptionRefreshParams, *models.Principal) middleware.Responder
SubscriptionRefreshHandlerFunc turns a function with the right signature into a subscription refresh handler
func (SubscriptionRefreshHandlerFunc) Handle ¶
func (fn SubscriptionRefreshHandlerFunc) Handle(params SubscriptionRefreshParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SubscriptionRefreshOK ¶
type SubscriptionRefreshOK struct { /* In: Body */ Payload *models.License `json:"body,omitempty"` }
SubscriptionRefreshOK A successful response.
swagger:response subscriptionRefreshOK
func NewSubscriptionRefreshOK ¶
func NewSubscriptionRefreshOK() *SubscriptionRefreshOK
NewSubscriptionRefreshOK creates SubscriptionRefreshOK with default headers values
func (*SubscriptionRefreshOK) SetPayload ¶
func (o *SubscriptionRefreshOK) SetPayload(payload *models.License)
SetPayload sets the payload to the subscription refresh o k response
func (*SubscriptionRefreshOK) WithPayload ¶
func (o *SubscriptionRefreshOK) WithPayload(payload *models.License) *SubscriptionRefreshOK
WithPayload adds the payload to the subscription refresh o k response
func (*SubscriptionRefreshOK) WriteResponse ¶
func (o *SubscriptionRefreshOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubscriptionRefreshParams ¶
type SubscriptionRefreshParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
SubscriptionRefreshParams contains all the bound params for the subscription refresh operation typically these are obtained from a http.Request
swagger:parameters SubscriptionRefresh
func NewSubscriptionRefreshParams ¶
func NewSubscriptionRefreshParams() SubscriptionRefreshParams
NewSubscriptionRefreshParams creates a new SubscriptionRefreshParams object
There are no default values defined in the spec.
func (*SubscriptionRefreshParams) BindRequest ¶
func (o *SubscriptionRefreshParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSubscriptionRefreshParams() beforehand.
type SubscriptionRefreshURL ¶
type SubscriptionRefreshURL struct {
// contains filtered or unexported fields
}
SubscriptionRefreshURL generates an URL for the subscription refresh operation
func (*SubscriptionRefreshURL) Build ¶
func (o *SubscriptionRefreshURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubscriptionRefreshURL) BuildFull ¶
func (o *SubscriptionRefreshURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubscriptionRefreshURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubscriptionRefreshURL) SetBasePath ¶
func (o *SubscriptionRefreshURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SubscriptionRefreshURL) String ¶
func (o *SubscriptionRefreshURL) String() string
String returns the string representation of the path with query string
func (*SubscriptionRefreshURL) StringFull ¶
func (o *SubscriptionRefreshURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubscriptionRefreshURL) WithBasePath ¶
func (o *SubscriptionRefreshURL) WithBasePath(bp string) *SubscriptionRefreshURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SubscriptionValidate ¶
type SubscriptionValidate struct { Context *middleware.Context Handler SubscriptionValidateHandler }
SubscriptionValidate swagger:route POST /subscription/validate OperatorAPI subscriptionValidate
Validates subscription license
func NewSubscriptionValidate ¶
func NewSubscriptionValidate(ctx *middleware.Context, handler SubscriptionValidateHandler) *SubscriptionValidate
NewSubscriptionValidate creates a new http.Handler for the subscription validate operation
func (*SubscriptionValidate) ServeHTTP ¶
func (o *SubscriptionValidate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubscriptionValidateDefault ¶
type SubscriptionValidateDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SubscriptionValidateDefault Generic error response.
swagger:response subscriptionValidateDefault
func NewSubscriptionValidateDefault ¶
func NewSubscriptionValidateDefault(code int) *SubscriptionValidateDefault
NewSubscriptionValidateDefault creates SubscriptionValidateDefault with default headers values
func (*SubscriptionValidateDefault) SetPayload ¶
func (o *SubscriptionValidateDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the subscription validate default response
func (*SubscriptionValidateDefault) SetStatusCode ¶
func (o *SubscriptionValidateDefault) SetStatusCode(code int)
SetStatusCode sets the status to the subscription validate default response
func (*SubscriptionValidateDefault) WithPayload ¶
func (o *SubscriptionValidateDefault) WithPayload(payload *models.Error) *SubscriptionValidateDefault
WithPayload adds the payload to the subscription validate default response
func (*SubscriptionValidateDefault) WithStatusCode ¶
func (o *SubscriptionValidateDefault) WithStatusCode(code int) *SubscriptionValidateDefault
WithStatusCode adds the status to the subscription validate default response
func (*SubscriptionValidateDefault) WriteResponse ¶
func (o *SubscriptionValidateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubscriptionValidateHandler ¶
type SubscriptionValidateHandler interface {
Handle(SubscriptionValidateParams, *models.Principal) middleware.Responder
}
SubscriptionValidateHandler interface for that can handle valid subscription validate params
type SubscriptionValidateHandlerFunc ¶
type SubscriptionValidateHandlerFunc func(SubscriptionValidateParams, *models.Principal) middleware.Responder
SubscriptionValidateHandlerFunc turns a function with the right signature into a subscription validate handler
func (SubscriptionValidateHandlerFunc) Handle ¶
func (fn SubscriptionValidateHandlerFunc) Handle(params SubscriptionValidateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SubscriptionValidateOK ¶
type SubscriptionValidateOK struct { /* In: Body */ Payload *models.License `json:"body,omitempty"` }
SubscriptionValidateOK A successful response.
swagger:response subscriptionValidateOK
func NewSubscriptionValidateOK ¶
func NewSubscriptionValidateOK() *SubscriptionValidateOK
NewSubscriptionValidateOK creates SubscriptionValidateOK with default headers values
func (*SubscriptionValidateOK) SetPayload ¶
func (o *SubscriptionValidateOK) SetPayload(payload *models.License)
SetPayload sets the payload to the subscription validate o k response
func (*SubscriptionValidateOK) WithPayload ¶
func (o *SubscriptionValidateOK) WithPayload(payload *models.License) *SubscriptionValidateOK
WithPayload adds the payload to the subscription validate o k response
func (*SubscriptionValidateOK) WriteResponse ¶
func (o *SubscriptionValidateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubscriptionValidateParams ¶
type SubscriptionValidateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.SubscriptionValidateRequest }
SubscriptionValidateParams contains all the bound params for the subscription validate operation typically these are obtained from a http.Request
swagger:parameters SubscriptionValidate
func NewSubscriptionValidateParams ¶
func NewSubscriptionValidateParams() SubscriptionValidateParams
NewSubscriptionValidateParams creates a new SubscriptionValidateParams object
There are no default values defined in the spec.
func (*SubscriptionValidateParams) BindRequest ¶
func (o *SubscriptionValidateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSubscriptionValidateParams() beforehand.
type SubscriptionValidateURL ¶
type SubscriptionValidateURL struct {
// contains filtered or unexported fields
}
SubscriptionValidateURL generates an URL for the subscription validate operation
func (*SubscriptionValidateURL) Build ¶
func (o *SubscriptionValidateURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubscriptionValidateURL) BuildFull ¶
func (o *SubscriptionValidateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubscriptionValidateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubscriptionValidateURL) SetBasePath ¶
func (o *SubscriptionValidateURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SubscriptionValidateURL) String ¶
func (o *SubscriptionValidateURL) String() string
String returns the string representation of the path with query string
func (*SubscriptionValidateURL) StringFull ¶
func (o *SubscriptionValidateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubscriptionValidateURL) WithBasePath ¶
func (o *SubscriptionValidateURL) WithBasePath(bp string) *SubscriptionValidateURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantAddPool ¶
type TenantAddPool struct { Context *middleware.Context Handler TenantAddPoolHandler }
TenantAddPool swagger:route POST /namespaces/{namespace}/tenants/{tenant}/pools OperatorAPI tenantAddPool
Tenant Add Pool
func NewTenantAddPool ¶
func NewTenantAddPool(ctx *middleware.Context, handler TenantAddPoolHandler) *TenantAddPool
NewTenantAddPool creates a new http.Handler for the tenant add pool operation
func (*TenantAddPool) ServeHTTP ¶
func (o *TenantAddPool) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantAddPoolCreated ¶
type TenantAddPoolCreated struct { }
TenantAddPoolCreated A successful response.
swagger:response tenantAddPoolCreated
func NewTenantAddPoolCreated ¶
func NewTenantAddPoolCreated() *TenantAddPoolCreated
NewTenantAddPoolCreated creates TenantAddPoolCreated with default headers values
func (*TenantAddPoolCreated) WriteResponse ¶
func (o *TenantAddPoolCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantAddPoolDefault ¶
type TenantAddPoolDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
TenantAddPoolDefault Generic error response.
swagger:response tenantAddPoolDefault
func NewTenantAddPoolDefault ¶
func NewTenantAddPoolDefault(code int) *TenantAddPoolDefault
NewTenantAddPoolDefault creates TenantAddPoolDefault with default headers values
func (*TenantAddPoolDefault) SetPayload ¶
func (o *TenantAddPoolDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the tenant add pool default response
func (*TenantAddPoolDefault) SetStatusCode ¶
func (o *TenantAddPoolDefault) SetStatusCode(code int)
SetStatusCode sets the status to the tenant add pool default response
func (*TenantAddPoolDefault) WithPayload ¶
func (o *TenantAddPoolDefault) WithPayload(payload *models.Error) *TenantAddPoolDefault
WithPayload adds the payload to the tenant add pool default response
func (*TenantAddPoolDefault) WithStatusCode ¶
func (o *TenantAddPoolDefault) WithStatusCode(code int) *TenantAddPoolDefault
WithStatusCode adds the status to the tenant add pool default response
func (*TenantAddPoolDefault) WriteResponse ¶
func (o *TenantAddPoolDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantAddPoolHandler ¶
type TenantAddPoolHandler interface {
Handle(TenantAddPoolParams, *models.Principal) middleware.Responder
}
TenantAddPoolHandler interface for that can handle valid tenant add pool params
type TenantAddPoolHandlerFunc ¶
type TenantAddPoolHandlerFunc func(TenantAddPoolParams, *models.Principal) middleware.Responder
TenantAddPoolHandlerFunc turns a function with the right signature into a tenant add pool handler
func (TenantAddPoolHandlerFunc) Handle ¶
func (fn TenantAddPoolHandlerFunc) Handle(params TenantAddPoolParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantAddPoolParams ¶
type TenantAddPoolParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.Pool /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
TenantAddPoolParams contains all the bound params for the tenant add pool operation typically these are obtained from a http.Request
swagger:parameters TenantAddPool
func NewTenantAddPoolParams ¶
func NewTenantAddPoolParams() TenantAddPoolParams
NewTenantAddPoolParams creates a new TenantAddPoolParams object
There are no default values defined in the spec.
func (*TenantAddPoolParams) BindRequest ¶
func (o *TenantAddPoolParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantAddPoolParams() beforehand.
type TenantAddPoolURL ¶
type TenantAddPoolURL struct { Namespace string Tenant string // contains filtered or unexported fields }
TenantAddPoolURL generates an URL for the tenant add pool operation
func (*TenantAddPoolURL) Build ¶
func (o *TenantAddPoolURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantAddPoolURL) BuildFull ¶
func (o *TenantAddPoolURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantAddPoolURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantAddPoolURL) SetBasePath ¶
func (o *TenantAddPoolURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantAddPoolURL) String ¶
func (o *TenantAddPoolURL) String() string
String returns the string representation of the path with query string
func (*TenantAddPoolURL) StringFull ¶
func (o *TenantAddPoolURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantAddPoolURL) WithBasePath ¶
func (o *TenantAddPoolURL) WithBasePath(bp string) *TenantAddPoolURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantDetails ¶
type TenantDetails struct { Context *middleware.Context Handler TenantDetailsHandler }
TenantDetails swagger:route GET /namespaces/{namespace}/tenants/{tenant} OperatorAPI tenantDetails
Tenant Details
func NewTenantDetails ¶
func NewTenantDetails(ctx *middleware.Context, handler TenantDetailsHandler) *TenantDetails
NewTenantDetails creates a new http.Handler for the tenant details operation
func (*TenantDetails) ServeHTTP ¶
func (o *TenantDetails) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantDetailsDefault ¶
type TenantDetailsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
TenantDetailsDefault Generic error response.
swagger:response tenantDetailsDefault
func NewTenantDetailsDefault ¶
func NewTenantDetailsDefault(code int) *TenantDetailsDefault
NewTenantDetailsDefault creates TenantDetailsDefault with default headers values
func (*TenantDetailsDefault) SetPayload ¶
func (o *TenantDetailsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the tenant details default response
func (*TenantDetailsDefault) SetStatusCode ¶
func (o *TenantDetailsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the tenant details default response
func (*TenantDetailsDefault) WithPayload ¶
func (o *TenantDetailsDefault) WithPayload(payload *models.Error) *TenantDetailsDefault
WithPayload adds the payload to the tenant details default response
func (*TenantDetailsDefault) WithStatusCode ¶
func (o *TenantDetailsDefault) WithStatusCode(code int) *TenantDetailsDefault
WithStatusCode adds the status to the tenant details default response
func (*TenantDetailsDefault) WriteResponse ¶
func (o *TenantDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantDetailsHandler ¶
type TenantDetailsHandler interface {
Handle(TenantDetailsParams, *models.Principal) middleware.Responder
}
TenantDetailsHandler interface for that can handle valid tenant details params
type TenantDetailsHandlerFunc ¶
type TenantDetailsHandlerFunc func(TenantDetailsParams, *models.Principal) middleware.Responder
TenantDetailsHandlerFunc turns a function with the right signature into a tenant details handler
func (TenantDetailsHandlerFunc) Handle ¶
func (fn TenantDetailsHandlerFunc) Handle(params TenantDetailsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantDetailsOK ¶
TenantDetailsOK A successful response.
swagger:response tenantDetailsOK
func NewTenantDetailsOK ¶
func NewTenantDetailsOK() *TenantDetailsOK
NewTenantDetailsOK creates TenantDetailsOK with default headers values
func (*TenantDetailsOK) SetPayload ¶
func (o *TenantDetailsOK) SetPayload(payload *models.Tenant)
SetPayload sets the payload to the tenant details o k response
func (*TenantDetailsOK) WithPayload ¶
func (o *TenantDetailsOK) WithPayload(payload *models.Tenant) *TenantDetailsOK
WithPayload adds the payload to the tenant details o k response
func (*TenantDetailsOK) WriteResponse ¶
func (o *TenantDetailsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantDetailsParams ¶
type TenantDetailsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
TenantDetailsParams contains all the bound params for the tenant details operation typically these are obtained from a http.Request
swagger:parameters TenantDetails
func NewTenantDetailsParams ¶
func NewTenantDetailsParams() TenantDetailsParams
NewTenantDetailsParams creates a new TenantDetailsParams object
There are no default values defined in the spec.
func (*TenantDetailsParams) BindRequest ¶
func (o *TenantDetailsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantDetailsParams() beforehand.
type TenantDetailsURL ¶
type TenantDetailsURL struct { Namespace string Tenant string // contains filtered or unexported fields }
TenantDetailsURL generates an URL for the tenant details operation
func (*TenantDetailsURL) Build ¶
func (o *TenantDetailsURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantDetailsURL) BuildFull ¶
func (o *TenantDetailsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantDetailsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantDetailsURL) SetBasePath ¶
func (o *TenantDetailsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantDetailsURL) String ¶
func (o *TenantDetailsURL) String() string
String returns the string representation of the path with query string
func (*TenantDetailsURL) StringFull ¶
func (o *TenantDetailsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantDetailsURL) WithBasePath ¶
func (o *TenantDetailsURL) WithBasePath(bp string) *TenantDetailsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantSecurity ¶
type TenantSecurity struct { Context *middleware.Context Handler TenantSecurityHandler }
TenantSecurity swagger:route GET /namespaces/{namespace}/tenants/{tenant}/security OperatorAPI tenantSecurity
Tenant Security
func NewTenantSecurity ¶
func NewTenantSecurity(ctx *middleware.Context, handler TenantSecurityHandler) *TenantSecurity
NewTenantSecurity creates a new http.Handler for the tenant security operation
func (*TenantSecurity) ServeHTTP ¶
func (o *TenantSecurity) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantSecurityDefault ¶
type TenantSecurityDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
TenantSecurityDefault Generic error response.
swagger:response tenantSecurityDefault
func NewTenantSecurityDefault ¶
func NewTenantSecurityDefault(code int) *TenantSecurityDefault
NewTenantSecurityDefault creates TenantSecurityDefault with default headers values
func (*TenantSecurityDefault) SetPayload ¶
func (o *TenantSecurityDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the tenant security default response
func (*TenantSecurityDefault) SetStatusCode ¶
func (o *TenantSecurityDefault) SetStatusCode(code int)
SetStatusCode sets the status to the tenant security default response
func (*TenantSecurityDefault) WithPayload ¶
func (o *TenantSecurityDefault) WithPayload(payload *models.Error) *TenantSecurityDefault
WithPayload adds the payload to the tenant security default response
func (*TenantSecurityDefault) WithStatusCode ¶
func (o *TenantSecurityDefault) WithStatusCode(code int) *TenantSecurityDefault
WithStatusCode adds the status to the tenant security default response
func (*TenantSecurityDefault) WriteResponse ¶
func (o *TenantSecurityDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantSecurityHandler ¶
type TenantSecurityHandler interface {
Handle(TenantSecurityParams, *models.Principal) middleware.Responder
}
TenantSecurityHandler interface for that can handle valid tenant security params
type TenantSecurityHandlerFunc ¶
type TenantSecurityHandlerFunc func(TenantSecurityParams, *models.Principal) middleware.Responder
TenantSecurityHandlerFunc turns a function with the right signature into a tenant security handler
func (TenantSecurityHandlerFunc) Handle ¶
func (fn TenantSecurityHandlerFunc) Handle(params TenantSecurityParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantSecurityOK ¶
type TenantSecurityOK struct { /* In: Body */ Payload *models.TenantSecurityResponse `json:"body,omitempty"` }
TenantSecurityOK A successful response.
swagger:response tenantSecurityOK
func NewTenantSecurityOK ¶
func NewTenantSecurityOK() *TenantSecurityOK
NewTenantSecurityOK creates TenantSecurityOK with default headers values
func (*TenantSecurityOK) SetPayload ¶
func (o *TenantSecurityOK) SetPayload(payload *models.TenantSecurityResponse)
SetPayload sets the payload to the tenant security o k response
func (*TenantSecurityOK) WithPayload ¶
func (o *TenantSecurityOK) WithPayload(payload *models.TenantSecurityResponse) *TenantSecurityOK
WithPayload adds the payload to the tenant security o k response
func (*TenantSecurityOK) WriteResponse ¶
func (o *TenantSecurityOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantSecurityParams ¶
type TenantSecurityParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
TenantSecurityParams contains all the bound params for the tenant security operation typically these are obtained from a http.Request
swagger:parameters TenantSecurity
func NewTenantSecurityParams ¶
func NewTenantSecurityParams() TenantSecurityParams
NewTenantSecurityParams creates a new TenantSecurityParams object
There are no default values defined in the spec.
func (*TenantSecurityParams) BindRequest ¶
func (o *TenantSecurityParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantSecurityParams() beforehand.
type TenantSecurityURL ¶
type TenantSecurityURL struct { Namespace string Tenant string // contains filtered or unexported fields }
TenantSecurityURL generates an URL for the tenant security operation
func (*TenantSecurityURL) Build ¶
func (o *TenantSecurityURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantSecurityURL) BuildFull ¶
func (o *TenantSecurityURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantSecurityURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantSecurityURL) SetBasePath ¶
func (o *TenantSecurityURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantSecurityURL) String ¶
func (o *TenantSecurityURL) String() string
String returns the string representation of the path with query string
func (*TenantSecurityURL) StringFull ¶
func (o *TenantSecurityURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantSecurityURL) WithBasePath ¶
func (o *TenantSecurityURL) WithBasePath(bp string) *TenantSecurityURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantUpdateCertificate ¶
type TenantUpdateCertificate struct { Context *middleware.Context Handler TenantUpdateCertificateHandler }
TenantUpdateCertificate swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/certificates OperatorAPI tenantUpdateCertificate
Tenant Update Certificates
func NewTenantUpdateCertificate ¶
func NewTenantUpdateCertificate(ctx *middleware.Context, handler TenantUpdateCertificateHandler) *TenantUpdateCertificate
NewTenantUpdateCertificate creates a new http.Handler for the tenant update certificate operation
func (*TenantUpdateCertificate) ServeHTTP ¶
func (o *TenantUpdateCertificate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantUpdateCertificateCreated ¶
type TenantUpdateCertificateCreated struct { }
TenantUpdateCertificateCreated A successful response.
swagger:response tenantUpdateCertificateCreated
func NewTenantUpdateCertificateCreated ¶
func NewTenantUpdateCertificateCreated() *TenantUpdateCertificateCreated
NewTenantUpdateCertificateCreated creates TenantUpdateCertificateCreated with default headers values
func (*TenantUpdateCertificateCreated) WriteResponse ¶
func (o *TenantUpdateCertificateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantUpdateCertificateDefault ¶
type TenantUpdateCertificateDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
TenantUpdateCertificateDefault Generic error response.
swagger:response tenantUpdateCertificateDefault
func NewTenantUpdateCertificateDefault ¶
func NewTenantUpdateCertificateDefault(code int) *TenantUpdateCertificateDefault
NewTenantUpdateCertificateDefault creates TenantUpdateCertificateDefault with default headers values
func (*TenantUpdateCertificateDefault) SetPayload ¶
func (o *TenantUpdateCertificateDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the tenant update certificate default response
func (*TenantUpdateCertificateDefault) SetStatusCode ¶
func (o *TenantUpdateCertificateDefault) SetStatusCode(code int)
SetStatusCode sets the status to the tenant update certificate default response
func (*TenantUpdateCertificateDefault) WithPayload ¶
func (o *TenantUpdateCertificateDefault) WithPayload(payload *models.Error) *TenantUpdateCertificateDefault
WithPayload adds the payload to the tenant update certificate default response
func (*TenantUpdateCertificateDefault) WithStatusCode ¶
func (o *TenantUpdateCertificateDefault) WithStatusCode(code int) *TenantUpdateCertificateDefault
WithStatusCode adds the status to the tenant update certificate default response
func (*TenantUpdateCertificateDefault) WriteResponse ¶
func (o *TenantUpdateCertificateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantUpdateCertificateHandler ¶
type TenantUpdateCertificateHandler interface {
Handle(TenantUpdateCertificateParams, *models.Principal) middleware.Responder
}
TenantUpdateCertificateHandler interface for that can handle valid tenant update certificate params
type TenantUpdateCertificateHandlerFunc ¶
type TenantUpdateCertificateHandlerFunc func(TenantUpdateCertificateParams, *models.Principal) middleware.Responder
TenantUpdateCertificateHandlerFunc turns a function with the right signature into a tenant update certificate handler
func (TenantUpdateCertificateHandlerFunc) Handle ¶
func (fn TenantUpdateCertificateHandlerFunc) Handle(params TenantUpdateCertificateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantUpdateCertificateParams ¶
type TenantUpdateCertificateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.TLSConfiguration /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
TenantUpdateCertificateParams contains all the bound params for the tenant update certificate operation typically these are obtained from a http.Request
swagger:parameters TenantUpdateCertificate
func NewTenantUpdateCertificateParams ¶
func NewTenantUpdateCertificateParams() TenantUpdateCertificateParams
NewTenantUpdateCertificateParams creates a new TenantUpdateCertificateParams object
There are no default values defined in the spec.
func (*TenantUpdateCertificateParams) BindRequest ¶
func (o *TenantUpdateCertificateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantUpdateCertificateParams() beforehand.
type TenantUpdateCertificateURL ¶
type TenantUpdateCertificateURL struct { Namespace string Tenant string // contains filtered or unexported fields }
TenantUpdateCertificateURL generates an URL for the tenant update certificate operation
func (*TenantUpdateCertificateURL) Build ¶
func (o *TenantUpdateCertificateURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantUpdateCertificateURL) BuildFull ¶
func (o *TenantUpdateCertificateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantUpdateCertificateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantUpdateCertificateURL) SetBasePath ¶
func (o *TenantUpdateCertificateURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantUpdateCertificateURL) String ¶
func (o *TenantUpdateCertificateURL) String() string
String returns the string representation of the path with query string
func (*TenantUpdateCertificateURL) StringFull ¶
func (o *TenantUpdateCertificateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantUpdateCertificateURL) WithBasePath ¶
func (o *TenantUpdateCertificateURL) WithBasePath(bp string) *TenantUpdateCertificateURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantUpdateEncryption ¶
type TenantUpdateEncryption struct { Context *middleware.Context Handler TenantUpdateEncryptionHandler }
TenantUpdateEncryption swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/encryption OperatorAPI tenantUpdateEncryption
Tenant Update Encryption
func NewTenantUpdateEncryption ¶
func NewTenantUpdateEncryption(ctx *middleware.Context, handler TenantUpdateEncryptionHandler) *TenantUpdateEncryption
NewTenantUpdateEncryption creates a new http.Handler for the tenant update encryption operation
func (*TenantUpdateEncryption) ServeHTTP ¶
func (o *TenantUpdateEncryption) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantUpdateEncryptionCreated ¶
type TenantUpdateEncryptionCreated struct { }
TenantUpdateEncryptionCreated A successful response.
swagger:response tenantUpdateEncryptionCreated
func NewTenantUpdateEncryptionCreated ¶
func NewTenantUpdateEncryptionCreated() *TenantUpdateEncryptionCreated
NewTenantUpdateEncryptionCreated creates TenantUpdateEncryptionCreated with default headers values
func (*TenantUpdateEncryptionCreated) WriteResponse ¶
func (o *TenantUpdateEncryptionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantUpdateEncryptionDefault ¶
type TenantUpdateEncryptionDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
TenantUpdateEncryptionDefault Generic error response.
swagger:response tenantUpdateEncryptionDefault
func NewTenantUpdateEncryptionDefault ¶
func NewTenantUpdateEncryptionDefault(code int) *TenantUpdateEncryptionDefault
NewTenantUpdateEncryptionDefault creates TenantUpdateEncryptionDefault with default headers values
func (*TenantUpdateEncryptionDefault) SetPayload ¶
func (o *TenantUpdateEncryptionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the tenant update encryption default response
func (*TenantUpdateEncryptionDefault) SetStatusCode ¶
func (o *TenantUpdateEncryptionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the tenant update encryption default response
func (*TenantUpdateEncryptionDefault) WithPayload ¶
func (o *TenantUpdateEncryptionDefault) WithPayload(payload *models.Error) *TenantUpdateEncryptionDefault
WithPayload adds the payload to the tenant update encryption default response
func (*TenantUpdateEncryptionDefault) WithStatusCode ¶
func (o *TenantUpdateEncryptionDefault) WithStatusCode(code int) *TenantUpdateEncryptionDefault
WithStatusCode adds the status to the tenant update encryption default response
func (*TenantUpdateEncryptionDefault) WriteResponse ¶
func (o *TenantUpdateEncryptionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantUpdateEncryptionHandler ¶
type TenantUpdateEncryptionHandler interface {
Handle(TenantUpdateEncryptionParams, *models.Principal) middleware.Responder
}
TenantUpdateEncryptionHandler interface for that can handle valid tenant update encryption params
type TenantUpdateEncryptionHandlerFunc ¶
type TenantUpdateEncryptionHandlerFunc func(TenantUpdateEncryptionParams, *models.Principal) middleware.Responder
TenantUpdateEncryptionHandlerFunc turns a function with the right signature into a tenant update encryption handler
func (TenantUpdateEncryptionHandlerFunc) Handle ¶
func (fn TenantUpdateEncryptionHandlerFunc) Handle(params TenantUpdateEncryptionParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantUpdateEncryptionParams ¶
type TenantUpdateEncryptionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.EncryptionConfiguration /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
TenantUpdateEncryptionParams contains all the bound params for the tenant update encryption operation typically these are obtained from a http.Request
swagger:parameters TenantUpdateEncryption
func NewTenantUpdateEncryptionParams ¶
func NewTenantUpdateEncryptionParams() TenantUpdateEncryptionParams
NewTenantUpdateEncryptionParams creates a new TenantUpdateEncryptionParams object
There are no default values defined in the spec.
func (*TenantUpdateEncryptionParams) BindRequest ¶
func (o *TenantUpdateEncryptionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantUpdateEncryptionParams() beforehand.
type TenantUpdateEncryptionURL ¶
type TenantUpdateEncryptionURL struct { Namespace string Tenant string // contains filtered or unexported fields }
TenantUpdateEncryptionURL generates an URL for the tenant update encryption operation
func (*TenantUpdateEncryptionURL) Build ¶
func (o *TenantUpdateEncryptionURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantUpdateEncryptionURL) BuildFull ¶
func (o *TenantUpdateEncryptionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantUpdateEncryptionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantUpdateEncryptionURL) SetBasePath ¶
func (o *TenantUpdateEncryptionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantUpdateEncryptionURL) String ¶
func (o *TenantUpdateEncryptionURL) String() string
String returns the string representation of the path with query string
func (*TenantUpdateEncryptionURL) StringFull ¶
func (o *TenantUpdateEncryptionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantUpdateEncryptionURL) WithBasePath ¶
func (o *TenantUpdateEncryptionURL) WithBasePath(bp string) *TenantUpdateEncryptionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantUpdatePools ¶
type TenantUpdatePools struct { Context *middleware.Context Handler TenantUpdatePoolsHandler }
TenantUpdatePools swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/pools OperatorAPI tenantUpdatePools
Tenant Update Pools
func NewTenantUpdatePools ¶
func NewTenantUpdatePools(ctx *middleware.Context, handler TenantUpdatePoolsHandler) *TenantUpdatePools
NewTenantUpdatePools creates a new http.Handler for the tenant update pools operation
func (*TenantUpdatePools) ServeHTTP ¶
func (o *TenantUpdatePools) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantUpdatePoolsDefault ¶
type TenantUpdatePoolsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
TenantUpdatePoolsDefault Generic error response.
swagger:response tenantUpdatePoolsDefault
func NewTenantUpdatePoolsDefault ¶
func NewTenantUpdatePoolsDefault(code int) *TenantUpdatePoolsDefault
NewTenantUpdatePoolsDefault creates TenantUpdatePoolsDefault with default headers values
func (*TenantUpdatePoolsDefault) SetPayload ¶
func (o *TenantUpdatePoolsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the tenant update pools default response
func (*TenantUpdatePoolsDefault) SetStatusCode ¶
func (o *TenantUpdatePoolsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the tenant update pools default response
func (*TenantUpdatePoolsDefault) WithPayload ¶
func (o *TenantUpdatePoolsDefault) WithPayload(payload *models.Error) *TenantUpdatePoolsDefault
WithPayload adds the payload to the tenant update pools default response
func (*TenantUpdatePoolsDefault) WithStatusCode ¶
func (o *TenantUpdatePoolsDefault) WithStatusCode(code int) *TenantUpdatePoolsDefault
WithStatusCode adds the status to the tenant update pools default response
func (*TenantUpdatePoolsDefault) WriteResponse ¶
func (o *TenantUpdatePoolsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantUpdatePoolsHandler ¶
type TenantUpdatePoolsHandler interface {
Handle(TenantUpdatePoolsParams, *models.Principal) middleware.Responder
}
TenantUpdatePoolsHandler interface for that can handle valid tenant update pools params
type TenantUpdatePoolsHandlerFunc ¶
type TenantUpdatePoolsHandlerFunc func(TenantUpdatePoolsParams, *models.Principal) middleware.Responder
TenantUpdatePoolsHandlerFunc turns a function with the right signature into a tenant update pools handler
func (TenantUpdatePoolsHandlerFunc) Handle ¶
func (fn TenantUpdatePoolsHandlerFunc) Handle(params TenantUpdatePoolsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantUpdatePoolsOK ¶
TenantUpdatePoolsOK A successful response.
swagger:response tenantUpdatePoolsOK
func NewTenantUpdatePoolsOK ¶
func NewTenantUpdatePoolsOK() *TenantUpdatePoolsOK
NewTenantUpdatePoolsOK creates TenantUpdatePoolsOK with default headers values
func (*TenantUpdatePoolsOK) SetPayload ¶
func (o *TenantUpdatePoolsOK) SetPayload(payload *models.Tenant)
SetPayload sets the payload to the tenant update pools o k response
func (*TenantUpdatePoolsOK) WithPayload ¶
func (o *TenantUpdatePoolsOK) WithPayload(payload *models.Tenant) *TenantUpdatePoolsOK
WithPayload adds the payload to the tenant update pools o k response
func (*TenantUpdatePoolsOK) WriteResponse ¶
func (o *TenantUpdatePoolsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantUpdatePoolsParams ¶
type TenantUpdatePoolsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PoolUpdateRequest /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
TenantUpdatePoolsParams contains all the bound params for the tenant update pools operation typically these are obtained from a http.Request
swagger:parameters TenantUpdatePools
func NewTenantUpdatePoolsParams ¶
func NewTenantUpdatePoolsParams() TenantUpdatePoolsParams
NewTenantUpdatePoolsParams creates a new TenantUpdatePoolsParams object
There are no default values defined in the spec.
func (*TenantUpdatePoolsParams) BindRequest ¶
func (o *TenantUpdatePoolsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantUpdatePoolsParams() beforehand.
type TenantUpdatePoolsURL ¶
type TenantUpdatePoolsURL struct { Namespace string Tenant string // contains filtered or unexported fields }
TenantUpdatePoolsURL generates an URL for the tenant update pools operation
func (*TenantUpdatePoolsURL) Build ¶
func (o *TenantUpdatePoolsURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantUpdatePoolsURL) BuildFull ¶
func (o *TenantUpdatePoolsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantUpdatePoolsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantUpdatePoolsURL) SetBasePath ¶
func (o *TenantUpdatePoolsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantUpdatePoolsURL) String ¶
func (o *TenantUpdatePoolsURL) String() string
String returns the string representation of the path with query string
func (*TenantUpdatePoolsURL) StringFull ¶
func (o *TenantUpdatePoolsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantUpdatePoolsURL) WithBasePath ¶
func (o *TenantUpdatePoolsURL) WithBasePath(bp string) *TenantUpdatePoolsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateTenant ¶
type UpdateTenant struct { Context *middleware.Context Handler UpdateTenantHandler }
UpdateTenant swagger:route PUT /namespaces/{namespace}/tenants/{tenant} OperatorAPI updateTenant
Update Tenant
func NewUpdateTenant ¶
func NewUpdateTenant(ctx *middleware.Context, handler UpdateTenantHandler) *UpdateTenant
NewUpdateTenant creates a new http.Handler for the update tenant operation
func (*UpdateTenant) ServeHTTP ¶
func (o *UpdateTenant) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateTenantCreated ¶
type UpdateTenantCreated struct { }
UpdateTenantCreated A successful response.
swagger:response updateTenantCreated
func NewUpdateTenantCreated ¶
func NewUpdateTenantCreated() *UpdateTenantCreated
NewUpdateTenantCreated creates UpdateTenantCreated with default headers values
func (*UpdateTenantCreated) WriteResponse ¶
func (o *UpdateTenantCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateTenantDefault ¶
type UpdateTenantDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateTenantDefault Generic error response.
swagger:response updateTenantDefault
func NewUpdateTenantDefault ¶
func NewUpdateTenantDefault(code int) *UpdateTenantDefault
NewUpdateTenantDefault creates UpdateTenantDefault with default headers values
func (*UpdateTenantDefault) SetPayload ¶
func (o *UpdateTenantDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the update tenant default response
func (*UpdateTenantDefault) SetStatusCode ¶
func (o *UpdateTenantDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update tenant default response
func (*UpdateTenantDefault) WithPayload ¶
func (o *UpdateTenantDefault) WithPayload(payload *models.Error) *UpdateTenantDefault
WithPayload adds the payload to the update tenant default response
func (*UpdateTenantDefault) WithStatusCode ¶
func (o *UpdateTenantDefault) WithStatusCode(code int) *UpdateTenantDefault
WithStatusCode adds the status to the update tenant default response
func (*UpdateTenantDefault) WriteResponse ¶
func (o *UpdateTenantDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateTenantHandler ¶
type UpdateTenantHandler interface {
Handle(UpdateTenantParams, *models.Principal) middleware.Responder
}
UpdateTenantHandler interface for that can handle valid update tenant params
type UpdateTenantHandlerFunc ¶
type UpdateTenantHandlerFunc func(UpdateTenantParams, *models.Principal) middleware.Responder
UpdateTenantHandlerFunc turns a function with the right signature into a update tenant handler
func (UpdateTenantHandlerFunc) Handle ¶
func (fn UpdateTenantHandlerFunc) Handle(params UpdateTenantParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type UpdateTenantParams ¶
type UpdateTenantParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.UpdateTenantRequest /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
UpdateTenantParams contains all the bound params for the update tenant operation typically these are obtained from a http.Request
swagger:parameters UpdateTenant
func NewUpdateTenantParams ¶
func NewUpdateTenantParams() UpdateTenantParams
NewUpdateTenantParams creates a new UpdateTenantParams object
There are no default values defined in the spec.
func (*UpdateTenantParams) BindRequest ¶
func (o *UpdateTenantParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateTenantParams() beforehand.
type UpdateTenantSecurity ¶
type UpdateTenantSecurity struct { Context *middleware.Context Handler UpdateTenantSecurityHandler }
UpdateTenantSecurity swagger:route POST /namespaces/{namespace}/tenants/{tenant}/security OperatorAPI updateTenantSecurity
Update Tenant Security
func NewUpdateTenantSecurity ¶
func NewUpdateTenantSecurity(ctx *middleware.Context, handler UpdateTenantSecurityHandler) *UpdateTenantSecurity
NewUpdateTenantSecurity creates a new http.Handler for the update tenant security operation
func (*UpdateTenantSecurity) ServeHTTP ¶
func (o *UpdateTenantSecurity) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateTenantSecurityDefault ¶
type UpdateTenantSecurityDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateTenantSecurityDefault Generic error response.
swagger:response updateTenantSecurityDefault
func NewUpdateTenantSecurityDefault ¶
func NewUpdateTenantSecurityDefault(code int) *UpdateTenantSecurityDefault
NewUpdateTenantSecurityDefault creates UpdateTenantSecurityDefault with default headers values
func (*UpdateTenantSecurityDefault) SetPayload ¶
func (o *UpdateTenantSecurityDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the update tenant security default response
func (*UpdateTenantSecurityDefault) SetStatusCode ¶
func (o *UpdateTenantSecurityDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update tenant security default response
func (*UpdateTenantSecurityDefault) WithPayload ¶
func (o *UpdateTenantSecurityDefault) WithPayload(payload *models.Error) *UpdateTenantSecurityDefault
WithPayload adds the payload to the update tenant security default response
func (*UpdateTenantSecurityDefault) WithStatusCode ¶
func (o *UpdateTenantSecurityDefault) WithStatusCode(code int) *UpdateTenantSecurityDefault
WithStatusCode adds the status to the update tenant security default response
func (*UpdateTenantSecurityDefault) WriteResponse ¶
func (o *UpdateTenantSecurityDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateTenantSecurityHandler ¶
type UpdateTenantSecurityHandler interface {
Handle(UpdateTenantSecurityParams, *models.Principal) middleware.Responder
}
UpdateTenantSecurityHandler interface for that can handle valid update tenant security params
type UpdateTenantSecurityHandlerFunc ¶
type UpdateTenantSecurityHandlerFunc func(UpdateTenantSecurityParams, *models.Principal) middleware.Responder
UpdateTenantSecurityHandlerFunc turns a function with the right signature into a update tenant security handler
func (UpdateTenantSecurityHandlerFunc) Handle ¶
func (fn UpdateTenantSecurityHandlerFunc) Handle(params UpdateTenantSecurityParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type UpdateTenantSecurityNoContent ¶
type UpdateTenantSecurityNoContent struct { }
UpdateTenantSecurityNoContent A successful response.
swagger:response updateTenantSecurityNoContent
func NewUpdateTenantSecurityNoContent ¶
func NewUpdateTenantSecurityNoContent() *UpdateTenantSecurityNoContent
NewUpdateTenantSecurityNoContent creates UpdateTenantSecurityNoContent with default headers values
func (*UpdateTenantSecurityNoContent) WriteResponse ¶
func (o *UpdateTenantSecurityNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateTenantSecurityParams ¶
type UpdateTenantSecurityParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.UpdateTenantSecurityRequest /* Required: true In: path */ Namespace string /* Required: true In: path */ Tenant string }
UpdateTenantSecurityParams contains all the bound params for the update tenant security operation typically these are obtained from a http.Request
swagger:parameters UpdateTenantSecurity
func NewUpdateTenantSecurityParams ¶
func NewUpdateTenantSecurityParams() UpdateTenantSecurityParams
NewUpdateTenantSecurityParams creates a new UpdateTenantSecurityParams object
There are no default values defined in the spec.
func (*UpdateTenantSecurityParams) BindRequest ¶
func (o *UpdateTenantSecurityParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateTenantSecurityParams() beforehand.
type UpdateTenantSecurityURL ¶
type UpdateTenantSecurityURL struct { Namespace string Tenant string // contains filtered or unexported fields }
UpdateTenantSecurityURL generates an URL for the update tenant security operation
func (*UpdateTenantSecurityURL) Build ¶
func (o *UpdateTenantSecurityURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateTenantSecurityURL) BuildFull ¶
func (o *UpdateTenantSecurityURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateTenantSecurityURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateTenantSecurityURL) SetBasePath ¶
func (o *UpdateTenantSecurityURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateTenantSecurityURL) String ¶
func (o *UpdateTenantSecurityURL) String() string
String returns the string representation of the path with query string
func (*UpdateTenantSecurityURL) StringFull ¶
func (o *UpdateTenantSecurityURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateTenantSecurityURL) WithBasePath ¶
func (o *UpdateTenantSecurityURL) WithBasePath(bp string) *UpdateTenantSecurityURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateTenantURL ¶
type UpdateTenantURL struct { Namespace string Tenant string // contains filtered or unexported fields }
UpdateTenantURL generates an URL for the update tenant operation
func (*UpdateTenantURL) Build ¶
func (o *UpdateTenantURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateTenantURL) BuildFull ¶
func (o *UpdateTenantURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateTenantURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateTenantURL) SetBasePath ¶
func (o *UpdateTenantURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateTenantURL) String ¶
func (o *UpdateTenantURL) String() string
String returns the string representation of the path with query string
func (*UpdateTenantURL) StringFull ¶
func (o *UpdateTenantURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateTenantURL) WithBasePath ¶
func (o *UpdateTenantURL) WithBasePath(bp string) *UpdateTenantURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- create_namespace.go
- create_namespace_parameters.go
- create_namespace_responses.go
- create_namespace_urlbuilder.go
- create_tenant.go
- create_tenant_parameters.go
- create_tenant_responses.go
- create_tenant_urlbuilder.go
- delete_pod.go
- delete_pod_parameters.go
- delete_pod_responses.go
- delete_pod_urlbuilder.go
- delete_tenant.go
- delete_tenant_parameters.go
- delete_tenant_responses.go
- delete_tenant_urlbuilder.go
- direct_c_s_i_format_drive.go
- direct_c_s_i_format_drive_parameters.go
- direct_c_s_i_format_drive_responses.go
- direct_c_s_i_format_drive_urlbuilder.go
- get_direct_c_s_i_drive_list.go
- get_direct_c_s_i_drive_list_parameters.go
- get_direct_c_s_i_drive_list_responses.go
- get_direct_c_s_i_drive_list_urlbuilder.go
- get_direct_c_s_i_volume_list.go
- get_direct_c_s_i_volume_list_parameters.go
- get_direct_c_s_i_volume_list_responses.go
- get_direct_c_s_i_volume_list_urlbuilder.go
- get_max_allocatable_mem.go
- get_max_allocatable_mem_parameters.go
- get_max_allocatable_mem_responses.go
- get_max_allocatable_mem_urlbuilder.go
- get_parity.go
- get_parity_parameters.go
- get_parity_responses.go
- get_parity_urlbuilder.go
- get_pod_events.go
- get_pod_events_parameters.go
- get_pod_events_responses.go
- get_pod_events_urlbuilder.go
- get_pod_logs.go
- get_pod_logs_parameters.go
- get_pod_logs_responses.go
- get_pod_logs_urlbuilder.go
- get_resource_quota.go
- get_resource_quota_parameters.go
- get_resource_quota_responses.go
- get_resource_quota_urlbuilder.go
- get_tenant_pods.go
- get_tenant_pods_parameters.go
- get_tenant_pods_responses.go
- get_tenant_pods_urlbuilder.go
- get_tenant_usage.go
- get_tenant_usage_parameters.go
- get_tenant_usage_responses.go
- get_tenant_usage_urlbuilder.go
- get_tenant_y_a_m_l.go
- get_tenant_y_a_m_l_parameters.go
- get_tenant_y_a_m_l_responses.go
- get_tenant_y_a_m_l_urlbuilder.go
- list_all_tenants.go
- list_all_tenants_parameters.go
- list_all_tenants_responses.go
- list_all_tenants_urlbuilder.go
- list_node_labels.go
- list_node_labels_parameters.go
- list_node_labels_responses.go
- list_node_labels_urlbuilder.go
- list_p_v_cs.go
- list_p_v_cs_parameters.go
- list_p_v_cs_responses.go
- list_p_v_cs_urlbuilder.go
- list_tenants.go
- list_tenants_parameters.go
- list_tenants_responses.go
- list_tenants_urlbuilder.go
- put_tenant_y_a_m_l.go
- put_tenant_y_a_m_l_parameters.go
- put_tenant_y_a_m_l_responses.go
- put_tenant_y_a_m_l_urlbuilder.go
- subscription_activate.go
- subscription_activate_parameters.go
- subscription_activate_responses.go
- subscription_activate_urlbuilder.go
- subscription_info.go
- subscription_info_parameters.go
- subscription_info_responses.go
- subscription_info_urlbuilder.go
- subscription_refresh.go
- subscription_refresh_parameters.go
- subscription_refresh_responses.go
- subscription_refresh_urlbuilder.go
- subscription_validate.go
- subscription_validate_parameters.go
- subscription_validate_responses.go
- subscription_validate_urlbuilder.go
- tenant_add_pool.go
- tenant_add_pool_parameters.go
- tenant_add_pool_responses.go
- tenant_add_pool_urlbuilder.go
- tenant_details.go
- tenant_details_parameters.go
- tenant_details_responses.go
- tenant_details_urlbuilder.go
- tenant_security.go
- tenant_security_parameters.go
- tenant_security_responses.go
- tenant_security_urlbuilder.go
- tenant_update_certificate.go
- tenant_update_certificate_parameters.go
- tenant_update_certificate_responses.go
- tenant_update_certificate_urlbuilder.go
- tenant_update_encryption.go
- tenant_update_encryption_parameters.go
- tenant_update_encryption_responses.go
- tenant_update_encryption_urlbuilder.go
- tenant_update_pools.go
- tenant_update_pools_parameters.go
- tenant_update_pools_responses.go
- tenant_update_pools_urlbuilder.go
- update_tenant.go
- update_tenant_parameters.go
- update_tenant_responses.go
- update_tenant_security.go
- update_tenant_security_parameters.go
- update_tenant_security_responses.go
- update_tenant_security_urlbuilder.go
- update_tenant_urlbuilder.go