models

package
v0.0.0-...-7f6231a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

func (m *GormDeletedAt) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GormDeletedAt) Validate

func (m *GormDeletedAt) Validate(formats strfmt.Registry) error

Validate validates this gorm deleted at

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

func (*ModelsActivateLicenseRequest) Validate

func (m *ModelsActivateLicenseRequest) Validate(formats strfmt.Registry) error

Validate validates this models activate license request

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

func (*ModelsCreateLicenseLeaseRequest) Validate

Validate validates this models create license lease request

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

func (*ModelsDeactivateLicenseRequest) Validate

func (m *ModelsDeactivateLicenseRequest) Validate(formats strfmt.Registry) error

Validate validates this models deactivate license request

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

func (m *ModelsLicenseLease) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsLicenseLease) Validate

func (m *ModelsLicenseLease) Validate(formats strfmt.Registry) error

Validate validates this models license lease

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

func (m *ModelsLicenseQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsLicenseQuota) Validate

func (m *ModelsLicenseQuota) Validate(formats strfmt.Registry) error

Validate validates this models license quota

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

func (m *ModelsQuotaUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsQuotaUsage) Validate

func (m *ModelsQuotaUsage) Validate(formats strfmt.Registry) error

Validate validates this models quota usage

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

func (*ModelsServerInformation) Validate

func (m *ModelsServerInformation) Validate(formats strfmt.Registry) error

Validate validates this models server information

type ModelsServerVersion

type ModelsServerVersion struct {

	// version
	// Required: true
	Version *string `json:"Version"`
}

ModelsServerVersion models server version

swagger:model models.ServerVersion

func (*ModelsServerVersion) ContextValidate

func (m *ModelsServerVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ModelsServerVersion) Validate

func (m *ModelsServerVersion) Validate(formats strfmt.Registry) error

Validate validates this models server version

type V1Time

type V1Time strfmt.DateTime

V1Time v1 time

swagger:model v1.Time

func (V1Time) ContextValidate

func (m V1Time) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 time based on context it is used

func (*V1Time) MarshalBinary

func (m *V1Time) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (V1Time) MarshalJSON

func (m V1Time) MarshalJSON() ([]byte, error)

MarshalJSON retrieves a V1Time value as JSON output

func (*V1Time) UnmarshalBinary

func (m *V1Time) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Time) UnmarshalJSON

func (m *V1Time) UnmarshalJSON(b []byte) error

UnmarshalJSON sets a V1Time value from JSON input

func (V1Time) Validate

func (m V1Time) Validate(formats strfmt.Registry) error

Validate validates this v1 time

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL