Documentation
¶
Index ¶
- type GormDeletedAt
- type ModelsActivateLicenseRequest
- func (m *ModelsActivateLicenseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsActivateLicenseRequest) MarshalBinary() ([]byte, error)
- func (m *ModelsActivateLicenseRequest) UnmarshalBinary(b []byte) error
- func (m *ModelsActivateLicenseRequest) Validate(formats strfmt.Registry) error
- type ModelsCreateLicenseLeaseRequest
- func (m *ModelsCreateLicenseLeaseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsCreateLicenseLeaseRequest) MarshalBinary() ([]byte, error)
- func (m *ModelsCreateLicenseLeaseRequest) UnmarshalBinary(b []byte) error
- func (m *ModelsCreateLicenseLeaseRequest) Validate(formats strfmt.Registry) error
- type ModelsDeactivateLicenseRequest
- func (m *ModelsDeactivateLicenseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsDeactivateLicenseRequest) MarshalBinary() ([]byte, error)
- func (m *ModelsDeactivateLicenseRequest) UnmarshalBinary(b []byte) error
- func (m *ModelsDeactivateLicenseRequest) Validate(formats strfmt.Registry) error
- type ModelsLicenseLease
- type ModelsLicenseQuota
- type ModelsQuotaUsage
- type ModelsServerInformation
- func (m *ModelsServerInformation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsServerInformation) MarshalBinary() ([]byte, error)
- func (m *ModelsServerInformation) UnmarshalBinary(b []byte) error
- func (m *ModelsServerInformation) Validate(formats strfmt.Registry) error
- type ModelsServerVersion
- type V1Time
- func (m V1Time) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1Time) MarshalBinary() ([]byte, error)
- func (m V1Time) MarshalJSON() ([]byte, error)
- func (m *V1Time) UnmarshalBinary(b []byte) error
- func (m *V1Time) UnmarshalJSON(b []byte) error
- func (m V1Time) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormDeletedAt ¶
type GormDeletedAt struct {
// time
// Required: true
// Format: date-time
Time *strfmt.DateTime `json:"Time"`
// valid
// Required: true
Valid *bool `json:"Valid"`
}
GormDeletedAt gorm deleted at
swagger:model gorm.DeletedAt
func (*GormDeletedAt) ContextValidate ¶
ContextValidate validates this gorm deleted at based on context it is used
func (*GormDeletedAt) MarshalBinary ¶
func (m *GormDeletedAt) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GormDeletedAt) UnmarshalBinary ¶
func (m *GormDeletedAt) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsActivateLicenseRequest ¶
type ModelsActivateLicenseRequest struct {
// bundle
// Required: true
Bundle *string `json:"bundle"`
// dry run
// Required: true
DryRun *bool `json:"dryRun"`
// license
// Required: true
License *string `json:"license"`
// override
// Required: true
Override *bool `json:"override"`
}
ModelsActivateLicenseRequest models activate license request
swagger:model models.ActivateLicenseRequest
func (*ModelsActivateLicenseRequest) ContextValidate ¶
func (m *ModelsActivateLicenseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models activate license request based on context it is used
func (*ModelsActivateLicenseRequest) MarshalBinary ¶
func (m *ModelsActivateLicenseRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsActivateLicenseRequest) UnmarshalBinary ¶
func (m *ModelsActivateLicenseRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsCreateLicenseLeaseRequest ¶
type ModelsCreateLicenseLeaseRequest struct {
// bundle
// Required: true
Bundle *string `json:"Bundle"`
// license version
// Required: true
LicenseVersion *string `json:"LicenseVersion"`
// not after
// Required: true
NotAfter *string `json:"NotAfter"`
// not before
// Required: true
NotBefore *string `json:"NotBefore"`
// vcpu
// Required: true
Vcpu *int64 `json:"Vcpu"`
}
ModelsCreateLicenseLeaseRequest models create license lease request
swagger:model models.CreateLicenseLeaseRequest
func (*ModelsCreateLicenseLeaseRequest) ContextValidate ¶
func (m *ModelsCreateLicenseLeaseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models create license lease request based on context it is used
func (*ModelsCreateLicenseLeaseRequest) MarshalBinary ¶
func (m *ModelsCreateLicenseLeaseRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsCreateLicenseLeaseRequest) UnmarshalBinary ¶
func (m *ModelsCreateLicenseLeaseRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsDeactivateLicenseRequest ¶
type ModelsDeactivateLicenseRequest struct {
// all
// Required: true
All *bool `json:"all"`
// bundle
// Required: true
Bundle *string `json:"bundle"`
}
ModelsDeactivateLicenseRequest models deactivate license request
swagger:model models.DeactivateLicenseRequest
func (*ModelsDeactivateLicenseRequest) ContextValidate ¶
func (m *ModelsDeactivateLicenseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models deactivate license request based on context it is used
func (*ModelsDeactivateLicenseRequest) MarshalBinary ¶
func (m *ModelsDeactivateLicenseRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsDeactivateLicenseRequest) UnmarshalBinary ¶
func (m *ModelsDeactivateLicenseRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsLicenseLease ¶
type ModelsLicenseLease struct {
// bundle
// Required: true
Bundle *string `json:"Bundle"`
// bundle raw
// Required: true
BundleRaw *string `json:"BundleRaw"`
// cluster ID
// Required: true
ClusterID *string `json:"ClusterID"`
// created at
// Required: true
// Format: date-time
CreatedAt *strfmt.DateTime `json:"CreatedAt"`
// deleted at
// Required: true
DeletedAt *GormDeletedAt `json:"DeletedAt"`
// ID
// Required: true
ID *int64 `json:"ID"`
// license ID
// Required: true
LicenseID *string `json:"LicenseID"`
// not after
// Required: true
// Format: date-time
NotAfter *strfmt.DateTime `json:"NotAfter"`
// not before
// Required: true
// Format: date-time
NotBefore *strfmt.DateTime `json:"NotBefore"`
// plan name
// Required: true
PlanName *string `json:"PlanName"`
// plan type
// Required: true
PlanType *string `json:"PlanType"`
// quota
// Required: true
Quota *int64 `json:"Quota"`
// raw
// Required: true
Raw *string `json:"Raw"`
// resource type
// Required: true
ResourceType *string `json:"ResourceType"`
// updated at
// Required: true
// Format: date-time
UpdatedAt *strfmt.DateTime `json:"UpdatedAt"`
// version
// Required: true
Version *string `json:"Version"`
}
ModelsLicenseLease models license lease
swagger:model models.LicenseLease
func (*ModelsLicenseLease) ContextValidate ¶
ContextValidate validate this models license lease based on the context it is used
func (*ModelsLicenseLease) MarshalBinary ¶
func (m *ModelsLicenseLease) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsLicenseLease) UnmarshalBinary ¶
func (m *ModelsLicenseLease) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsLicenseQuota ¶
type ModelsLicenseQuota struct {
// bundle
// Required: true
Bundle *string `json:"Bundle"`
// bundle raw
// Required: true
BundleRaw *string `json:"BundleRaw"`
// cluster ID
// Required: true
ClusterID *string `json:"ClusterID"`
// created at
// Required: true
// Format: date-time
CreatedAt *strfmt.DateTime `json:"CreatedAt"`
// deleted at
// Required: true
DeletedAt *GormDeletedAt `json:"DeletedAt"`
// ID
// Required: true
ID *int64 `json:"ID"`
// license ID
// Required: true
LicenseID *string `json:"LicenseID"`
// not after
// Required: true
// Format: date-time
NotAfter *strfmt.DateTime `json:"NotAfter"`
// not before
// Required: true
// Format: date-time
NotBefore *strfmt.DateTime `json:"NotBefore"`
// plan name
// Required: true
PlanName *string `json:"PlanName"`
// plan type
// Required: true
PlanType *string `json:"PlanType"`
// quota
// Required: true
Quota *int64 `json:"Quota"`
// raw
// Required: true
Raw *string `json:"Raw"`
// resource type
// Required: true
ResourceType *string `json:"ResourceType"`
// updated at
// Required: true
// Format: date-time
UpdatedAt *strfmt.DateTime `json:"UpdatedAt"`
// version
// Required: true
Version *string `json:"Version"`
}
ModelsLicenseQuota models license quota
swagger:model models.LicenseQuota
func (*ModelsLicenseQuota) ContextValidate ¶
ContextValidate validate this models license quota based on the context it is used
func (*ModelsLicenseQuota) MarshalBinary ¶
func (m *ModelsLicenseQuota) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsLicenseQuota) UnmarshalBinary ¶
func (m *ModelsLicenseQuota) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsQuotaUsage ¶
type ModelsQuotaUsage struct {
// quota
// Required: true
Quota *ModelsLicenseQuota `json:"Quota"`
// total
// Required: true
Total *int64 `json:"Total"`
// used
// Required: true
Used *int64 `json:"Used"`
}
ModelsQuotaUsage models quota usage
swagger:model models.QuotaUsage
func (*ModelsQuotaUsage) ContextValidate ¶
ContextValidate validate this models quota usage based on the context it is used
func (*ModelsQuotaUsage) MarshalBinary ¶
func (m *ModelsQuotaUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsQuotaUsage) UnmarshalBinary ¶
func (m *ModelsQuotaUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsServerInformation ¶
type ModelsServerInformation struct {
// runtime
// Required: true
Runtime *string `json:"Runtime"`
// server ID
// Required: true
ServerID *string `json:"ServerID"`
// version
// Required: true
Version *string `json:"Version"`
}
ModelsServerInformation models server information
swagger:model models.ServerInformation
func (*ModelsServerInformation) ContextValidate ¶
func (m *ModelsServerInformation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models server information based on context it is used
func (*ModelsServerInformation) MarshalBinary ¶
func (m *ModelsServerInformation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsServerInformation) UnmarshalBinary ¶
func (m *ModelsServerInformation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsServerVersion ¶
type ModelsServerVersion struct {
// version
// Required: true
Version *string `json:"Version"`
}
ModelsServerVersion models server version
swagger:model models.ServerVersion
func (*ModelsServerVersion) ContextValidate ¶
ContextValidate validates this models server version based on context it is used
func (*ModelsServerVersion) MarshalBinary ¶
func (m *ModelsServerVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsServerVersion) UnmarshalBinary ¶
func (m *ModelsServerVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Time ¶
V1Time v1 time
swagger:model v1.Time
func (V1Time) ContextValidate ¶
ContextValidate validates this v1 time based on context it is used
func (*V1Time) MarshalBinary ¶
MarshalBinary interface implementation
func (V1Time) MarshalJSON ¶
MarshalJSON retrieves a V1Time value as JSON output
func (*V1Time) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*V1Time) UnmarshalJSON ¶
UnmarshalJSON sets a V1Time value from JSON input